Adobe Reader 11.0.11 中的 PDF 链接不起作用

PDF Links in Adobe Reader 11.0.11 dont work

我正在开发一款使用 FOP 从 XSL 转换创建 PDF 文档的软件。

输出只是一个漂亮的渲染信息列表(细节真的不重要),但在底部,有一个 link 将用户带到更深入的文档(甚至虽然这些是为了印刷……是一项要求)。这个 link 是一个亲戚 link,通过以下方式构建:

<fo:basic-link external-destination="raw.pdf?unique=XXXXXXXX">
    read more
</fo:basic-link>

links 显示正常,在 Adob​​e Reader XI(11.0.10 及以下版本)中查看时,link 显示正常,查看 PDF 时离线(不是来自 Web 浏览器,顺便说一句,仅限 IE),显示一条错误消息,提示找不到 link。

但是,当我在 Adob​​e Reader 11.0.11 中查看文档时,如果我单击 link(在浏览器中或离线),没有任何反应。

我已经检查了 Change Log 的最新版本,但没有什么超级有用的(一个可能有用的条目是 3688510,但它不再存在于他们的错误数据库中)。

有人知道为什么会这样吗?

我目前正在尝试定义具体的 links(包括完整路径和主机),但这并不理想,因为该软件的安装并不真正意味着知道它在哪里(仍然可能).

这似乎是 Adob​​e Reader 11.0.11 中的安全增强功能。

[Link 到 Adob​​e 论坛][1]

特别是Rave (Adobe Employee) answers here:

3. Re: Links in PDF stop working after updating to Reader 11.0.11

This browser workflow has been purposely blocked because of security bug.

We allow destination that starts with http: or https. Also if the path is a platform path (non-string) we block it.

We are investigating more on it. I will keep you updated on the same.

不过,此安全修复程序的影响似乎不止于此。

一种可能的解决方法似乎是通过注册表禁用修复程序。

例如AdriàAdell (Community Member) answered on a parallel thread:

23. Re: Since upgrading to 11.0.11, relative cross document links while viewing PDF in the browser are no longer functioning

This solution has worked for me. I have created a reg file for X/XI/DC versions of Reader/Acrobat and 32/64 bits.

;Adobe X - 32 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader.0\FeatureState]
"3836774"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat.0\FeatureState]
"3836774"=dword:00000000

;Adobe XI - 32 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader.0\FeatureState]
"3836776"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat.0\FeatureState]
"3836776"=dword:00000000

;Adobe DC - 32 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader.0\FeatureState]
"3836780"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat.0\FeatureState]
"3836780"=dword:00000000

;Adobe X - 64 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Acrobat Reader.0\FeatureState]
"3836774"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat.0\FeatureState]
"3836774"=dword:00000000

;Adobe XI - 64 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Acrobat Reader.0\FeatureState]
"3836776"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat.0\FeatureState]
"3836776"=dword:00000000

;Adobe DC - 64 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Acrobat Reader.0\FeatureState]
"3836780"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat.0\FeatureState]
"3836780"=dword:00000000

later added:

30. Re: Since upgrading to 11.0.11, relative cross document links while viewing PDF in the browser are no longer functioning

On the last update of Reader, the regedit must be changed in:

;Adobe DC - 32 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\DC\FeatureState]
"3836780"=dword:00000000

;Adobe DC - 64 bit

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Acrobat Reader\DC\FeatureState]
"3836780"=dword:00000000

[1]: https://forums.adobe.com/thread/1849489