NamedAction

Overview

NamedAction is a class in Aspose.PDF FOSS for Java. Inherits from: PdfAction.

Named action — predefined action (ISO 32000-1:2008, §12.6.4.11).

This class provides 7 methods for working with NamedAction objects in Java programs. Available methods include: NamedAction, fromDictionary, getActionName, getNext, getPdfDictionary, getType. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: actionName, next, pdfDictionary, type.

Properties

NameTypeAccessDescription
actionNameStringReadReturns the action name.
pdfDictionaryPdfDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Methods

SignatureDescription
NamedAction(name: String)Creates a NamedAction with the given name.
NamedAction(dict: PdfDictionary)Parses a NamedAction from a dictionary.
getActionName()StringReturns the action name.
getPdfDictionary()PdfDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: PdfDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

See Also

 English