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

NameTypeAccessDescription
is_list_itemboolReadIndicates whether the associated paragraph is a list item
list_level_numberintReadReturns the nesting level of the list item (0 for top level)
list_idintReadProvides the identifier of the list definition the paragraph belongs to
list_labelstrReadContains the textual label (bullet or number) displayed for the list item