Foxit PDF SDK
foxit::ofd::TagTreeNode类 参考
类 foxit::ofd::TagTreeNode 继承关系图:
foxit::Base

Public 成员函数

 TagTreeNode (const TagTreeNode &other)
 构造函数,通过另一个OFD标签树节点对象。 更多...
 
 ~TagTreeNode ()
 析构函数。
 
graphics::OFDGraphicsObject GetGraphicsObject (int index)
 获取指定索引的图元对象。 更多...
 
int GetGraphicsObjectCount ()
 获取图元对象数量。 更多...
 
String GetKey ()
 获取节点关键字。 更多...
 
TagTreeNode GetTagTreeNode (int index)
 获取指定索引的子节点。 更多...
 
int GetTagTreeNodeCount ()
 获取子节点数量。 更多...
 
String GetText ()
 获取节点文本内容。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const TagTreeNode &other) const
 不相等操作符。 更多...
 
TagTreeNodeoperator= (const TagTreeNode &other)
 赋值操作符。 更多...
 
bool operator== (const TagTreeNode &other) const
 相等操作符。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和OFD标签树节点相关的方法。

构造及析构函数说明

◆ TagTreeNode()

foxit::ofd::TagTreeNode::TagTreeNode ( const TagTreeNode other)

构造函数,通过另一个OFD标签树节点对象。

参数
[in]other另一个OFD标签树节点对象。

成员函数说明

◆ GetGraphicsObject()

graphics::OFDGraphicsObject foxit::ofd::TagTreeNode::GetGraphicsObject ( int  index)

获取指定索引的图元对象。

参数
[in]index图元对象索引。有效范围:从0到(count-1)。 count 由函数 foxit::ofd::TagTreeNode::GetGraphicsObjectCount 返回。
返回
指定索引的图元对象。

◆ GetGraphicsObjectCount()

int foxit::ofd::TagTreeNode::GetGraphicsObjectCount ( )

获取图元对象数量。

返回
图元对象数量。

◆ GetKey()

String foxit::ofd::TagTreeNode::GetKey ( )

获取节点关键字。

返回
节点关键字值。

◆ GetTagTreeNode()

TagTreeNode foxit::ofd::TagTreeNode::GetTagTreeNode ( int  index)

获取指定索引的子节点。

参数
[in]index子节点索引。有效范围:从0到(count-1)。 count 由函数 TagTreeNode::GetTagTreeNodeCount 返回。
返回
指定索引的子节点。

◆ GetTagTreeNodeCount()

int foxit::ofd::TagTreeNode::GetTagTreeNodeCount ( )

获取子节点数量。

返回
子节点数量。

◆ GetText()

String foxit::ofd::TagTreeNode::GetText ( )

获取节点文本内容。

返回
节点文本内容值。

◆ IsEmpty()

bool foxit::ofd::TagTreeNode::IsEmpty ( ) const

检查当前对象是否为空。

当前对象为空时,表示当前对象是无用的。

返回
true 表示当前对象为空,false 表示不为空。

◆ operator !=()

bool foxit::ofd::TagTreeNode::operator != ( const TagTreeNode other) const

不相等操作符。

参数
[in]other另一个OFD标签树节点对象。此函数将检查当前对象是否不等于这个对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

TagTreeNode& foxit::ofd::TagTreeNode::operator= ( const TagTreeNode other)

赋值操作符。

参数
[in]other另一个OFD标签树节点对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::ofd::TagTreeNode::operator== ( const TagTreeNode other) const

相等操作符。

参数
[in]other另一个OFD标签树节点对象。此函数将检查当前对象是否等于这个对象。
返回
true 表示相等,false 表示不相等。