Style Hierarchy in ODT documents

September 4, 2007

I have identified a hierarchical relationship among the way Style information is stored in “style.xml” file. Based on my findings I have represented them in a Style tree.
Style Tree

Now, using this Style tree we can retrieve style information associated with each style, like the Parent-style, Style family, etc by using the style-name which are the leaves of the tree. This will save us from parsing the “style.xml” everytime.