Acrobat API Reference | All Layers | All Objects | Index | Samples | Frames | ![]() |
ASExtension | Typedefs | Enumerations | Callbacks | Methods | |
Layer | AS_Layer |
Object | ASExtension |
An ASExtension represents a specific plug-in. A unique ASExtension object is created for each plug-in when it is loaded. If the plug-in fails to initialize, the ASExtension remains, but is marked as dead. The ASEnumExtensions() method allows you to iterate over all plug-in objects.
Typedef | ||
---|---|---|
ASExtension
An opaque pointer to an object that identifies a specific loaded plug-in. A unique ASExtension object is created for each plug-in when it is loaded. If the plug-in fails to initialize, the ASExtension remains but is marked as inactive.
|
Enumeration | ||
---|---|---|
ASExtensionPhase
Called periodically during plug-in loading with the ASExtension currently being loaded, and a selector indicating what phase of loading is happening.
|
Callback | ||
---|---|---|
ASExtensionEnumProc
Enumeration function for ASEnumExtensions().
|
||
ASExtensionProgressProc
Called periodically during plug-in loading with the ASExtension currently being loaded.
|
||
ASExtensionReportErrorProc
Called during ASExtension initialization whenever an error occurs.
|
Method | ||
---|---|---|
ASExtension ASEnumExtensions(ASExtensionEnumProc proc, void* clientData, ASBool onlyLivingExtensions)
Enumerates all ASExtension objects (valid plug-ins).
|
||
Gets the file name of an ASExtension.
|
||
ASAtom ASExtensionGetRegisteredName(ASExtension extension)
Gets the registered name associated with a plug-in.
|
ASExtension |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
typedef struct _t_ASExtension* ASExtension;
An opaque pointer to an object that identifies a specific loaded plug-in. A unique ASExtension object is created for each plug-in when it is loaded. If the plug-in fails to initialize, the ASExtension remains but is marked as inactive.
See Also
File: CoreExpT.h |
Line: 190 |
ASExtensionPhase |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
enum ASExtensionPhase {
ASExtensionPhase_LOADING,
ASExtensionPhase_EXPORTING,
ASExtensionPhase_IMPORTING,
ASExtensionPhase_INITIALIZING,
ASExtensionPhase_UNLOADING
}
File: PDFInit.h |
Line: 284 |
ASExtensionPhase_LOADING | Loading |
|
ASExtensionPhase_EXPORTING | Exporting |
|
ASExtensionPhase_IMPORTING | Importing |
|
ASExtensionPhase_INITIALIZING | Initializing |
|
ASExtensionPhase_UNLOADING | Unloading |
ASExtensionEnumProc |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
ASBool (*ASExtensionEnumProc)(ASExtension extension, void *clientData)
Enumeration function for ASEnumExtensions().
See Also
File: CoreExpT.h |
Line: 266 |
ASExtensionProgressProc |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
void (*ASExtensionProgressProc)(ASExtension extension, ASExtensionPhase phase, void *clientData)
Called periodically during plug-in loading with the ASExtension currently being loaded.
See Also
Note
File: PDFInit.h |
Line: 332 |
ASExtensionReportErrorProc |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
void (*ASExtensionReportErrorProc)(ASExtension extension, ASExtensionPhase phase, ASInt32 error, void *clientData)
Called during ASExtension initialization whenever an error occurs.
See Also
File: PDFInit.h |
Line: 348 |
ASEnumExtensions | () |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
ASExtension ASEnumExtensions(ASExtensionEnumProc proc, void* clientData, ASBool onlyLivingExtensions)
Enumerates all ASExtension objects (valid plug-ins).
Parameters
proc — | A user-supplied callback to call for each plug-in. Enumeration halts if |
|
clientData — | A pointer to user-supplied data to pass to |
|
onlyLivingExtensions — | If |
If |
See Also
Since
File: CorProcs.h |
Line: 280 |
ASExtensionGetFileName | () |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
ASTArraySize ASExtensionGetFileName(ASExtension extension, char* buffer, ASTArraySize bufSize)
Gets the file name of an ASExtension.
Parameters
extension — | IN/OUT The ASExtension whose file name is obtained. |
|
buffer — | IN/OUT (Filled by the method, may be |
|
bufSize — | IN/OUT The number of bytes in |
The number of characters written into |
See Also
Since
File: CorProcs.h |
Line: 297 |
ASExtensionGetRegisteredName | () |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
ASAtom ASExtensionGetRegisteredName(ASExtension extension)
Gets the registered name associated with a plug-in.
Parameters
extension — | IN/OUT The ASExtension whose name is obtained. |
An ASAtom representing the plug-in name, or |
See Also
Since
File: CorProcs.h |
Line: 308 |