![]() | InDesign SDK 20.5 |
Public Member Functions | |
| SnpSetTableFill () | |
| virtual | ~SnpSetTableFill () |
| ErrorCode | SetFillColour (InterfacePtr< ITableModel > &tableModel, const GridArea &gridAreaTarget, const UID &colorUID) |
| GridArea | getGridAreaTarget (const InterfacePtr< ITableModel > &tableModel) |
| inline |
Constructor.
| inlinevirtual |
Destructor.
| GridArea SnpSetTableFill::getGridAreaTarget | ( | const InterfacePtr< ITableModel > & | tableModel | ) |
Gets a grid area to work on. This particular method just returns the entire table area, but does it iteratively.
| tableModel | The table model of interest. |
| ErrorCode SnpSetTableFill::SetFillColour | ( | InterfacePtr< ITableModel > & | tableModel, |
| const GridArea & | gridAreaTarget, | ||
| const UID & | colorUID | ||
| ) |
Shows how to apply the table-wide attribute for color.
| tableModel | The table model of interest. |
| gridAreaTarget | The target grid area. |
| colorUID | The UID of the color to fill. |