A link annotation represents either a hypertext link to a destination elsewhere in the document or an action to be performed.
Only destinations are used now since only GoTo action can be created by user in current implementation.
package | Zend_Pdf |
---|---|
subpackage | Annotation |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Pdf_Annotation |
__construct(\Zend_Pdf_Element $annotationDictionary)
inherited_from | \Zend_Pdf_Annotation::__construct() |
---|
\Zend_Pdf_Exception |
---|
__construct(\Zend_Pdf_Element $annotationDictionary)
\Zend_Pdf_Exception |
---|
create(float $x1, float $y1, float $x2, float $y2, \Zend_Pdf_Target|string $target) : \Zend_Pdf_Annotation_Link
float
float
float
float
\Zend_Pdf_Target
string
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Annotation_Link
getBottom() : float
float
getDestination() : \Zend_Pdf_Target | null
\Zend_Pdf_Target
null
getLeft() : float
float
getRight() : float
float
getText() : string
string
getTop() : float
float
setBottom(float $bottom) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
setDestination(\Zend_Pdf_Target|string $target) : \Zend_Pdf_Annotation_Link
\Zend_Pdf_Target
string
\Zend_Pdf_Annotation_Link
setLeft(float $left) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
setRight(float $right) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
setText(string $text) : \Zend_Pdf_Annotation
string
\Zend_Pdf_Annotation
setTop(float $top) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
$_annotationDictionary : \Zend_Pdf_Element_Dictionary | \Zend_Pdf_Element_Object | \Zend_Pdf_Element_Reference