atom feed3 messages in org.oasis-open.lists.office[office] style inheritance again
FromSent OnAttachments
Florian ReuterMar 11, 2009 10:11 am 
Peter JungeMar 11, 2009 9:29 pm 
David FaureMar 23, 2009 7:41 am 
Subject:[office] style inheritance again
From:Florian Reuter (freu@novell.com)
Date:Mar 11, 2009 10:11:14 am
List:org.oasis-open.lists.office

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