是否可以使用 URL 参数链接到 PDF 中的书签? [英] Is it possible to link to a bookmark within a PDF using URL parameters?

查看:23
本文介绍了是否可以使用 URL 参数链接到 PDF 中的书签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在网站上提供指向 PDF 文件的链接时,是否可以在 URL(请求参数)中包含信息,这将使 PDF 浏览器插件(如果使用)跳转到特定书签,而不是仅在开始?

When providing a link to a PDF file on a website, is it possible to include information in the URL (request parameters) which will make the PDF browser plugin (if used) jump to a particular bookmark instead of just opening at the beginning?

类似:http://www.somehost.com/user-guide.pdf?bookmark=chapter3 ?

如果不是书签,是否可以转到特定页面?

If not a bookmark, would it be possible to go to a particular page?

我假设如果有答案,它可能特定于 Adob​​e 的 PDF 阅读器插件或其他东西,并且可能有版本限制,但我最感兴趣的是该技术是否存在.

I'm assuming that if there is an answer it may be specific to Adobe's PDF reader plugin or something, and may have version limitations, but I'm mostly interested in whether the technique exists at all.

推荐答案

是的,您可以通过编号或命名位置链接到特定页面,并且如果用户的浏览器使用 Adob​​e Reader 作为插件查看 PDF,这将始终有效文件.

Yes, you can link to specific pages by number or named locations and that will always work if the user's browser uses Adobe Reader as plugin for viewing PDF files.

对于按编号的特定页面:

For a specific page by number:

<a href="http://www.domain.com/file.pdf#page=3">Link text</a>

对于命名位置(目的地):

For a named location (destination):

<a href="http://www.domain.com/file.pdf#nameddest=TOC">Link text</a>


要使用 Acrobat 在 PDF 中创建目标:

To create destinations within a PDF with Acrobat:

  1. 手动浏览 PDF 以找到所需位置
  2. 转到查看">导航选项卡">目的地"
  3. 在选项下,选择扫描文档
  4. 完成后,从选项"菜单中选择新建目的地"并输入适当的名称

这篇关于是否可以使用 URL 参数链接到 PDF 中的书签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆