tribalvibes
tribalvibes

Reputation: 2107

is it possible to hyperlink to external pdf selection?

I'd like to create hyperlink references to a text selection or offset in an external PDF document, as if there were an anchor defined. E.g., http://lib.extern.org/doc1.pdf?page=3&paragraph=4 so that when the user follows the link in their browser, the PDF document opens positioned at the offset specified. I'm looking for any granularity, e.g. page, paragraph, line, word, character or even pixel em or inch offset would be acceptable. If a range for a selection could be specified that would be ideal, the purpose being to highlight and link directly to quotes in external PDF docs (to which the app has read-only access.) Seems so basic, but I haven't found a solution. Ideas?

Upvotes: 3

Views: 198

Answers (2)

mtraut
mtraut

Reputation: 4740

There are no standards for commandline parameters for the plugins.

But if you can render a fresh PDF each time (make a copy and put in a new object via some PDF manipulation API), you can include an OpenAction that jumps to the page in question. You can even set more viewer parameters (or do some other personalization, watermarks, whatever...).

Upvotes: 1

user180326
user180326

Reputation:

It appears it works for page numbers

EDIT: And also check this (it should open on page 8)

Upvotes: 2

Related Questions