This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to convert PDF to XLS

 
Pat Krish
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pat Krish
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf, will update this post if I find an option to extract the data from pdf and write it to an xls format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic