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
| Name | Type | Access | Description |
|---|---|---|---|
Format | str | None | Read | Stores the list format pattern or None |
NumberFormat | str | None | Read | Stores the numeric format string for list items or None |
Font | str | None | Read | Specifies the font name used for list text or None |
FontSize | float | None | Read | Specifies the font size for list text or None |
FontColor | int | None | Read | Stores the text color as an integer ARGB value or None |
IsBold | bool | Read | Indicates whether the list text is bold |
IsItalic | bool | Read | Indicates whether the list text is italic |
LastModifiedTime | datetime | None | Read | Records the last modification timestamp or None |
Restart | int | None | Read | Defines the restart index for numbering or None |
Methods
| Signature | Description |
|---|---|
GetNumberedListHeader(number: int) → str | ` returns the formatted header string for a numbered list entry |