|
Foxit PDF SDK
|
Public 类型 | |
| enum | ActionEventTriggerType { e_ActionEventTriggerTypeDocumentOpen = 0, e_ActionEventTriggerTypePageOpen = 1, e_ActionEventTriggerTypeClick = 2 } |
| OFD动作触发事件枚举类型。 更多... | |
| enum | ActionType { e_ActionTypeUnknown = 0, e_ActionTypeGoto = 1, e_ActionTypeUri = 2, e_ActionTypeSound = 3, e_ActionTypeMovie = 4, e_ActionTypeGotoA = 5 } |
| OFD动作类型定义枚举类型。 更多... | |
Public 成员函数 | |
| Action (const Action &other) | |
| 用另一个动作对象构造当前动作对象。 更多... | |
| ~Action () | |
| 析构函数。 | |
| ActionEventTriggerType | GetEventTrigger () |
| 获取事件触发器。 更多... | |
| foxit::ofd::Action::ActionType | GetType () |
| 获取动作类型。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const Action &other) const |
| 不等操作符。 更多... | |
| Action & | operator= (const Action &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const Action &other) const |
| 相等操作符。 更多... | |
| void | SetEventTrigger (ActionEventTriggerType event_trigger) |
| 设置事件触发器。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
此类表示和OFD动作相关的操作。
| foxit::ofd::Action::Action | ( | const Action & | other | ) |
用另一个动作对象构造当前动作对象。
| [in] | other | 另一个动作对象。 |
| ActionEventTriggerType foxit::ofd::Action::GetEventTrigger | ( | ) |
获取事件触发器。
| foxit::ofd::Action::ActionType foxit::ofd::Action::GetType | ( | ) |
获取动作类型。
| bool foxit::ofd::Action::IsEmpty | ( | ) | const |
检查当前对象是否为空。
当前对象为空时,表示当前对象是无用的。
| bool foxit::ofd::Action::operator != | ( | const Action & | other | ) | const |
不等操作符。
| [in] | other | 另一个动作对象。此函数将检查当前对象是否不等于这个对象。 |
赋值操作符。
| [in] | other | 另一个动作对象,其值将被赋给当前对象。 |
| bool foxit::ofd::Action::operator== | ( | const Action & | other | ) | const |
相等操作符。
| [in] | other | 另一个动作对象。此函数将检查当前对象是否等于这个对象。 |
| void foxit::ofd::Action::SetEventTrigger | ( | ActionEventTriggerType | event_trigger | ) |
设置事件触发器。
| [in] | event_trigger | 事件触发器值, 这应该是从 foxit::ofd::Action::e_ActionTypeDocumentOpen 开始的值, 这应该是这些值中的一个。 |