https://bugs.documentfoundation.org/show_bug.cgi?id=148631
Bug ID: 148631
Summary: Shading in some Ribbon shapes from ppt is missing
Product: LibreOffice
Version: Inherited From OOo
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Created attachment 179620
--> https://bugs.documentfoundation.org/attachment.cgi?id=179620&action=edit
Document with ribbon-shapes
Open attached document. It contains some shapes and screenshots how these
shapes look in PowerPoint 97.
Notice, that some parts should be dark, but they are not.
The error is in the segment list in
https://opengrok.libreoffice.org/xref/core/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
The affected shapes are mso_sptRibbon, mso_sptElllipseRibbon2 and
mso_EllipseRibbon.
The parts which are not dark although they should be dark have erroneously the
command "no fill". That is 0xaa00 in the encoding in the segment list.
To investigate whether the "no fill" command is used in the shape, you can
examine the property "CustomShapeGeometry", therein "Path", therein "Segments".
This has the commands encoded as in
https://api.libreoffice.org/docs/idl/ref/EnhancedCustomShapeSegmentCommand_8idl.html
I think, this can become an easyhack.
--
You are receiving this mail because:
You are the assignee for the bug.