Method ContinueNumbering
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
documentWordDocumentThe document that holds the paragraph.
paragraphParagraphA 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
documentor in no list.