\Smalot\PdfParserDocument

Technical references : - http://www.mactech.com/articles/mactech/Vol.15/15.09/PDFIntro/index.html - http://framework.zend.com/issues/secure/attachment/12512/Pdf.php - http://www.php.net/manual/en/ref.pdf.php#74211 - http://cpansearch.perl.org/src/JV/PostScript-Font-1.10.02/lib/PostScript/ISOLatin1Encoding.pm - http://cpansearch.perl.org/src/JV/PostScript-Font-1.10.02/lib/PostScript/ISOLatin9Encoding.pm - http://cpansearch.perl.org/src/JV/PostScript-Font-1.10.02/lib/PostScript/StandardEncoding.pm - http://cpansearch.perl.org/src/JV/PostScript-Font-1.10.02/lib/PostScript/WinAnsiEncoding.pm

Class Document

Summary

Methods
Properties
Constants
__construct()
init()
getDictionary()
setObjects()
getObjects()
getObjectById()
getObjectsByType()
getFonts()
getPages()
getText()
setTrailer()
getDetails()
No public properties found
No constants found
buildDictionary()
buildDetails()
$objects
$dictionary
$trailer
$details
N/A
No private methods found
No private properties found
N/A

Properties

$objects

$objects : Object[]

Type

Object[]

$dictionary

$dictionary : array

Type

array

$details

$details : array

Type

array

Methods

__construct()

__construct()

init()

init()

getDictionary()

getDictionary() : array

Returns

array

setObjects()

setObjects(Object[] $objects)

Parameters

Object[] $objects

getObjects()

getObjects() : Object[]

Returns

Object[]

getObjectById()

getObjectById(string $id) : Object

Parameters

string $id

Returns

Object

getObjectsByType()

getObjectsByType(string $type, string $subtype) : Object[]

Parameters

string $type
string $subtype

Returns

Object[]

getFonts()

getFonts() : \Object[]

Returns

\Object[]

getPages()

getPages() : \Smalot\PdfParser\Page[]

Throws

\Exception

Returns

\Smalot\PdfParser\Page[]

getText()

getText(\Smalot\PdfParser\Page $page) : string

Parameters

\Smalot\PdfParser\Page $page

Returns

string

getDetails()

getDetails( $deep) : array

Parameters

$deep

Returns

array

buildDictionary()

buildDictionary()

Build dictionary based on type header field.

buildDetails()

buildDetails()

Build details array.