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 JSE/JEE APIs and the fly likes Convert .doc to .rtf 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 » Java » Other JSE/JEE APIs
Bookmark "Convert .doc to .rtf" Watch "Convert .doc to .rtf" New topic
Author

Convert .doc to .rtf

Abhijit Sontakey
Ranch Hand

Joined: Sep 26, 2005
Posts: 67
Hi,
I have a requirement to convert a MS Word document (.doc) to .rtf format.
Can anybody help me in this regard. A sample code to convert .doc to .rtf format will be very useful.

Regards
Abhijit.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8839
    
    7

Our Accessing File Formats FAQ has various options. Your best bet is probably OpenOffice.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Abhijit Sontakey
Ranch Hand

Joined: Sep 26, 2005
Posts: 67
Hi,
I want to display the xml generated as HTML text on intranet using stylesheet. Can anybody suggest as to how this can be achieved.
Abhijit Sontakey
Ranch Hand

Joined: Sep 26, 2005
Posts: 67
Hi Joss,
Will formatting of MS Word be lost when OpenOffice or Jacob is used to transform MS Word to RTF format. Any help will be appreciated.

Regards
Abhijit.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8839
    
    7

Originally posted by Abhijit Sontakey:
Hi,
I want to display the xml generated as HTML text on intranet using stylesheet. Can anybody suggest as to how this can be achieved.


Xml and Xsl Tutorial
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8839
    
    7

Originally posted by Abhijit Sontakey:
Hi Joss,
Will formatting of MS Word be lost when OpenOffice or Jacob is used to transform MS Word to RTF format. Any help will be appreciated.


Any conversion runs the risk of losing data or formatting.
Your best bet is to test the documents you want to convert.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Convert .doc to .rtf
 
Similar Threads
Convert Word document to XML
Regarding tabular data from .doc file
Converting RTF to XSL-FO
SCPJ2 LOGO convert to .bmp
doc to rtf through Java