WordFieldInfo
OfficeIMO.Word
Describes a field discovered in a Word document without mutating the document.
Inheritance
- object
- WordFieldInfo
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method WordDocument.InspectFields
Inherited Methods
Properties
public int Index { get; internal set; } #Gets the deterministic index of the field in document scan order.
public WordFieldRepresentation Representation { get; } #Gets how the field is represented in the Open XML document.
public WordFieldLocationKind LocationKind { get; } #Gets the owning document part category.
public string PartUri { get; } #Gets the package part URI that contains the field.
public string InstructionText { get; } #Gets the original field instruction text.
public string ResultText { get; } #Gets the current result text stored with the field.
public WordFieldType? FieldType { get; } #Gets the parsed field type when the instruction is recognized.
public IReadOnlyList<string> Instructions { get; } #Gets positional instruction tokens parsed from the field instruction text.
public IReadOnlyList<string> Switches { get; } #Gets field switches parsed from the field instruction text.
public IReadOnlyList<WordFieldFormat> FormatSwitches { get; } #Gets format switches parsed from the field instruction text.
public int NestingLevel { get; } #Gets the complex/simple field nesting level at the field start.
public bool IsInContentControl { get; } #Gets whether the field is inside a content control.
public IReadOnlyList<string> UnsupportedParseDetails { get; } #Gets parse diagnostics for unsupported or malformed field instructions.
public bool IsParsed { get; } #Gets whether the field instruction was parsed without diagnostics.