\Smalot\PdfParserEncoding

Class Encoding

Summary

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

Constants

TYPE

TYPE

OPERATOR

OPERATOR

COMMAND

COMMAND

Properties

$encoding

$encoding : array

Type

array

$differences

$differences : array

Type

array

$mapping

$mapping : array

Type

array

$content

$content : string

Type

string

Methods

init()

init()

getDetails()

getDetails(bool $deep) : array

Parameters

bool $deep

Returns

array

translateChar()

translateChar( $dec) : int

Parameters

$dec

Returns

int

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