• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Reading Text from PDF doc

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to retrieve text (inside PDF doc) through some java api (programmatically, like we retrieve a line from .txt file in a String variable) so that I can further process it as per my wish.
My actual requirement is that i want to read text inside that PDF doc and also tell me whether it is necessary that i need to have position of that text (x, y coordinates). Your help would be helpful to me. Also oblige if u can send me a sample code..

Thanks and Regards
Nilesh Soni
[ November 16, 2004: Message edited by: Nilesh Soni ]
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check out this thread. It has some links to API's that help you to read a PDF through Java.

Also, you can check out or handy dandy search utility to find other similar threads.
 
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,

I tried lots of libraries for that, but only Multivalent worked very well.

Have a look at the provided example tool.doc.ExtractText.

Conan
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic