开发者

Is it possible to hide a page in a PDF document using javascript? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_JAVA技巧 Closed 9 years ago.

Is it possible to hide a page in a PDF document using javascript?


If there is, it would be through the acrobat javascript API:
http://www.adobe.com/devnet/acrobat/javascript.html


You can also use Layers to hide content in PDF files.


HTML JavaScript cannot access objects within a PDF file.

This might be a start for you on the Acrobat Javascript http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJSGuide.pdf

How can I hide an Acrobat form field based on the value of another?

Use the display method of the Global object:

var title = this.getField("title");
if (this.getField("showTitle").value == "Off")
title.display = display.hidden;
else
title.display = display.visible;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜