This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Swing Convertor for word to pdf " Watch "Swing Convertor for word to pdf " New topic
Author

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.


CJohn
Lester Burnham
Rancher

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
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

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 OpenOffice.org (or whatever it's called now) in API mode.

Edit: see, Lester already did so


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: Swing Convertor for word to pdf
 
Similar Threads
PDF Converter
report generation in java swing
From Web interface to Swing
Embed Word/PDf documents in Swing
From web interface to Swing