POI is only for MS-Document formats. To read ODF-Files you should use
the OO-API which can be accessed from many different languages.
An example how to convert OpenOfficeDocuments to other formats can be
found here:
http://codesnippets.services.openoffice.org/Office/Office.ConvertDocuments.snip
If you have problems the following resources might help you:
- http://api.openoffice.org/
- http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html
- http://api.openoffice.org/servlets/ProjectMailingListList
There's also a new project announced which provides a very thin ODF-API
but it is in the very early stages:
- http://odftoolkit.openoffice.org/
And I'm working myself on a Java-API but I'm concentrating on Calc:
- http://publicsvn.bestsolution.at/repos/java/officefs/trunk/
Tom
Rupanu Ranjaneswar schrieb:
Hello everyone,
I am new to POI and I am able to successfully read MS
format files.But now I want to convert openoffice
documents to txt files(read and write).I tried on .odt
but could not.Can anyone help with that?
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/