Bug 303587 - LibreOffice 3.6 rc1 ODP 16:10 background image looks bad
Summary: LibreOffice 3.6 rc1 ODP 16:10 background image looks bad
Status: RESOLVED FIXED
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-15 23:43 UTC by Maximiliano
Modified: 2012-07-18 11:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
created with LibreOffice 3.6 rc1 (11.93 KB, application/vnd.oasis.opendocument.presentation)
2012-07-15 23:47 UTC, Maximiliano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maximiliano 2012-07-15 23:43:01 UTC
the background image looks smaller.

Reproducible: Always

Steps to Reproduce:
1.ODP created with LibreOffice 3.6 rc1
2.opened it on Calligra Stage
3.
Actual Results:  
the background image is cut, smaller than it should be

Expected Results:  
the background image should be in the entire space.
Comment 1 Maximiliano 2012-07-15 23:47:00 UTC
Created attachment 72545 [details]
created with LibreOffice 3.6 rc1

and looks bad with Calligra, and if you save it with Calligra it open as bad at LibreOffice... i mean corrupted, and no image it's saved, no background image looks after a Calligra "Save"
Comment 2 T Zachmann 2012-07-18 11:14:11 UTC
Git commit e0796fa74825c8f4dd0005d679d46dfae6fcf6d6 by Thorsten Zachmann.
Committed on 18/07/2012 at 13:10.
Pushed by zachmann into branch 'master'.

Fix loading of embedded svg graphics.

This fixes loading of draw:image of the type svg in case the mimetype is not provided as in the document
create by LO attached to the bug report. When the mime type is not found we try to guess it by the content
of the file. To do that we read the first 16K data and pass it to KMimeType. After we found out the mime
type we also set it so it is there for later usage.
REVIEW: 105589

M  +2    -1    libs/flake/svg/SvgShapeFactory.cpp
M  +23   -3    libs/odf/KoOdfLoadingContext.cpp
M  +5    -1    libs/odf/KoOdfLoadingContext.h

http://commits.kde.org/calligra/e0796fa74825c8f4dd0005d679d46dfae6fcf6d6
Comment 3 T Zachmann 2012-07-18 11:56:06 UTC
Git commit 4ea10d98344e1eba42dd5e5ba238447ba257402e by Thorsten Zachmann.
Committed on 18/07/2012 at 13:10.
Pushed by zachmann into branch 'calligra/2.5'.

Fix loading of embedded svg graphics.

This fixes loading of draw:image of the type svg in case the mimetype is not provided as in the document
create by LO attached to the bug report. When the mime type is not found we try to guess it by the content
of the file. To do that we read the first 16K data and pass it to KMimeType. After we found out the mime
type we also set it so it is there for later usage.
REVIEW: 105589
(cherry picked from commit e0796fa74825c8f4dd0005d679d46dfae6fcf6d6)

M  +2    -1    libs/flake/svg/SvgShapeFactory.cpp
M  +23   -3    libs/odf/KoOdfLoadingContext.cpp
M  +5    -1    libs/odf/KoOdfLoadingContext.h

http://commits.kde.org/calligra/4ea10d98344e1eba42dd5e5ba238447ba257402e