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

Public Types | |
| enum | { kDefaultIID = IID_ITABLETARGET } |
Public Member Functions | |
| virtual void | SetModel (const ITableModel *model)=0 |
| virtual void | SetModel (const UIDRef &tableRef)=0 |
| virtual ITableModel * | QueryModel () const =0 |
| virtual UIDRef | GetModel () const =0 |
| virtual void | SetRange (const GridArea &cells)=0 |
| virtual const GridArea & | GetRange () const =0 |
| virtual void | SetTargetUnManaged (const ITableModel *model, const GridArea &cells)=0 |
| virtual void | Clear (void)=0 |
| virtual bool16 | HasContent (void) const =0 |
| virtual void | Initialize (IDataBase *db)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This is a rectangular target area in a table. This target is usually set up so you can preform actions on this area.
| pure virtual |
Clears the target.
| pure virtual |
Returns the UIDRef of the ITableModel this target is in.
| pure virtual |
Returns the rectangular area of the table this target is in.
| pure virtual |
Returns kTrue if this target is valid.
| pure virtual |
Initialize
| db | Database the target is associated with. |
| pure virtual |
Returns the ITableModel this target is in.
| pure virtual |
Sets the ITableModel this target is in.
| model | The ITableModel |
| pure virtual |
Sets the ITableModel this target is in.
| tableRef | The model UIDRef |
| pure virtual |
Sets the rectangular area of the table this target is in.
| cells | GridArea range of cells |
| pure virtual |
Sets up the table target with a model and a GridArea, but it doesn't add the cell focus (representing the target) to the cell focus manager. This should only be used when doing one time opporations with the TableTarget – using this when the model changes under in the GridArea of the target will cause crashes. After SetTargetUnManaged has been called, SetModel can never be called!
| model | the ITableModel being unmanaged |
| cells | the GridArea being unmanaged |