1 #ifndef FS_OFD_ACTION_H_ 2 #define FS_OFD_ACTION_H_ 24 typedef enum _GotoDestType {
169 typedef enum _ActionType {
189 typedef enum _ActionEventTriggerType {
571 typedef enum _MovieOperatorType {
770 #endif // FS_OFD_ACTION_H_ Definition: fs_ofdaction.h:274
bool operator !=(const Action &other) const
不等操作符。
操作类型:继续。
Definition: fs_ofdaction.h:579
ActionDestinationInfo & operator=(const ActionDestinationInfo &other)
赋值操作符。
Definition: fs_ofdaction.h:83
操作类型:播放。
Definition: fs_ofdaction.h:573
bool IsEmpty() const
检查当前对象是否为空。
CFX_Object Object
对象类型。
Definition: fs_basictypes.h:220
动作类型:声音。
Definition: fs_ofdaction.h:177
Action AddAction(Action::ActionType type)
添加动作对象。
void Set(foxit::uint32 page_id, GotoDestType type, float left, float right, float top, float bottom, float zoom)
设置值。
Definition: fs_ofdaction.h:108
bool operator==(const URIAction &other) const
相等操作符。
目标类型:XYZ。
Definition: fs_ofdaction.h:28
GotoDestType type
目标类型。请参考从 GotoDestType::e_GotoDestTypeXYZ 开始的值, 这应该是这些值中的一个。
Definition: fs_ofdaction.h:128
目标类型:适合页面。
Definition: fs_ofdaction.h:30
bool operator !=(const GoToAction &other) const
不相等操作符。
动作触发类型:页面打开。
Definition: fs_ofdaction.h:193
void SetOperator(MovieOperatorType op)
设置操作类型。
动作类型:视频。
Definition: fs_ofdaction.h:179
目标类型:未知。
Definition: fs_ofdaction.h:26
bool IsEmpty() const
检查当前对象是否为空。
void EnableRepeat(bool repeat)
设置是否重复播放。
Actions & operator=(const Actions &other)
赋值操作符。
void SetEventTrigger(ActionEventTriggerType event_trigger)
设置事件触发器。
bool operator==(const Actions &other) const
相等操作符。
void SetURI(const String &uri)
设置URI。
ActionEventTriggerType GetEventTrigger()
获取事件触发器。
bool IsEmpty() const
检查当前对象是否为空。
void SetVolume(int volume)
设置音量。
int GetActionCount()
获取动作的数量。
动作类型:URI。
Definition: fs_ofdaction.h:175
float top
上边距,单位为毫米。
Definition: fs_ofdaction.h:146
bool operator==(const SoundAction &other) const
相等操作符。
动作类型:未知。
Definition: fs_ofdaction.h:171
bool RemoveAction(int index)
移除指定索引的动作对象。
bool IsEmpty() const
检查当前对象是否为空。
Definition: fs_ofdaction.h:436
Actions(const Actions &other)
构造函数,通过另一个动作集合对象。
MovieOperatorType
OFD视频动作的操作类型枚举类型。
Definition: fs_ofdaction.h:571
MovieAction & operator=(const MovieAction &other)
赋值操作符。
float right
右边距,单位为毫米。
Definition: fs_ofdaction.h:140
float left
左边距,单位为毫米。
Definition: fs_ofdaction.h:134
Definition: fs_ofdaction.h:679
ActionEventTriggerType
OFD动作触发事件枚举类型。
Definition: fs_ofdaction.h:189
Action & operator=(const Action &other)
赋值操作符。
GoToAction & operator=(const GoToAction &other)
赋值操作符。
URIAction & operator=(const URIAction &other)
赋值操作符。
void SetDestination(float x, float y, foxit::uint32 page_id)
设置跳转目标信息。
foxit::uint32 page_id
页面ID。
Definition: fs_ofdaction.h:122
动作类型:跳转。
Definition: fs_ofdaction.h:173
FX_UINT32 uint32
无符号 32 位整数。
Definition: fs_basictypes.h:195
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
foxit::ofd::Action::ActionType GetType()
获取动作类型。
Definition: fs_ofdaction.h:564
bool operator !=(const Actions &other) const
不相等操作符。
bool IsSynchronous()
检查是否同步播放。
Definition: fs_basictypes.h:465
bool operator !=(const MovieAction &other) const
不相等操作符。
bool operator==(const Action &other) const
相等操作符。
GotoDestType
OFD跳转动作的目标类型枚举类型。
Definition: fs_ofdaction.h:24
ActionType
OFD动作类型定义枚举类型。
Definition: fs_ofdaction.h:169
目标类型:适合宽度。
Definition: fs_ofdaction.h:32
float bottom
下边距,单位为毫米。
Definition: fs_ofdaction.h:152
float zoom
缩放比例,取值范围为0.1-64。
Definition: fs_ofdaction.h:158
Definition: fs_ofdaction.h:162
void SetResourceID(foxit::uint32 resource_id)
设置资源ID。
目标类型:适合高度。
Definition: fs_ofdaction.h:34
Action GetAction(int index)
获取指定索引的动作对象。
bool IsEmpty() const
检查当前对象是否为空。
Foxit命名空间。
Definition: fs_pdf3d.h:26
bool operator==(const MovieAction &other) const
相等操作符。
Action(const Action &other)
用另一个动作对象构造当前动作对象。
bool operator==(const GoToAction &other) const
相等操作符。
字节字符串类
Definition: fx_string.h:317
bool operator !=(const SoundAction &other) const
不相等操作符。
SoundAction & operator=(const SoundAction &other)
赋值操作符。
void EnableSynchronous(bool synchronous)
设置是否同步播放。
动作触发类型:文档打开。
Definition: fs_ofdaction.h:191
foxit::uint32 GetResourceID()
获取资源ID。
Definition: fs_ofdaction.h:356
void SetResourceID(foxit::uint32 resource_id)
设置资源ID。
foxit::uint32 GetResourceID()
获取资源ID。
bool IsEmpty() const
检查当前对象是否为空。
动作触发类型:鼠标点击。
Definition: fs_ofdaction.h:195
ActionDestinationInfo(const ActionDestinationInfo &other)
构造函数,通过另一个动作跳转目标信息对象。
Definition: fs_ofdaction.h:66
ActionDestinationInfo(foxit::uint32 page_id, GotoDestType type, float left, float right, float top, float bottom, float zoom)
带参数的构造函数。
Definition: fs_ofdaction.h:52
MovieOperatorType GetOperator()
获取操作类型。
目标类型:适合区域。
Definition: fs_ofdaction.h:36
bool operator !=(const URIAction &other) const
不相等操作符。
动作类型:跳转到动作。
Definition: fs_ofdaction.h:181
操作类型:暂停。
Definition: fs_ofdaction.h:577
Definition: fs_ofdaction.h:17
操作类型:停止。
Definition: fs_ofdaction.h:575
foxit::ofd::ActionDestinationInfo GetDestination()
获取跳转目标信息。