rtf2pdf question

Posted on 2004-08-16
Last Modified: 2012-05-05

I would like to know how to convert a rtf file to pdf file using java?
I know iText library, but I'm not sure does this library can be used to do this conversion.
Can someone give me a sample, or tell me what other libraries can I use?

Question by:acanuva
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 35

Expert Comment

ID: 11807983
LVL 35

Expert Comment

ID: 11807985

Expert Comment

ID: 11816863
Hava a look on this...
this will do for u..

or the  usual way like
Using RTF to FO conversion, then using FOP to FO to PDF conversion
have a look on FOP site also.. and

Try the will do..

Best of Luck
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 11889378
Sorry for the late reply and thanks to all you experts.

I tried jfo (, it really works, but the result is not very satisfying.
I'll take a detailed look at windwardreports.
LVL 35

Expert Comment

ID: 11889656
The first link I posted has loads of libraries. Did you use any?

Author Comment

ID: 11910770
Yes, but most of them are used to create files of rtf or other formats.
I think what I need is something like a rtf parser, and then convert the parser result to pdf or something else.
LVL 35

Accepted Solution

girionis earned 50 total points
ID: 11910917
You do not need any special packages for RTF processing, java already comes with a few of them. Take a look here:

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question