Re: java convert odt to html without installed office

Michael Wechner <[email protected]> Mon, 20 Feb 2006 10:09:17 +0100
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
max berger wrote:

>Hi,
>
>thx for your replay.
>
>  
>
>>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.
>>    
>>
>has anybody done such a translation yet? I am not an expert in java and I
>hardly managed it to transform the content.xml into html. For this I used
>the example of J David Eisenberg. Unfortunately I do not get the images
>integrated into the html document... Also it would be good to get the
>informations from the meta.xml into the html document too...
>
>Does anyone know about a java-project where they are working on the
>transformation of an odt to html?
>  
>

not really, but I think it would make sense to enhance J David 
Eisenberg's work and use
it as a foundation instead of starting something new.

I am not sure if David has already moved his stuff to ODF:

http://opendocumentfellowship.org/Main/CurrentActivities

but you might want to subscribe to the ODF dev list as well

Michi

>  
>
>>3) you use the UNO-API and parse the the document and transform it. see 
>>the uno-example in the developerguide.
>>    
>>
>It works fine with the UNO-API but I don“t want to it because I do not want
>to have OpenOffice installed...
>
>Thx again
>
>maxwell
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[email protected]                        [email protected]