InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XDocBkTableHelper Class Reference

#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)
 

Detailed Description

Helper class that knows how to manipulate some properties of tables.

Constructor & Destructor Documentation

XDocBkTableHelper::XDocBkTableHelper (const UIDReftableModelUIDRef)

Default constructor

Parameters
UIDRefof table, instance of kTableModelboss
XDocBkTableHelper::~XDocBkTableHelper ()
virtual

Destructor

Member Function Documentation

void XDocBkTableHelper::ApplyCellStyle (const GridAddressgridAddress,
const UIDRefworkspaceUIDRef 
)
protected

Applies styles to cells in a table. (Helper method for SetLowerLevelStylesWithinTable)

Parameters
gridAddressIN
workspaceUIDRefIN
void XDocBkTableHelper::ApplyDefaultStyle ()

Apply default table style

void XDocBkTableHelper::ApplyTableAttributes (AttributeBossListoutAttributes)
protected

Set up a list of table level attributes to apply.

Parameters
outAttributesOUT
void XDocBkTableHelper::SetLowerLevelStylesWithinTable ()
protected

Apply styles to the text inside table cells.

void XDocBkTableHelper::SetTableLevelStyles ()
protected

Sets table level styles in the document.

void XDocBkTableHelper::SetTextContent (int32 row,
int32 col,
const WideStringtext 
)

Set text in given cell within rectangular table

Parameters
rowIN
colIN
textIN specifies text to set