Bug 108223 - "exporting to pdf" a writer document with an embedded draw 8 graphic fails to include or show the graphic in the pdf if the width of the draw 8 object matches or extends the width of the text area
Summary: "exporting to pdf" a writer document with an embedded draw 8 graphic fails to...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest
Depends on:
Blocks:
 
Reported: 2017-05-29 14:18 UTC by neswal.peter
Modified: 2019-05-15 09:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
writer document with embedded draw8 object (24.48 KB, application/vnd.oasis.opendocument.text)
2017-06-15 19:46 UTC, neswal.peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neswal.peter 2017-05-29 14:18:00 UTC
Description:
exporting a writer document with an embedded draw 8 graphic fails to include or show the draw 8 graphic in following condition:
the width of the draw 8 object matches or extends the width of the text area
independently from the type of the draw object's anchor

in the test document (page format: A4, left & right margins: 2.54 cm, top & bottom margins: 1.25 cm)
exporting the draw 8 object worked up to object's width: text area with (15.90 cm) - 0.06 cm

interestingly the embedded graphic is exported without problems if no resizing inside the writer document to the object was applied


Steps to Reproduce:
1. create a draw 8 graphic in Libre Office Draw
2. copy and embed the graphic using the menu "paste special" and select as "Draw 8"
3. resize with "keep ratio" the embedded object to match or extend the width of the text area
4. "Export as PDF"

Actual Results:  
the embedded draw 8 graphic is not shown inside the pdf exported document

Expected Results:
the embedded draw 8 graphic should be shown inside the exported pdf document


Reproducible: Always

User Profile Reset: Yes

Additional Info:
To my knowledge this should have been working in versions before 5.3.x since I have used this object width (exact text area width) for embedded draw 8 objects in many documents without any problem.
Exporting the unmodified document with open office writer 4.1.3 x86/32bit on Windows 8.1 enterprise x64 worked without problems.

this behavior was observed in:
LibreOffice 5.3.2.2 x64 on Windows 8.1 enterprise x64
LibreOffice 5.3.3.2 x64 on Windows 8.1 enterprise x64


User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:45.9) Gecko/20100101 Goanna/3.2 Firefox/45.9 PaleMoon/27.2.1
Comment 1 raal 2017-06-02 05:22:02 UTC Comment hidden (obsolete)
Comment 2 neswal.peter 2017-06-15 19:46:23 UTC
Created attachment 134049 [details]
writer document with embedded draw8 object

The attached document creates a pdf file without content or without visible content when exported by "File->Export as PDF".

Page format A4, top and bottom page margins: 1,25 cm, left and right margins: 2,54 cm, darw8 object width: 15,90 cm.

Interesting note: this happens obviously only with certain page margins. Creating this document with the same page format A4 but with page margins 2 cm, 2 cm, 2 cm, 2 cm and the draw object width 17 cm and larger - the error didn't show up and the pdf export was ok.
Comment 3 Buovjaga 2017-06-23 17:45:43 UTC
Reproduced with 5.3 and 5.4 beta2, but fortunately gone in master.

Versio: 5.4.0.0.beta2
Käännöksen ID: 3cc1cdd8ee50f144e5514da51800a08119754d8f
CPU threads: 8; OS: Linux 4.11; UI render: oletus; VCL: kde4; 
Maa-asetus: fi-FI (fi_FI.UTF-8); Calc: group

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.4.1
Build ID: 1b1606c6e1203cdc3fd5ffbc16e74ecea300241a
CPU Threads: 8; OS Version: Linux 4.11; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: 5ff95b16cf9fb2ac7b2b970614e3b98f55978dc0
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 23rd 2017
Comment 4 Xisco Faulí 2017-07-14 11:14:18 UTC
Closing as RESOLVED WORKSFORME as per comment 3