API Documentation

Pdf/Annotation.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
subpackage
Annotation
version
$Id: Annotation.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Annotation

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Pdf_Annotation

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
subpackage
Annotation
Properties
$_annotationDictionary
Methods
getResource
setBottom
getBottom
setTop
getTop
setRight
getRight
setLeft
getLeft
getText
setText
__construct
load

Description

Abstract PDF annotation representation class

An annotation associates an object such as a note, sound, or movie with a location on a page of a PDF document, or provides a way to interact with the user by means of the mouse and keyboard.

Properties

$_annotationDictionary

Zend_Pdf_Element_Dictionary|Zend_Pdf_Element_Object|Zend_Pdf_Element_Reference $_annotationDictionary = ''

Annotation dictionary

Details

$_annotationDictionary
Zend_Pdf_Element_Dictionary|Zend_Pdf_Element_Object|Zend_Pdf_Element_Reference
visibility
protected
default
final
false
static
false

Methods

__construct

__construct(  $annotationDictionary ) :

Annotation object constructor

Arguments
$annotationDictionary
Details
visibility
public
final
false
static
false
throws

getBottom

getBottom( ) : float

Get bottom edge of the annotation rectangle.

Output
float
Details
visibility
public
final
false
static
false

getLeft

getLeft( ) : float

Get left edge of the annotation rectangle.

Output
float
Details
visibility
public
final
false
static
false

getResource

getResource( ) : Zend_Pdf_Element

Get annotation dictionary

Details
visibility
public
final
false
static
false
internal

getRight

getRight( ) : float

Get right edge of the annotation rectangle.

Output
float
Details
visibility
public
final
false
static
false

getText

getText( ) : string

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.

Output
string
Details
visibility
public
final
false
static
false

getTop

getTop( ) : float

Get top edge of the annotation rectangle.

Output
float
Details
visibility
public
final
false
static
false

load

load(  $resource ) : Zend_Pdf_Annotation

Load Annotation object from a specified resource

Arguments
$resource
Details
visibility
public
final
false
static
true
internal

setBottom

setBottom( float $bottom ) : Zend_Pdf_Annotation

Set bottom edge of the annotation rectangle.

Arguments
$bottom
float
Details
visibility
public
final
false
static
false

setLeft

setLeft( float $left ) : Zend_Pdf_Annotation

Set left edge of the annotation rectangle.

Arguments
$left
float
Details
visibility
public
final
false
static
false

setRight

setRight( float $right ) : Zend_Pdf_Annotation

Set right edge of the annotation rectangle.

Arguments
$right
float
Details
visibility
public
final
false
static
false

setText

setText( string $text ) : Zend_Pdf_Annotation

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.

Arguments
$text
string
Details
visibility
public
final
false
static
false

setTop

setTop( float $top ) : Zend_Pdf_Annotation

Set top edge of the annotation rectangle.

Arguments
$top
float
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.