![]() | InDesign SDK 20.5 |
#include <XDocBkTableHelper.h>
Public Member Functions | |
| XDocBkTableHelper (const UIDRef &tableModelUIDRef) | |
| virtual | ~XDocBkTableHelper () |
| void | ApplyDefaultStyle () |
| void | SetTextContent (int32 row, int32 col, const WideString &text) |
Protected Member Functions | |
| void | SetTableLevelStyles () |
| void | ApplyTableAttributes (AttributeBossList &outAttributes) |
| void | SetLowerLevelStylesWithinTable () |
| void | ApplyCellStyle (const GridAddress &gridAddress, const UIDRef &workspaceUIDRef) |
Helper class that knows how to manipulate some properties of tables.
| XDocBkTableHelper::XDocBkTableHelper | ( | const UIDRef & | tableModelUIDRef | ) |
Default constructor
| UIDRef | of table, instance of kTableModelboss |
| virtual |
Destructor
| protected |
Applies styles to cells in a table. (Helper method for SetLowerLevelStylesWithinTable)
| gridAddress | IN |
| workspaceUIDRef | IN |
| void XDocBkTableHelper::ApplyDefaultStyle | ( | ) |
Apply default table style
| protected |
Set up a list of table level attributes to apply.
| outAttributes | OUT |
| protected |
Apply styles to the text inside table cells.
| protected |
Sets table level styles in the document.
| void XDocBkTableHelper::SetTextContent | ( | int32 | row, |
| int32 | col, | ||
| const WideString & | text | ||
| ) |
Set text in given cell within rectangular table
| row | IN |
| col | IN |
| text | IN specifies text to set |