[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/tcpdf/ -> tcpdf_parser.php (summary)

(no description)

Author: Nicola Asuni
Version: 1.0.000
File Size: 501 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TCPDF_PARSER:: (8 methods):
  __construct()
  getParsedData()
  getXrefData()
  getRawObject()
  getIndirectObject()
  getObjectVal()
  decodeStream()
  Error()


Class: TCPDF_PARSER  - X-Ref


__construct($data)   X-Ref
Parse a PDF document an return an array of objects.

param: $data (string) PDF data to parse.

getParsedData()   X-Ref
Return an array of parsed PDF document objects.

return: (array) Array of parsed PDF document objects.

getXrefData($offset=0, $xref=array()   X-Ref
Get xref (cross-reference table) and trailer data from PDF document data.

param: $offset (int) xref offset (if know).
param: $xref (array) previous xref array (if any).
return: Array containing xref and trailer data.

getRawObject($offset=0)   X-Ref
Get object type, raw value and offset to next object

param: $offset (int) Object offset.
return: array containing object type, raw value and offset to next object

getIndirectObject($obj_ref, $offset=0, $decoding=true)   X-Ref
Get content of indirect object.

param: $obj_ref (string) Object number and generation number separated by underscore character.
param: $offset (int) Object offset.
param: $decoding (boolean) If true decode streams.
return: array containing object data.

getObjectVal($obj)   X-Ref
Get the content of object, resolving indect object reference if necessary.

param: $obj (string) Object value.
return: array containing object data.

decodeStream($sdic, $stream)   X-Ref
Decode the specified stream.

param: $sdic (array) Stream's dictionary array.
param: $stream (string) Stream to decode.
return: array containing decoded stream data and remaining filters.

Error($msg)   X-Ref
This method is automatically called in case of fatal error; it simply outputs the message and halts the execution.

param: $msg (string) The error message



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1