You can get an idea of how these functions are restricted by looking in the Acrobat JavaScript Reference. A little known secret is that the Host Model functions actually call the equivalent AcroForm functions. However, as a rule of thumb, only the functions and properties in the LiveCycle Host and SourceSet models have restrictions on them everything else is open for use in Reader. Unfortunately, the documentation for the LiveCycle Scripting Model is not so clear when it comes to providing the same information. The Acroform Model is the oldest Document Object Model in Acrobat and the one used for scripting Acrobat forms and automation scripts. The Rights Bar is a mandatory reference when deciding whether or not an operation can be used in a particular scripting environment.įigure 1 – Each box in the Rights Bar indicates a specific usage restriction Each box displays a specific restriction on the usage of a scripting operation. The Rights Bar is a group of at least four boxes. The Acrobat JavaScript Reference uses a Rights (or Quick) Bar ( Figure 1) to indicate which restrictions apply to which functions and properties in the AcroForm model.
ADOBE ACROBAT READER 9 FREE PDF
Operations that are only possible if the PDF is Rights Enabled for that operation.Operations that are completely forbidden.To be more specific, Reader coding restrictions can be placed in 4 categories: So in general, any operation that’s related to PDF creation and modification is not allowed. Reader is free and intended for viewing PDF files, not creating and modifying PDF files like Acrobat.
Reader is a much smaller and more restrictive tool than Acrobat Pro.
ADOBE ACROBAT READER 9 FREE CODE
In this article, we’ll explore the various restrictions of Reader scripting and methods for testing and debugging code directly in the Reader environment.īy the way, when you see the capitalized word "Reader" in this article it means Adobe Reader. Not all operations in Acrobat JavaScript will work in the Reader scripting environment, and some operations require Reader Rights Enabling in order to work. If a document includes scripts, and this is especially true for forms, then it must be tested in Reader.
Just about all PDF documents are intended to be viewed at some point in Reader.