|
Foxit PDF SDK
|
Public 成员函数 | |
| CustomTags (const CustomTags &other) | |
| 构造函数,通过另一个自定义标签集合对象。 更多... | |
| ~CustomTags () | |
| 析构函数。 | |
| CustomTag | AddCustomTag (int index) |
| 添加一个自定义标签对象。 更多... | |
| void | BeginOfficeNode (const String &tag_name) |
| 开始新的公文语义节点标标签。 更多... | |
| OfficeNode | CreateOfficeNode () |
| 创建一个空的公文语义节点。 更多... | |
| bool | CreateOfficeNodeByXmlBuffer (const void *data, size_t data_len) |
| 通过XML缓冲区创建公文语义节点。 更多... | |
| bool | CreateOfficeNodeByXmlFile (const String &file_path) |
| 通过XML文件创建公文语义节点。 更多... | |
| bool | CreateOfficeNodeByXmlFile (const WString &file_path) |
| 通过XML文件创建公文语义节点。 更多... | |
| bool | CreateOfficeNodeByXmlFile (foxit::common::file::ReaderCallback *file_reader) |
| 通过XML文件创建公文语义节点。 更多... | |
| void | EndOfficeNode (const String &tag_name) |
| 结束当前公文语义节点标标签。 更多... | |
| CustomTag | GetCustomTag (int index) |
| 获取指定索引的自定义标签对象。 更多... | |
| int | GetCustomTagCount () |
| 获取自定义标签的数量。 更多... | |
| OfficeNode | GetOfficeNode () |
| 获取公文语义节点。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const CustomTags &other) const |
| 不相等操作符。 更多... | |
| CustomTags & | operator= (const CustomTags &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const CustomTags &other) const |
| 相等操作符。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
此类表示和OFD自定义标签集合相关的操作。
| foxit::ofd::CustomTags::CustomTags | ( | const CustomTags & | other | ) |
构造函数,通过另一个自定义标签集合对象。
| [in] | other | 另一个自定义标签集合对象。 |
| CustomTag foxit::ofd::CustomTags::AddCustomTag | ( | int | index | ) |
添加一个自定义标签对象。
| [in] | index | 指定的自定义标签索引,有效范围:从0到(count)。 count由函数 foxit::ofd::CustomTags::GetCustomTagCount 返回。 |
| void foxit::ofd::CustomTags::BeginOfficeNode | ( | const String & | tag_name | ) |
开始新的公文语义节点标标签。
| [in] | tag_name | 指定的标签名称。 |
| OfficeNode foxit::ofd::CustomTags::CreateOfficeNode | ( | ) |
创建一个空的公文语义节点。
| bool foxit::ofd::CustomTags::CreateOfficeNodeByXmlBuffer | ( | const void * | data, |
| size_t | data_len | ||
| ) |
通过XML缓冲区创建公文语义节点。
| [in] | data | 指向XML数据缓冲区的指针。 |
| [in] | data_len | XML数据缓冲区的长度,以字节为单位。 |
| bool foxit::ofd::CustomTags::CreateOfficeNodeByXmlFile | ( | const String & | file_path | ) |
通过XML文件创建公文语义节点。
| [in] | file_path | 指定的XML文件路径。 |
| bool foxit::ofd::CustomTags::CreateOfficeNodeByXmlFile | ( | const WString & | file_path | ) |
通过XML文件创建公文语义节点。
| [in] | file_path | 指定的XML文件路径。 |
| bool foxit::ofd::CustomTags::CreateOfficeNodeByXmlFile | ( | foxit::common::file::ReaderCallback * | file_reader | ) |
通过XML文件创建公文语义节点。
| [in] | file_reader | 用户实现的 foxit::common::file::ReaderCallback 对象,用于读取XML文件。 |
| void foxit::ofd::CustomTags::EndOfficeNode | ( | const String & | tag_name | ) |
结束当前公文语义节点标标签。
| [in] | tag_name | 指定的标签名称。 |
| CustomTag foxit::ofd::CustomTags::GetCustomTag | ( | int | index | ) |
获取指定索引的自定义标签对象。
| [in] | index | 指定的自定义标签索引,有效范围:从0到(count - 1)。 count由函数 foxit::ofd::CustomTags::GetCustomTagCount 返回。 |
| int foxit::ofd::CustomTags::GetCustomTagCount | ( | ) |
获取自定义标签的数量。
| OfficeNode foxit::ofd::CustomTags::GetOfficeNode | ( | ) |
获取公文语义节点。
| bool foxit::ofd::CustomTags::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当前对象为空时,表示当前对象是无用的。
| bool foxit::ofd::CustomTags::operator != | ( | const CustomTags & | other | ) | const |
不相等操作符。
| [in] | other | 另一个自定义标签集合对象。此函数将检查当前对象是否不等于这个对象。 |
| CustomTags& foxit::ofd::CustomTags::operator= | ( | const CustomTags & | other | ) |
赋值操作符。
| [in] | other | 另一个自定义标签集合对象,其值将被赋给当前对象。 |
| bool foxit::ofd::CustomTags::operator== | ( | const CustomTags & | other | ) | const |
相等操作符。
| [in] | other | 另一个自定义标签集合对象。此函数将检查当前对象是否等于这个对象。 |