OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: style inheritance again


Hi,

I just ran over the following problem about style inheritance in ODF.

Suppose you have the following style definitions:
 <style:style style:name="Standard" style:family="paragraph">
   <style:paragraph-properties>
    <style:tab-stops>
     <style:tab-stop style:position="1in"/>
     <style:tab-stop style:position="2in"/>
     <style:tab-stop style:position="3in"/>
     <style:tab-stop style:position="4in"/>
    </style:tab-stops>
   </style:paragraph-properties>
  </style:style>

 <style:style style:name="MyStyle" style:family="paragraph" style:parent-style-name="Standard">
   <style:paragraph-properties>
    <style:tab-stops>
     <style:tab-stop style:position="5in"/>
    </style:tab-stops>
   </style:paragraph-properties>
  </style:style>

So when rendering a paragraph with style "MyStyle" will the paragraph have 5 tabs [1in, 2in, 3in, 4in, 5in] or just one tab at [1in] according to ODF inheritance?

~Florian



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]