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@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info@dagit.net, http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.