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

--- Comment #14 from Regina Henschel <[email protected]> ---
(In reply to Eyal Rozenberg from comment #13)
> (In reply to Regina Henschel from bug 112055 comment #4)
> > Currently the elements inside the text box are not able to use custom styles
> > (those from styles.xml). 
> 
> What about default styles?

The "Default Paragraph Style" in Writer is the paragraph style "Standard" in
style.xml.

> 
> > That is a limitation of LibreOffice and not covered by file format.
> 
> Didn't quite understand that sentence; does ODF support the use of styles in
> textboxes?

>From point of ODF there is not difference between a "Text box" and a "Frame" in
Writer. In both cases it is a <draw:frame ...><draw:text-box
...>...</draw:text-box></draw:frame> structure.

The different handling of "text box" and "frame" in Writer is produced by the
LibreOffice-only rule "If the style assigned to the <draw:frame> element has an
attribute style:parent-style-name, then treat is a 'frame' otherwise as
'text-box'". There is nothing in ODF, that supports such behavior.

And of cause ODF can use styles in text boxes. ODF allows styles for the
graphic properties like border and fill, and paragraph and text properties
included in the graphic properties at the <draw:frame> element and it allows
styles for each paragraph inside the <draw:text-box> element and for each text
span inside a paragraph.

It is only that LibreOffice does not support it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to