Table of Contents

Class CharacterFormatChange

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A formatting-change annotation on a run (ECMA-376 Part 1 §17.13.5.32 w:rPrChange): the author and date of the change, plus the formatting the run carried before it.

The bag this annotation hangs on holds the current formatting, exactly as RevisionMark hangs on content that is current. Accepting the change drops the annotation and keeps the current formatting; rejecting it restores Previous.

public sealed class CharacterFormatChange
Inheritance
CharacterFormatChange
Inherited Members

Constructors

CharacterFormatChange(string?, string?, int?, CharacterFormat?)

Initializes a run formatting-change annotation.

Properties

Author

Gets the author recorded on the change, or null.

Date

Gets the raw w:date value (kept verbatim for lossless round-trip), or null.

Id

Gets the revision id, or null.

Previous

Gets the formatting the run carried before the change (w:rPrChange/w:rPr). Never null; an empty bag means the run previously specified no direct formatting.

Methods

Clone()

Creates a deep copy.