Skip to content

TableProperties

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

§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:1015

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:1010


readonly optional defaultCellMargins?: CellMargins

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


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


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

readonly cols: number

readonly rows: number


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


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

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


readonly optional look?: TableLook

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


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


readonly optional widthFraction?: number

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


readonly optional widthPt?: Pt

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


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

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