从Word 2013超链接到PDF文件页面 [英] Hyperlink to PDF file page from Word 2013

查看:270
本文介绍了从Word 2013超链接到PDF文件页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据不同的来源,应该可以通过附加后缀:#page =,例如:

According to different sources one should be able to hyperlink to a specific page in a PDF-file from other applications by appending the suffix: #page=, for example:

C:\Temp\Examplefile.pdf#page=5

这不适用于Word2013.我已经了解到,这取决于客户端和文件扩展名关联上作为PDF文件阅读器安装的应用程序和版本,但是我认为这与Word 2013有关.计算机,我可以使用以下HTML代码从HTML文件成功超链接到PDF页面,然后单击例如Internet Explorer中的链接:

This is not working from Word 2013. I have read that it depends on what application and version installed as PDF-file reader on the client and file extension associations, but I think it is an issue with Word 2013. On the same computer I can successfully hyperlink to a PDF page from an HTML-file by using the following HTML-code and click the link in for example Internet Explorer:

<HTML><BODY><A HREF="C:\Temp\Examplefile.pdf#page=5" TARGET="_TOP"> PDF-File </A></BODY></HTML>

我尝试将Adobe Reader XI和Adobe Acrobat 9 Pro用作PDF文件阅读器,但没有成功. PDF文件打开,但显示的是第一页,而不是第五页.

I have tried using Adobe Reader XI and Adobe Acrobat 9 Pro as PDF-file reader, but without success. The PDF-file opens but it shows the first page, not the fifth.

有人知道如何成功从Word 2013超链接到PDF文件中的特定页面吗?我也愿意接受涉及VBA代码的解决方案.

Does anyone know how to successfully hyperlink to a specific page in a PDF-file from Word 2013? I am also open to solutions involving VBA code.

推荐答案

在Word文档中创建指向PDF的特定页面或目标的超链接的唯一方法似乎是,如果PDF文件在网络中,服务器并创建引用PDF URL的链接",引用 http://unicode.org/charts之类的URL的链接/PDF/U0080.pdf#page=5 (以一个任意的工作示例为例).

It seems that "the only way to create a hyperlink in a Word document to a specific page or destination in a PDF is if the PDF file is in a web server and you create the link referring to the PDF URL", to quote an answer at AcrobatUsers.com. So you would use a link with a URL like http://unicode.org/charts/PDF/U0080.pdf#page=5 (to take an arbitrary working example).

嗯,任何HTTP服务器都应该这样做,它不必在网络上,而可以是Intranet服务器,甚至可以是打开Word文档的计算机的本地服务器.但是关键是,当您链接到http://地址时,该链接将在网络浏览器中打开,该浏览器可以处理URL末尾的#page=5之类的片段部分.

Well, any HTTP server should do, it does not need to be on the web but could be an intranet server, or even local to the computer where the Word document is opened. But the point is that when you link to an http:// address, the link will open in a web browser, which can handle a fragment part like #page=5 at the end of a URL.

这篇关于从Word 2013超链接到PDF文件页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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