Table of Contents

Class ContentControlDiscovery

Namespace
DocWright.Dom.ContentControls
Assembly
DocWright.Dom.dll

Finds content controls and gives typed access to the ones already in the model.

public static class ContentControlDiscovery
Inheritance
ContentControlDiscovery
Inherited Members

Methods

AsContentControl(SdtBlock)

Returns a typed view over a block-level structured document tag.

AsContentControl(SdtInline)

Returns a typed view over an inline-level structured document tag.

FindContentControls(DomNode)

Finds every content control in a subtree, in document order, including controls nested inside other controls.

FindContentControls(DomNode, ContentControlKind)

Finds every content control of one kind in a subtree, in document order.

FindContentControlsByTag(DomNode, string)

Finds every content control by tag, in document order. Tags are not required to be unique, so this returns a list rather than a single control.

FindContentControlsEverywhere(WordDocument)

Finds every content control in the document body, its headers and footers, and its notes.