![]() ![]() Beginning with Acrobat 7.0, execution of JavaScript through a menu event is no longer privileged. In Acrobat versions earlier than 7.0, menu events were considered privileged contexts. The description of each security-restricted method indicates the events during which the method can be executed.īeginning with Acrobat 6.0, security-restricted methods can execute without restrictions if the document certifier’s certificate is trusted for running embedded high privilege JavaScript. All other events (for example, page open and mouse-up events) are considered non-privileged. These methods can be executed only in a privileged context, which includes console, batch and application initialization events. ![]() Some JavaScript methods, marked by an S in the third column of the quick bar, have security restrictions. Privileged versus non-privileged context ¶ Again, for a JavaScript solution, all these factors must be considered.įor documentation on core JavaScript, the reader is directed to the Mozilla Developer Center. Additionally, some APIs are restricted to Acrobat Pro and some cannot be used by Adobe Reader, while others can be used in Adobe Reader only when the document has the appropriate Reader Extension Rights. Most JavaScript API are documented for all versions of Acrobat and Adobe Reader, while others are only defined in later versions. The choice of target application determines, by the table above, the version of JavaScript you should use. When developing a JavaScript solution, you must have a minimum Acrobat (or Adobe Reader) version in mind. ![]() The most recent version of Acrobat now uses JavaScript 1.7. In Acrobat 5.0, there was a major effort to extend core JavaScript, then version 1.5, to include much of the functionality of the application and its plug-ins. Initially, JavaScript version 1.2 was used, as the table below shows. JavaScript functionality was added to this version by means of the “Acrobat Forms Author Plug-in 3.5 Update”. The Acrobat extensions to core JavaScript date back to Adobe Exchange 3.01. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |