public class PdfAction extends PdfDictionary
PdfAction defines an action that can be triggered from a PDF file.PdfDictionaryhashMap| Constructor and Description |
|---|
PdfAction()
Create an empty action.
|
PdfAction(int named)
Implements name actions.
|
PdfAction(String url)
Constructs a new
PdfAction of Subtype URI. |
PdfAction(String filename,
int page)
Constructs a new
PdfAction of Subtype GoToR. |
PdfAction(String filename,
String name)
Constructs a new
PdfAction of Subtype GoToR. |
PdfAction(String application,
String parameters,
String operation,
String defaultDir)
Launches an application or a document.
|
PdfAction(URL url)
Constructs a new
PdfAction of Subtype URI. |
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toStringgetBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, typepublic PdfAction()
public PdfAction(URL url)
PdfAction of Subtype URI.url - the Url to go topublic PdfAction(String url)
PdfAction of Subtype URI.url - the url to go topublic PdfAction(String filename, String name)
PdfAction of Subtype GoToR.filename - the file name to go toname - the named destination to go topublic PdfAction(String filename, int page)
PdfAction of Subtype GoToR.filename - the file name to go topage - the page destination to go topublic PdfAction(int named)
named - the named actionpublic PdfAction(String application, String parameters, String operation, String defaultDir)
application - the application to be launched or the document to be opened or printed.parameters - (Windows-specific) A parameter string to be passed to the application.
It can be null.operation - (Windows-specific) the operation to perform: "open" - Open a document,
"print" - Print a document.
It can be null.defaultDir - (Windows-specific) the default directory in standard DOS syntax.
It can be null.Copyright © 2021. All rights reserved.