class-Com.Tecnick.Pdf.Parser.Parser

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

Com\Tecnick\Pdf\Parser\Parser

PHP class for parsing PDF documents.

Com\Tecnick\Pdf\Parser\Process\RawObject
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 - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-parser
Located at Parser.php
Methods summary
public
# __construct( array $cfg = array() )

Initialize the PDF parser

public
# 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-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy