PDF file Resource abstraction
Located in /Pdf/Resource.php (line 38)
Class | Description |
---|---|
![]() |
Abstract class which manages PDF fonts. |
![]() |
Image abstraction. |
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).
Main resource object
Object constructor.
If resource is not a Zend_Pdf_Element object, then stream object with specified value is generated.
Get resource.
Used to reference resource in an internal PDF data structures (resource dictionaries)
Documentation generated on Sun, 27 May 2007 23:27:10 -0700 by phpDocumentor 1.3.2