API reference / Common / Engine types / TableRowProperties
Interface: TableRowProperties
A row's properties — a:tr@h and the whole of w:trPr.
Almost entirely docx: pptx contributes only the height, and a pptx table style cannot set row properties at all.
Properties
| Property | Description |
|---|---|
height?TableRowHeight | a:tr@h (always a minimum) / w:trHeight with its @w:hRule. |
header?boolean | w:tblHeader — repeat this row atop every page the table continues on. Only consecutive ones at the table's start are repeatable. |
cantSplit?boolean | w:cantSplit — the row must not be divided across a page break. |
hidden?boolean | w:hidden. |
gridBefore?number | w:gridBefore — grid columns skipped before the row's first cell. |
gridAfter?number | w:gridAfter — grid columns left over after the row's last cell. |
widthBefore?TableWidth | w:wBefore — how wide the skipped leading columns are. |
widthAfter?TableWidth | w:wAfter. |
alignment?TableAlignment | w:jc — the row's own horizontal alignment. |
cellSpacing?number | w:tblCellSpacing. |
conditional?TableConditional | w:cnfStyle — Word's region cache. Preserved, not read; see TableCellProperties::conditional. |
exception?TableProperties | w:tblPrEx — table properties this row overrides. A sibling of w:trPr in the file, not a child, and a narrower type (CT_TblPrExBase): width, alignment, cell spacing, indent, borders, shading, layout, cell margins, look. It reuses [TableProperties] and the exporter writes only those nine, rather than adding a tenth type for a pre-2007 compatibility feature modern Word barely emits. |