setasign\SetaPDF2\Core\Document\Action
ImportDataAction Class representing a import-data action
File: /SetaPDF v2/Core/Document/Action/ImportDataAction.php
Old class name (alias):
\SetaPDF_Core_Document_Action_ImportData
Import field values from a file. See PDF 32000-1:2008 - 12.7.5.4 Import-Data Action
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 \setasign\SetaPDF2\Core\Type\Exception
Throws \InvalidArgumentException
createActionDictionary()
Create a Named Action dictionary.
Parameters
- $fileSpecification : string|\SetaPDF_Core_FileSpecification
Exceptions
Throws \InvalidArgumentException
Methods
__construct()
The constructor.
Parameters
- $objectOrDictionary : string|\SetaPDF_Core_Type_Dictionary|\SetaPDF_Core_Type_IndirectObjectInterface
Exceptions
Throws \InvalidArgumentException
getIndirectObject()
Get the indirect object of this annotation or creates it in the specific document context.
Parameters
- $document : ?\SetaPDF_Core_Document
The document instance
getNext()
Gets the PDF value of the next entry.
setFileSpecification()
Seta a file specification object.
Parameters
- $fileSpecification : string|\SetaPDF_Core_FileSpecification
Exceptions
setIndirectObject()
Set the indirect object of this annotation.
Parameters
- $indirectReference : \SetaPDF_Core_Type_IndirectObjectInterface
setNext()
Set the next action which should be executed after this one.