This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes How to convert PDF to XLS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to convert PDF to XLS" Watch "How to convert PDF to XLS" New topic
Author

How to convert PDF to XLS

Pat Krish
Greenhorn

Joined: Mar 14, 2011
Posts: 2
Hi,

I would like to the know the options for converting PDF documents to MS Excel sheets using java. The PDF are generated using the iText API. Please advice!

Thanks!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
I don't think there are any. PDFs are meant for display and print, not so much for editing and data extraction. The http://www.coderanch.com/how-to/java/AccessingFileFormats lists numerous libraries -commercial and free- that work with PDFs, but I think the best they'll be able to do is to extract all text that's inside a PDF in an unstructured way.


Ping & DNS - my free Android networking tools app
Pat Krish
Greenhorn

Joined: Mar 14, 2011
Posts: 2
Thanks Ulf, will update this post if I find an option to extract the data from pdf and write it to an xls format.
 
jQuery in Action, 2nd edition
 
subject: How to convert PDF to XLS