Pdf/ElementFactory/Proxy.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Version
- $Id$
\Zend_Pdf_ElementFactory_Proxy
Package: Zend_Pdf
Returns
PDF element factory interface.
Responsibility is to log PDF changes
- Implements
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct(\Zend_Pdf_ElementFactory_Interface $factory) : void
Object constructor
Parameters
Name | Type | Description |
---|---|---|
$factory | \Zend_Pdf_ElementFactory_Interface |
attach(\Zend_Pdf_ElementFactory_Interface $factory) : void
Attach factory to the current;
Parameters
Name | Type | Description |
---|---|---|
$factory | \Zend_Pdf_ElementFactory_Interface |
cleanEnumerationShiftCache() : integer
Clean enumeration shift cache.
Has to be used after PDF render operation to let followed updates be correct.
ReturnsType | Description |
---|---|
integer |
getEnumerationShift(\Zend_Pdf_ElementFactory_Interface $factory) : integer
Retrive object enumeration shift.
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$factory | \Zend_Pdf_ElementFactory_Interface |
Type | Description |
---|---|
integer |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
getFactory() : \Zend_Pdf_ElementFactory_Interface
Get factory
Returns
Type | Description |
---|---|
\Zend_Pdf_ElementFactory_Interface |
listModifiedObjects(\Zend_Pdf_ElementFactory $rootFactory = null) : array
Enumerate modified objects.
Returns array of Zend_Pdf_UpdateInfoContainer
ParametersName | Type | Description |
---|---|---|
$rootFactory | \Zend_Pdf_ElementFactory |
Type | Description |
---|---|
array |
markAsModified(\Zend_Pdf_Element_Object $obj) : void
Mark object as modified in context of current factory.
Parameters
Throws
Name | Type | Description |
---|---|---|
$obj | \Zend_Pdf_Element_Object |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
newObject(\Zend_Pdf_Element $objectValue) : \Zend_Pdf_Element_Object
Generate new Zend_Pdf_Element_Object
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$objectValue | \Zend_Pdf_Element |
Type | Description |
---|---|
\Zend_Pdf_Element_Object |
- Todo
- Reusage of the freed object. It's not a support of new feature, but only improvement.
newStreamObject( $streamValue) : \Zend_Pdf_Element_Object_Stream
Generate new Zend_Pdf_Element_Object_Stream
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$streamValue |
Type | Description |
---|---|
\Zend_Pdf_Element_Object_Stream |
- Todo
- Reusage of the freed object. It's not a support of new feature, but only improvement.
remove(\Zend_Pdf_Element_Object $obj) : void
Remove object in context of current factory.
Parameters
Throws
Name | Type | Description |
---|---|---|
$obj | \Zend_Pdf_Element_Object |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
resolve() : \Zend_Pdf_ElementFactory
Get source factory object
Returns
Type | Description |
---|---|
\Zend_Pdf_ElementFactory |