[Libreoffice-bugs] [Bug 143475] FILEOPEN DOCX Word 2007 rotated image has wrong distance to text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 25 16:16:36 UTC 2021


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|FILEOPEN DOCX Inline        |FILEOPEN DOCX Word 2007
                   |anchored, rotated image has |rotated image has wrong
                   |wrong distance to text      |distance to text

--- Comment #4 from Regina Henschel <rb.henschel at t-online.de> ---
Word 2007 (=version 12) has the special feature, that for images, which are
rotated between 45deg and 135deg or between 235deg and 315deg, the effectExtent
values are based on an rectangle without swapped width and height.
Because the current code assumes swapped width and height - as usual for newer
versions and other objects - it calculates wrong wrap margins.

That results in too large top and bottom margin in the example document, which
leads to a page break, because the image has not enough space on the first
page.

The problem is not only with inline anchored images, but with other anchor
types too.

I have started work on a patch in
https://gerrit.libreoffice.org/c/core/+/119482.

-- 
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/20210725/81b73081/attachment.htm>


More information about the Libreoffice-bugs mailing list