Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Bookmarking PDF by string

by vr (Curate)
on Jan 17, 2019 at 00:04 UTC ( [id://1228669]=note: print w/replies, xml ) Need Help??


in reply to Bookmarking PDF by string

bookmarking ability of PDF::Reuse

POD is misleading, this simply jumps to target page, to same coordinates and zoom as on currently active page. I doubt it's what's expected if user wants to go to particular line of text. So, expect at least to read the manuals and patch the source.

+ What kind of "specific string"? E.g. wkhtmltopdf adds bookmarks to what were HTML headers, and I think any decent converter has similar abilities. That said, extracting text (either plain text or XML with coordinates and attributes) from PDF page by page to find page number with required string is obvious and perhaps you are already testing this solution...

Edit: PDF::API2::Outline also adds bookmarks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228669]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-26 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found