Solved

rtf2pdf question

Posted on 2004-08-16
8
1,039 Views
Last Modified: 2012-05-05
Hi,

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?

Thanks
0
Comment
Question by:acanuva
  • 4
  • 2
8 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 11807983
0
 
LVL 35

Expert Comment

by:girionis
ID: 11807985
0
 
LVL 3

Expert Comment

by:vikraman_b
ID: 11816863
Hi,
Hava a look on this...
this will do for u..
http://www.windwardreports.com/

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 http://www.rtftofo.com/

Try the windward..it will do..


Best of Luck
Vikraman
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

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

I tried jfo (http://www.rtftofo.com/), it really works, but the result is not very satisfying.
I'll take a detailed look at windwardreports.
0
 
LVL 35

Expert Comment

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

Author Comment

by:acanuva
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.
0
 
LVL 35

Accepted Solution

by:
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:

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20944719.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping1 challenge 7 73
@SBGen Method 3 38
rhino JavaScript import, load 25 67
Error in @AspectJ Based AOP with Spring 2 0
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now