ListFormat
Overview
ListFormat is a class in Aspose.Words for Python.
Inherits from: BaseModel.
ListFormat exposes the properties is_list_item, list_level_number, list_id, and list_label so developers can query a paragraph’s list status and details.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
is_list_item | bool | Read | Indicates whether the associated paragraph is a list item |
list_level_number | int | Read | Returns the nesting level of the list item (0 for top level) |
list_id | int | Read | Provides the identifier of the list definition the paragraph belongs to |
list_label | str | Read | Contains the textual label (bullet or number) displayed for the list item |