Constants

MISSING

MISSING

TYPE

TYPE

OPERATOR

OPERATOR

COMMAND

COMMAND

Properties

$table

$table : array

Type

array

$tableSizes

$tableSizes : array

Type

array

$content

$content : string

Type

string

Methods

init()

init()

getName()

getName() : string

Returns

string

getType()

getType() : string

Returns

string

getDetails()

getDetails(bool $deep) : array

Parameters

bool $deep

Returns

array

translateChar()

translateChar(string $char, bool $use_default) : string

Parameters

string $char
bool $use_default

Returns

string

uchr()

uchr(int $code) : string

Parameters

int $code

Returns

string

loadTranslateTable()

loadTranslateTable() : array

Returns

array

decodeHexadecimal()

decodeHexadecimal(string $hexa, bool $add_braces) : string

Parameters

string $hexa
bool $add_braces

Returns

string

decodeOctal()

decodeOctal(string $text) : string

Parameters

string $text

Returns

string

decodeEntities()

decodeEntities(mixed $text) : string

Parameters

mixed $text

Returns

string

decodeUnicode()

decodeUnicode(string $text) : string

Parameters

string $text

Returns

string

decodeText()

decodeText(array $commands) : string

Parameters

array $commands

Returns

string

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

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

getFontSpaceLimit()

getFontSpaceLimit() : int

Returns

int

decodeContent()

decodeContent(string $text, bool $unicode) : string

Parameters

string $text
bool $unicode

Returns

string