LaunchAction
LaunchAction
Overview
LaunchAction 是一个类在Java的FOSS中. 继承人: PdfAction.
启动操作启用应用程序或打开文档 (ISO 32000-1:2008, §12.6.4.1).
这个类提供了9种方法,用于在Java程序中使用LaunchAction对象. 有的方法包括: LaunchAction, fromDictionary, getFile, getNext, getPdfDictionary, getType, isNewWindow, setNewWindow. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: file, newWindow, next, pdfDictionary, type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
file | String | Read | 返回文件路径或规格. |
newWindow | boolean | Read | 返回是否应该打开一个新窗口. |
pdfDictionary | PdfDictionary | Read | 返回底层动作词典. |
type | String | Read | 返回操作类型 (/S输入). |
next | PdfAction | Read | 返回下一个动作 (/ 下一步),如果有. |
Methods
| Signature | Description |
|---|---|
LaunchAction(dict: PdfDictionary) | 解析一个 LaunchAction 从现有词典. |
LaunchAction(filePath: String) | 为给定的文件路径创建一个 LaunchAction . |
getFile() → String | 返回文件路径或规格. |
isNewWindow() → boolean | 返回是否应该打开一个新窗口. |
setNewWindow(newWindow: boolean) | 设置是否应该打开一个新窗口. |
getPdfDictionary() → PdfDictionary | 返回底层动作词典. |
getType() → String | 返回操作类型 (/S输入). |
getNext() → PdfAction | 返回下一个动作 (/ 下一步),如果有. |
fromDictionary(dict: PdfDictionary, doc: Document) → PdfAction | 工厂:从字典中创建适当的PdfAction子类. |