This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to convert a .doc file to .txt file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to convert a .doc file to .txt file" Watch "How to convert a .doc file to .txt file" New topic

How to convert a .doc file to .txt file

R Karthick

Joined: Feb 11, 2008
Posts: 11
I have a .doc file which contains data inside a table. Now i want to parse the table to get the table values. Normal Parsing is not working for table( I mean using String tokenizer) because it is giving some unwanted special characters while parsing the table. So I just want to convert that .doc to .txt file, then only it is easy to split the values. But i can't make it! Can any one please tell me how to parse a MS WORD TABLE Values?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Apache POI is the API you can use.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41173
  45 in particular tells you how to extract text from a Word document.

Ping & DNS - my free Android networking tools app
It is sorta covered in the JavaRanch Style Guide.
subject: How to convert a .doc file to .txt file
Similar Threads
File parser application
its urgent..pls help me out!!!
Validating xml against dtd
word - txt upload help
creating word document from java application