Com\Tecnick\Pdf\Parser\Process\RawObject
Process Raw Objects
Tags
Table of Contents
- getRawObject() : array<string|int, mixed>
- Get object type, raw value and offset to next object
- processAngular() : mixed
- Process \x3C LESS-THAN SIGN and \x3E GREATER-THAN SIGN
- processBracket() : mixed
- Process array content \x5B LEFT SQUARE BRACKET and \x5D RIGHT SQUARE BRACKET
- processDefault() : mixed
- Process default
- processDefaultName() : bool
- Process default
- processParenthesis() : mixed
- Process literal string object \x28 LEFT PARENTHESIS and \x29 RIGHT PARENTHESIS
- processSolidus() : mixed
- Process name object \x2F SOLIDUS
Methods
getRawObject()
Get object type, raw value and offset to next object
protected getRawObject(int $offset)
: array<string|int,
mixed>
Parameters
- $offset : int
-
Object offset.
Return values
array<string|int, mixed> —Array containing object type, raw value and offset to next object
processAngular()
Process \x3C LESS-THAN SIGN and \x3E GREATER-THAN SIGN
protected processAngular(string $char,
int &$offset,
string &$objtype,
string &$objval)
: mixed
Parameters
- $char : string
-
Symbol to process
- $offset : int
-
Offset
- $objtype : string
-
Object type
- $objval : string
-
Object content
Return values
mixed —processBracket()
Process array content \x5B LEFT SQUARE BRACKET and \x5D RIGHT SQUARE BRACKET
protected processBracket(string $char,
int &$offset,
string &$objtype,
string &$objval)
: mixed
Parameters
- $char : string
-
Symbol to process
- $offset : int
-
Offset
- $objtype : string
-
Object type
- $objval : string
-
Object content
Return values
mixed —processDefault()
Process default
protected processDefault(int &$offset,
string &$objtype,
string &$objval)
: mixed
Parameters
- $offset : int
-
Offset
- $objtype : string
-
Object type
- $objval : string
-
Object content
Return values
mixed —processDefaultName()
Process default
protected processDefaultName(int &$offset,
string &$objtype,
string &$objval)
: bool
Parameters
- $offset : int
-
Offset
- $objtype : string
-
Object type
- $objval : string
-
Object content
Return values
bool —True in case of match, flase otherwise
processParenthesis()
Process literal string object \x28 LEFT PARENTHESIS and \x29 RIGHT PARENTHESIS
protected processParenthesis(string $char,
int &$offset,
string &$objtype,
string &$objval)
: mixed
Parameters
- $char : string
-
Symbol to process
- $offset : int
-
Offset
- $objtype : string
-
Object type
- $objval : string
-
Object content
Return values
mixed —processSolidus()
Process name object \x2F SOLIDUS
protected processSolidus(string $char,
int &$offset,
string &$objtype,
string &$objval)
: mixed
Parameters
- $char : string
-
Symbol to process
- $offset : int
-
Offset
- $objtype : string
-
Object type
- $objval : string
-
Object content