[Libreoffice-bugs] [Bug 113926] New: A text box automatically makes word wrap, but does not write this to file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 18 22:35:05 UTC 2017


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

            Bug ID: 113926
           Summary: A text box automatically makes word wrap, but does not
                    write this to file
           Product: LibreOffice
           Version: 5.4.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 137844
  --> https://bugs.documentfoundation.org/attachment.cgi?id=137844&action=edit
File with text box to examine

Open attached document and verify, that the text in the text-box wraps at the
line ends.
Unzip the attached document and examine content.xml. The text-box is written as
draw:frame element with a child element draw:text-box. It has assigned a style
"gr1".
Examine style:graphic-properties in style "gr1". Notice, that there is no
attribute fo:wrap-option. Therefore inheritance took place and the next style
to look at is the parent "standard" (That is in styles.xml in <office:styles>).
Examine style:graphic-properties in style "standard". Notice, that again there
is no attribute fo:wrap-option. Therefore the default style of the same family
is used.
And in the style:default-style you find the attribute fo:wrap-option="no-wrap"
in the graphic-properties.

>From the written file, there would be not word wrap, but the text would be in
one long line. That is an interoperability problem. Open the file in PowerPoint
e.g.

This is aggravated by the fact that, that the user has no possibility to set
explicitly word wrap. There is no UI for it.

The solution can be, to define a custom style for the object-type "text box",
which has set fo:wrap-option="wrap" although there is no UI for it and use it
as parent instead of standard (not so good), or make a UI for word wrap and
make fo:wrap-option="wrap" the default, or write fo:wrap-option="wrap" as
automatic style to all text boxes.

I have used version 5.4, but it is likely inherited from OOo.

-- 
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/20171118/91eeec6d/attachment-0001.html>


More information about the Libreoffice-bugs mailing list