SetaPDF_Extractor_Result_WordWithGlyphs This class represnts a single word including its glyphs.

File: /SetaPDF/Extractor/Result/WordWithGlyphs.php

Class hierarchy

Implements

Summary

Properties

$_word

The resulting word in a specific encoding.


Methods

__construct()

public SetaPDF_Extractor_Result_WordWithGlyphs::__construct ( SetaPDF_Extractor_Result_Glyph[] $glyphs )

The constructor.

Parameters
$glyphs : SetaPDF_Extractor_Result_Glyph[]
 

__toString()

public string SetaPDF_Extractor_Result_WordWithGlyphs::__toString ( void )

Implementation of the magic method __toString().

See

cleanUp()

public void SetaPDF_Extractor_Result_WordWithGlyphs::cleanUp ( void )

Release memory and cycled references

getBaseLineEnd()

public SetaPDF_Core_Geometry_Vector SetaPDF_Extractor_Result_WordWithGlyphs::getBaseLineEnd ( void )

Returns the base line end vector of this word.

See

getBaseLineStart()

public SetaPDF_Core_Geometry_Vector SetaPDF_Extractor_Result_WordWithGlyphs::getBaseLineStart ( void )

Returns the base line start vector of this word.

See

getBounds()

public SetaPDF_Extractor_Result_Bounds[] SetaPDF_Extractor_Result_WordWithGlyphs::getBounds ( void )

Get the bounds of this word.

getFilterId()

public null|string SetaPDF_Extractor_Result_WordWithGlyphs::getFilterId ( void )

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

getGlyphs()

public SetaPDF_Extractor_Result_Glyph[] SetaPDF_Extractor_Result_WordWithGlyphs::getGlyphs ( void )

Get the glyphs of this word.

getOrientation()

public float SetaPDF_Extractor_Result_WordWithGlyphs::getOrientation ( void )

Get the orientation value of this word.

See

getString()

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

Get the words sting value in a specific encoding.

Parameters
$encoding : string
 

getUserSpaceSpaceWidth()

public float SetaPDF_Extractor_Result_WordWithGlyphs::getUserSpaceSpaceWidth ( void )

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

See