Than You for reply. POI is for only W97. But I need for Word2000, it's better if could convert all MS Word format, Word97, Word2000, WordXP.
Originally posted by karl koch: hi check out the apache POI project (here) k
Joined: Feb 18, 2002
Well I think you're out of luck. Word is in a propriety binary project. You could join the POI team and contribute to the effort but there is no quick fix. Figuring out the intricacies of a propriety file format is no trivial matter, until you or POI invest time into the new file formats you really don't have an option. I don't know of any projects that are further along than POI. Michael
Joined: Jul 28, 2002
Actually, it's gonna be a headache, BUT...you're in luck.You can use JaWin or Jacob ( http://www.danadler.com/jacob/index.html ) to work with Java and COM. And in COM, Microsoft has an API to get a word doc (including word 2000) as an XML document. You can do that through COM in Java. Hang on, I think I still have some code dealing with word from java (it's not entirely complete, but should help you get started). It uses Jacob.
That should all work (assuming you've got jacob.jar in your classpath)! All I ask is that when you finish the work I started here, please post it on this site so the rest of us can benefit too! Thanks! Let me know if this is a help! Robert [Edited to break up a couple really long lines that were distorting the rest of the page - Jim] [ January 24, 2003: Message edited by: Jim Yingst ]