PdfTextExtractor.getTextFromPage(reader, pagenumber) will do a much better
job of extracting the text.  It uses a pretty advanced text extraction
strategy (LocationTextExtractionStrategy) that properly handles (in most
cases) text positioning, etc...

If you still want to use the SimpleTextExtractionStrategy, the preferred way
of doing so is with PdfTextExtractor, but passing in a different strategy.

Enjoy!
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Find-string-searchable-pdf-tp2330837p2331542.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to