[Libreoffice-bugs] [Bug 55956] FILESAVE: Circular Arrow broken after save as PPT/PPTX & reopening

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 25 16:10:27 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=55956

--- Comment #18 from Regina Henschel <rb.henschel at t-online.de> ---
The reason is, that the w and h attributes of the path element are set to the
bound rectangle of the path, but they need to be set to the shape size in Hmm.

The 'circular arrow' shape has no compatible ooxml preset shape, so the error
cannot be fixed with the new introduced DMLPresetShapeExporter.

The ooxml preset shape 'circularArrow' is not compatible, because its arrow
head has a different direction in its base. For a full fix including handles,
it would be necessary to generate an individual custGeom element. That is not
trivial, because our circular Arrow uses the enhanced path commands B and W,
whereas PowerPoint needs the command G (arcTo).

PowerPoint 365 reads our circular arrow from an .odp document and converts it
to a suitable shape including handles for pptx. That is very likely done by a
general algorithm, because the resulting shape has 247 equations (gd elements).
Astonishing, opening a .ppt document with this shape in PowerPoint looses the
handles.

But even exporting our shape to such ooxml custGeom, would not really help
here, because we would not be able to detect that it is our circular arrow on
import. Thus we will convert it to a general path and that has the same
problem, that w and h is wrongly set.

Other shapes with the same error are 'up-right-down-arrow' and
'up-right-arrow-callout' and Bezier-curves.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210625/c36eb03c/attachment.htm>


More information about the Libreoffice-bugs mailing list