TableProperties
Defined in: src/core/document-model/types.ts:1087
§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:1112
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:1099
defaultCellMargins?
Section titled “defaultCellMargins?”
readonlyoptionaldefaultCellMargins?:CellMargins
Defined in: src/core/document-model/types.ts:1098
float?
Section titled “float?”
readonlyoptionalfloat?:FloatAnchor
Defined in: src/core/document-model/types.ts:1124
§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:1130
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
gridlines?
Section titled “gridlines?”
readonlyoptionalgridlines?:Border
Defined in: src/core/document-model/types.ts:1107
A worksheet’s gridlines as its WINDOW draws them (§18.3.1.87), where the
sheet was projected for a screen: the line a cell’s edge takes when no
border claims it — but not around a filled cell, whose fill covers them.
A screen-only hint: the paginated layout draws a grid only where the
sheet PRINTS one, and that comes as borders.
indentPt?
Section titled “indentPt?”
readonlyoptionalindentPt?:Pt
Defined in: src/core/document-model/types.ts:1118
§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:1097
readonlyoptionallook?:TableLook
Defined in: src/core/document-model/types.ts:1093
styleId?
Section titled “styleId?”
readonlyoptionalstyleId?:string
Defined in: src/core/document-model/types.ts:1092
§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:1095
widthPt?
Section titled “widthPt?”
readonlyoptionalwidthPt?:Pt
Defined in: src/core/document-model/types.ts:1094
widthType?
Section titled “widthType?”
readonlyoptionalwidthType?:"auto"|"dxa"|"pct"|"nil"
Defined in: src/core/document-model/types.ts:1096