SetaPDF_Core_Document_Action_Uri Class representing an URI action
File: /SetaPDF v2/Core/Document/Action/Uri.php
Resolve a uniform resource identifier. See PDF 32000-1:2008 - 12.6.4.7
Class hierarchy
Summary
Properties
Static Methods
byObjectOrDictionary()
public static SetaPDF_Core_Document_Action::byObjectOrDictionary (
SetaPDF_Core_Type_IndirectObject|SetaPDF_Core_Type_IndirectReference|SetaPDF_Core_Type_Dictionary $objectOrDictionary
): SetaPDF_Core_Document_ActionCreates 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()
public static SetaPDF_Core_Document_Action_Uri::createActionDictionary (
string|SetaPDF_Core_Type_String $uri
): SetaPDF_Core_Type_DictionaryCreate an URI Action dictionary.
Parameters
- $uri : string|SetaPDF_Core_Type_String
Exceptions
Throws InvalidArgumentException
Methods
__construct()
public SetaPDF_Core_Document_Action_Uri::__construct (
string|SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Type_IndirectObjectInterface $objectOrDictionary
)The constructor.
Parameters
- $objectOrDictionary : string|SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Type_IndirectObjectInterface
Exceptions
addNext()
Add an additional action to the next value of this action.
Parameters
Exceptions
Throws SetaPDF_Core_Type_Exception
getIndirectObject()
public SetaPDF_Core_Document_Action::getIndirectObject (
[ SetaPDF_Core_Document $document = null ]
): SetaPDF_Core_Type_IndirectObjectInterfaceGet the indirect object of this annotation or creates it in the specific document context.
Parameters
- $document : SetaPDF_Core_Document
The document instance
getNext()
public SetaPDF_Core_Document_Action::getNext (
void
): false|SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Type_Array|SetaPDF_Core_Type_IndirectReferenceGets the PDF value of the next entry.
getUri()
setIndirectObject()
public SetaPDF_Core_Document_Action::setIndirectObject (
SetaPDF_Core_Type_IndirectObjectInterface $indirectReference
): voidSet the indirect object of this annotation.
Parameters
- $indirectReference : SetaPDF_Core_Type_IndirectObjectInterface
setNext()
public SetaPDF_Core_Document_Action::setNext (
SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Document_Action|SetaPDF_Core_Type_IndirectObjectInterface $next
): voidSet the next action which should be executed after this one.