This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Swing Convertor for word to pdf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Swing Convertor for word to pdf " Watch "Swing Convertor for word to pdf " New topic

Swing Convertor for word to pdf

Carl John
Ranch Hand

Joined: Jun 14, 2010
Posts: 47

I'm developing an Swing application which tends to convert any given word document to pdf file. Please guide me to do this.

Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
The Apache POI library can read DOC files, and the iText library can create PDF files.

If having OpenOffice installed is an option, then the JODConverter library would make life much easier.
Rob Spoor

Joined: Oct 27, 2005
Posts: 19674

The conversion engine is not Swing related so I'm moving this thread to Java in General. But I think most people will recommend using (or whatever it's called now) in API mode.

Edit: see, Lester already did so

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Swing Convertor for word to pdf