[Libreoffice-bugs] [Bug 139408] FILEOPEN DOCX: Vertical position of image in footer changes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 20 11:29:45 UTC 2021


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

NISZ LibreOffice Team <libreoffice at nisz.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |libreoffice at nisz.hu

--- Comment #7 from NISZ LibreOffice Team <libreoffice at nisz.hu> ---
Created attachment 172197
  --> https://bugs.documentfoundation.org/attachment.cgi?id=172197&action=edit
Manually fixed version to get the same look

I found that the problem may be in the point to which the position is
calculated.

In Word the image has a vertical position of -0.29 cm below paragraph.
This is imported as -0.29 cm "From top" to Margin, which is not the same but
choosing another option such as Paragraph text area, Entire page or Page text
area does not help.
What helps is subtracting the amount of bottom margin (1.25 cm in this case)
from the -0.29 cm position to get -1.54 cm. 
That gives the ~same position as in Word, and this setting even survives saving
by Writer to docx. Which looks the ~same even in Word.

This may not be the correct way to solve this problem, but a hint towards the
direction.

-- 
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/20210520/0c46b11e/attachment.htm>


More information about the Libreoffice-bugs mailing list