Word.Interfaces.TableStyleData interface
An interface describing the data returned by calling tableStyle.toJSON()
.
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. |
left |
Specifies the amount of space to add between the contents and the left borders of the cells. |
right |
Specifies the amount of space to add between the contents and the right borders of the cells. |
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
leftCellMargin
Specifies the amount of space to add between the contents and the left borders of the cells.
leftCellMargin?: 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
topCellMargin
Specifies the amount of space to add between the contents and the top borders of the cells.
topCellMargin?: number;
Property Value
number
Remarks
Office Add-ins