PHP Class Smalot\PdfParser\Page

Inheritance: extends Smalot\PdfParser\Object
Show file Open project: smalot/pdfparser Class Usage Examples

Protected Properties

Property Type Description
$fonts Smalot\PdfParser\Font[]
$xobjects Smalot\PdfParser\Object[]

Public Methods

Method Description
getFont ( string $id ) : Smalot\PdfParser\Font
getFonts ( ) : Smalot\PdfParser\Font[]
getText ( Page $page = null ) : string
getTextArray ( Page $page = null ) : array
getXObject ( string $id ) : Smalot\PdfParser\Object
getXObjects ( ) : Smalot\PdfParser\Object[] Support for XObject

Method Details

getFont() public method

public getFont ( string $id ) : Smalot\PdfParser\Font
$id string
return Smalot\PdfParser\Font

getFonts() public method

public getFonts ( ) : Smalot\PdfParser\Font[]
return Smalot\PdfParser\Font[]

getText() public method

public getText ( Page $page = null ) : string
$page Page
return string

getTextArray() public method

public getTextArray ( Page $page = null ) : array
$page Page
return array

getXObject() public method

public getXObject ( string $id ) : Smalot\PdfParser\Object
$id string
return Smalot\PdfParser\Object

getXObjects() public method

Support for XObject
public getXObjects ( ) : Smalot\PdfParser\Object[]
return Smalot\PdfParser\Object[]

Property Details

$fonts protected property

protected Font[],Smalot\PdfParser $fonts
return Smalot\PdfParser\Font[]

$xobjects protected property

protected Object[],Smalot\PdfParser $xobjects
return Smalot\PdfParser\Object[]