This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes RTF to PDF using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "RTF to PDF using Java" Watch "RTF to PDF using Java" New topic
Author

RTF to PDF using Java

Amudhan Shan
Greenhorn

Joined: Sep 02, 2008
Posts: 2

Hi,

Is there any open source API or others which can be used to convert a RTF document to PDF document using Java.

It should also be able to convert double byte characters.

Thanks in Advance
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19968
    
  25

Have you already tried iText?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Amudhan Shan
Greenhorn

Joined: Sep 02, 2008
Posts: 2
Tried using Itext version 2.1.5 and 2.1.7. But the alignment of the pdf was not good. Also it was not able to render some of the RTF content properly.

When I searched it was found that it was still under development RTF to PDF conversion in iText and the classes corresponding to conversion were available in itext-rtf.jar.

Hence I tried using the latest itext version like 5.0.0 and 5.0.2 and found that the corresponding conversion classes were found missing in latest versions.

So I assume that they stopped such conversion in latest itext. Please correct me if my understanding is wrong.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RTF to PDF using Java