Class
WordListNumbering
OfficeIMO.Word
Provides helper methods to manage numbering definitions for lists within a document. Levels can be added or removed and the numbering updated to match the Open XML specification.
Inheritance
- object
- WordListNumbering
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
Methods
public WordListLevel AddLevel(WordListLevel wordListLevel) #Adds the level using custom simplified list number.
Parameters
- wordListLevel OfficeIMO.Word.WordListLevel
- The word list level.
Returns
WordListLevelpublic static WordListNumbering CreateNumberingDefinition(WordDocument document) #Creates a new numbering definition within the specified document.
Parameters
- document OfficeIMO.Word.WordDocument
- The parent document.
public static WordListNumbering? GetNumberingDefinition(WordDocument document, int abstractNumberId) #Retrieves a numbering definition from the document by its identifier.
Parameters
- document OfficeIMO.Word.WordDocument
- The parent document.
- abstractNumberId int
- The abstract numbering identifier.
public void RemoveAllLevels() #Removes all levels to reset the numbering and start from scratch.