Foxit PDF SDK
foxit::ofd::ofdseal::PublicProperties类 参考

继承自 Object .

Public 类型

enum  LockType { e_SealSignLockTypeNone = 0, e_SealSignLockTypeSignatureXml = 1, e_SealSignLockTypSignatureXmlAndOFDXml = 2 }
 OFD签名/签章锁定类型定义枚举类型. 更多...
 

Public 成员函数

 PublicProperties (bool image_visible=true, LockType lock_type=e_SealSignLockTypeNone, bool protect_annotations=false, bool protect_attachments=false, const String &directory_name="")
 带参数的构造函数。 更多...
 
 PublicProperties (const PublicProperties &other)
 构造函数,通过另一个公共属性对象。 更多...
 
PublicPropertiesoperator= (const PublicProperties &other)
 赋值操作符。 更多...
 
void Set (bool image_visible, LockType lock_type, bool protect_annotations, bool protect_attachments, const String &dir_name)
 设置值。 更多...
 

Public 属性

String directory_name
 签名或签章目录名称。设置此参数,主要用于签章OFD文件合并。 更多...
 
bool image_visible
 签名或签章图片是否可见。 true表示可见,false表示不可见. 更多...
 
LockType lock_type
 签名或签章锁定类型。 请参考从 LockType::e_SealSignLockTypeNone 开始的值, 这应该是这些值中的一个。
 
bool protect_annotations
 是否保护注释。 true表示保护,false表示不保护。 更多...
 
bool protect_attachments
 是否保护附件。 true表示保护,false表示不保护。 更多...
 

详细描述

此类表示OFD签名签章公共属性相关的信息。

成员枚举类型说明

◆ LockType

OFD签名/签章锁定类型定义枚举类型.

该枚举值应单独使用.

枚举值
e_SealSignLockTypeNone 

锁定类型:无。

e_SealSignLockTypeSignatureXml 

锁定类型:锁定Signatures.xml。

e_SealSignLockTypSignatureXmlAndOFDXml 

锁定类型:锁定Signatures.xml和OFD.xml。

构造及析构函数说明

◆ PublicProperties() [1/2]

foxit::ofd::ofdseal::PublicProperties::PublicProperties ( bool  image_visible = true,
LockType  lock_type = e_SealSignLockTypeNone,
bool  protect_annotations = false,
bool  protect_attachments = false,
const String directory_name = "" 
)
inline

带参数的构造函数。

参数
[in]image_visible签名或签章图片是否可见。 true表示可见,false表示不可见。
[in]lock_type签名或签章锁定类型。请参考从 LockType::e_SealSignLockTypeNone 开始的值, 这应该是这些值中的一个。
[in]protect_annotations是否保护注释。 true表示保护,false表示不保护。
[in]protect_attachments是否保护附件。 true表示保护,false表示不保护。
[in]directory_name签名或签章目录名称。设置此参数,主要用于签章OFD文件合并。

◆ PublicProperties() [2/2]

foxit::ofd::ofdseal::PublicProperties::PublicProperties ( const PublicProperties other)
inline

构造函数,通过另一个公共属性对象。

参数
[in]other另一个公共属性对象。

成员函数说明

◆ operator=()

PublicProperties& foxit::ofd::ofdseal::PublicProperties::operator= ( const PublicProperties other)
inline

赋值操作符。

参数
[in]other另一个公共属性对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ Set()

void foxit::ofd::ofdseal::PublicProperties::Set ( bool  image_visible,
LockType  lock_type,
bool  protect_annotations,
bool  protect_attachments,
const String dir_name 
)
inline

设置值。

参数
[in]image_visible签名或签章图片是否可见。 true表示可见,false表示不可见。
[in]lock_type签名或签章锁定类型。请参考从 LockType::e_SealSignLockTypeNone 开始的值, 这应该是这些值中的一个。
[in]protect_annotations是否保护注释。 true表示保护,false表示不保护。
[in]protect_attachments是否保护附件。 true表示保护,false表示不保护。
[in]directory_name签名或签章目录名称。设置此参数,主要用于签章OFD文件合并。
返回
无。

类成员变量说明

◆ directory_name

String foxit::ofd::ofdseal::PublicProperties::directory_name

签名或签章目录名称。设置此参数,主要用于签章OFD文件合并。

◆ image_visible

bool foxit::ofd::ofdseal::PublicProperties::image_visible

签名或签章图片是否可见。 true表示可见,false表示不可见.

◆ protect_annotations

bool foxit::ofd::ofdseal::PublicProperties::protect_annotations

是否保护注释。 true表示保护,false表示不保护。

◆ protect_attachments

bool foxit::ofd::ofdseal::PublicProperties::protect_attachments

是否保护附件。 true表示保护,false表示不保护。