Re: java convert odt to html without installed office

"M. Niedermair" <[email protected]> Mon, 20 Feb 2006 08:48:36 +0100
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
Hi,

> I am trying to convert an odt-document into html by using java and not
> having openoffice installed.

there are some possibilities to convert odt into java
1) you can use xslt (export filter). In the developmentguide you can 
find such solutions

2) you parse the xml content (each xml file in the odt-zip archiv) 
directly in java (with sax, dom, jdom, ...) an make the translation 
directly in java.

3) you use the UNO-API and parse the the document and transform it. see 
the uno-example in the developerguide.

> Has anyone of you realized a better html-result yet?  My main problem is
> that I don´t know how I can convert 
> all the xml-files contained in the odt-package into one html-document
> because I don´t know for sure how the 
> xml files really work together. 
use the uno-api.

> Thx
> 
> maxwell
> 

by
Michael