This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 19553
    
  16

Have you already tried iText?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 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
 
Similar Threads
Convert HTML to RTF
converting xml into rtf
Regarding APIs
Coverting RTF to DOC
Converting RTF to XSL-FO