ListStyle module
- class ListStyle.ListStyle
Bases:
Style,IStyleRepresents a list style.
- static CreateEmptyListStyle(doc: IDocument, listType: ListType, isOneLevelList: bool) ListStyle
Creates an empty list style.
- GetNearLevel(levelNumber: int) ListLevel
Gets the nearest level to the specified level number.
- Parameters:
levelNumber (int) – The level number.
- Returns:
The nearest level to the specified level number.
- Return type:
- property Levels: ListLevelCollection
Gets the levels of the list.
- Returns:
The levels of the list.
- Return type:
- property ListType: ListType
Gets or sets the type of the list.
- Returns:
The type of the list.
- Return type:
- property StyleType: StyleType
Gets the type of the style.
- Returns:
The type of the style.
- Return type:
- ToString() str
- Returns:
str
