SetaPDF_Extractor_Filter_PageFilterInterface The interface for filter instances that requires a page object.

File: /SetaPDF/Extractor/Filter/PageFilterInterface.php

Implemented in

Implements

Summary

Methods

accept()

abstract public boolean|string SetaPDF_Extractor_Filter_FilterInterface::accept ( SetaPDF_Extractor_TextItem $textItem )

The method which is called with the specific text item.

It has to return true or false, whether the item is accepted or not.

Parameters
$textItem : SetaPDF_Extractor_TextItem
 
Return Values

False or true/an identifier string whether the item is accepted or not.

setPage()

abstract public void SetaPDF_Extractor_Filter_PageFilterInterface::setPage ( [ SetaPDF_Core_Document_Page $page = null ] )

Set the current page object for the specific filter.

Parameters
$page : SetaPDF_Core_Document_Page