Foxit PDF SDK

fs_ofdtagtreenode.h
1 #ifndef FS_OFD_TAGTREENODE_H_
2 #define FS_OFD_TAGTREENODE_H_
3
4 #include "common/fs_common.h"
5
11 namespace foxit {
15 namespace ofd {
16 namespace graphics {
17 class OFDGraphicsObject;
18 }
19
21 class TagTreeNode FS_FINAL : public Base {
22 public:
24 ~TagTreeNode();
25
31 TagTreeNode(const TagTreeNode& other);
32
40 TagTreeNode& operator = (const TagTreeNode& other);
41
49 bool operator == (const TagTreeNode& other) const;
50
58 bool operator != (const TagTreeNode& other) const;
59
67 bool IsEmpty() const;
68
74 int GetTagTreeNodeCount();
75
84 TagTreeNode GetTagTreeNode(int index);
85
91 String GetKey();
92
98 String GetText();
99
105 int GetGraphicsObjectCount();
106
115 graphics::OFDGraphicsObject GetGraphicsObject(int index);
116
117 explicit TagTreeNode(FS_HANDLE handle);
118 };
119
120 } // namespace ofd
121 } // namespace foxit
122
123 #endif // FS_OFD_TAGTREENODE_H_
foxit::ofd::TagTreeNode::GetTagTreeNodeCount
int GetTagTreeNodeCount()
获取子节点数量。
foxit::ofd::TagTreeNode::IsEmpty
bool IsEmpty() const
检查当前对象是否为空。
foxit::ofd::graphics::OFDGraphicsObject
Definition: fs_ofdgraphicsobject.h:177
foxit::ofd::TagTreeNode::GetText
String GetText()
获取节点文本内容。
foxit::ofd::TagTreeNode
Definition: fs_ofdtagtreenode.h:21
foxit::ofd::TagTreeNode::~TagTreeNode
~TagTreeNode()
析构函数。
foxit::ofd::TagTreeNode::operator==
bool operator==(const TagTreeNode &other) const
相等操作符。
foxit::ofd::TagTreeNode::TagTreeNode
TagTreeNode(const TagTreeNode &other)
构造函数，通过另一个OFD标签树节点对象。
foxit::ofd::TagTreeNode::GetGraphicsObjectCount
int GetGraphicsObjectCount()
获取图元对象数量。
foxit::ofd::TagTreeNode::operator=
TagTreeNode & operator=(const TagTreeNode &other)
赋值操作符。
foxit::FS_HANDLE
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
fs_common.h
通用定义和类的头文件。
foxit::Base
Definition: fs_basictypes.h:465
foxit
Foxit命名空间。
Definition: fs_taggedpdf.h:27
CFX_ByteString
字节字符串类
Definition: fx_string.h:317
foxit::ofd::TagTreeNode::GetGraphicsObject
graphics::OFDGraphicsObject GetGraphicsObject(int index)
获取指定索引的图元对象。
foxit::ofd::TagTreeNode::operator !=
bool operator !=(const TagTreeNode &other) const
不相等操作符。
foxit::ofd::TagTreeNode::GetTagTreeNode
TagTreeNode GetTagTreeNode(int index)
获取指定索引的子节点。
foxit::ofd::TagTreeNode::GetKey
String GetKey()
获取节点关键字。