Foxit PDF SDK
foxit::ofd::Actions类 参考
类 foxit::ofd::Actions 继承关系图:
foxit::Base

Public 成员函数

 Actions (const Actions &other)
 构造函数,通过另一个动作集合对象。 更多...
 
 ~Actions ()
 析构函数。
 
Action AddAction (Action::ActionType type)
 添加动作对象。 更多...
 
Action GetAction (int index)
 获取指定索引的动作对象。 更多...
 
int GetActionCount ()
 获取动作的数量。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool operator != (const Actions &other) const
 不相等操作符。 更多...
 
Actionsoperator= (const Actions &other)
 赋值操作符。 更多...
 
bool operator== (const Actions &other) const
 相等操作符。 更多...
 
bool RemoveAction (int index)
 移除指定索引的动作对象。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和OFD动作集合相关的操作。

构造及析构函数说明

◆ Actions()

foxit::ofd::Actions::Actions ( const Actions other)

构造函数,通过另一个动作集合对象。

参数
[in]other另一个动作集合对象。

成员函数说明

◆ AddAction()

Action foxit::ofd::Actions::AddAction ( Action::ActionType  type)

添加动作对象。

参数
[in]type指定的动作类型。请参考从 foxit::ofd::Action::e_ActionTypeGoto 开始的值, 这应该是这些值中的一个。
返回
添加的动作对象。

◆ GetAction()

Action foxit::ofd::Actions::GetAction ( int  index)

获取指定索引的动作对象。

参数
[in]index指定的动作索引,有效范围:从0到(count - 1)。 count由函数 foxit::ofd::Actions::GetActionCount 返回。
返回
指定索引的动作对象。

◆ GetActionCount()

int foxit::ofd::Actions::GetActionCount ( )

获取动作的数量。

返回
动作的数量。

◆ IsEmpty()

bool foxit::ofd::Actions::IsEmpty ( ) const

检查当前对象是否为空。

当前对象为空时,表示当前对象是无用的。

返回
true 表示当前对象为空,false 表示不为空。

◆ operator !=()

bool foxit::ofd::Actions::operator != ( const Actions other) const

不相等操作符。

参数
[in]other另一个动作集合对象。此函数将检查当前对象是否不等于这个对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

Actions& foxit::ofd::Actions::operator= ( const Actions other)

赋值操作符。

参数
[in]other另一个动作集合对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::ofd::Actions::operator== ( const Actions other) const

相等操作符。

参数
[in]other另一个动作集合对象。此函数将检查当前对象是否等于这个对象。
返回
true 表示相等,false 表示不相等。

◆ RemoveAction()

bool foxit::ofd::Actions::RemoveAction ( int  index)

移除指定索引的动作对象。

参数
[in]index指定的动作索引,有效范围:从0到count - 1count由函数 foxit::ofd::Actions::GetActionCount 返回。
返回
true 表示移除成功,false 表示移除失败。