Abstract Class Zend_Pdf_Element

Description

PDF file element implementation

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

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


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

Convert PHP value into PDF element.

  • access: public
static Zend_Pdf_Element phpToPdf (mixed $input)
  • mixed $input
cleanUp (line 106)

Clean up resources, used by object

  • access: public
void cleanUp ()

Redefined in descendants as:
getParentObject (line 84)

Get top level parent indirect object.

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

Return type of the element.

See ZPdfPDFConst for possible values

  • abstract:
  • access: public
integer getType ()

Redefined in descendants as:
setParentObject (line 73)

Set top level parent indirect object.

  • access: public
void setParentObject (Zend_Pdf_Element_Object $parent)
toPhp (line 116)

Convert PDF element to PHP type.

  • access: public
mixed toPhp ()

Redefined in descendants as:
toString (line 65)

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 96)

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 36)
TYPE_BOOL = 1 (line 32)
TYPE_DICTIONARY = 6 (line 37)
TYPE_NAME = 4 (line 35)
TYPE_NULL = 11 (line 39)
TYPE_NUMERIC = 2 (line 33)
TYPE_STREAM = 7 (line 38)
TYPE_STRING = 3 (line 34)

Documentation generated on Mon, 21 Jun 2010 15:18:50 -0400 by phpDocumentor 1.4.3