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

Public Types | |
| enum | { kDefaultIID = IID_ITABLEATTRMODIFIER } |
| kDefaultIID | |
Public Member Functions | |
| virtual void | Scale (const PMReal &xScale, const PMReal &yScale)=0 |
Row attribute modifiers. | |
| virtual void | ApplyRowOverrides (const RowRange &rows, const AttributeBossList *these)=0 |
| virtual void | ClearRowOverrides (const RowRange &rows, const AttributeBossList *these)=0 |
| virtual void | ResizeRows (const RowRange &rows, const PMReal &newHeight)=0 |
Columns attribute modifiers. | |
| virtual void | ApplyColOverrides (const ColRange &cols, const AttributeBossList *these)=0 |
| virtual void | ClearColOverrides (const ColRange &cols, const AttributeBossList *these)=0 |
| virtual void | ResizeCols (const ColRange &cols, const PMReal &newWidth)=0 |
Cell attribute modifiers. | |
| virtual void | ApplyCellOverrides (const GridArea &cells, const AttributeBossList *these, bool16 clearRedundantOverrides=kTrue)=0 |
| virtual void | ClearCellOverrides (const GridArea &cells, const AttributeBossList *these)=0 |
| virtual void | ApplyCellStrokes (const GridArea &area, const ICellStrokeAttrData::Data &data, bool16 clearRedundantOverrides=kTrue)=0 |
| virtual void | ClearCellStrokes (const GridArea &area, const ICellStrokeAttrData::Data &data)=0 |
| virtual int32 | GetStrokesApplyTick (void) const =0 |
| virtual void | FreezeStrokesApplyTick (bool16 freeze)=0 |
| virtual void | ApplyCellStyle (const UID &cellStyle, const GridArea &areaToSet, int32 priority=-1)=0 |
Table attribute modifiers. | |
| virtual void | ApplyTableOverrides (const AttributeBossList *these)=0 |
| virtual void | ClearTableOverrides (const AttributeBossList *these)=0 |
| virtual void | ClearAllTableOverrides ()=0 |
| virtual void | SetTableStyle (UID tableStyle)=0 |
| virtual UID | GetTableStyle (void) 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 |
Abstract interface to manipulate table attributes directly. In practice client code would use ITableCommands to provide for undo-able change to the table model. There should be counterparts on ITableCommands of the significant methods on this interface.
| pure virtual |
Applies overrides to cells in given area.
| cells | an area that delimits the target cells: method operates upon the cells contained wholly within this grid area |
| these | list of boss objects, specifying (by their ClassID) attributes to be applied to target cells |
| clearRedundantOverrides | whether to clear overrides in the attribute boss list that are redundant with the applied cell style. |
| pure virtual |
Applies strokes to cells.
| area | an area that delimits the target cells: cells contained wholly within this grid area are target for operation |
| data | used to specify sides and other properties of the stroke that are to be applied. For more detail consult the documentation on ITableCommands. |
| clearRedundantOverrides | whether to clear overrides in the attribute boss list that are redundant with the applied cell style. |
| pure virtual |
Applies the cell style to the given GridArea. If the style priority is -1, then a new priority value will be calculated that is greater than any priority of all cells that are adjacent to areaToSet.
| cellStyle | [IN] the UID of the cell style to apply, this style should live on the same database as the table |
| areaToSet | [IN] the GridArea to apply the cell style to |
| priority | [IN] optional, the style priority |
| pure virtual |
Applies overrides to columns from cols.start to cols.start + cols.count
| cols | identifies range of columns to apply column-attribute overrides to |
| these | collection of boss objects specifying (by their ClassID) attribute-overrides to be applied |
| pure virtual |
Applies overrides to rows from rows.start to rows.start + rows.count
| rows | identifies range of rows to apply row-attribute overrides to |
| these | collection of boss objects specifying (by their ClassID) row attribute-overrides to be applied |
| pure virtual |
Applies table attributes
| these | list of boss objects, specifying (by their ClassID) attributes to apply |
| pure virtual |
Method to remove (releasing) all the attributes in the underlying boss list holding table-level attributes.
| pure virtual |
Clears overrides applied to cells .
| cells | an area that delimits the target cells: method operates upon the cells contained wholly within this grid area |
| these | list of boss objects, specifying (by their ClassID) attributes to remove |
| pure virtual |
Clears cell strokes.
| area | an area that delimits the target cells: cells contained wholly within this grid area are target for operation |
| data | used to specify sides and other properties of the stroke that are to be cleared. |
| pure virtual |
Clears overrides in columns from cols.start to cols.start + cols.count
| cols | specifies range of columns on which to remove column-attribute overrides |
| these | collection of boss objects specifying (by their ClassID) attributes for which the override is to be cleared |
| pure virtual |
Clears overrides in to rows from rows.start to rows.start + rows.count
| rows | identifies range of rows for which row-overrides should be removed |
| these | collection of boss objects specifying (by their ClassID) row attribute-overrides to remove |
| pure virtual |
Clears specified attribute-overrides
| these | list of boss objects, specifying (by their ClassID) attributes to remove overrides from |
| pure virtual |
For internal use only. Used by cell strokes UI apply code to ensure that multiple applies have the same draw priority. If freeze is kTrue then the stroke apply tick is incremented and frozen until it is unfrozen with a freeze value of kFalse. The frozen state is not persistent. So it is essential to hold a reference to this interface for the scope of the freeze.
| pure virtual |
Used by cell strokes apply code for draw priority of stroke overrides.
| pure virtual |
Returns the table style of this table
| pure virtual |
Sets the column widths of columns from cols.start to cols.start + cols.count to newWidth
| cols | specifies range of columns for change in size |
| newWidth | specifies the new width setting for this column range |
| pure virtual |
Sets the rows heights of rows from rows.start to rows.start + rows.count to newHeight
| rows | identifies range of rows for size change |
| newHeight | specifies the new height and minimum height for the given rows |
Scales attributes.
| pure virtual |
Sets this tables style.