[Libreoffice-bugs] [Bug 106132] FILEOPEN, DOCX: Frame (text box) around image cuts into image and caption

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 5 13:14:11 UTC 2017


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

--- Comment #17 from Justin L <jluth at mail.com> ---
(In reply to Miklos Vajna from comment #16)
> Ah, so regarding the above ODT file, you think there is no bug in general,
> but only when it comes to textboxes?
Correct. I think the .ODT is just "honoring" the hidden textbox border padding
settings that were created as part of the .docx import (since the file
originated as .docx).

So, I'm pretty sure it is just the "conversion to shape with textframe
containing non-zero padding defaults" that is the problem here. However, the
shape code is so generic that I have no idea what all I would be affecting if I
made changes there.

from-docx-old.odt contains
...style:style style:name="gr1" ... fo:padding-top="0.125cm"
fo:padding-bottom="0.125cm" fo:padding-left="0.25cm"
fo:padding-right="0.25cm"...

Any re-saved .docx -> odt files since LO4.4 (2014-06-18 09:57:31)
d379d18666aa42031359ca8eb34b0021960347ae will probably be "unfixable" since
they will have the default border padding hard-coded inside.

-- 
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/20170705/77ecd97c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list