Class Zend_Pdf_ElementFactory

Description

PDF element factory.

Responsibility is to log PDF changes

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

Located in /Pdf/ElementFactory.php (line 68)


	
			
Method Summary
 Zend_Pdf_ElementFactory __construct (integer $objCount)
 void attach (Zend_Pdf_ElementFactory $factory)
 integer getId ()
 integer getObjectCount ()
 boolean isModified ()
 array listModifiedObjects ([Zend_Pdf_ElementFactory $rootFactory = null])
 Zend_Pdf_Element_Object_Stream newStreamObject ( $streamValue, mixed $objectValue)
 void setObjectCount (integer $objCount)
Methods
Constructor __construct (line 134)

Object constructor

  • access: public
Zend_Pdf_ElementFactory __construct (integer $objCount)
  • integer $objCount
attach (line 185)

Attach factory to the current;

  • access: public
void attach (Zend_Pdf_ElementFactory $factory)
getEnumerationShift (line 242)

Retrive object enumeration shift.

  • throws: Zend_Pdf_Exception
  • access: public
integer getEnumerationShift (Zend_Pdf_ElementFactory $factory)
getId (line 148)

Get factory ID

  • access: public
integer getId ()
getObjectCount (line 168)

Get object counter

  • access: public
integer getObjectCount ()
isModified (line 360)

Check if PDF file was modified

  • access: public
boolean isModified ()
listModifiedObjects (line 322)

Enumerate modified objects.

Returns array of Zend_Pdf_UpdateInfoContainer

  • access: public
array listModifiedObjects ([Zend_Pdf_ElementFactory $rootFactory = null])
markAsModified (line 257)

Mark object as modified in context of current factory.

  • throws: Zend_Pdf_Exception
  • access: public
void markAsModified (Zend_Pdf_Element_Object $obj)
newObject (line 292)

Generate new Zend_Pdf_Element_Object

  • todo: Reusage of the freed object. It's not a support of new feature, but only improvement.
  • access: public
Zend_Pdf_Element_Object newObject (Zend_Pdf_Element $objectValue)
newStreamObject (line 307)

Generate new Zend_Pdf_Element_Object_Stream

  • todo: Reusage of the freed object. It's not a support of new feature, but only improvement.
  • access: public
Zend_Pdf_Element_Object_Stream newStreamObject ( $streamValue, mixed $objectValue)
  • mixed $objectValue
  • $streamValue
remove (line 273)

Remove object in context of current factory.

  • throws: Zend_Pdf_Exception
  • access: public
void remove (Zend_Pdf_Element_Object $obj)
setObjectCount (line 158)

Set object counter

  • access: public
void setObjectCount (integer $objCount)
  • integer $objCount

Documentation generated on Sun, 27 May 2007 23:22:53 -0700 by phpDocumentor 1.3.2