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

$_actionDictionary

protected SetaPDF_Core_Type_Dictionary SetaPDF_Core_Document_Action_Uri::$_actionDictionary

The action dictionary

$_indirectReference

protected SetaPDF_Core_Type_IndirectObjectInterface SetaPDF_Core_Document_Action_Uri::$_indirectReference


Static Methods

byObjectOrDictionary()

Creates an action object by an action dictionary.

Parameters
$objectOrDictionary : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

createActionDictionary()

Create an URI Action dictionary.

Parameters
$uri : string|SetaPDF_Core_Type_String
 
Exceptions

Throws InvalidArgumentException


Methods

addNext()

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

Parameters
$next : SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Document_Action
 

getActionDictionary()

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.

getPdfValue()

Get the PDF value of this action.

getType()

public SetaPDF_Core_Document_Action::getType (
void
): string

Get the action type specified in the S key.

getUri()

public SetaPDF_Core_Document_Action_Uri::getUri (
void
): string

Get the URI.

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.

Parameters
$next : SetaPDF_Core_Type_Dictionary|SetaPDF_Core_Document_Action
 

setUri()

public SetaPDF_Core_Document_Action_Uri::setUri (
string $uri
): void

Set the URI.

Parameters
$uri : string