1 #ifndef FS_OFD_ACTION_H_ 2 #define FS_OFD_ACTION_H_ 24 typedef enum _GotoDestType {
169 typedef enum _ActionType {
189 typedef enum _ActionEventTriggerType {
627 typedef enum _MovieOperatorType {
832 #endif // FS_OFD_ACTION_H_ Definition: fs_ofdaction.h:275
bool operator !=(const Action &other) const
不等操作符。
操作类型:继续。
Definition: fs_ofdaction.h:635
bool operator !=(const GotoAAction &other) const
不相等操作符。
void SetAttachmentID(foxit::uint32 attachment_id)
设置关联ID。
ActionDestinationInfo & operator=(const ActionDestinationInfo &other)
赋值操作符。
Definition: fs_ofdaction.h:83
操作类型:播放。
Definition: fs_ofdaction.h:629
bool IsEmpty() const
检查当前对象是否为空。
CFX_Object Object
对象类型。
Definition: fs_basictypes.h:220
Action InsertAction(Action::ActionType type, int index)
插入动作对象。
动作类型:声音(当前不支持)。
Definition: fs_ofdaction.h:177
Action AddAction(Action::ActionType type)
添加动作对象。
GoToAction(Action object)
构造函数,从现有foxit::ofd::Action对象。
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
相等操作符。
bool IsEmpty() const
检查当前对象是否为空。
目标类型:XYZ。
Definition: fs_ofdaction.h:28
SoundAction(Action object)
构造函数,从现有foxit::ofd::Action对象。
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)
移除指定索引的动作对象。
MovieAction(Action object)
构造函数,从现有foxit::ofd::Action对象。
bool operator==(const GotoAAction &other) const
相等操作符。
bool IsEmpty() const
检查当前对象是否为空。
Definition: fs_ofdaction.h:497
Actions(const Actions &other)
构造函数,通过另一个动作集合对象。
URIAction(Action object)
构造函数,从现有foxit::ofd::Action对象。
MovieOperatorType
OFD视频动作的操作类型枚举类型。
Definition: fs_ofdaction.h:627
MovieAction & operator=(const MovieAction &other)
赋值操作符。
float right
右边距,单位为毫米。
Definition: fs_ofdaction.h:140
float left
左边距,单位为毫米。
Definition: fs_ofdaction.h:134
Definition: fs_ofdaction.h:730
Definition: fs_ofdaction.h:352
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:620
bool operator !=(const Actions &other) const
不相等操作符。
GotoAAction & operator=(const GotoAAction &other)
赋值操作符。
bool IsSynchronous()
检查是否同步播放。
Definition: fs_basictypes.h:471
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:422
void SetResourceID(foxit::uint32 resource_id)
设置资源ID。
foxit::uint32 GetResourceID()
获取资源ID。
GotoAAction(Action object)
构造函数,从现有foxit::ofd::Action对象。
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:633
Definition: fs_ofdaction.h:17
操作类型:停止。
Definition: fs_ofdaction.h:631
foxit::ofd::ActionDestinationInfo GetDestination()
获取跳转目标信息。