[Libreoffice-bugs] [Bug 142605] FILESAVE DOCX Writer curved lines resize incorrectly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 10 20:50:28 UTC 2021


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

--- Comment #4 from Regina Henschel <rb.henschel at t-online.de> ---
The error is not in the way Word interprets it, as I first thought. But
LibreOffice writes a wrong XML_path element. The w and h value need to be the
width and height of the Bezier curve itself, without the control points. That
is the API "Size" property. Instead the bounding box of the point array
including control points is used. As a result of the wrong rectangle, the
coordinates are also wrong. Likely the API FrameRect is needed to shift the
PolyPolygonBezier coordinates.

I think, that path-objects need an own method WritePolyPolygon(), which is
different from the method needed for CustomShapes.

-- 
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/20210810/66ab9637/attachment.htm>


More information about the Libreoffice-bugs mailing list