How do I convert a .doc file to .txt file programmetically ?? Are there any Third party tools available
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shirish_Goel
Posted On:   Tuesday, April 10, 2001 06:35 AM

I want to convert a ,doc file to .rtf or .txt file so that i can read the file .Are there any third party tools available .
I tried renameTo() function but it renames the file but the content is still binary.

Re: How do I convert a .doc file to .txt file programmetically ?? Are there any Third party tools available

Posted By:   Tim_Rohaly  
Posted On:   Wednesday, May 16, 2001 10:25 AM

How could you possibly think that simply renaming
the file would do anything to affect the contents?
A Microsoft Word file (.doc) is a binary format containing
the encoded text of a document as well as all the
formatting information for presenting that text in
the correct font, type size, color, etc. A plain text
file is simply ASCII text. You have to do work to
change one to the other - either by writing your own
code or using a third-party converter.

Re: How do I convert a .doc file to .txt file programmetically ?? Are there any Third party tools available

Posted By:   AlessandroA_Garbagnati  
Posted On:   Tuesday, April 10, 2001 08:46 AM

Hi,

There is anothe thread regarding this issue: http://www.jguru.com/forums/view.jsp?EID=398397
About | Sitemap | Contact