[Libreoffice-bugs] [Bug 100391] FILESAVE PPTX Text in shape shifted from center to upper left corner
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 12 23:50:54 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=100391
--- Comment #9 from Regina Henschel <rb.henschel at t-online.de> ---
The problem is likely in DrawingML::WritePolyPolygon() in line
mpFS->singleElementNS(XML_a, XML_rect, XML_l, "0", XML_t, "0", XML_r, "r",
XML_b, "b");
Idea for custom shapes: Get the SdrObject from XShape. Create
EnhancedCustomShape2d for the SdrObject. Use method
EnhancedCustomShape2d::GetTextRect(). I guess, that the rectangle has the same
scale as the polypolygon. It might need the same shift.
I see the same wrong position for texts in block arrows.
--
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/20210812/1d1d5d23/attachment.htm>
More information about the Libreoffice-bugs
mailing list