|
Foxit PDF SDK
|
Public 成员函数 | |
| OFDPermission (const OFDPermission &other) | |
| 构造函数,通过另一个OFD权限对象。 更多... | |
| ~OFDPermission () | |
| 析构函数。 | |
| void | EnableAllowAnnot (bool allow_annot) |
| 设置是否允许使用注释。 更多... | |
| void | EnableAllowPrintScreen (bool allow_print_screen) |
| 设置是否允许打印到屏幕。 更多... | |
| void | EnableAllowSignature (bool allow_signature) |
| 设置是否允许签名或签章。 更多... | |
| void | EnableAllowWatermark (bool allow_watermark) |
| 设置是否允许使用水印。 更多... | |
| void | EnableEditable (bool editable) |
| 设置是否允许编辑。 更多... | |
| void | EnableExportable (bool exportable) |
| 设置是否允许导出。 更多... | |
| void | EnablePrintable (bool printable) |
| 设置是否允许打印。 更多... | |
| foxit::DateTime | GetExpirationDate () const |
| 获取有效期截止时间。 更多... | |
| int | GetPrintCopies () const |
| 获取允许打印的份数。 更多... | |
| foxit::DateTime | GetStartDate () const |
| 获取有效期开始时间。 更多... | |
| bool | IsAllowAnnot () const |
| 是否允许使用注释。 更多... | |
| bool | IsAllowPrintScreen () const |
| 是否允许打印到屏幕。 更多... | |
| bool | IsAllowSignature () const |
| 是否允许使用签名或签章。 更多... | |
| bool | IsAllowWatermark () const |
| 是否允许使用水印。 更多... | |
| bool | IsEditable () const |
| 是否允许编辑。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | IsExportable () const |
| 是否允许导出。 更多... | |
| bool | IsPrintable () const |
| 是否允许打印。 更多... | |
| bool | operator != (const OFDPermission &other) const |
| 不相等操作符。 更多... | |
| OFDPermission & | operator= (const OFDPermission &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const OFDPermission &other) const |
| 相等操作符。 更多... | |
| void | SetExpirationDate (const foxit::DateTime &expiration_date) |
| 设置有效期结束日期。 更多... | |
| void | SetPrintCopies (int print_copies) |
| 设置允许打印份数。 更多... | |
| void | SetStartDate (const foxit::DateTime &start_date) |
| 设置有效期开始时间。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
此类表示和OFD权限相关的操作。
| foxit::ofd::OFDPermission::OFDPermission | ( | const OFDPermission & | other | ) |
构造函数,通过另一个OFD权限对象。
| [in] | other | 另一个OFD权限对象。 |
| void foxit::ofd::OFDPermission::EnableAllowAnnot | ( | bool | allow_annot | ) |
设置是否允许使用注释。
| [in] | allow_annot | 是否允许使用注释。 |
| void foxit::ofd::OFDPermission::EnableAllowPrintScreen | ( | bool | allow_print_screen | ) |
设置是否允许打印到屏幕。
| [in] | allow_print_screen | 是否允许打印到屏幕。 |
| void foxit::ofd::OFDPermission::EnableAllowSignature | ( | bool | allow_signature | ) |
设置是否允许签名或签章。
| [in] | allow_signature | 是否允许签名或签章。 |
| void foxit::ofd::OFDPermission::EnableAllowWatermark | ( | bool | allow_watermark | ) |
设置是否允许使用水印。
| [in] | allow_watermark | 是否允许使用水印。 |
| void foxit::ofd::OFDPermission::EnableEditable | ( | bool | editable | ) |
设置是否允许编辑。
| [in] | editable | 是否允许编辑。 |
| void foxit::ofd::OFDPermission::EnableExportable | ( | bool | exportable | ) |
设置是否允许导出。
| [in] | exportable | 是否允许导出。 |
| void foxit::ofd::OFDPermission::EnablePrintable | ( | bool | printable | ) |
设置是否允许打印。
| [in] | printable | 是否允许打印。 |
| foxit::DateTime foxit::ofd::OFDPermission::GetExpirationDate | ( | ) | const |
获取有效期截止时间。
| int foxit::ofd::OFDPermission::GetPrintCopies | ( | ) | const |
获取允许打印的份数。
| foxit::DateTime foxit::ofd::OFDPermission::GetStartDate | ( | ) | const |
获取有效期开始时间。
| bool foxit::ofd::OFDPermission::IsAllowAnnot | ( | ) | const |
是否允许使用注释。
| bool foxit::ofd::OFDPermission::IsAllowPrintScreen | ( | ) | const |
是否允许打印到屏幕。
| bool foxit::ofd::OFDPermission::IsAllowSignature | ( | ) | const |
是否允许使用签名或签章。
| bool foxit::ofd::OFDPermission::IsAllowWatermark | ( | ) | const |
是否允许使用水印。
| bool foxit::ofd::OFDPermission::IsEditable | ( | ) | const |
是否允许编辑。
| bool foxit::ofd::OFDPermission::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当前对象为空时,表示当前对象是无用的。
| bool foxit::ofd::OFDPermission::IsExportable | ( | ) | const |
是否允许导出。
| bool foxit::ofd::OFDPermission::IsPrintable | ( | ) | const |
是否允许打印。
| bool foxit::ofd::OFDPermission::operator != | ( | const OFDPermission & | other | ) | const |
不相等操作符。
| [in] | other | 另一个OFD权限对象。此函数将检查当前对象是否不等于这个对象。 |
| OFDPermission& foxit::ofd::OFDPermission::operator= | ( | const OFDPermission & | other | ) |
赋值操作符。
| [in] | other | 另一个OFD权限对象,其值将被赋给当前对象。 |
| bool foxit::ofd::OFDPermission::operator== | ( | const OFDPermission & | other | ) | const |
相等操作符。
| [in] | other | 另一个OFD权限对象。此函数将检查当前对象是否等于这个对象。 |
| void foxit::ofd::OFDPermission::SetExpirationDate | ( | const foxit::DateTime & | expiration_date | ) |
设置有效期结束日期。
| [in] | expiration_date | 结束日期。 |
| void foxit::ofd::OFDPermission::SetPrintCopies | ( | int | print_copies | ) |
设置允许打印份数。
| [in] | print_copies | 打印份数。 |
| void foxit::ofd::OFDPermission::SetStartDate | ( | const foxit::DateTime & | start_date | ) |
设置有效期开始时间。
| [in] | start_date | 开始日期。 |