Word.Interfaces.TableStyleUpdateData interface
An interface for updating data on the TableStyle
object, for use in tableStyle.set({ ... })
.
Properties
alignment | Specifies the table's alignment against the page margin. |
allow |
Specifies whether lines in tables formatted with a specified style break across pages. |
bottom |
Specifies the amount of space to add between the contents and the bottom borders of the cells. |
cell |
Specifies the spacing (in points) between the cells in a table style. |
column |
Specifies the number of columns in the banding when a style specifies odd- or even-column banding. |
is |
Specifies whether Microsoft Word allows to break the specified table across pages. |
left |
Specifies the amount of space to add between the contents and the left borders of the cells. |
left |
Specifies the left indent value (in points) for the rows in the table style. |
right |
Specifies the amount of space to add between the contents and the right borders of the cells. |
row |
Specifies the number of rows to include in the banding when the style specifies odd- or even-row banding. |
table |
Specifies the direction in which Microsoft Word orders cells in the table style. |
top |
Specifies the amount of space to add between the contents and the top borders of the cells. |
Property Details
alignment
Specifies the table's alignment against the page margin.
alignment?: Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified";
Property Value
Word.Alignment | "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"
Remarks
allowBreakAcrossPage
Specifies whether lines in tables formatted with a specified style break across pages.
allowBreakAcrossPage?: boolean;
Property Value
boolean
Remarks
bottomCellMargin
Specifies the amount of space to add between the contents and the bottom borders of the cells.
bottomCellMargin?: number;
Property Value
number
Remarks
cellSpacing
Specifies the spacing (in points) between the cells in a table style.
cellSpacing?: number;
Property Value
number
Remarks
columnStripe
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the number of columns in the banding when a style specifies odd- or even-column banding.
columnStripe?: number;
Property Value
number
Remarks
isBreakAcrossPagesAllowed
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies whether Microsoft Word allows to break the specified table across pages.
isBreakAcrossPagesAllowed?: boolean;
Property Value
boolean
Remarks
leftCellMargin
Specifies the amount of space to add between the contents and the left borders of the cells.
leftCellMargin?: number;
Property Value
number
Remarks
leftIndent
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the left indent value (in points) for the rows in the table style.
leftIndent?: number;
Property Value
number
Remarks
rightCellMargin
Specifies the amount of space to add between the contents and the right borders of the cells.
rightCellMargin?: number;
Property Value
number
Remarks
rowStripe
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the number of rows to include in the banding when the style specifies odd- or even-row banding.
rowStripe?: number;
Property Value
number
Remarks
tableDirection
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the direction in which Microsoft Word orders cells in the table style.
tableDirection?: Word.TableDirection | "RightToLeft" | "LeftToRight";
Property Value
Word.TableDirection | "RightToLeft" | "LeftToRight"
Remarks
topCellMargin
Specifies the amount of space to add between the contents and the top borders of the cells.
topCellMargin?: number;
Property Value
number