OutlineElement

OutlineElement

Przegląd

OutlineElement jest klasą w Aspose.Note FOSS dla Python. Dziedziczy po: CompositeNode.

OutlineElement.NumberList reprezentuje numerowaną listę zastosowaną do tego elementu konspektu, lub None jeśli brak.

Ta klasa udostępnia 7 metod do pracy z obiektami OutlineElement w programach Python. Dostępne metody to: Accept, AppendChildFirst, AppendChildLast, GetChildNodes, GetEnumerator, InsertChild, RemoveChild. Wszystkie publiczne elementy są dostępne dla dowolnej aplikacji Python po zainstalowaniu pakietu Aspose.Note FOSS dla Python. Właściwości: Document, FirstChild, LastChild, NumberList, ParentNode.

Właściwości

NazwaTypDostępOpis
NumberList`NumberListNone`Odczyt/zapis
FirstChild`NodeNone`Odczyt
LastChild`NodeNone`Odczyt
ParentNode`NodeNone`Odczyt
Document`DocumentNone`Odczyt

Metody

SygnaturaOpis
AppendChildLast(node: TNode) → TNodeWywołuje AppendChildLast(node) na tej instancji OutlineElement.
AppendChildFirst(node: TNode) → TNodeWywołuje AppendChildFirst(node) na tej instancji OutlineElement.
InsertChild(index: int, node: TNode) → TNodeWywołuje InsertChild(index, node) na tej instancji OutlineElement.
RemoveChild(node: Node)Wywołuje RemoveChild(node) na tej instancji OutlineElement.
GetEnumerator() → Iterator[Node]Wywołuje GetEnumerator na tej instancji OutlineElement.
GetChildNodes(node_type: type[TNode]) → list[TNode]Wywołuje GetChildNodes(node_type) na tej instancji OutlineElement.
Accept(visitor: DocumentVisitor)Wywołuje Accept(visitor) na tej instancji OutlineElement.

Zobacz także

 Polski