ListHandler
General
ListHandler és una classe en Aspose.Words per a Python.
S’encarrega de l’anàlisi i la conversió de llistes.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
options | `` | Read | Provides configurable settings that affect list handling behavior |
Mètodes
| 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). |