[Libreoffice-bugs] [Bug 142881] FILESAVE XLSX Some rotated shapes are vertically flipped

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 16 22:08:52 UTC 2021


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

--- Comment #5 from Regina Henschel <rb.henschel at t-online.de> ---
I think, the shapes are not flipped, but have a wrong swapped width and height
in the anchor.

If the rotation angle is larger as 45deg, MSO swaps width and height in
calculating the anchor, and LO too. But it seems for exact 45deg MSO does not
swap width and height, but LO does it.

To make it easier to calculate the object size from the anchor, put all shapes
into one large cell. Then you can get the size as difference of the offset. If
I do so, and then "repair" the document so, that the offset in the 'to' element
corresponds to the not swapped width and height, the shapes will be shown
correctly in Excel.

-- 
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/20210616/6a9a284c/attachment.htm>


More information about the Libreoffice-bugs mailing list