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`NodeNone`读取
LastChild`NodeNone`读取
ParentNode`NodeNone`读取
Document`DocumentNone`读取

方法

签名描述
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)。

另请参阅

 中文