Zend_PdfGeneral entity which describes PDF document.
It implements document abstraction with a document level operations.
Class is used to create new PDF document or load existing document. See details in a class constructor description
Class agregates document level properties and entities (pages, bookmarks, document level actions, attachments, form object, etc)
Located in /Zend/Pdf.php (line 89)
array
$pages
= array() (line 100)
Pages collection
string
$_javaScript
= null (line 114)
Document level javascript
array
$_namedActions
= array() (line 123)
Document named actions "GoTo..." actions, used to refer document parts from outside PDF
Zend_Pdf_ElementFactory
$_objFactory
= null (line 139)
PDF objects factory.
array
$_properties
= array() (line 107)
Document properties
Zend_Pdf_Trailer
$_trailer
= null (line 131)
Pdf trailer (last or just created)
Constructor __construct (line 209)
Creates or loads PDF document.
If $source is null, then it creates a new document.
If $source is a string and $load is false, then it loads document from a binary string.
If $source is a string and $load is true, then it loads document from a file. $revision used to roll back document to specified version (0 - currtent version, 1 - previous version, 2 - ...)
getJavaScript (line 435)
Return the document-level JavaScript or null if there is no JavaScript for this document
getNamedActions (line 448)
Return an associative array containing all the named actions in the PDF.
Named actions (it's always "GoTo" actions) can be used to reference from outside the PDF, ex: 'http://www.something.com/mydocument.pdf#MyAction'
load (line 161)
Load PDF document from a file
newPage (line 401)
Create page object, attached to the PDF document.
Method signatures:
2. Create new page with a specified pagesize (in default user space units). If $factory is null then it will be created and page must be attached to the document to be included into output. --------------------------------------------------------- new Zend_Pdf_Page(numeric $width, numeric $height); ---------------------------------------------------------
parse (line 149)
Create new PDF document from a $source string
properties (line 423)
Return return the an associative array with PDF meta information, values may be string, boolean or float.
Returned array could be used directly to access, add, modify or remove document properties.
Standard document properties: Title (must be set for PDF/X documents), Author, Subject, Keywords (comma separated list), Creator (the name of the application, that created document, if it was converted from other format), Trapped (must be true, false or null, can not be null for PDF/X documents)
render (line 461)
Render the completed PDF to a string.
If $newSegmentOnly is true, then only appended part of PDF is returned.
revisions (line 263)
Retrive number of revisions.
rollback (line 283)
Rollback document $steps number of revisions.
This method must be invoked before any changes, applied to the document. Otherwise behavior is undefined.
save (line 175)
Render PDF document and save it.
If $updateOnly is true, then it only appends new section to the end of file.
setJavaScript (line 554)
Set the document-level JavaScript
_dumpPages (line 358)
Orginize pages to tha pages tree structure.
_loadPages (line 307)
Load pages recursively
Documentation generated on Tue, 18 Apr 2006 11:55:26 -0700 by phpDocumentor 1.3.0RC3