ListHandler

General

ListHandler és una classe en Aspose.Words per a Python.

S’encarrega de l’anàlisi i la conversió de llistes.

Propietats

NameTypeAccessDescription
options``ReadProvides configurable settings that affect list handling behavior

Mètodes

SignatureDescription
__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)strFormat a list item with proper indentation.
break_list()Signal that the current list has been broken (e.g., by a regular paragraph).
 Català