![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ICSXSPLUGPLUG } |
Public Types inherited from ICSXSPlugPlugEventHandler | |
| enum | { kDefaultIID = IID_ICSXSPLUGPLUG } |
| enum | CSXSEventScope { kEventScope_Application = 1, kEventScope_LastValue = 0x7FFFFFFF } |
| enum | CSXSEventErrorCode { kEventErrorCode_Success = 0, kEventErrorCode_OperationFailed, kEventErrorCode_Unknown, kEventErrorCode_LastValue = 0x7FFFFFFF } |
| typedef void(* | EventListenerFn )(const CSXSEvent *const csxsEvent, void *const context) |
Public Member Functions | |
| virtual bool16 | LoadExtension (const PMString &extensionID)=0 |
| virtual bool16 | UnloadExtension (const PMString &extensionID)=0 |
| virtual ActionID | GetExtensionActionID (const PMString &extensionID)=0 |
| virtual WidgetID | GetExtensionWidgetID (const PMString &extensionID)=0 |
Public Member Functions inherited from ICSXSPlugPlugEventHandler | |
| virtual CSXSEventErrorCode | AddPlugPlugEventListener (const char *type, EventListenerFn eventListener, void *const context)=0 |
| virtual CSXSEventErrorCode | RemovePlugPlugEventListener (const char *type, EventListenerFn eventListener, void *const context)=0 |
| virtual CSXSEventErrorCode | DispatchPlugPlugEvent (const CSXSEvent *const csxsEvent) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Get the action ID for the extension. The action ID can be used with IActionManager::PerformAction to mimick extension menu trigger behavior.
| extensionID | The ID of the extension to get the action ID for. |
| pure virtual |
Get the widget ID from the extension ID.
| extensionID | The ID of the extension to get the widget ID for. |
| pure virtual |
Loads an extension given its id.
| extensionID | The ID of the extension to load. |
| pure virtual |
Unloads an extension given its id.
| extensionID | The ID of the extension to unload. |