Skip to content

TableProperties

Defined in: src/core/document-model/types.ts:1087

§17.4.60 w:tblPr — a table’s properties: style ref, width/layout, chrome.

readonly optional alignment?: "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.


readonly optional borders?: CellBorders

Defined in: src/core/document-model/types.ts:1099


readonly optional defaultCellMargins?: CellMargins

Defined in: src/core/document-model/types.ts:1098


readonly optional float?: 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.


readonly optional frozen?: 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.

readonly cols: number

readonly rows: number


readonly optional gridlines?: 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.


readonly optional indentPt?: 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.


readonly optional layout?: "auto" | "fixed"

Defined in: src/core/document-model/types.ts:1097


readonly optional look?: TableLook

Defined in: src/core/document-model/types.ts:1093


readonly optional styleId?: 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).


readonly optional widthFraction?: number

Defined in: src/core/document-model/types.ts:1095


readonly optional widthPt?: Pt

Defined in: src/core/document-model/types.ts:1094


readonly optional widthType?: "auto" | "dxa" | "pct" | "nil"

Defined in: src/core/document-model/types.ts:1096