Table of Contents

Method CrossReferenceHeadings

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

CrossReferenceHeadings(WordDocument)

The headings Word's Cross-reference dialog lists: body paragraphs with text whose outline level (their own, or their style's) is 1 to 9, in document order.

public static IReadOnlyList<Paragraph> CrossReferenceHeadings(this WordDocument document)

Parameters

document WordDocument

The document.

Returns

IReadOnlyList<Paragraph>

The heading paragraphs.

Exceptions

ArgumentNullException

document is null.