[Libreoffice-bugs] [Bug 96706] Writer text boxes do not apply default style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 21 11:03:42 UTC 2018


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

--- Comment #6 from Telesto <telesto at surfxs.nl> ---
For the record. Quote from bug 112055 comment 4; 

Regina Henschel

Currently the elements inside the text box are not able to use custom styles
(those from styles.xml). That is a limitation of LibreOffice and not covered by
file format.

Currently the <span> elements in the paragraphs inside the text box can use the
same automatic styles as the <span> elements in the original text. LibreOffice
uses it already, but not in all cases. That can be improved, but the current
solution is not really an error.

The real problem is, that the paragraph styles are not handled correctly. The
original text uses paragraph style "Standard", which is "Default style" in the
UI. Because of the lacking feature of using custom styles from styles.xml,
currently special automatic paragraph styles are generated in custom.xml. But
that is wrongly done. It would be sufficient, if these special styles would get
a style:parent-style-name="Standard" and nothing else. And in case the original
text uses already an automatic paragraph style, the same automatic style can be
used directly in the text-box.

That is about file format. Changes in the internal model might be more
difficult.

-- 
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/20180221/6f33fc5b/attachment.html>


More information about the Libreoffice-bugs mailing list