[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 08:52:02 UTC 2017


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

--- Comment #16 from Miklos Vajna <vmiklos at collabora.co.uk> ---
Justin: I think the root cause is in sw/, not in the import filter. Some
context if that helps:

Shapes from DOCX are imported as "shape with textbox", which means that we
create a draw shapes (which can have rounded corners, etc) and then there is
"textbox" attached to it, which is a Writer textframe (so can contain tables,
etc). The UI and UNO API hides direct access to this Writer textframe.

Now OOXML shapes can have zero margin for their text (even if they don't have a
border), and in the textbox use-case the Writer textframes never have a border,
that's how your sw feature was super-useful for me, now I can have zero margin
and no borders at the same time, needed by the "zero margin in OOXML shape with
text" case.

The getWps() info is available only in oox. See the above ODT document I
attached, I think this doesn't have much to do with OOXML.

> Miklos: Can you take over on this one?

Ah, so regarding the above ODT file, you think there is no bug in general, but
only when it comes to textboxes?

I rather hoped you would take this over, but sure, if zero-margin without
borders work in general and this is specific to textboxes, then I can try to
take a look. :-)

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


More information about the Libreoffice-bugs mailing list