On Thu, 24 Nov 2011, Dag Wieers wrote:

Case 1: Using text:class-names

<text:span text:class-names="strong">bold <text:span text:class-names="strong blue">blue</text:span> bold</text:span>

No syles seem to have been applied.


Case 2: Using nested text:span/text:style-name

<text:span text:style-name="strong">bold <text:span text:style-name="blue">blue</text:span> bold</text:span>

Bold is bold. Blue is blue, but not bold !

After more experiments I found that Case 2 does work when the styles are defined inside <office:automatic-styles/> instead of <offic:styles/>.

Which I believe is a bug in LibreOffice.

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to