Foxit PDF SDK
FSEmbeddedGotoAction类 参考
类 FSEmbeddedGotoAction 继承关系图:
FSAction FSBase

构造函数

(id) - initWithAction:
 构造函数,使用父类对象。
更多...
 
- 构造函数 继承自 FSAction
(FSPDFDictionary *) - getDict
 获取当前对象的PDF字典。
更多...
 
(FSPDFDoc *) - getDocument
 获取当前动作所属的PDF文档。
更多...
 
(FSAction *) - getSubAction:
 按索引获取子动作。
更多...
 
(int) - getSubActionCount
 获取子动作的数量。
更多...
 
(FSActionType) - getType
 动作触发类型:文档打开。
更多...
 
(id) - initWithDocument:action_dict:
 构造函数,带参数。
更多...
 
(void) - insertSubAction:sub_action:
 在指定索引位置插入新的子动作。
更多...
 
(BOOL) - isEmpty
 检查当前对象是否为空。
更多...
 
(void) - removeAllSubActions
 移除所有子动作。
更多...
 
(void) - removeSubAction:
 移除指定索引的子动作。
更多...
 
(void) - setSubAction:sub_action:
 按索引设置子动作。
更多...
 

属性

FSDestination * destination
 获取指定在最终目标文件中跳转位置的目标信息。
更多...
 
NSString * destinationName
 获取在最终目标PDF文件中定义的目标名称。
更多...
 
FSActionNewWindowFlag newWindowFlag
 获取用于决定是否在新窗口中打开目标文档的标志。

 
FSFileSpec * rootFile
 获取根文件的文件规范,该根文件是目标的根文件。

 
FSEmbeddedGotoTarget * target
 获取目标。

 

额外继承的成员函数

- 类方法 继承自 FSAction
(FSAction *) + create:action_type:
 为指定的动作类型创建新动作。
更多...
 

详细描述

嵌入转到动作类似于远程转到动作,但允许从嵌入在另一个PDF文件中的PDF文件中跳转或跳转到该文件。 类 FSEmbeddedGotoTarget 派生自 FSAction , 提供用于获取/设置嵌入转到动作数据的函数。

参见
FSAction

函数文档

◆ initWithAction:()

- (id) initWithAction: (FSAction*)  action

构造函数,使用父类对象。

参数
[in]action父类对象。

重载 FSAction .

属性说明

◆ destination

- (FSDestination *) destination
readwritenonatomicweak

获取指定在最终目标文件中跳转位置的目标信息。

对于嵌入转到动作,目标信息可以存储为目标对象 或目标名称:

如果返回的目标对象的函数 FSDestination::isEmpty 的返回值 为YES,且函数 FSEmbeddedGotoAction::destinationName 返回空字符串,则表示嵌入转到动作没有任何目标信息。

◆ destinationName

- (NSString *) destinationName
readwritenonatomicweak

获取在最终目标PDF文件中定义的目标名称。

对于远程转到动作,目标信息可以存储为目标对象 或目标名称:

如果返回的目标对象的函数 FSDestination::isEmpty 的返回值 为YES,且函数 FSEmbeddedGotoAction::destinationName 返回空字符串,则表示嵌入转到动作没有任何目标信息。