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
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
NumberList | `NumberList | None` | Odczyt/zapis |
FirstChild | `Node | None` | Odczyt |
LastChild | `Node | None` | Odczyt |
ParentNode | `Node | None` | Odczyt |
Document | `Document | None` | Odczyt |
Metody
| Sygnatura | Opis |
|---|---|
AppendChildLast(node: TNode) → TNode | Wywołuje AppendChildLast(node) na tej instancji OutlineElement. |
AppendChildFirst(node: TNode) → TNode | Wywołuje AppendChildFirst(node) na tej instancji OutlineElement. |
InsertChild(index: int, node: TNode) → TNode | Wywoł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. |