
Adobe Acrobat SDK
Creating Plug-in and PDF Library Applications
Developing Plug-ins and Applications
Including Acrobat SDK library files 48
plug-in, it is not necessary to perform some of the tasks discussed in this section. For example, you do not
need to start a new project, include header files, or add the PIMain source file. However, you still have to
add application logic, compile, and build your project.
➤
To create a plug-in:
1. Start a new C project.
2. Include Acrobat SDK header files.
3. Add the PIMain source file to your project.
4. Add application logic to meet your business requirements.
5. Compile and build your plug-in.
Including Acrobat SDK library files
To create a plug-in, you must include Acrobat SDK library files, such as header files, into your project. You
can link to these library files from within your development environment. Consult the documentation that
accompanies your development environment for information about linking to library files.
The Acrobat SDK library files are separated into the following categories:
SDK
: Header files that are common to most plug-ins and that are generally referenced from PIMain.c.
API
: Mostly API header files specific to core and extended APIs.
You can find these header files in the following directory:
\Acrobat SDK\PluginSupport\Headers
The following table lists the SDK header files.
The following table lists API header files.
Header file
Description
AVCmdDefs.h
Defines the AVCommand names, parameters, and so on to allow
developers to drive the built-in AVCommands.
DebugWindow.h
Catalog of functions exported by the DebugWindow plug-in.
MacPIHeaders.h
Mac OS-specific includes and defines.
PIHeaders.h
A general include file for Acrobat headers. This file is included in the Mac
OS precompiled header file PIHeaders.pch.
WinPIHeaders.h
Windows-specific includes and defines.
Header file
Description
acroassert.h
Extended definition of assert macros for various Acrobat-supported
platforms (for debugging).
AcroColorCalls.h
Defines names for referencing AcroColor APIs via the corresponding HFT.