The OpenDocument web site is not longer accepting new posts. Information on this page is preserved for legacy purposes only. For current information on ODF, please see the OASIS OpenDocument Technical Committee.

Accessing open office document style.xml file

we load the content.xml file using pecice of java code.

odfDoc = loadDocument(TemplateName);

odfContent = odfDoc.getContent();

it gives content.xml ther any way to acess the style.xml

i tried in to get style.xml file.i am able to access the file.

while writing and saving time its not reflecting the cahnges.

Pls help ,





There is an ODF Toolkit Forum that might have more information for you:


Also, if you just want one of the ODF subfiles, you can use Java API for opening Zip files.  Access the styles.xml Zip item from there.. Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I