Adobe acrobat 7.0.5 sdk User Manual

Page of 122
33
Deciding Which Acrobat SDK Technology to Use
Deciding Between Plug-ins and JavaScript
3
What You Can Do with Plug-ins That You Can’t Do with JavaScript
In general, plug-ins allow for more direct control over Acrobat than JavaScript. There is a 
much richer set of APIs that you can use from a plug-in.
The following can only be done using a plug-in; there is no equivalent JavaScript 
functionality: 
N
O T E
:
The following is not meant to be a complete list. For more detailed information, see 
the subsequent chapters of this document.
Accessing Cos and other low-layer objects
Creating new menus or toolbars
Manipulating PDF content streams
Creating new annotation or action types
Modifying the ASFixed scale factor for large PDF file sizes.
Accessing platform-specific services or events
Getting and setting wireframe drawing mode
What You Can Do with JavaScript That You Can’t Do with a Plug-in
The following can be done easily using Acrobat JavaScript, but have no plug-in equivalent 
API.
N
O T E
:
Some tasks, such as SOAP and web services, can be done with a plug-in by using 
low-level APIs. However, this is a very time-consuming approach and requires an in-
depth knowledge of the Cos and other other low-level APIs.
N
O T E
:
The following is not meant to be a complete list. For more detailed information, see 
the subsequent chapters of this document.
Using SOAP and other web services
Manipulating multimedia in PDF documents
Setting up an automated email review workflow
Describing the state model for the review
Searching Acrobat Help
Using Acrobat Security Policies