API Documentation

Pdf/ElementFactory/Proxy.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
version
$Id: Proxy.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_ElementFactory_Proxy

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_ElementFactory_Proxy

Implements
Zend_Pdf_ElementFactory_Interface
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
Properties
$_factory
Methods
__construct
__destruct
close
resolve
getId
setObjectCount
getObjectCount
attach
calculateShift
cleanEnumerationShiftCache
getEnumerationShift
markAsModified
remove
newObject
newStreamObject
listModifiedObjects
isModified

Description

PDF element factory interface.

Responsibility is to log PDF changes

Properties

$_factory

Zend_Pdf_ElementFactory_Interface $_factory = ''

Factory object

Details

$_factory
Zend_Pdf_ElementFactory_Interface
visibility
private
default
final
false
static
false

Methods

__construct

__construct( Zend_Pdf_ElementFactory_Interface $factory ) :

Object constructor

Arguments
$factory
Zend_Pdf_ElementFactory_Interface
Details
visibility
public
final
false
static
false

__destruct

__destruct( ) :
Details
visibility
public
final
false
static
false

attach

attach( Zend_Pdf_ElementFactory_Interface $factory ) :

Attach factory to the current;

Arguments
$factory
Zend_Pdf_ElementFactory_Interface
Details
visibility
public
final
false
static
false

calculateShift

calculateShift( Zend_Pdf_ElementFactory_Interface $factory ) : integer

Calculate object enumeration shift.

Arguments
$factory
Zend_Pdf_ElementFactory_Interface
Output
integer
Details
visibility
public
final
false
static
false
internal

cleanEnumerationShiftCache

cleanEnumerationShiftCache( ) : integer

Clean enumeration shift cache.

Has to be used after PDF render operation to let followed updates be correct.

Output
integer
Details
visibility
public
final
false
static
false

close

close( ) :

Close factory and clean-up resources

Details
visibility
public
final
false
static
false
internal

getEnumerationShift

getEnumerationShift( Zend_Pdf_ElementFactory_Interface $factory ) : integer

Retrive object enumeration shift.

Arguments
$factory
Zend_Pdf_ElementFactory_Interface
Output
integer
Details
visibility
public
final
false
static
false
throws

getId

getId( ) : integer

Get factory ID

Output
integer
Details
visibility
public
final
false
static
false

getObjectCount

getObjectCount( ) : integer

Get object counter

Output
integer
Details
visibility
public
final
false
static
false

isModified

isModified( ) : boolean

Check if PDF file was modified

Output
boolean
Details
visibility
public
final
false
static
false

listModifiedObjects

listModifiedObjects( Zend_Pdf_ElementFactory $rootFactory = null ) : array

Enumerate modified objects.

Returns array of Zend_Pdf_UpdateInfoContainer

Arguments
$rootFactory
Zend_Pdf_ElementFactory
Output
array
Details
visibility
public
final
false
static
false

markAsModified

markAsModified( Zend_Pdf_Element_Object $obj ) :

Mark object as modified in context of current factory.

Arguments
$obj
Zend_Pdf_Element_Object
Details
visibility
public
final
false
static
false
throws

newObject

newObject( Zend_Pdf_Element $objectValue ) : Zend_Pdf_Element_Object

Generate new Zend_Pdf_Element_Object

Arguments
$objectValue
Zend_Pdf_Element
Details
visibility
public
final
false
static
false
todo
Reusage of the freed object. It's not a support of new feature, but only improvement.

newStreamObject

newStreamObject(  $streamValue ) : Zend_Pdf_Element_Object_Stream

Generate new Zend_Pdf_Element_Object_Stream

Arguments
$streamValue
Details
visibility
public
final
false
static
false
todo
Reusage of the freed object. It's not a support of new feature, but only improvement.

remove

remove( Zend_Pdf_Element_Object $obj ) :

Remove object in context of current factory.

Arguments
$obj
Zend_Pdf_Element_Object
Details
visibility
public
final
false
static
false
throws

resolve

resolve( ) : Zend_Pdf_ElementFactory

Get source factory object

Details
visibility
public
final
false
static
false

setObjectCount

setObjectCount( integer $objCount ) :

Set object counter

Arguments
$objCount
integer
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.