|
Foxit PDF SDK
|
Public 成员函数 | |
| PDFStructTree (const PDFDoc &document) | |
| 带参数的构造函数。 更多... | |
| PDFStructTree (const PDFStructTree &other) | |
| 拷贝构造函数。 更多... | |
| ~PDFStructTree () | |
| 析构函数。 | |
| StructElement | GetChild (int index) const |
| 通过索引获取结构元素。 更多... | |
| int | GetChildCount () const |
| 获取当前PDF结构树中结构元素的数量。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const PDFStructTree &other) const |
| 不等操作符。 更多... | |
| PDFStructTree & | operator= (const PDFStructTree &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const PDFStructTree &other) const |
| 相等操作符。 更多... | |
| void | RemoveChild (int index) |
| 通过索引删除结构元素。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
PDF结构树是标记PDF文档中的一种常见数据结构。结构树用于 表示文档内容的组织和层次结构。 PDF结构树具有以下特点:
类PDFStructTree用于与现有的PDF结构树关联。 它提供了在PDF结构树中获取结构元素的函数。
| foxit::pdf::objects::PDFStructTree::PDFStructTree | ( | const PDFDoc & | document | ) |
带参数的构造函数。
如果PDF文档中存在PDF结构树, 此函数只是构造一个PDF结构树对象以与该结构树关联。
| [in] | document | 有效的PDF文档对象。 |
| foxit::pdf::objects::PDFStructTree::PDFStructTree | ( | const PDFStructTree & | other | ) |
拷贝构造函数。
| [in] | other | 另一个PDF结构树对象。 |
| StructElement foxit::pdf::objects::PDFStructTree::GetChild | ( | int | index | ) | const |
通过索引获取结构元素。
| [in] | index | 要检索的结构元素的索引。有效范围:从0到(count-1)。 count由函数PDFStructTree::GetChildCount返回。 |
| int foxit::pdf::objects::PDFStructTree::GetChildCount | ( | ) | const |
获取当前PDF结构树中结构元素的数量。
| bool foxit::pdf::objects::PDFStructTree::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当当前对象为空时,这意味着当前对象无用。
| bool foxit::pdf::objects::PDFStructTree::operator != | ( | const PDFStructTree & | other | ) | const |
不等操作符。
| [in] | other | 另一个PDF结构树对象。此函数将检查当前对象是否不等于此对象。 |
| PDFStructTree& foxit::pdf::objects::PDFStructTree::operator= | ( | const PDFStructTree & | other | ) |
赋值操作符。
| [in] | other | 另一个PDF结构树对象,其值将被赋给当前对象。 |
| bool foxit::pdf::objects::PDFStructTree::operator== | ( | const PDFStructTree & | other | ) | const |
相等操作符。
| [in] | other | 另一个PDF结构树对象。此函数将检查当前对象是否等于此对象。 |
| void foxit::pdf::objects::PDFStructTree::RemoveChild | ( | int | index | ) |