It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Parser


PHP class for parsing PDF documents.

Extended by Com\Tecnick\Pdf\Parser\Process\XrefStream
Extended by Com\Tecnick\Pdf\Parser\Process\Xref
Extended by Com\Tecnick\Pdf\Parser\Parser
Namespace: Com\Tecnick\Pdf\Parser
Package: PdfParser
Category: Library
Copyright: 2011-2015 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni [email protected]
Since: 2011-05-23
Located at Parser.php
Methods summary
# __construct( array $cfg = array() )

Initialize the PDF parser

# parse( string $data )

Parse a PDF document into an array of objects

protected array
# getIndirectObject( string $obj_ref, integer $offset = 0, boolean $decoding = true )

Get content of indirect object.

protected array
# getRawIndirectObject( string $offset, integer $decoding, boolean $decoding,… )

Get content of indirect object.

protected array
# getObjectVal( string $obj )

Get the content of object, resolving indect object reference if necessary.

protected array
# decodeStream( array $sdic, string $stream )

Decode the specified stream.

protected array
# getDeclaredStreamLength( string & $stream, integer & $slength, array $sdic, integer $key )

Get Filters

protected array
# getFilters( array $filters, array $sdic, integer $key )

Get Filters

protected array
# getDecodedStream( array $filters, string $stream )

Decode the specified stream.

Methods inherited from Com\Tecnick\Pdf\Parser\Process\Xref
decodeXref(), decodeXrefStream(), getTrailerData(), getXrefData(), processDdata()
Methods inherited from Com\Tecnick\Pdf\Parser\Process\XrefStream
minDistance(), pngUnpredictor(), processObjIndexes(), processXrefDecodeParms(), processXrefObjref(), processXrefPrev(), processXrefType(), processXrefTypeFt()
Methods inherited from Com\Tecnick\Pdf\Parser\Process\RawObject
getRawObject(), processAngular(), processBracket(), processDefault(), processDefaultName(), processParenthesis(), processSolidus()
Properties summary
protected string $pdfdata

Raw content of the PDF document.

# ''
protected array $objects

Array of PDF objects.

# array()
private array $cfg

Array of configuration parameters.

# array( 'ignore_filter_errors' => false, )
Properties inherited from Com\Tecnick\Pdf\Parser\Process\Xref
$mrkoff, $xref

? 2004-2019 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy