Word.Interfaces.TableStyleLoadOptions interface
Represents the TableStyle object.
Remarks
Properties
$all | Specifying |
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. |
shading | Returns a |
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
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
alignment
Specifies the table's alignment against the page margin.
alignment?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
Remarks
cellSpacing
Specifies the spacing (in points) between the cells in a table style.
cellSpacing?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
Remarks
rightCellMargin
Specifies the amount of space to add between the contents and the right borders of the cells.
rightCellMargin?: boolean;
Property Value
boolean
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?: boolean;
Property Value
boolean
Remarks
shading
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.
Returns a ShadingUniversal
object that refers to the shading formatting for the table style.
shading?: Word.Interfaces.ShadingLoadOptions;
Property Value
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?: boolean;
Property Value
boolean
Remarks
topCellMargin
Specifies the amount of space to add between the contents and the top borders of the cells.
topCellMargin?: boolean;
Property Value
boolean