https://bugs.documentfoundation.org/show_bug.cgi?id=109169
--- Comment #8 from Regina Henschel <[email protected]> --- The shapes "Diamond Bevel" and "Octagon Bevel" are difficult: (A) These shapes have neither a counterpart in the OOXML preset shapes nor in shapes of the binary versions of MS Office. So they need to be exported to an element "custGeom". That export is done in method WriteCustomGeometry. This method cannot export equations or handles, but only exports the current state of the shape outline. Export of equations and handles into "custGeom" is very hard and will not be implemented in the foreseeable future. So we will loose the handles. (B) Because they have no counterpart in the OOXML preset shapes, it will not be possible to recreate them, when the pptx file will be reopened by LO. They will be of type "ooxml-non-primitive". That means the next save to pptx will use WriteCustomGeometry anyway. (C) The export in WriteCustomGeometry is in the meantime (current master!) able to export the lighten/darken commands of the enhanced-path. But the shapes "Diamond Bevel" and "Octagon Bevel" are not implement the same way as the shapes from binary MS Office. "Diamond Bevel" and "Octagon Bevel" shapes are inserted from private://gallery/hidden/imgppt. That Gallery theme is so old, that is does not know anything about the lighten/darken commands. Their lighten/darken is different from the lighten/darken in other shapes. The path does not contain commands for lighten/darken. The shapes are stored in binary format in the Gallery theme so there is no way to add the needed commands. (D) The export to binary MS Office formats does not export them to a shape but to a WMF image. That keeps lighten/darken but looses handles same as export by WriteCustomGeometry. Using WMF image drops the possibility to edit a text in the shape. We could move the two shapes from the list in lcl_IsOnDenylist in /oox/source/export/shapes.cxx to the list in lcl_IsOnAllowlist. That way they would be exported by method WriteCustomGeometry. Currently an export as preset shape is tried and because that fails the default preset shape "rect" is used. Using WriteCustomGeometry would preserve outline and editable text but looses darken/lighten. Using WMF image preserves outline and darken/lighten but you can no longer edit text. Both ways loose handles. @Gabor: What do you think we should do? -- You are receiving this mail because: You are the assignee for the bug.
