TableProperties
Defined in: src/core/document-model/types.ts:998
§17.4.60 w:tblPr — a table’s properties: style ref, width/layout, chrome.
Properties
Section titled “Properties”alignment?
Section titled “alignment?”
readonlyoptionalalignment?:"right"|"left"|"center"
Defined in: src/core/document-model/types.ts:1015
ECMA-376 §17.4.27 (w:jc) / xlsx <printOptions horizontalCentered>.
Centers or right-aligns a table narrower than the content width; absent ⇒ left.
borders?
Section titled “borders?”
readonlyoptionalborders?:CellBorders
Defined in: src/core/document-model/types.ts:1010
defaultCellMargins?
Section titled “defaultCellMargins?”
readonlyoptionaldefaultCellMargins?:CellMargins
Defined in: src/core/document-model/types.ts:1009
float?
Section titled “float?”
readonlyoptionalfloat?:FloatAnchor
Defined in: src/core/document-model/types.ts:1027
§17.4.58 w:tblpPr — the table FLOATS: it is placed at an anchor of its
own and the text runs past it, exactly as an anchored drawing does. Read
into the same FloatAnchor the drawings use.
frozen?
Section titled “frozen?”
readonlyoptionalfrozen?:object
Defined in: src/core/document-model/types.ts:1033
A sticky-pane hint from a frozen worksheet view (E-SHEET SE3): the first
rows rows / cols columns stay pinned while the rest scrolls. Consumed
only by the HTML writer (an interactive target); PDF/SVG ignore it.
readonlycols:number
readonlyrows:number
indentPt?
Section titled “indentPt?”
readonlyoptionalindentPt?:Pt
Defined in: src/core/document-model/types.ts:1021
§17.4.65 w:tblInd — how far the table’s leading edge stands in from the
text margin. Distinct from alignment, which shares out the slack a
narrow table leaves.
layout?
Section titled “layout?”
readonlyoptionallayout?:"auto"|"fixed"
Defined in: src/core/document-model/types.ts:1008
readonlyoptionallook?:TableLook
Defined in: src/core/document-model/types.ts:1004
styleId?
Section titled “styleId?”
readonlyoptionalstyleId?:string
Defined in: src/core/document-model/types.ts:1003
§17.7.6 — raw reference to a table style (resolved by the reader’s
resolveTableStyles transform; round-trip material afterwards).
widthFraction?
Section titled “widthFraction?”
readonlyoptionalwidthFraction?:number
Defined in: src/core/document-model/types.ts:1006
widthPt?
Section titled “widthPt?”
readonlyoptionalwidthPt?:Pt
Defined in: src/core/document-model/types.ts:1005
widthType?
Section titled “widthType?”
readonlyoptionalwidthType?:"auto"|"dxa"|"pct"|"nil"
Defined in: src/core/document-model/types.ts:1007