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.
PDF element factory interface.
Responsibility is to log PDF changes
attach(
Zend_Pdf_ElementFactory_Interface $factory
)
:
Attach factory to the current;
calculateShift(
Zend_Pdf_ElementFactory_Interface $factory
)
:
integer
Calculate object enumeration shift.
cleanEnumerationShiftCache(
)
:
integer
Clean enumeration shift cache.
Has to be used after PDF render operation to let followed updates be correct.
close(
)
:
Close factory and clean-up resources
getEnumerationShift(
Zend_Pdf_ElementFactory_Interface $factory
)
:
integer
Retrive object enumeration shift.
getId(
)
:
integer
Get factory ID
getObjectCount(
)
:
integer
Get object counter
isModified(
)
:
boolean
Check if PDF file was modified
listModifiedObjects(
Zend_Pdf_ElementFactory $rootFactory
=
null
)
:
array
Enumerate modified objects.
Returns array of Zend_Pdf_UpdateInfoContainer
markAsModified(
Zend_Pdf_Element_Object $obj
)
:
Mark object as modified in context of current factory.
newObject(
Zend_Pdf_Element $objectValue
)
:
Zend_Pdf_Element_Object
Generate new Zend_Pdf_Element_Object
newStreamObject(
$streamValue
)
:
Zend_Pdf_Element_Object_Stream
Generate new Zend_Pdf_Element_Object_Stream
remove(
Zend_Pdf_Element_Object $obj
)
:
Remove object in context of current factory.
resolve(
)
:
Zend_Pdf_ElementFactory
Get source factory object
setObjectCount(
integer $objCount
)
:
Set object counter