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

Public Types | |
| enum | { kDefaultIID = IID_ITABLESCRAPCMDDATA } |
Public Member Functions | |
| virtual void | Set (UIDRef tableModel, GridArea whichCells, IDataExchangeHandler *destinationHandler)=0 |
| virtual UIDRef | GetTableModel () const =0 |
| virtual GridArea | GetRange () const =0 |
| virtual void | ReleaseDestinationHandler ()=0 |
| virtual IDataExchangeHandler * | GetDestinationHandler () 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 |
The table scrap information used by commands when copy/pasting table cells on the scrap
| pure virtual |
Commands often need access to the dataHandler that will be the target of a copy-to-scrap command. but the lifetime data handlers is very short because we revert scrap databases frequently. ReleaseDestinationHandler should be called soon after the command has completed, and definitely before the affected scrap gets reverted.
| pure virtual |
Returns the cell range this command acted on
| pure virtual |
Returns the table mode this command acted on
| pure virtual |
Commands often need access to the dataHandler that will be the target of a copy-to-scrap command. but the lifetime data handlers is very short because we revert scrap databases frequently. ReleaseDestinationHandler should be called soon after the command has completed, and definitely before the affected scrap gets reverted.
| pure virtual |
Sets the information the command needs to act
| tableModel | the table mode UIDRef |