[Libreoffice-bugs] [Bug 80717] FILEOPEN: DOC DOCX file has incorrect vertical position relative to 'page' of floating table

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 26 12:11:04 UTC 2020


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

--- Comment #18 from Justin L <jluth at mail.com> ---
Fixing this will take a lot of wizardry, to identify the location on the page
where the table is in-lined, and then calculate how much margin to add to the
top to push it down to the correct position.  Similar feats are needed
especially for left, but also for right.

Then the same can be done for left/right for paragraph-anchored tables, as well
as column-anchored tables.

A nice try at wizardry was comment 2's commit at
https://gerrit.libreoffice.org/c/core/+/9487/2/sw/source/filter/ww8/ww8par6.cxx
However, it did not account for the current, inlined position and so was
reverted... 

Identifying the current position is approximately impossible, since that
depends on the layout - which of course we do not have during import.

-- 
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/20200326/e4315d9a/attachment.htm>


More information about the Libreoffice-bugs mailing list