Bug 103747 - PDF creation cut images
Summary: PDF creation cut images
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.4.0 target:5.3.0.1
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-07 00:10 UTC by federo10
Modified: 2016-12-01 09:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer Document ... all ok (17.19 KB, application/vnd.oasis.opendocument.text)
2016-11-29 12:02 UTC, federo10
Details
After Export as PDF ... Image is cuttet (2.29 KB, application/pdf)
2016-11-29 12:03 UTC, federo10
Details

Note You need to log in before you can comment on or make changes to this bug.
Description federo10 2016-11-07 00:10:52 UTC
I use the actual dockerimage from CODE 2.0 with Nextcloud 10

When Open a Writer Document (every Format eg. Docx, Doc, odf, ...) And in this Dokument is a imageframe, then for First Look it See all Good.

But when i create a PDF width the Funktion "Download as PDF" all Images are cuttet. The "imageFrame" is Ok, but the Image in the Frame are always -1.9 mm left and -1.9 top and cuttet.

Its affect every Kind of Image. You Can create a Simple Image and See the Error After create the PDF.
Comment 1 Aleksander Machniak 2016-11-07 10:23:58 UTC
I can confirm this issue. loowsd-1.9.6-1
Comment 2 federo10 2016-11-14 15:32:09 UTC
Hallo,

can we do the Importance a little bit higher for this problem please? I Thing this is a really big problem becourse in nearly all Writer Documents are some images like a comqany logo in letters. Of course every will use the printer function thats generate a pdf and then all company Logos for example are broker after this.
Comment 3 federo10 2016-11-29 09:34:08 UTC
Hallo again,

i notice that its only affect Writer / Doc documents. In Calc / Excel images are not cuttet.

Regards
Comment 4 federo10 2016-11-29 12:02:49 UTC
Created attachment 129112 [details]
Writer Document ... all ok
Comment 5 federo10 2016-11-29 12:03:22 UTC
Created attachment 129113 [details]
After Export as PDF ... Image is cuttet
Comment 6 federo10 2016-11-29 12:04:42 UTC
Have upload some example Files. The Image in Writer Document shows good. After export as PDF the Image is cuttet.

Only in Libreoffice online and Writer. In LibreOffice offline and Calc all good!
Comment 7 Michael Meeks 2016-11-30 12:00:18 UTC
Thanks for reporting ! =)
Comment 8 federo10 2016-11-30 12:24:15 UTC
No problem! I hope you can fix it, becourse i thing its a esencial function.
Comment 9 Commit Notification 2016-11-30 14:48:28 UTC
Jan Holesovsky committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=be5369e7aa426be8b88776f58aaaba1ae926229c

tdf#103747: Don't re-position images when re-playing a metafile.

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Jan Holesovsky 2016-11-30 15:05:01 UTC
We can close it now I believe.  Thanks again for the report! :-)
Comment 11 Commit Notification 2016-11-30 15:05:54 UTC
Jan Holesovsky committed a patch related to this issue.
It has been pushed to "libreoffice-5-3":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=9ab5f1bf616080c49829e58f1390b9f0c65965f9&h=libreoffice-5-3

tdf#103747: Don't re-position images when re-playing a metafile.

It will be available in 5.3.0.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 federo10 2016-11-30 15:11:27 UTC
Thank you very much for fix it ... i am on the CODE docker image (https://www.collaboraoffice.com/code/). I will test it, but how i can do it? I cant use the daily buids.

And the Target it 5.4.0 ... what does it mean for the CODE docker image?

Regards
Comment 13 Jan Holesovsky 2016-12-01 09:48:38 UTC
Unfortunately not sure when it gets to CODE, but it will get there I guess sooner rather than later :-)