Document
Übersicht über die
Document ist eine Klasse in Aspose.Note für Python. Erben von: CompositeNode.
Die Dokumentklasse kann mit einem Pfad zu OneNote instanziert werden. .one Datei zum Laden des Dokuments.
Eigenschaften
| Name | Type | Access | Description |
|---|---|---|---|
FileFormat | FileFormat | Read | Gets the file format. |
DisplayName | `str | None` | Read |
CreationTime | `datetime | None` | Read |
FirstChild | `Node | None` | Read |
LastChild | `Node | None` | Read |
ParentNode | `Node | None` | Read |
Document | `Document | None` | Read |
Methoden und Verfahren
| Signature | Description |
|---|---|
| `init(source: str | Path |
DetectLayoutChanges() | Detects changes in the document layout and updates internal state |
GetPageHistory(page: Page) → PageHistory | Returns the history information for the specified page |
| `Save(target: str | Path |
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) |