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

$_actionDictionary

The action dictionary


Static Methods

createActionDictionary()

Create a Named Action dictionary.

Parameters
$fileSpecification : string|\SetaPDF_Core_FileSpecification
 
Exceptions

Throws \InvalidArgumentException

Throws \setasign\SetaPDF2\Core\Type\Exception


Methods

addNext()

Add an additional action to the next value of this action.

Parameters
$next : \SetaPDF_Core_Type_Dictionary|\SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getActionDictionary()

Get the action dictionary.

getFileSpecification()

Get the file specification object.

Exceptions

Throws \setasign\SetaPDF2\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

getNext()

getPdfValue()

Get the PDF value of this action.

getType()

public Action::getType (
void
): string

Get the action type specified in the S key.

setFileSpecification()

public ImportDataAction::setFileSpecification (
string|\SetaPDF_Core_FileSpecification $fileSpecification
): void

Seta a file specification object.

Parameters
$fileSpecification : string|\SetaPDF_Core_FileSpecification
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setIndirectObject()

Set the indirect object of this annotation.

Parameters
$indirectReference : \SetaPDF_Core_Type_IndirectObjectInterface