in reply to PDF::API2 to search for text and place hyperlinks in PDF file
There must be a better way.Not as far as I know. If you need to find not only the text but the actual positioning of the label containing that text, you're going to have to parse the entire structure. I don't know that doing that using Data::Dumper rather than CAM::PDF or PDF::API2's internal methods is a good idea, but no matter how you slice it, you basically have to mimic the rendering process (parsing the page tree) to get the actual page positions of the text.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDF::API2 to search for text in PDF file
by knbknb (Acolyte) on Mar 25, 2009 at 16:47 UTC |