SetaPDF_Extractor The main class of the SetaPDF-Extractor Component

File: /SetaPDF v2/Extractor.php

Class hierarchy

Summary

Constants

VERSION

public const string SetaPDF_Extractor::VERSION = '2.41.0.1834'

The version


Properties

$_document

The document instance

$_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.

Exceptions

Throws SetaPDF_Core_Exception

See

setStrategy()

Set the extraction strategy.

Parameters
$strategy : SetaPDF_Extractor_Strategy_AbstractStrategy