Class FormFieldDiscovery
Finds legacy form fields — the field chains whose begin character carries a
w:ffData.
public static class FormFieldDiscovery
- Inheritance
-
FormFieldDiscovery
- Inherited Members
Remarks
Discovery runs over FieldDiscovery rather than over a private walk, so
there is still exactly one field-region walker in the tree. A field whose instruction is
FORMTEXT but which carries no w:ffData is not a form field for these
purposes: there is nothing to fill in and nothing to preserve, and Word treats it as
literal result text.
Methods
- FindFormField(DomNode, string)
Finds a form field by its
w:name, or returns null.
- FindFormFields(DomNode)
Finds every legacy form field in a subtree, in document order.
- FindFormFields(DomNode, FormFieldKind)
Finds every legacy form field of one kind in a subtree, in document order.
- FindFormFieldsEverywhere(WordDocument)
Finds every legacy form field in the document body, its headers and footers, and its notes.