Skip to content

RowProperties

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

§17.4.81 w:trPr — a table row’s properties: height, split/header flags.

readonly optional cantSplit?: boolean

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


readonly optional conditional?: RowConditionalFormat

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

§17.4.7 w:cnfStyle — the conditional formats of the table style this row takes, whatever its position says. Word’s calendar templates give a SECOND header row w:firstRow="1" so it is painted like the first.


readonly optional gridBefore?: number

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

§17.4.14 w:gridBefore — how many grid columns the row leaves empty before its first cell, which is how a row starts part-way across a table.


readonly optional height?: Pt

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


readonly optional heightRule?: "auto" | "exact" | "atLeast"

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


readonly optional isHeader?: boolean

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


readonly optional pageBreakBefore?: boolean

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

Force this row to begin a new page (xlsx manual <rowBreaks>). The renderer flushes the page before the row, then repeats any leading header rows.


readonly optional sheetTopPt?: Pt

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

Where a spreadsheet row’s top stands on its sheet, measured down from the sheet’s first row in the frame its table’s drawings are placed in (see TableOverlay). A row the sheet does not have — the printed column letters — carries none.