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 
106 
116 
117  explicit TagTreeNode(FS_HANDLE handle);
118 };
119 
120 } // namespace ofd
121 } // namespace foxit
122 
123 #endif // FS_OFD_TAGTREENODE_H_
int GetTagTreeNodeCount()
获取子节点数量。
bool IsEmpty() const
检查当前对象是否为空。
Definition: fs_ofdgraphicsobject.h:177
String GetText()
获取节点文本内容。
Definition: fs_ofdtagtreenode.h:21
~TagTreeNode()
析构函数。
bool operator==(const TagTreeNode &other) const
相等操作符。
TagTreeNode(const TagTreeNode &other)
构造函数,通过另一个OFD标签树节点对象。
int GetGraphicsObjectCount()
获取图元对象数量。
TagTreeNode & operator=(const TagTreeNode &other)
赋值操作符。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
通用定义和类的头文件。
Definition: fs_basictypes.h:465
Foxit命名空间。
Definition: fs_taggedpdf.h:27
字节字符串类
Definition: fx_string.h:317
graphics::OFDGraphicsObject GetGraphicsObject(int index)
获取指定索引的图元对象。
bool operator !=(const TagTreeNode &other) const
不相等操作符。
TagTreeNode GetTagTreeNode(int index)
获取指定索引的子节点。
String GetKey()
获取节点关键字。