\Smalot\PdfParserPages

Class Pages

Summary

Methods
Properties
Constants
getPages()
__construct()
init()
getHeader()
get()
has()
getDetails()
getContent()
cleanContent()
getSectionsText()
getText()
getCommandsText()
factory()
No public properties found
TYPE
OPERATOR
COMMAND
No protected methods found
$document
$header
$content
N/A
No private methods found
No private properties found
N/A

Constants

TYPE

TYPE

OPERATOR

OPERATOR

COMMAND

COMMAND

Properties

$content

$content : string

Type

string

Methods

getPages()

getPages(bool $deep) : array

Parameters

bool $deep

Returns

array

init()

init()

get()

get(string $name) : \Smalot\PdfParser\Element|Object

Parameters

string $name

Returns

\Smalot\PdfParser\Element|Object

has()

has(mixed $name) : bool

Parameters

mixed $name

Returns

bool

getDetails()

getDetails(bool $deep) : array

Parameters

bool $deep

Returns

array

getContent()

getContent() : null|string

Returns

null|string

cleanContent()

cleanContent(mixed $content,  $char)

Parameters

mixed $content
$char

getSectionsText()

getSectionsText(mixed $content) : array

Parameters

mixed $content

Returns

array

getText()

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

Parameters

\Smalot\PdfParser\Page $page

Throws

\Exception

Returns

string

getCommandsText()

getCommandsText(string $text_part, int $offset) : array

Parameters

string $text_part
int $offset

Returns

array

factory()

factory(\Smalot\PdfParser\Document $document, \Smalot\PdfParser\Header $header, mixed $content) : Object

Parameters

\Smalot\PdfParser\Document $document

Document

\Smalot\PdfParser\Header $header

Header

mixed $content

string

Returns

Object