Table of Contents

Class DocxRow

Namespace
PDiffy
Assembly
PDiffy.dll

A table row. A header row repeats at the top of each page the table runs onto.

public sealed record DocxRow : IEquatable<DocxRow>
Inheritance
DocxRow
Implements
Inherited Members

Properties

Between

Bookmarks and content PDiffy can't read between the cells.

public IReadOnlyList<DocxBetween> Between { get; init; }

Property Value

IReadOnlyList<DocxBetween>

CantSplit

Whether the row is kept on one page rather than split across two.

public bool CantSplit { get; init; }

Property Value

bool

Cells

The cells in order, including those inside content controls around cells.

public required IReadOnlyList<DocxCell> Cells { get; init; }

Property Value

IReadOnlyList<DocxCell>

Controls

The content controls around the row, outermost first, such as a repeating section and its item.

public IReadOnlyList<DocxControl> Controls { get; init; }

Property Value

IReadOnlyList<DocxControl>

Height

The row's height, or null when the row doesn't set one.

public DocxRowHeight? Height { get; init; }

Property Value

DocxRowHeight

IsHeader

Whether the row is a header row (w:tblHeader).

public bool IsHeader { get; init; }

Property Value

bool

Other

A hash of the row's own formatting PDiffy doesn't read, such as w:jc, so changing it changes the snapshot; null when it has none. Only its own formatting counts, not what it inherits, and noise Word writes everywhere is left out.

public string? Other { get; init; }

Property Value

string

Revisions

Tracked changes to the row: RowInsert, RowDelete, RowFormat, or RowTableFormat for the table properties the row sets for itself.

public IReadOnlyList<DocxRevision> Revisions { get; init; }

Property Value

IReadOnlyList<DocxRevision>