![]() | InDesign SDK 20.5 |
#include <IToolCmdData.h>

Public Types | |
| enum | { kDefaultIID = IID_ITOOLCMDDATA } |
Public Member Functions | |
| virtual void | Set (ITool *theTool, ClassID toolType)=0 |
| virtual ITool * | GetTool () const =0 |
| virtual ClassID | GetToolType () 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 |
Interface responsible for maintaining data for tool cmds
| pure virtual |
Get the tool for the command.
| pure virtual |
Get the tool type for the command. Tool type is used to identify mutually exclusive tools. The traditional tools in the toolbox are all of type 'kPointerToolBoss'
Set the data for the tool cmd
| theTool | which tool to use for this command. |
| toolType | the tool type for the command. Tool type is used to identify mutually exclusive tools. The traditional tools in the toolbox are all of type 'kPointerToolBoss' |