Abstract Class Zend_Pdf_Resource

Description

PDF file Resource abstraction

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

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


	
			
Direct descendents
Class Description
Abstract class Zend_Pdf_Resource_Font Abstract class which manages PDF fonts.
Abstract class Zend_Pdf_Resource_Image Image abstraction.
Variable Summary
Method Summary
 Zend_Pdf_Resource __construct (Zend_Pdf_Element|string $resource)
Variables
Zend_Pdf_ElementFactory $_objectFactory (line 58)

Each Pdf resource (fonts, images, ...) interacts with a PDF itself.

It creates appropriate PDF objects, structures and sometime embedded files. Resources are referenced in content streams by names, which are stored in a page resource dictionaries.

Thus, resources must be attached to the PDF.

Resource abstraction uses own PDF object factory to store all necessary information. At the render time internal object factory is appended to the global PDF file factory.

Resource abstraction also cashes information about rendered PDF files and doesn't duplicate resource description each time then Resource is rendered (referenced).

  • access: protected
Zend_Pdf_Element_Object $_resource (line 65)

Main resource object

  • access: protected
Methods
Constructor __construct (line 75)

Object constructor.

If resource is not a Zend_Pdf_Element object, then stream object with specified value is generated.

  • access: public
Zend_Pdf_Resource __construct (Zend_Pdf_Element|string $resource)

Redefined in descendants as:
getResource (line 92)

Get resource.

Used to reference resource in an internal PDF data structures (resource dictionaries)

  • access: public
Zend_Pdf_Element_Object getResource ()

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