![]() | InDesign SDK 20.5 |

Public Member Functions | |
| XMLMrkActionComponent (IPMUnknown *boss) | |
| virtual void | DoAction (IActiveContext *ac, ActionID actionID, GSysPoint mousePoint=kInvalidMousePoint, IPMUnknown *widget=nil) |
Public Member Functions inherited from CActionComponent | |
| CActionComponent (IPMUnknown *boss) | |
| virtual | ~CActionComponent () |
| virtual void | UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint, IPMUnknown *widget) |
Protected Member Functions | |
| IXMLMrkSuite * | queryOurSuite (IActiveContext *ac) |
| void | DoAbout () |
| void | DoCompoundSection (IActiveContext *ac) |
| void | DoCompoundTable (IActiveContext *ac) |
| void | DoCompoundItemizedList (IActiveContext *ac) |
| void | DoCompoundMediaObject (IActiveContext *ac) |
| void | DoCompoundKeywordSet (IActiveContext *ac) |
Additional Inherited Members | |
Public Types inherited from IActionComponent | |
| enum | { kDefaultIID = IID_IACTIONCOMPONENT } |
This class implements the actions that are executed when the plug-in's menu items are selected. XMLMrkActionComponent implements IActionComponent based on the partial implementation CActionComponent.
The implementations are very straightforward given the IXMLMrkSuite interface that may be present on the abstract selection; given this interface, determine if a capability exists, and if it does then exercise that capability.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * XMLMrkActionComponent::XMLMrkActionComponent | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| protected |
Encapsulates functionality for the about menu item.
| virtual |
The action component should do the requested action. This is where the menu item's action is taken. When a menu item is selected, the Menu Manager determines which plug-in is responsible for it, and calls its DoAction with the ID for the menu item chosen.
| actionID | identifies the menu item that was selected. |
Implements IActionComponent.
| protected |
Encapsulates functionality for the CompoundItemizedList menu item.
| protected |
Encapsulates functionality for the CompoundKeywordSet menu item.
| protected |
Encapsulates functionality for the CompoundMediaObject menu item.
| protected |
Encapsulates functionality for the CompoundSection menu item.
| protected |
Encapsulates functionality for the CompoundTable menu item.
| protected |
Helper method to discover if the active selection has our suite aggregated
| ac | IN The active context. From this, the selection is obtained. |