[Libreoffice-bugs] [Bug 100693] FORMATTING MS-COMPAT: fo:wrap-option should be set for graphic-objects in text documents

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 17 21:04:08 UTC 2018


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #13 from Regina Henschel <rb.henschel at t-online.de> ---
It is not only a question of interoperability. It is a real bug in LibreOffice.
LibreOffice does not write the attribute fo:wrap-option in general, but only if
you set is explicitly. But such is not possible in Writer, neither for a Frame
nor for a graphic Text-Box. It is only possible for a Custom-Shape.

If a graphic property is not set at the style of the object, nor at any of its
parent styles, then the settings in style:default-style of the same family
(here graphic) has to be used. And there fo:wrap-option="no-wrap" is set. So
Word shows the file exactly as it is written by LibreOffice. But LibreOffice
wraps the text although it writes "no-wrap".

The same problem is in Impress. There too the standard graphic style has no
setting for fo:wrap-option and the element <style:default-style> has set
fo:wrap-option="no-wrap".

A solution is possible in several steps:
1. Write fo:wrap-option="wrap" in the default style, so that file format and
actual behavior fit together.
2. Write this attribute for all "frame"-graphic styles in Writer, because they
are treated different from graphic objects in LibreOffice.
3. Bring this attribute to UI in all graphic styles, not only in Custom-Shapes.

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


More information about the Libreoffice-bugs mailing list