SetaPDF_Extractor_Result_Word This class represnts a single word.

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

Class hierarchy

Implements

Summary

Properties

$_baseLineEnd

$_baseLineStart

$_bounds

The bounds of this word.

$_filterId

The filter id of the first text item in

$_orientation

$_userSpaceSpaceWidth

$_word

protected array SetaPDF_Extractor_Result_Word::$_word = array()

The resulting word in a specific encoding.


Methods

__construct()

cleanUp()

public SetaPDF_Extractor_Result_Word::cleanUp (
void
): void

Release memory and cycled references

getBaseLineEnd()

getBaseLineStart()

getBounds()

Get the bounds of this word.

getFilterId()

public SetaPDF_Extractor_Result_Word::getFilterId (
void
): null|string

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

getOrientation()

Get the orientation value of this word.

See

getString()

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

Get the words sting value in a specific encoding.

Parameters
$encoding : string
 

getUserSpaceSpaceWidth()

Get the user space width value of the space sign of the font for this word.

See