HOWTO在新窗口中打开一个PDF文件的链接? [英] Howto open a link in a pdf-file in a new window?

查看:142
本文介绍了HOWTO在新窗口中打开一个PDF文件的链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个PDF文件(PDF1),它是嵌入在浏览器实例的链接。还是让我们说的ADOBE READER是嵌入在浏览器窗口。

I have a link in a pdf-document (PDF1), which is embedded in a browser instance. Or let's say the Adobe Reader is embedded in a browser window.

在此PDF文件(PDF2)是一个servlet,该视图中打开另一个PDF文件的链接。

In this pdf-document (PDF2) is a link to a servlet, which view opens another pdf-file.

现在新的PDF文档是在一个嵌入式的Adobe Reader中打开在同一个浏览器窗口。如何解决这个文件(PDF2)在新的浏览器窗口中打开一个新的嵌入式Adobe Reader吗?

Now the new pdf-document is opened in a embedded Adobe Reader in the same browser window. How can this document (PDF2) be opened in a new browser window with a new embedded Adobe Reader?

这是否取决于用于PDF文档的生成的编辑工具?

Does this depend on the editor tool used for the generation of the pdf-document?

PS:我不是创造了第一个(PDF1),但我面对的问题,如何打开一个新的窗口,第二个(PDF2),所以第一个文件是不是丢失,并有再重新打开。

PS: I am not creating the first one (PDF1), but I am faced with the question, how to open the second one (PDF2) in a new window, so the first document is not "lost" and has to be reopened again.

推荐答案

我认为你不能在不改变Acrobat Reader软件做到这一点。什么情况是这样的:

I think you can't do this without changing Acrobat Reader. What happens is this:


  • 您下载的第一个文件。

  • IE通告PDF,并嵌入Acrobat Reader软件。读者获取URL作为参数。尽管AR的渲染的一个IE窗口内的文件,AR是目前在文档的完全控制。所以,当你点击一个链接,它的AR(而不是IE浏览器)谁处理事件和下载的第二份文件。

  • You download the first file.
  • IE notices "PDF" and embeds Acrobat Reader. The reader gets the URL as an argument. Despite the fact that AR renders the document inside of an IE window, AR is now in full control of the document. So when you click on a link, it's AR (and not IE) who processes the event and downloads the second document.

我建议尝试福昕阅读器或不使用一些其他的PDF阅读器单一文件UI。福昕使用标签和可显示多种PDF文档。

I suggest to try Foxit Reader or some other PDF reader which doesn't use a "single document" UI. Foxit uses tabs and can display several PDF documents.

他们更快,也更舒适的使用。

They are faster, too and more comfortable to use.

其实,AR调用操作系统处理链接。您可以通过实现复制同样的效果的URL到剪贴板中,然后点击开始按钮和运行...。将该URL粘贴到对话框。或者打开命令行提示符并粘贴URL在提示符下。

Actually, AR calls the OS to handle the link. You can achieve the same effect by copy an URL into the clipboard and then click on the "Start" button and "Run...". Paste the URL into the dialog. Or open a command line prompt and paste the URL at the prompt.

OS将开始下载文件,确定的类型,然后直接调用被登记为该类型的应用程序。 IE浏览器已经造成了一些安全漏洞,在过去(网站提供IE浏览器的一些数据,这似乎是类型XXX的,但实际上是一个病毒一样的东西。IE将调用操作系统执行它和用户怀疑他是怎么感染)。

The OS will start downloading the file, determine the type and then directly invoke the application which is registered for that type. IE does the same thing which has caused some of the security holes in the past (site offers IE some data which seems to be of type XXX but is in fact a virus. IE will call the OS to execute it and user wonders how he got infected).

这篇关于HOWTO在新窗口中打开一个PDF文件的链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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