There's an
entry in the FAQ that covers this, though a little indirectly. The comment
I added is more relevant:
It is Very
Hard to read text out of a PDF. Acrobat does a great deal behind the
scenes to make it look easy, but it's not. If Acrobat can't do it, then it
probably can't be done (though I know of at least one case where they
should but fail).
Having said that, there ARE java programs (and others)
out there capable of making a good effort at reading your PDFs. I believe
that www.pdfbox.org can do everything
you want and is also Free software.
--Mark Storer
Senior Software Engineer
Cardiff.com
#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of santhosh mathai
Sent: Monday, October 23, 2006 3:40 AM
To: [email protected]
Subject: [iText-questions] Get a pdf file and read it word by word tocompare with the key valueHi friends,This is santhosh from Bangalore.I am new in iText development .My requirement is like this1. Get a pdf file and read it word by word to compare with the key value.(One ArraList contains the key values in String format)2. If the key value matches to the word read from pdf, then write the whole page in which the word is present in a new PDF file.
3. Continue reading the PDF file and comparing the values till the end of the report and write all the matching pages to a new PDF file.If anybody knows the solution,Please send me the details with sample codeThanksSanthosh
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
