NumberList

Overview

NumberList is a class in Aspose.Note for Python.

NumberList.GetNumberedListHeader returns the header text for the specified list number.

NumberList defines the numbering or bullet style for a list of OutlineElement nodes. It stores the list format (ordered or unordered), the bullet or number symbol, and the indentation level. Retrieve via OutlineElement.NumberList to determine whether an element is part of a numbered or bulleted list and to inspect the list format details.

Properties

NameTypeAccessDescription
Formatstr | NoneReadStores the list format pattern or None
NumberFormatstr | NoneReadStores the numeric format string for list items or None
Fontstr | NoneReadSpecifies the font name used for list text or None
FontSizefloat | NoneReadSpecifies the font size for list text or None
FontColorint | NoneReadStores the text color as an integer ARGB value or None
IsBoldboolReadIndicates whether the list text is bold
IsItalicboolReadIndicates whether the list text is italic
LastModifiedTimedatetime | NoneReadRecords the last modification timestamp or None
Restartint | NoneReadDefines the restart index for numbering or None

Methods

SignatureDescription
GetNumberedListHeader(number: int)str` returns the formatted header string for a numbered list entry