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

Public Member Functions

 getResource ()
 Get annotation dictionary.
 
 setBottom ($bottom)
 Set bottom edge of the annotation rectangle.
 
 getBottom ()
 Get bottom edge of the annotation rectangle.
 
 setTop ($top)
 Set top edge of the annotation rectangle.
 
 getTop ()
 Get top edge of the annotation rectangle.
 
 setRight ($right)
 Set right edge of the annotation rectangle.
 
 getRight ()
 Get right edge of the annotation rectangle.
 
 setLeft ($left)
 Set left edge of the annotation rectangle.
 
 getLeft ()
 Get left edge of the annotation rectangle.
 
 getText ()
 Return text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
 
 setText ($text)
 Set text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
 
 __construct (Zend_Pdf_Element $annotationDictionary)
 Annotation object constructor.
 

Static Public Member Functions

static load (Zend_Pdf_Element $resource)
 Load Annotation object from a specified resource.
 

Protected Attributes

 $_annotationDictionary
 

Constructor & Destructor Documentation

__construct ( Zend_Pdf_Element  $annotationDictionary)

Annotation object constructor.

Exceptions
Zend_Pdf_Exception

Member Function Documentation

getBottom ( )

Get bottom edge of the annotation rectangle.

Returns
float
getLeft ( )

Get left edge of the annotation rectangle.

Returns
float
getResource ( )

Get annotation dictionary.

getRight ( )

Get right edge of the annotation rectangle.

Returns
float
getText ( )

Return text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.

Returns
string
getTop ( )

Get top edge of the annotation rectangle.

Returns
float
static load ( Zend_Pdf_Element  $resource)
static

Load Annotation object from a specified resource.

Todo:
implementation
setBottom (   $bottom)

Set bottom edge of the annotation rectangle.

Parameters
float$bottom
Returns
Zend_Pdf_Annotation
setLeft (   $left)

Set left edge of the annotation rectangle.

Parameters
float$left
Returns
Zend_Pdf_Annotation
setRight (   $right)

Set right edge of the annotation rectangle.

Parameters
float$right
Returns
Zend_Pdf_Annotation
setText (   $text)

Set text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.

Parameters
string$text
Returns
Zend_Pdf_Annotation
setTop (   $top)

Set top edge of the annotation rectangle.

Parameters
float$top
Returns
Zend_Pdf_Annotation

Member Data Documentation

$_annotationDictionary
protected