LaunchAction

Vue de l’ensemble

‘LaunchAction’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfAction.

Lancement d’une action – lance une demande ou ouvre un document (ISO 32000-1:2008, §12.6.4.1).

Cette classe fournit 9 méthodes pour travailler avec les objets de LaunchAction dans les programmes Java. Les méthodologies disponibles comprennent: ‘Launch Action’, ‘fromDictionary’, getFile', ‘getNext’, 'getPdfDictary' , 'getType', ''isNewWindow, ‘setNewVindows’. Tous les membres publics sont accessibles à toute application Java après avoir installé l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘file’, “newWendow’, «next’, pdfDictory’, »type’.

Propriétés

NameTypeAccessDescription
fileStringReadReturns the file path or specification.
newWindowbooleanReadReturns whether a new window should be opened.
pdfDictionaryPdfDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

méthodes

SignatureDescription
LaunchAction(dict: PdfDictionary)Parses a LaunchAction from an existing dictionary.
LaunchAction(filePath: String)Creates a LaunchAction for the given file path.
getFile()StringReturns the file path or specification.
isNewWindow()booleanReturns whether a new window should be opened.
setNewWindow(newWindow: boolean)Sets whether a new window should be opened.
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.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français