Abstract Class Zend_Pdf_Element

Description

PDF file element implementation

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

Located in /Pdf/Element.php (line 38)


	
			
Direct descendents
Class Description
 class Zend_Pdf_Element_Array PDF file 'array' element implementation
 class Zend_Pdf_Element_Boolean PDF file 'boolean' element implementation
 class Zend_Pdf_Element_Dictionary PDF file 'dictionary' element implementation
 class Zend_Pdf_Element_Name PDF file 'name' element implementation
 class Zend_Pdf_Element_Null PDF file 'null' element implementation
 class Zend_Pdf_Element_Numeric PDF file 'numeric' element implementation
 class Zend_Pdf_Element_Object PDF file 'indirect object' element implementation
 class Zend_Pdf_Element_Reference PDF file 'reference' element implementation
 class Zend_Pdf_Element_Stream PDF file 'stream' element implementation
 class Zend_Pdf_Element_String PDF file 'string' element implementation
Class Constant Summary
Method Summary
 integer getType ()
 string toString ([Zend_Pdf_Factory $factory = null])
 void touch ()
Methods
getParentObject (line 92)

Get top level parent indirect object.

  • access: public
Zend_Pdf_Element_Object getParentObject ()
getType (line 62)

Return type of the element.

See ZPdfPDFConst for possible values

  • abstract:
  • access: public
integer getType ()

Redefined in descendants as:
setParentObject (line 81)

Set top level parent indirect object.

  • access: public
void setParentObject (Zend_Pdf_Element_Object $parent)
toString (line 73)

Convert element to a string, which can be directly written to a PDF file.

$factory parameter defines operation context.

  • abstract:
  • access: public
string toString ([Zend_Pdf_Factory $factory = null])
  • Zend_Pdf_Factory $factory

Redefined in descendants as:
touch (line 104)

Mark object as modified, to include it into new PDF file segment.

We don't automate this action to keep control on PDF update process. All new objects are treated as "modified" automatically.

  • access: public
void touch ()

Redefined in descendants as:
Class Constants
TYPE_ARRAY = 5 (line 44)
TYPE_BOOL = 1 (line 40)
TYPE_DICTIONARY = 6 (line 45)
TYPE_NAME = 4 (line 43)
TYPE_NULL = 11 (line 47)
TYPE_NUMERIC = 2 (line 41)
TYPE_STREAM = 7 (line 46)
TYPE_STRING = 3 (line 42)

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