Looking for for a way for locating a word in a PDF and inserting an image next to it
Hi...
my mission is to locate a certain word inside a pdf file and insert an image next to this word
if anyone can recommend me on some api's or examples i will be very grateful.
Thanx ahead
Daniel
vedmack
Junior Poster in Training
59 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
Try iText for PDF processing.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
I know this api and I'm working alot with it... but i haven't found a way to do it with this api...
vedmack
Junior Poster in Training
59 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
small wonder. PDF files are readonly, so you can't change them.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Try iText for PDF processing.
I do remember any search functions in iText...
However it should be possible if you use PdfDictionary object as described in chapter 18 of iText book. Only problem is you have to get around cross-referencing of PDF document. Very-very dirty work
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902