Zend Framework  1.12
Public Member Functions | List of all members
Zend_Pdf_Parser Class Reference

Public Member Functions

 getPDFLength ()
 Get length of source PDF.
 
 getPDFString ()
 Get PDF String.
 
 getPDFVersion ()
 PDF version specified in the file header.
 
 getTrailer ()
 Get Trailer object.
 
 __construct ($source, Zend_Pdf_ElementFactory_Interface $factory, $load)
 Object constructor.
 
 __destruct ()
 Object destructor.
 

Constructor & Destructor Documentation

__construct (   $source,
Zend_Pdf_ElementFactory_Interface  $factory,
  $load 
)

Object constructor.

Note: PHP duplicates string, which is sent by value, only of it's updated. Thus we don't need to care about overhead

Parameters
mixed$source
Zend_Pdf_ElementFactory_Interface$factory
boolean$load
Exceptions
Zend_Exception
Todo:
To support PDF versions 1.5 (Acrobat 6) and PDF version 1.7 (Acrobat 7) Stream compression filter must be implemented (for compressed object streams). Cross reference streams must be implemented

Go to end of cross-reference table offset

Go to the start of cross-reference table offset

Go to the end of 'startxref' keyword

Go to the white space (eol marker) before 'startxref' keyword

__destruct ( )

Object destructor.

Member Function Documentation

getPDFLength ( )

Get length of source PDF.

Returns
integer
getPDFString ( )

Get PDF String.

Returns
string
getPDFVersion ( )

PDF version specified in the file header.

Returns
string
getTrailer ( )

Get Trailer object.

Returns
Zend_Pdf_Trailer_Keeper