Hi all,
Currently 'Octagon Bevel' and 'Diamond Bevel' are exported as shape
'rect'. That is bug tdf#109169.
Both shape types do not exist in MS binary, therefore export to MS
binary exports them as image. Because a user cannot change color or text
after reopening, I think we should not do that for OOXML. What is your
opinion?
Because there exist no suitable OOXML preset shape, we need to export
them with <custGeom>. I could make dedicated 'Write_Octagon_Bevel' and
'Write_Diamond_Bevel' methods with OOXML handles and guides. Should I do
that?
I can at least move them from lcl_IsOnDenylist to lcl_IsOnAllowlist.
That way the export will generate the outline as octagon or diamond with
fixed lines from the current handle state of the shape. I think that
would be better than the 'rect' now.
The real problem is their shading. It is not contained as command in the
enhanced geometry. It is encoded into the type identifier, see
https://bz.apache.org/ooo/show_bug.cgi?id=33139. The current
implementation of that "feature" has a bug, see
https://bz.apache.org/ooo/show_bug.cgi?id=80216.
This "feature" uses more grades of shading than the four available in OOXML.
So what should I do with the shading of these shapes?
Kind regards,
Regina