SetaPDF_Extractor The main class of the SetaPDF-Extractor Component

File: /SetaPDF v2/Extractor.php

Class hierarchy

Summary

Constants

VERSION

const string SetaPDF_Extractor::VERSION = '2.26.0.1122'

The version


Properties

$_document

protected SetaPDF_Core_Document SetaPDF_Extractor::$_document

The document instance

$_strategy

protected SetaPDF_Extractor_Strategy_AbstractStrategy SetaPDF_Extractor::$_strategy

The extraction strategy


Methods

__construct()

The constructor.

Parameters
$document : SetaPDF_Core_Document
 
$strategy : SetaPDF_Extractor_Strategy_AbstractStrategy|null
 

cleanUp()

public SetaPDF_Extractor::cleanUp (
void
): void

Release cycled references.

getResultByPageNumber()

Get the result by the default or individual strategy of a specific page.

Parameters
$pageNumber : integer
 
$boundaryBox : string

If set the page boundary is used to limit the result to the rectangle of the given boundary. See SetaPDF_Core_PageBoundaries::XXX_BOX constants for possible values.

See

setStrategy()

Set the extraction strategy.

Parameters
$strategy : SetaPDF_Extractor_Strategy_AbstractStrategy