This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    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: 8836
    
    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: 8836
    
    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.
 
 
subject: Convert .doc to .rtf
 
Similar Threads
Converting RTF to XSL-FO
SCPJ2 LOGO convert to .bmp
Regarding tabular data from .doc file
Convert Word document to XML
doc to rtf through Java