Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to convert *.doc to *.rtf in a java program?

724693Nov 26 2009 — edited Nov 26 2009
Hi :-)

My challenge is to develop a web-app in ADF Faces. Now i verify some technologies to store mailmerge letters in an easy way. The user of my web-app should upload a MS Word mailmerge document and a csv data source file. My web-app must thereupon convert this two files to a pdf per csv-row and store it to a ftp.

I have build a demo using the open office API. But now i want to try the same by using apache POI and FOP. I can merge the doc files with POI and i can create PDF with FOP.

My problem is, that POI cant convert to a rtf file and FOP uses an rtf file to create a pdf. I dont know, if its possible to convert a doc file to a rtf file. If its possible, is there an API, which will help me out?

Regards

Majo

btw...I am not sure, if its the right forum for my question :-/
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2009
Added on Nov 26 2009
4 comments
1,404 views