Table of Contents

Class DocxRevision

Namespace
PDiffy
Assembly
PDiffy.dll

A tracked change and who made it. An insertion, deletion, move or run format change covers text; the paragraph kinds are about the paragraph itself, with no text; table, row and cell kinds are on Revisions, Revisions and Revisions, and SectionFormat on Revision. Tables, rows, cells and sections have no text and no position.

public sealed record DocxRevision : DocxInline, IEquatable<DocxInline>, IEquatable<DocxRevision>
Inheritance
DocxRevision
Implements
Inherited Members

Properties

Author

Who made the change, as Word recorded it, or null when it didn't record anyone.

public required string? Author { get; init; }

Property Value

string

Kind

What changed, such as an insertion or a deleted row.

public required DocxRevisionKind Kind { get; init; }

Property Value

DocxRevisionKind

Text

The text inserted, deleted, moved or reformatted, empty for the other kinds. Deleted and moved-away text isn't part of the paragraph's text.

public required string Text { get; init; }

Property Value

string