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

查看:463
本文介绍了是否可以使用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?

我假设如果有答案,它可能是Adobe的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.

推荐答案

是的,您可以按编号或命名链接到特定页面位置,如果用户的浏览器使用Adobe 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.

对于规范按行号分类:

<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. Go查看>导航选项卡>目的地

  3. 在选项下,选择扫描文档

  4. 完成后,从选项菜单中选择新目的地,然后输入适当的名称

  1. Manually navigate through the PDF for the desired location
  2. Go to View > Navigation Tabs > Destinations
  3. Under Options, choose Scan Document
  4. Once this is completed, select New Destination from the Options menu and enter an appropriate name

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

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