Table of Contents

Enum DocxRevisionKind

Namespace
DocToolkit
Assembly
DocToolkit.Docx.dll

What kind of change a revision records.

public enum DocxRevisionKind

Fields

Deletion = 2

Text somebody removed.

Insertion = 1

Text somebody added.

Other = 0

Anything that is neither an insertion nor a deletion — see the remarks.

Remarks

Other is the ordinary case, not an exotic one. Word records eleven kinds of revision and this models the two that describe content changing; the remaining nine — the two halves of a move, and formatting changes to runs, paragraphs, sections, tables, rows and cells — all arrive as Other. A document edited with track-changes on while somebody restyled it can therefore be entirely Other.

Reporting them coarsely beats refusing to read the document, and beats throwing on a kind added by a later Word. Naming more of them later is additive.