Adobe acrobat 7.0.5 sdk User Manual

Page of 122
27
Technologies Supported by the Acrobat SDK
Interapplication Communication (IAC)
2
Accessing the JSObject Interface
Acrobat 7.0 provides a rich set of JavaScript programming interfaces that are designed to 
be used from within the Acrobat environment. It also provides a mechanism (known as the 
JSObject
) that allows external clients to access the same functionality from 
environments such as VB .NET, Visual C++ .NET and Visual C# .NET.
Programming Acrobat JavaScript Using Visual Basic gives you the information you need to 
get started using the extended functionality of JavaScript from a Visual Basic programming 
environment. It provides a set of examples to illustrate the key concepts.
In precise terms, the 
JSObject
 is an interpretation layer between an OLE Automation 
client such as a Visual Basic application and the JavaScript functionality provided by 
Acrobat. From a programmer's point of view, the end result is that programming 
JSObject
 from a Visual Basic environment is quite similar to programming in JavaScript 
using the Acrobat console.
DDE Support
Dynamic Data Exchange (DDE) is a feature of Windows that allows two programs to share 
data or send commands directly to each other. The DDE messages that are supported by 
Acrobat are listed in the Acrobat Interapplication Communication Overview.
I M P O R TA N T:
You should use OLE automation instead of DDE whenever possible, since DDE is 
not a COM technology.
Apple Event Support
The Acrobat viewers support Apple Events and a number of Apple Event objects on the 
Macintosh platforms. IAC support includes some of the objects and events described in 
Apple Event Registry: Standard Suites, as well as Acrobat-specific objects and events. For 
more information, see the Acrobat Interapplication Communication Overview
N
O T E
:
You can find information on Apple Events supported by the Acrobat Search plug-in 
by referring to the
 
Acrobat and PDF LIbrary API Reference. Other plug-ins supporting 
additional Apple Events are described in the 
 
Acrobat and PDF LIbrary API Overview.
When programming for Macintosh platforms, it is advised that you use AppleScript with 
Acrobat whenever possible. There are some Apple Events not available through 
AppleScript; these can be handled with C or other programming languages. When 
programming in C, use the declarations in 
AcroAETypes.h
. For a complete description 
of the parameters, see the  Acrobat Interapplication Communication Reference.
Using Plug-ins for Interapplication Communication
You can extend the functionality of the IAC interfaces by writing plug-ins that use core API 
objects that are not already part of the IAC support system. The Acrobat SDK provides a 
sample, DDEServer, which demonstrates this functionality. 
See the Acrobat Interapplication Communication Overview for more information.