Hi Lars,
I have implemented the Style tree and am now able to
retrieve the
style name, parent style name, style family using the tree.
But, after some thought, I feel that it is no good for
"setting" the
style as well as retrieving the font properties, etc.
As an alternative thought, i guess we have to go back to the
earlier
approach of using the classes - Style, StyleFamily,
StyleFactory and
retrieving and setting in the XML file itself - style.xml,
content.xml
If you are interested to look at the Style Tree
implementation, please
have a look at odf.style.StyleTree.java along with the
modified
Element.java, OdtToText2.java
Regards,
Amit
--
Amit krishna Saha
me blogs http://amitksaha.blogsp
ot.com
URL:http://amitsaha.in
.googlepages.com
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe odftoolkit.openoffice.org
For additional commands, e-mail: dev-help odftoolkit.openoffice.org
|