SetaPDF_Extractor_Result_WordInterface A interface for word classes

File: /SetaPDF v2/Extractor/Result/WordInterface.php

Implemented in

Implements

Summary

Methods

cleanUp()

abstract public SetaPDF_Extractor_Result_WordInterface::cleanUp (
void
): void

Release memory and cycled references.

getBounds()

Returns the bounds of a specific item.

getDelimiterType()

Get the delimiter type.

getFilterId()

abstract public SetaPDF_Extractor_Result_WordInterface::getFilterId (
void
): null|string

Get the id of the filter instance that accepted this result.

getParts()

abstract public SetaPDF_Extractor_Result_WordInterface::getParts (
void
): self[]

Get all parts of this word.

If the word is not created by several words, this method will return itself.

getString()

abstract public SetaPDF_Extractor_Result_WordInterface::getString (
[ $encoding = 'utf-8' ]
): string

Get the words string value in a specific encoding.

Parameters
$encoding
 

setDelimiterType()

abstract public SetaPDF_Extractor_Result_WordInterface::setDelimiterType (
$delimiterType
): void

Set the delimiter type.

Parameters
$delimiterType