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

Public 成员函数

 Oes (const String &oes_lib_path)
 构造函数,通过电子印章库文件路径。 更多...
 
 Oes (const Oes &other)
 构造函数,通过另一个电子印章库对象。 更多...
 
 ~Oes ()
 析构函数。
 
bool Clear () const
 清空已经加载电子印章列表。 更多...
 
String GetLastErrorMessage () const
 获取最后一次错误的错误信息。 更多...
 
Seal GetSeal (int index) const
 获取指定索引的电子印章对象。 更多...
 
int GetSealCount () const
 获取电子印章库的电子印章数量。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool Login (const String &passowrd)
 电子印章库登录。 更多...
 
bool operator != (const Oes &other) const
 不相等操作符。 更多...
 
Oesoperator= (const Oes &other)
 赋值操作符。 更多...
 
bool operator== (const Oes &other) const
 相等操作符。 更多...
 
bool SetExtendParam (const String &param_name, const String &param_value)
 设置电子印章库的扩展参数。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和OFD电子印章库相关的操作。

构造及析构函数说明

◆ Oes() [1/2]

foxit::ofd::ofdseal::Oes::Oes ( const String oes_lib_path)
explicit

构造函数,通过电子印章库文件路径。

参数
[in]oes_lib_path电子印章库文件的完整路径。它不应该是空字符串。

◆ Oes() [2/2]

foxit::ofd::ofdseal::Oes::Oes ( const Oes other)

构造函数,通过另一个电子印章库对象。

参数
[in]other另一个电子印章库对象。

成员函数说明

◆ Clear()

bool foxit::ofd::ofdseal::Oes::Clear ( ) const

清空已经加载电子印章列表。

返回
true表示清除成功,false表示清除失败。

◆ GetLastErrorMessage()

String foxit::ofd::ofdseal::Oes::GetLastErrorMessage ( ) const

获取最后一次错误的错误信息。

返回
最后一次错误的错误信息。

◆ GetSeal()

Seal foxit::ofd::ofdseal::Oes::GetSeal ( int  index) const

获取指定索引的电子印章对象。

参数
[in]index电子印章的索引。有效范围:从0到(count-1)。 count 由函数 Oes::GetSealCount 返回。
返回
电子印章对象。

◆ GetSealCount()

int foxit::ofd::ofdseal::Oes::GetSealCount ( ) const

获取电子印章库的电子印章数量。

返回
电子印章数量。

◆ IsEmpty()

bool foxit::ofd::ofdseal::Oes::IsEmpty ( ) const

检查当前对象是否为空。

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

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

◆ Login()

bool foxit::ofd::ofdseal::Oes::Login ( const String passowrd)

电子印章库登录。

参数
[in]passowrd电子印章库的登录密码。
返回
true 表示登录成功,false 表示登录失败。

◆ operator !=()

bool foxit::ofd::ofdseal::Oes::operator != ( const Oes other) const

不相等操作符。

参数
[in]other另一个电子印章库对象。此函数将检查当前对象是否不等于这个对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

Oes& foxit::ofd::ofdseal::Oes::operator= ( const Oes other)

赋值操作符。

参数
[in]other另一个电子印章库对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::ofd::ofdseal::Oes::operator== ( const Oes other) const

相等操作符。

参数
[in]other另一个电子印章库对象。此函数将检查当前对象是否等于这个对象。
返回
true 表示相等,false 表示不相等。

◆ SetExtendParam()

bool foxit::ofd::ofdseal::Oes::SetExtendParam ( const String param_name,
const String param_value 
)

设置电子印章库的扩展参数。

参数
[in]param_name扩展参数名称。
[in]param_value扩展参数值。
返回
true表示设置成功,false表示设置失败。