[Libreoffice-bugs] [Bug 140342] FILEOPEN DOCX border with position from text is wrong, if gutter present

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 26 10:32:44 UTC 2021


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

Miklos Vajna <vmiklos at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-bugs at lists.free |vmiklos at collabora.com
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #4 from Miklos Vajna <vmiklos at collabora.com> ---
Regina: thanks for this sample, very useful one. So Word has 2 modes for border
description, the distance can be measured "form text" or "from page". I was
aware of this, but I was not aware that my simple
sw/qa/extras/ooxmlexport/data/gutter-top.docx sample accidentally used the
"from page" mode. The reason your sample is broken is because it uses "from
text".

So it points out an important problem: similar to how normal borders are
handled (when there is no gutter), the "from page" part of the gutter handling
should happen at DOCX import/export time and Writer layout should continue to
measure borders "from text". I'll look into this.

-- 
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/20210226/e9b58e7e/attachment.htm>


More information about the Libreoffice-bugs mailing list