Skip to content

RowProperties

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

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


readonly optional conditional?: RowConditionalFormat

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

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

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


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

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


readonly optional isHeader?: boolean

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


readonly optional pageBreakBefore?: boolean

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

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.