OutlineElement

Overview

OutlineElement is a class in Aspose.Note FOSS for Python. Inherits from: CompositeNode.

OutlineElement.NumberList represents the numbered list applied to this outline element, or None if absent.

This class provides 7 methods for working with OutlineElement objects in Python programs. Available methods include: Accept, AppendChildFirst, AppendChildLast, GetChildNodes, GetEnumerator, InsertChild, RemoveChild. All public members are accessible to any Python application after installing the Aspose.Note FOSS for Python package. Properties: Document, FirstChild, LastChild, NumberList, ParentNode.

Properties

NameTypeAccessDescription
NumberListNumberList | NoneRead/WriteGets or sets the number list.
FirstChildNode | NoneReadGets the first child.
LastChildNode | NoneReadGets the last child.
ParentNodeNode | NoneReadGets the parent node.
DocumentDocument | NoneReadGets the document.

Methods

SignatureDescription
AppendChildLast(node: TNode)TNode
AppendChildFirst(node: TNode)TNode
InsertChild(index: int, node: TNode)TNode
RemoveChild(node: Node)
GetEnumerator()Iterator[Node]
GetChildNodes(node_type: type[TNode])list[TNode]
Accept(visitor: DocumentVisitor)

See Also