## Zend_Pdf_ElementFactory

Description

PDF element factory.

Responsibility is to log PDF changes

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Pdf/ElementFactory.php (line 71)

Method Summary
Zend_Pdf_ElementFactory __construct (integer $objCount)
void attach (Zend_Pdf_ElementFactory $factory)
integer getEnumerationShift (Zend_Pdf_ElementFactory $factory)
integer getId ()
integer getObjectCount ()
boolean isModified ()
array listModifiedObjects ([Zend_Pdf_ElementFactory $rootFactory = null])
void markAsModified (Zend_Pdf_Element_Object $obj)
Zend_Pdf_Element_Object newObject (Zend_Pdf_Element $objectValue)
Zend_Pdf_Element_Object_Stream newStreamObject ( $streamValue, mixed $objectValue)
void remove (Zend_Pdf_Element_Object $obj)
void setObjectCount (integer $objCount)
Methods
Constructor __construct (line 137)

Object constructor

- access: public

Zend_Pdf_ElementFactory __construct (integer $objCount)

- integer $objCount

attach (line 188)

Attach factory to the current;

- access: public

void attach (Zend_Pdf_ElementFactory $factory)

- Zend_Pdf_ElementFactory $factory

getEnumerationShift (line 245)

Retrive object enumeration shift.

- access: public
- throws: Zend_Pdf_Exception

integer getEnumerationShift (Zend_Pdf_ElementFactory $factory)

- Zend_Pdf_ElementFactory $factory

getId (line 151)

Get factory ID

- access: public

integer getId ()
getObjectCount (line 171)

Get object counter

- access: public

integer getObjectCount ()
isModified (line 363)

Check if PDF file was modified

- access: public

boolean isModified ()
listModifiedObjects (line 325)

Enumerate modified objects.

Returns array of Zend_Pdf_UpdateInfoContainer

- access: public

array listModifiedObjects ([Zend_Pdf_ElementFactory $rootFactory = null])

- Zend_Pdf_ElementFactory $rootFactory

markAsModified (line 260)

Mark object as modified in context of current factory.

- access: public
- throws: Zend_Pdf_Exception

void markAsModified (Zend_Pdf_Element_Object $obj)

- Zend_Pdf_Element_Object $obj

newObject (line 295)

Generate new Zend_Pdf_Element_Object

- access: public
- todo: Reusage of the freed object. It's not a support of new feature, but only improvement.

Zend_Pdf_Element_Object newObject (Zend_Pdf_Element $objectValue)

- Zend_Pdf_Element $objectValue

newStreamObject (line 310)

Generate new Zend_Pdf_Element_Object_Stream

- access: public
- todo: Reusage of the freed object. It's not a support of new feature, but only improvement.

Zend_Pdf_Element_Object_Stream newStreamObject ( $streamValue, mixed $objectValue)

- mixed $objectValue
- $streamValue

remove (line 276)

Remove object in context of current factory.

- access: public
- throws: Zend_Pdf_Exception

void remove (Zend_Pdf_Element_Object $obj)

- Zend_Pdf_Element_Object $obj

setObjectCount (line 161)

Set object counter

- access: public

void setObjectCount (integer $objCount)

- integer $objCount

Documentation generated on Tue, 11 Jul 2006 12:16:58 -0500 by phpDocumentor 1.3.0RC6