ListHandler
Overview
ListHandler is a class in Aspose.Words for Python.
Handles parsing and conversion of lists.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
options | `` | Read | Provides configurable settings that affect list handling behavior |
Methods
| Signature | Description |
|---|---|
__init__(options: ConversionOptions, reader: Optional[DocumentReader]) | |
set_reader(reader: DocumentReader) | Set the document reader for numbering lookups. |
reset() | Reset list state for new document. |
get_list_info(para: ParagraphData) → tuple[bool, int, str, str] | Get list information for a paragraph. |
format_list_item(text: str, level: int, marker: str) → str | Format a list item with proper indentation. |
break_list() | Signal that the current list has been broken (e.g., by a regular paragraph). |