[Libreoffice] text:class-names and nested text:span/text:style-name
Dag Wieers
dag at wieers.com
Thu Nov 24 07:37:26 PST 2011
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, dag at wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info at dagit.net, http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
More information about the LibreOffice
mailing list