Table of Contents

Method ContinueNumbering

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

ContinueNumbering(WordDocument, Paragraph)

Continues the previous list's numbering at a paragraph (Word's Continue Numbering): the paragraph and the rest of its list from there join the nearest list before it with the same definition. Nothing changes when there is none.

public static DocumentEdit ContinueNumbering(this WordDocument document, Paragraph paragraph)

Parameters

document WordDocument

The document that holds the paragraph.

paragraph Paragraph

A paragraph in a list.

Returns

DocumentEdit

The edit (empty when there is no list before to continue).

Exceptions

ArgumentNullException

An argument is null.

ArgumentException

The paragraph is not in document or in no list.