On 30/07/11 11:50, Ryan Jendoubi wrote:
It seems T1 and T2 have one small difference:
<style:style style:name="T1" style:family="text">
<style:text-properties fo:language="en" fo:country="GB"/>
</style:style>
<style:style style:name="T2" style:family="text">
<style:text-properties fo:language="en" fo:country="GB"
style:font-name-asian="Arial"/>
</style:style>
That was from content.xml. Interestingly, their definition is different
when I save the document out as .fodt:
<style:style style:name="T1" style:family="text"/>
<style:style style:name="T2" style:family="text">
<style:text-properties fo:language="en" fo:country="GB"/>
</style:style>
<style:style style:name="T3" style:family="text">
<style:text-properties fo:language="en" fo:country="GB"
style:font-name-asian="Arial"/>
</style:style>
In this XML document the words and spaces alternate between T2 and T3...
So there appears to be some degree of inconsistency and arbitrariness at
least in the way these styles are stored as XML.
Of course, when I navigate through the .odt in LibreOffice the only text
style which appears to be present at those parts is "Default". Even when
I apply other text styles to a block of text, the saved XML alternates
styles between the words and spaces.
Why could this be happening?
Cheers,
-r
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.