TableRow
概述
TableRow 是 Aspose.Note FOSS 用于 Python 的一个类。继承自:CompositeNode。
此类提供 7 个方法,用于在 Python 程序中处理 TableRow 对象。可用的方法包括:Accept、AppendChildFirst、AppendChildLast、GetChildNodes、GetEnumerator、InsertChild、RemoveChild。在安装 Aspose.Note FOSS 用于 Python 的软件包后,所有公共成员均可被任何 Python 应用程序访问。属性:Document、FirstChild、LastChild、ParentNode。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
FirstChild | `Node | None` | 读取 |
LastChild | `Node | None` | 读取 |
ParentNode | `Node | None` | 读取 |
Document | `Document | None` | 读取 |
方法
| 签名 | 描述 |
|---|---|
AppendChildLast(node: TNode) → TNode | 在此 TableRow 实例上调用 AppendChildLast(node)。 |
AppendChildFirst(node: TNode) → TNode | 在此 TableRow 实例上调用 AppendChildFirst(node)。 |
InsertChild(index: int, node: TNode) → TNode | 在此 TableRow 实例上调用 InsertChild(index, node)。 |
RemoveChild(node: Node) | 在此 TableRow 实例上调用 RemoveChild(node)。 |
GetEnumerator() → Iterator[Node] | 在此 TableRow 实例上调用 GetEnumerator。 |
GetChildNodes(node_type: type[TNode]) → list[TNode] | 在此 TableRow 实例上调用 GetChildNodes(node_type)。 |
Accept(visitor: DocumentVisitor) | 在此 TableRow 实例上调用 Accept(visitor)。 |