![]() | InDesign SDK 20.5 |

Public Member Functions | |
| TableCellData (IPMUnknown *boss) | |
| virtual | ~TableCellData () |
| virtual void | ReadWrite (IPMStream *s, ImplementationID prop) |
| virtual int32 | GetMaxColumn (void) const |
| virtual int32 | GetMaxRow (void) const |
| virtual int32 | GetCellNumberOfColumns (void) const |
| virtual int32 | GetCellNumberOfRows (void) const |
| virtual int32 | GetTableWidth (void) const |
| virtual int32 | GetTableHeight (void) const |
| virtual int32 | GetCellWidth (void) const |
| virtual int32 | GetCellHeight (void) const |
| virtual int32 | GetViewTopRow (void) const |
| virtual void | SetViewTopRow (const int32 row) |
| virtual int32 | GetViewLeftColumn (void) const |
| virtual void | SetViewLeftColumn (const int32 column) |
| virtual int32 | GetSelectRow (void) const |
| virtual void | SetSelectRow (const int32 row) |
| virtual int32 | GetSelectColumn (void) const |
| virtual void | SetSelectColumn (const int32 column) |
| virtual bool | isSelection (const int32 column, const int32 row) const |
| virtual const WideString & | GetCellString (int32 column, int32 row) const |
| virtual const WideString & | GetCellString (void) const |
| virtual bool16 | SetCellString (const WideString &string, int32 column, int32 row) |
| virtual bool | SetCellString (const WideString &string) |
| virtual void | Invalidate (bool16 forceInvalidate) |
| virtual PMPoint | ConstrainDimensions (const PMPoint &desiredDimen) const |
Public Member Functions inherited from CPMUnknown< ITableCellData > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Public Types inherited from ITableCellData | |
| enum | { kDefaultIID = IID_ITABLECELLDATA } |
| enum | { kNoSelected = -1 } |
Protected Member Functions inherited from CPMUnknown< ITableCellData > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< ITableCellData > | |
| HelperInterface | fHelperInterface |
TableCellData is an interface for an implementation that manages the data in TableCell.
| TableCellData::TableCellData | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Destructor.
Before resizing a table of panel widget, Calculate height and width of the table for resizing of the panel. The client can ask if the size makes sense by calling this method. Return size constraints. This method is called from ConstrainDimensions method of panel view widget.
| desiredDimen | The size of the adjusted table |
Implements ITableCellData.
| virtual |
Get the height of each cell.
Implements ITableCellData.
| virtual |
Calculate of how many cells go into each column of the table.
Implements ITableCellData.
| virtual |
Calculate of how many cells go into each row of the table.
Implements ITableCellData.
| virtual |
Acquire the string data of specified cell.
| column | Specifies the column number of the cell. |
| row | Specifiesthe row number of the cell. |
Implements ITableCellData.
| virtual |
Acquire the string data of chosen Cell.
Implements ITableCellData.
| virtual |
Get the width of each cell.
Implements ITableCellData.
| virtual |
Get the maximum number of columns.
Implements ITableCellData.
| virtual |
Get the maximum number of rows.
Implements ITableCellData.
| virtual |
Acquire column of chosen cell.
Implements ITableCellData.
| virtual |
Acquire row of chosen cell.
Implements ITableCellData.
| virtual |
Calculate the height of the table.
Implements ITableCellData.
| virtual |
Calculate the width of the table.
Implements ITableCellData.
| virtual |
Get the column to show at the left of the visible area.
Implements ITableCellData.
| virtual |
Get the row to show at the top of the visible area.
Implements ITableCellData.
| virtual |
Invalidate the table cells by calling IControlView::Invalidate() on the kTableCellWidgetID widget.
| forceInvalidate | default is false. |
Implements ITableCellData.
| virtual |
Examine whether cell is chosen.
| row | Specify row number to examine. |
| column | Specify column number to examine. |
Implements ITableCellData.
| virtual |
ReadWrite of Persistance
| virtual |
Set up the string data of specified Cell.
| string | String to set in specified cell. |
| column | Specifies the column number of the cell. |
| row | Specifies the row number of the cell. |
Implements ITableCellData.
| virtual |
Set up a string in chosen cell.
| string | String to set in selected cell. |
Implements ITableCellData.
| virtual |
| virtual |
| virtual |
Set up column to show at the left of the visible area.
| column | is 32 bit integer. |
Implements ITableCellData.
| virtual |
Set up row to show at the top of the visible area.
| Row | is 32 bit integer. |
Implements ITableCellData.