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
Zend_Pdf_ElementFactory_Interface $_factory = ''Factory object
Details__construct(
Zend_Pdf_ElementFactory_Interface $factory
)
:
Object constructor
Details__destruct(
)
:
Detailsattach(
Zend_Pdf_ElementFactory_Interface $factory
)
:
Attach factory to the current;
DetailscalculateShift(
Zend_Pdf_ElementFactory_Interface $factory
)
:
integerCalculate object enumeration shift.
DetailscleanEnumerationShiftCache(
)
:
integerClean enumeration shift cache.
Has to be used after PDF render operation to let followed updates be correct.
Detailsclose(
)
:
Close factory and clean-up resources
DetailsgetEnumerationShift(
Zend_Pdf_ElementFactory_Interface $factory
)
:
integerRetrive object enumeration shift.
DetailsgetId(
)
:
integerGet factory ID
DetailsgetObjectCount(
)
:
integerGet object counter
DetailsisModified(
)
:
booleanCheck if PDF file was modified
DetailslistModifiedObjects(
Zend_Pdf_ElementFactory $rootFactory
=
null
)
:
arrayEnumerate modified objects.
Returns array of Zend_Pdf_UpdateInfoContainer
DetailsmarkAsModified(
Zend_Pdf_Element_Object $obj
)
:
Mark object as modified in context of current factory.
DetailsnewObject(
Zend_Pdf_Element $objectValue
)
:
Zend_Pdf_Element_ObjectGenerate new Zend_Pdf_Element_Object
DetailsnewStreamObject(
$streamValue
)
:
Zend_Pdf_Element_Object_StreamGenerate new Zend_Pdf_Element_Object_Stream
Detailsremove(
Zend_Pdf_Element_Object $obj
)
:
Remove object in context of current factory.
Detailsresolve(
)
:
Zend_Pdf_ElementFactoryGet source factory object
DetailssetObjectCount(
integer $objCount
)
:
Set object counter
Details