Solved

rtf2pdf question

Posted on 2004-08-16
8
1,036 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
Comment Utility
0
 
LVL 35

Expert Comment

by:girionis
Comment Utility
0
 
LVL 3

Expert Comment

by:vikraman_b
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:acanuva
Comment Utility
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
Comment Utility
The first link I posted has loads of libraries. Did you use any?
0
 

Author Comment

by:acanuva
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

762 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

13 Experts available now in Live!

Get 1:1 Help Now