SetaPDF_Extractor_Result_Glyph This class represnts a single glyph.

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

Class hierarchy

Implements

Summary

Properties

$_textItem


Methods

__construct()

public SetaPDF_Extractor_Result_Glyph::__construct ( SetaPDF_Extractor_TextItem $textItem )

The constructor.

Parameters
$textItem : SetaPDF_Extractor_TextItem
 

__toString()

public string SetaPDF_Extractor_Result_Glyph::__toString ( void )

Implementation of the magic method __toString().

See

cleanUp()

public void SetaPDF_Extractor_Result_Glyph::cleanUp ( void )

Release memory and cycled references

getBaseLineEnd()

public SetaPDF_Core_Geometry_Vector SetaPDF_Extractor_Result_Glyph::getBaseLineEnd ( void )

Returns the base line end vector of this glyph.

See

getBaseLineStart()

public SetaPDF_Core_Geometry_Vector SetaPDF_Extractor_Result_Glyph::getBaseLineStart ( void )

Returns the base line start vector of this glyph.

See

getBounds()

public SetaPDF_Extractor_Result_Bounds[] SetaPDF_Extractor_Result_Glyph::getBounds ( void )

Gets the bounds of this glyph.

getFilterId()

public null|string SetaPDF_Extractor_Result_Glyph::getFilterId ( void )

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

getOrientation()

public float SetaPDF_Extractor_Result_Glyph::getOrientation ( void )

Get the orientation value of this glyph.

See

getString()

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

Get the string value of the glyph.

Parameters
$encoding : string
 

getTextItem()

public SetaPDF_Extractor_TextItem SetaPDF_Extractor_Result_Glyph::getTextItem ( void )

Get the text item of this glyph.

getUserSpaceSpaceWidth()

public float SetaPDF_Extractor_Result_Glyph::getUserSpaceSpaceWidth ( void )

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

See