Preface
Introduction
PDF documents have great versatility since they can be displayed both within the Acrobat
software as well as a Web browser. Therefore, it is important to be aware of the differences
between Acrobat JavaScript and JavaScript used in a Web browser, also known as
HTML
JavaScript:
●
Acrobat JavaScript does not have access to objects within an HTML page. Similarly,
HTML JavaScript cannot access objects within a PDF file.
HTML JavaScript is able to manipulate such objects as
Window
. Acrobat JavaScript
cannot access this particular object but it can manipulate PDF-specific objects.
●
If you have used previous versions of Acrobat JavaScript, please note that there are a
number of new JavaScript features and enhancements in version 7:
●
●
●
●
●
●
●
●
●
●
●
●
JavaScript Byte Code
Adobe PDF document creation
Additional usage rights
Engineering features
File attachments
Additional language support
Forms authoring and management
Review, markup, and approval
Document security and digital signatures
Accessibility
Print production
XML capabilities
Audience
It is assumed that you are an Acrobat solution provider or power user, and that you possess
basic competency with JavaScript. If you would also like to take full advantage of Acrobat’s
web-based features, you will find it useful to understand XML, XSLT, SOAP, and Web
services. Finally, if you would like to utilize Acrobat’s database capabilities, you will need a
basic understanding of SQL.
14
Acrobat JavaScript Scripting Guide