Table of Contents

Class RowFormat

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Sparse table-row formatting (ECMA-376 Part 1 §17.4.81 w:trPr).

public sealed class RowFormat : UnknownXmlHost
Inheritance
RowFormat
Inherited Members

Constructors

RowFormat()

Properties

Alignment

Gets or sets the row alignment override (w:jc), or null.

CantSplit

Gets or sets whether the row may not split across pages (w:cantSplit), or null.

CellSpacing

Gets or sets the row-level cell spacing override (w:tblCellSpacing), or null.

GridAfter

Gets or sets the number of grid columns skipped after the last cell (w:gridAfter), or null.

GridBefore

Gets or sets the number of grid columns skipped before the first cell (w:gridBefore), or null.

Height

Gets or sets the row height value (w:trHeight), or null.

HeightRule

Gets or sets how Height is interpreted (w:trHeight w:hRule), or null.

Hidden

Gets or sets whether the row is hidden (w:hidden), or null.

IsHeaderRow

Gets or sets whether the row repeats as a header on every page (w:tblHeader), or null.

Revision

Gets or sets the tracked change on the row itself (w:trPr/w:ins or w:del), or null.

This is the row's counterpart to MarkRevision: it says the row was added or removed while tracking was on, not that its contents were. Resolving it adds or removes the whole row. It appears only on a row in a document body; a row format inside a style definition never carries one.

WidthAfter

Gets or sets the width of the skipped region after the last cell (w:wAfter), or null.

WidthBefore

Gets or sets the width of the skipped region before the first cell (w:wBefore), or null.

Methods

Clone()

Creates a deep copy, including preserved unknown-XML islands.

OverlayOnto(RowFormat)

Copies every specified value onto target (last-writer-wins).