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 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 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 "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: 41591
    
  55
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to convert PDF to XLS