https://bugs.documentfoundation.org/show_bug.cgi?id=142858
Bug ID: 142858
Summary: FILESAVE Own shadow is not written, if MSO
'reflection' effect exists
Product: LibreOffice
Version: 7.2.0.0 alpha1+ Master
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Created attachment 172877
--> https://bugs.documentfoundation.org/attachment.cgi?id=172877&action=edit
Document to use as start for reproducing the bug
Open attached document in Word, to see that it has a shape with effect
'Reflection'. Close.
Open document in LibreOffice Daily.
Select the shape and add a shadow: Direction Top, 0.5" distance, Color Black,
4pt Blur, 60% Transparency. Other shadow settings produce the error too, but so
the shadow is good visible.
Save the document as new docx document.
Open the saved document in LibreOffice or Word.
Error: There is not shadow.
Expected: Shadow exists.
The problem is in method DrawingML::WriteShapeEffects in
oox/source/export/drawingml.cxx.
If aEffects.hasElements() is true - which is the case here, because it contains
the effect 'Reflection', then the flow goes to 'else'. There it starts
immediately with a loop over aOuterShdwProps. But that is empty, because the
InteropGrabBag does not have a shadow, but shadow was newly set in LibreOffice.
How to export an own shadow can be seen in #4243-#4266.
It is an error in the flow logic.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs