• Post Reply Bookmark Topic Watch Topic
  • New Topic

PDF to Word Convertor  RSS feed

 
Vikash Ananda
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

I need a library that converts a PDF to word document. I tried google and sun forum but was unable to find suitable one. Got lots of hits for Word to PDF and some had GUI based programs to select PDF and will generate word on click of some button. I want to do this in Java where I can provide input PDF file path and output word file path and it gets converted.

The PDF will also contain some images.

Please let me know any pointers in this regard.

Thanks and Regards,
Vikash Anand.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PDF is a read-only format, for the most part. While some operations can be done on it after it is created -like watermarking, adding or removing pages, signing, etc.- accessing its exact contents and layout is not possible (unless you use something like Acrobat Pro).

If you want to go to a lot of trouble you could probably adapt the PDFRenderer library for reading the PDF, and Apache POI for creating a Word document. I'd estimate that to take a week's worth of work to get even halfway decent results, though.
 
Vikash Ananda
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info....u saved me from much trouble
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!