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

Public Types | |
| enum | { kDefaultIID = IID_ITABLECELLDATA } |
| enum | { kNoSelected = -1 } |
Public Member Functions | |
| virtual int32 | GetMaxColumn (void) const =0 |
| virtual int32 | GetMaxRow (void) const =0 |
| virtual int32 | GetCellNumberOfColumns (void) const =0 |
| virtual int32 | GetCellNumberOfRows (void) const =0 |
| virtual int32 | GetTableWidth (void) const =0 |
| virtual int32 | GetTableHeight (void) const =0 |
| virtual int32 | GetCellWidth (void) const =0 |
| virtual int32 | GetCellHeight (void) const =0 |
| virtual int32 | GetViewTopRow (void) const =0 |
| virtual void | SetViewTopRow (const int32 row)=0 |
| virtual int32 | GetViewLeftColumn (void) const =0 |
| virtual void | SetViewLeftColumn (const int32 column)=0 |
| virtual int32 | GetSelectRow (void) const =0 |
| virtual void | SetSelectRow (const int32 row)=0 |
| virtual int32 | GetSelectColumn (void) const =0 |
| virtual void | SetSelectColumn (const int32 column)=0 |
| virtual bool | isSelection (const int32 column, const int32 row) const =0 |
| virtual const WideString & | GetCellString (int32 column, int32 row) const =0 |
| virtual const WideString & | GetCellString (void) const =0 |
| virtual bool16 | SetCellString (const WideString &string, int32 column, int32 row)=0 |
| virtual bool | SetCellString (const WideString &string)=0 |
| virtual void | Invalidate (bool16 forceInvalidate=false)=0 |
| virtual PMPoint | ConstrainDimensions (const PMPoint &desiredDimen) 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 |
From SDK sample; an interface for an implementation that manages the data in TableCell.
| pure virtual |
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 |
Implemented in TableCellData.
| pure virtual |
Get the height of each cell.
Implemented in TableCellData.
| pure virtual |
Calculate of how many cells go into each column of the table.
Implemented in TableCellData.
| pure virtual |
Calculate of how many cells go into each row of the table.
Implemented in TableCellData.
| pure virtual |
Acquire the string data of specified cell.
| column | Specifies the column number of the cell. |
| row | Specifiesthe row number of the cell. |
Implemented in TableCellData.
| pure virtual |
Acquire the string data of chosen Cell.
Implemented in TableCellData.
| pure virtual |
Get the width of each cell.
Implemented in TableCellData.
| pure virtual |
Get the maximum number of columns.
Implemented in TableCellData.
| pure virtual |
Get the maximum number of rows.
Implemented in TableCellData.
| pure virtual |
Acquire column of chosen cell.
Implemented in TableCellData.
| pure virtual |
Acquire row of chosen cell.
Implemented in TableCellData.
| pure virtual |
Calculate the height of the table.
Implemented in TableCellData.
| pure virtual |
Calculate the width of the table.
Implemented in TableCellData.
| pure virtual |
Get the column to show at the left of the visible area.
Implemented in TableCellData.
| pure virtual |
Get the row to show at the top of the visible area.
Implemented in TableCellData.
| pure virtual |
Invalidate the table cells by calling IControlView::Invalidate() on the kTableCellWidgetID widget.
| forceInvalidate | default is false. |
Implemented in TableCellData.
| pure virtual |
Examine whether cell is chosen.
| row | Specify row number to examine. |
| column | Specify column number to examine. |
Implemented in TableCellData.
| pure 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. |
Implemented in TableCellData.
| pure virtual |
Set up a string in chosen cell.
| string | String to set in selected cell. |
Implemented in TableCellData.
| pure virtual |
| pure virtual |
| pure virtual |
Set up column to show at the left of the visible area.
| column | is 32 bit integer. |
Implemented in TableCellData.
| pure virtual |
Set up row to show at the top of the visible area.
| Row | is 32 bit integer. |
Implemented in TableCellData.