Table of Contents

Class FieldChar

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A field state character. Fields are preserved as begin/code/separator/result/end chains with their cached result text in the DOM; evaluation is a later phase. Simple fields (w:fldSimple) are normalized to an equivalent chain with FromSimpleField set on the begin character.

public sealed class FieldChar : RunContentInline
Inheritance
FieldChar
Inherited Members
Extension Methods

Constructors

FieldChar(FieldCharKind)

Initializes a field character.

Properties

FromSimpleField

Gets or sets whether this chain was normalized from a w:fldSimple element (round-trip hint).

IsDirty

Gets or sets whether the cached result is stale (w:dirty), or null.

IsLocked

Gets or sets whether the field result is locked against updates (w:fldLock), or null.

Kind

Gets the field state this character marks.

Methods

Accept(DomVisitor)

Dispatches to the visitor method for this node's concrete type.

CloneCore()

Creates the deep copy for Clone(). Implementations copy all owned state, deep-clone children and copy unknown-XML islands.