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

Public 成员函数

 AnnotCombination ()
 构造函数。
 
 AnnotCombination (const AnnotCombination &other)
 构造函数,通过另一个OFD标注组合对象。 更多...
 
 ~AnnotCombination ()
 析构函数。
 
bool AddAnnotFile (const String &file_path)
 添加标注文件。 更多...
 
bool AddAnnotFile (const WString &file_path)
 添加标注文件。 更多...
 
bool AddAnnotFile (const void *buf, size_t buf_len)
 添加标注文件。 更多...
 
bool AddAnnotFile (foxit::common::file::ReaderCallback *file_reader)
 添加标注文件。 更多...
 
bool ExportAnnotFile (foxit::common::file::WriterCallback *file_writer)
 导出标注组合到新的ofd文件。 更多...
 
bool ExportToFile (const String &file_path)
 导出标注组合到文件。 更多...
 
bool ExportToFile (const WString &file_path)
 导出标注组合到新的ofd文件。 更多...
 
String ExportToFile ()
 导出新的标注组合ofd文件到内存缓冲区。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const AnnotCombination &other) const
 不相等操作符。 更多...
 
AnnotCombinationoperator= (const AnnotCombination &other)
 赋值操作符。 更多...
 
bool operator== (const AnnotCombination &other) const
 相等操作符。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和OFD标注组合对象相关的方法

构造及析构函数说明

◆ AnnotCombination()

foxit::ofd::AnnotCombination::AnnotCombination ( const AnnotCombination other)

构造函数,通过另一个OFD标注组合对象。

参数
[in]other另一个OFD标注组合对象。

成员函数说明

◆ AddAnnotFile() [1/4]

bool foxit::ofd::AnnotCombination::AddAnnotFile ( const String file_path)

添加标注文件。

参数
[in]file_path标注文件路径。
返回
true表示添加成功,false表示添加失败。

◆ AddAnnotFile() [2/4]

bool foxit::ofd::AnnotCombination::AddAnnotFile ( const WString file_path)

添加标注文件。

参数
[in]file_path标注文件路径。
返回
true表示添加成功,false表示添加失败。

◆ AddAnnotFile() [3/4]

bool foxit::ofd::AnnotCombination::AddAnnotFile ( const void *  buf,
size_t  buf_len 
)

添加标注文件。

参数
[in]buf标注文件内存缓冲区指针。
[in]buf_len标注文件内存缓冲区大小。
返回
true表示添加成功,false表示添加失败。

◆ AddAnnotFile() [4/4]

bool foxit::ofd::AnnotCombination::AddAnnotFile ( foxit::common::file::ReaderCallback file_reader)

添加标注文件。

参数
[in]file_reader用户实现的 common::file::ReaderCallback 对象,用于加载标注文件。
返回
true表示添加成功,false表示添加失败。

◆ ExportAnnotFile()

bool foxit::ofd::AnnotCombination::ExportAnnotFile ( foxit::common::file::WriterCallback file_writer)

导出标注组合到新的ofd文件。

参数
[in]file_writer用户实现的 common::file::WriterCallback 对象,用于保存标注组合文件。
返回
true表示导出成功,false表示导出失败。

◆ ExportToFile() [1/3]

bool foxit::ofd::AnnotCombination::ExportToFile ( const String file_path)

导出标注组合到文件。

参数
[in]file_path导出标注文件路径。
返回
true表示导出成功,false表示导出失败。

◆ ExportToFile() [2/3]

bool foxit::ofd::AnnotCombination::ExportToFile ( const WString file_path)

导出标注组合到新的ofd文件。

参数
[in]file_path导出标注文件路径。
返回
true表示导出成功,false表示导出失败。

◆ ExportToFile() [3/3]

String foxit::ofd::AnnotCombination::ExportToFile ( )

导出新的标注组合ofd文件到内存缓冲区。

返回
标注组合内存缓冲区。

◆ IsEmpty()

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

检查当前对象是否为空。

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

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

◆ operator !=()

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

不相等操作符。

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

◆ operator=()

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

赋值操作符。

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

◆ operator==()

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

相等操作符。

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