Zend_Pdf_ResourcePdf file Resource abstraction
Located in /library/Zend/Pdf/Resource.php (line 37)
| Class | Description |
|---|---|
Zend_Pdf_Font
|
Font abstraction. |
Zend_Pdf_Image
|
Image abstraction. |
Zend_Pdf_ElementFactory
$_objectFactory
(line 57)
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).
Zend_Pdf_Element_Object
$_resource
(line 64)
Main resource object
Constructor __construct (line 74)
Object constructor.
If resource is not a Zend_Pdf_Element object, then stream object with specified value is generated.
getResource (line 91)
Get resource.
Used to reference resource in an internal PDF data structures (resource dictionaries)
Documentation generated on Wed, 08 Mar 2006 04:54:23 -0800 by phpDocumentor 1.3.0RC4