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

Public Types | |
| enum | { kDefaultIID = IID_ICMDCOLLECTION } |
Public Member Functions | |
| virtual void | Append (ICommand *addThis)=0 |
| virtual void | Prepend (ICommand *addThis)=0 |
| virtual int32 | Length () const =0 |
| virtual ICommand * | GetNthCommand (int32 i)=0 |
| virtual bool8 | Preallocate (int32 newLen)=0 |
| virtual void | Clear ()=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 for managing collections of commands.
| pure virtual |
Add the command to the collection. NOTE: This interface takes ownership of the reference on addThis!!
| pure virtual |
Clears the list.
| pure virtual |
Return a pointer to the n'th sub command.
| pure virtual |
Return the number of sub commands.
| pure virtual |
Make sure that there is enough space for the requested number of items.
| pure virtual |
Add the command to the collection. NOTE: This interface takes ownership of the reference on addThis!!