Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | List of all members
Zend_Pdf_Action_URI Class Reference

Public Member Functions

 __construct (Zend_Pdf_Element $dictionary, SplObjectStorage $processedActions)
 Object constructor.
 
 setUri ($uri)
 Set URI to resolve.
 
 getUri ()
 Get URI to resolve.
 
 setIsMap ($isMap)
 Set IsMap property.
 
 getIsMap ()
 Get IsMap property.
 
- Public Member Functions inherited from Zend_Pdf_Action
 __construct (Zend_Pdf_Element $dictionary, SplObjectStorage $processedActions)
 Object constructor.
 
 getResource ()
 Get resource.
 
 dumpAction (Zend_Pdf_ElementFactory_Interface $factory, SplObjectStorage $processedActions=null)
 Dump Action and its child actions into PDF structures.
 
 current ()
 Returns current child action.
 
 key ()
 Returns current iterator key.
 
 next ()
 Go to next child.
 
 rewind ()
 Rewind children.
 
 valid ()
 Check if current position is valid.
 
 getChildren ()
 Returns the child action.
 
 hasChildren ()
 Implements RecursiveIterator interface.
 
 count ()
 count()
 
- Public Member Functions inherited from Zend_Pdf_Target
 getResource ()
 Get resource.
 

Static Public Member Functions

static create ($uri, $isMap=false)
 Create new Zend_Pdf_Action_URI object using specified uri.
 
- Static Public Member Functions inherited from Zend_Pdf_Action
static load (Zend_Pdf_Element $dictionary, SplObjectStorage $processedActions=null)
 Load PDF action object using specified dictionary.
 
- Static Public Member Functions inherited from Zend_Pdf_Target
static load (Zend_Pdf_Element $resource)
 Parse resource and return it as an Action or Explicit Destination.
 

Static Protected Member Functions

static _validateUri ($uri)
 Validate URI.
 

Additional Inherited Members

- Public Attributes inherited from Zend_Pdf_Action
 $next = array()
 
- Protected Attributes inherited from Zend_Pdf_Action
 $_actionDictionary
 
 $_originalNextList
 

Constructor & Destructor Documentation

__construct ( Zend_Pdf_Element  $dictionary,
SplObjectStorage  $processedActions 
)

Object constructor.

Parameters
Zend_Pdf_Element_Dictionary$dictionary
SplObjectStorage$processedActionslist of already processed action dictionaries, used to avoid cyclic references
Exceptions
Zend_Pdf_Exception

Member Function Documentation

static _validateUri (   $uri)
staticprotected

Validate URI.

Parameters
string$uri
Returns
true
Exceptions
Zend_Pdf_Exception
static create (   $uri,
  $isMap = false 
)
static

Create new Zend_Pdf_Action_URI object using specified uri.

Parameters
string$uriThe URI to resolve, encoded in 7-bit ASCII
boolean$isMapA flag specifying whether to track the mouse position when the URI is resolved
Returns
Zend_Pdf_Action_URI
getIsMap ( )

Get IsMap property.

If the IsMap flag is true and the user has triggered the URI action by clicking an annotation, the coordinates of the mouse position at the time the action is performed should be transformed from device space to user space and then offset relative to the upper-left corner of the annotation rectangle.

Returns
boolean
getUri ( )

Get URI to resolve.

Returns
string
setIsMap (   $isMap)

Set IsMap property.

If the IsMap flag is true and the user has triggered the URI action by clicking an annotation, the coordinates of the mouse position at the time the action is performed should be transformed from device space to user space and then offset relative to the upper-left corner of the annotation rectangle.

Parameters
boolean$isMapA flag specifying whether to track the mouse position when the URI is resolved
Returns
Zend_Pdf_Action_URI
setUri (   $uri)

Set URI to resolve.

Parameters
string$uriThe uri to resolve, encoded in 7-bit ASCII.
Returns
Zend_Pdf_Action_URI