Hesham,
I tried to search for the text ("Some text written using PDFBox ... I
cannot search for any word in this page using Adobe Acrobat") on the
last page, using "Apple Preview 4.2 (469.5)", "Adobe AcrobatProfessional
7.0.7", "Adobe Acrobat Reader 8.1.4" and "Adobe Acrobat Reader 9.1"
under OS X 10.5.8.
For me it worked with any of these viewers. I could search through the
whole document and always found the words correctly. Perhaps you need to
restart your Acrobat?
Cheers,
Erik
Hesham G. wrote:
Hello ,
I have noticed that whenever I create a new page in an existing PDF and write
some text in it using PDFBox, this text is not searchable through Adobe Acrobat.
You can check the sample file here :
http://www.4shared.com/file/213721656/48b1bbea/search_in_PDFBox_text_fails_sa.html
Please check the last page in that sample, it's created and written using
PDFBox ... Try to search for any word in it and you'll fail.
Any solution for this ?
Best regards ,
Hesham