[Libreoffice-bugs] [Bug 115094] FILEOPEN: DOCX: Image in table is misplaced

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 26 11:13:24 UTC 2018


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

--- Comment #7 from Patrick Jaap <patrick.jaap at tu-dresden.de> ---
Hi! A small update on this bug.

After import, the doc model dump (nodes.xml) indicates that the image is not
located within the table at all. It is attached independ of the table at a
separate (empty) node (Thanks to Miklos for the hint!). This seems like a
reasonable conclusion, since the image is put at the very beginning of the page
and it's anchor is somewhere off the page.

But this can be "fixed" by disabling the
"SectionPropertyMap::FloatingTableConversion" in PropertyMap.cxx to avoid
calling SwXText::convertToTextFrame. Then, the table layout gets lost (that's
bad) but the image is put in context of the table in the nodes.xml.
Additionally, the image is placed at the right position within the table!

So, import of all components seems right, but the floating talbe conversion
breaks the bonding of table and image.

-- 
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/20180226/a9a9f492/attachment.html>


More information about the Libreoffice-bugs mailing list