Einhugur Word Plugin for Xojo |

# EinhugurWord.Table Class

Class that represents Table in Word document.

EinhugurWord.DocumentItem
Table

class EinhugurWord.Table

#### Constructors

Table (private) | Private constructor.

#### Properties

AltTextDescription | Sets or gets description for Alt Text.
AltTextTitle | Sets or gets title for Alt Text.
BackgroundColor | Sets or gets background color for the table.
ColumnCount | Returns the number of Columns in the table.
ConditionalFormattingFlags | Controls which bits of conditional formatting styles on TableStyle are active on the table.
HasBackgroundColor | Returns true if Table has background color, else false.
RowCount | Returns the number of Rows in the table.
Style | Sets or gets predefined TableStyle for the Table. When reading then nil will be returned no table style has been set.
WidthMode | Returns the width mode for the table.

#### Methods

AppendRow | Appends row to the table.
ApplyFieldData | Applies field data to the given Table and its nested child Paragraphs and child tables only.
Border | Returns border info object of given type for the table.
Cell | Returns TableCell from the table at given column and row index.
ClearBackgroundColor | Clears background color from the table.
ColumnWidth | Getter method for getting column width.
ColumnWidth | Setter method for setting column width.
InserPageBreakAfter (Inherited) | Inserts page break after this document item.
InserPageBreakBefore (Inherited) | Inserts page break before this document item.
InsertParagraphAfter (Inherited) | Inserts paragraph after this document item.
InsertParagraphBefore (Inherited) | Inserts paragraph before this document item.
InsertSectionBreakAfter (Inherited) | Inserts section break after this document item.
InsertSectionBreakBefore (Inherited) | Inserts section break before this document item.
RemoveRow | Removes row from the table.
Row | Returns TableRow at given index.
SetTableWidth | Sets width of the table.
TableWidth | Gets the width of the table.

#### Constants

ConditionalFormatApplyFirstRow = 32 | Lets conditional formatting apply to first row if the table style has conditional style for that. Used with the ConditionalFormattingFlags property.
ConditionalFormatApplyLastRow = 64 | Lets conditional formatting apply to last row if the table style has conditional style for that. Used with the ConditionalFormattingFlags property.
ConditionalFormatApplyFirstColumn = 128 | Lets conditional formatting apply to first column if the table style has conditional style for that. Used with the ConditionalFormattingFlags property.
ConditionalFormatApplyLastColumn = 256 | Lets conditional formatting apply to last column if the table style has conditional style for that. Used with the ConditionalFormattingFlags property.
ConditionalFormatDontApplyRowBanding = 512 | Lets conditional formatting not apply to row banding. (Note the reversed meaning in this flag, its because row banding conditional styling is by default turned) Used with the ConditionalFormattingFlags property.
ConditionalFormatDontApplyColumnBanding = 1024 | Lets conditional formatting not apply to row column banding. (Note the reversed meaning in this flag, its because column banding conditional styling is by default turned) Used with the ConditionalFormattingFlags property.

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit
- iOS