Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing Convertor for word to pdf

 
Carl John
Ranch Hand
Posts: 47
Eclipse IDE Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20531
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic