SetaPDF_Core_Document_Action_Launch Class representing a Launch action
File: /SetaPDF v2/Core/Document/Action/Launch.php
Launch an application, usually to open a file. See PDF 32000-1:2008 - 12.6.4.5
Class hierarchy
Summary
Properties
Static Methods
byObjectOrDictionary()
Creates an action object by an action dictionary.
Parameters
- $objectOrDictionary : SetaPDF_Core_Type_IndirectObject|SetaPDF_Core_Type_IndirectReference|SetaPDF_Core_Type_Dictionary
Exceptions
Throws SetaPDF_Core_Type_Exception
Throws InvalidArgumentException
createActionDictionary()
Create a Launch Action dictionary.
Parameters
- $fileSpecification : string|SetaPDF_Core_FileSpecification|SetaPDF_Core_Type_Dictionary
- $newWindow : null|boolean
Exceptions
Throws InvalidArgumentException
Methods
__construct()
The constructor.
Parameters
- $objectOrDictionary : string|SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Type_IndirectObjectInterface
Exceptions
Throws InvalidArgumentException
Throws SetaPDF_Core_Type_Exception
addNext()
Add an additional action to the next value of this action.
Parameters
Exceptions
Throws SetaPDF_Core_Type_Exception
getFileSpecification()
Get the file specification.
Exceptions
Throws SetaPDF_Core_Type_Exception
getIndirectObject()
Get the indirect object of this annotation or creates it in the specific document context.
Parameters
- $document : SetaPDF_Core_Document
The document instance
getNewWindow()
Get the NewWindow flag specifying whether to open the destination document in a new window.
Exceptions
Throws SetaPDF_Core_Type_Exception
getNext()
Gets the PDF value of the next entry.
setFileSpecification()
Set the file specification.
Parameters
- $fileSpecification : string|SetaPDF_Core_FileSpecification
Exceptions
Throws SetaPDF_Core_Type_Exception
setIndirectObject()
Set the indirect object of this annotation.
Parameters
- $indirectReference : SetaPDF_Core_Type_IndirectObjectInterface
setNewWindow()
Set the NewWindow flag specifying whether to open the destination document in a new window.
Parameters
- $newWindow : boolean
setNext()
Set the next action which should be executed after this one.