![]() | InDesign SDK 20.5 |

Public Member Functions | |
| BPIActionComponent (IPMUnknown *boss) | |
| virtual | ~BPIActionComponent () |
| virtual void | DoAction (IActiveContext *ac, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget) |
| virtual void | UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint, IPMUnknown *widget) |
Public Member Functions inherited from CActionComponent | |
| CActionComponent (IPMUnknown *boss) | |
| virtual | ~CActionComponent () |
Additional Inherited Members | |
Public Types inherited from IActionComponent | |
| enum | { kDefaultIID = IID_IACTIONCOMPONENT } |
Implements an action component, IActionComponent, defining the actions that are executed when this plug-in's menu items are chosen.
| BPIActionComponent::BPIActionComponent | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| inlinevirtual |
Destructor
| virtual |
Called by the framework when the action is to be performed.
| ac | context in which the action is to be performed. |
| actionID | identifies the action to be performed. |
| mousePoint | ontains the global mouse location at time of event causing action (e.g. context menus), kInvalidMousePoint otherwise. |
| widget | the widget that invoked the action or nil otherwise |
Implements IActionComponent.
| virtual |
Called by the framework to allow actions to be enabled or disabled dependent on the capability of the selection.
| ac | context in which the action is to be performed. |
| listToUpdate | list containing items to be enabled disabled. |
| mousePoint | ontains the global mouse location at time of event causing action (e.g. context menus), kInvalidMousePoint otherwise. |
| widget | the widget that invoked the action or nil otherwise |
Reimplemented from CActionComponent.