开发者

is it possible to hyperlink to external pdf selection?

开发者 https://www.devze.com 2023-02-01 22:09 出处:网络
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=4so tha

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?


It appears it works for page numbers

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


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...).

0

精彩评论

暂无评论...
验证码 换一张
取 消