SetaPDF_Extractor_TextItem A text item.
File: /SetaPDF v2/Extractor/TextItem.php
Class hierarchy
Implements
Summary
Methods
- __construct()
- cleanUp()
- getBaseLineEnd()
- getBaseLineStart()
- getBounds()
- getCharacterSpacing()
- getEndMatrix()
- getFilterId()
- getFont()
- getFontSize()
- getLl()
- getLr()
- getNo()
- getOrientation()
- getRawString()
- getScaling()
- getStartMatrix()
- getString()
- getUl()
- getUr()
- getUserSpaceSpaceWidth()
- getWordSpacing()
- setFilterId()
Properties
$_characterSpacing
The character spacing value.
$_filterId
The filter id which accepted this item.
$_font
The font object used by this text item.
$_fontSize
The font size.
$_no
An item identifier.
$_orientation
The orientation of this text item.
$_scaling
The scaling value.
$_spaceWidth
The space width of the font used by this text item.
$_ul
The upper left point/vector of this text item.
$_wordSpacing
The word spacing value.
Methods
__construct()
The constructor.
Parameters
- $rawString : string
- $font : SetaPDF_Core_Font
- $fontSize : float
- $characterSpacing : float
- $wordSpacing : float
- $scaling : float
- $start : SetaPDF_Core_Geometry_Matrix
- $end : SetaPDF_Core_Geometry_Matrix
- $no : string
getBounds()
getCharacterSpacing()
Get the character spacing.
The value is from the local graphic state and not a value in the user space.
getFontSize()
Get the font size of this text item.
The value is from the local graphic state and not a value in the user space.
getLl()
getLr()
getScaling()
Get the scaling value.
The value is from the local graphic state and not a value in the user space.
getUl()
getUr()
getUserSpaceSpaceWidth()
getWordSpacing()
Get the word spacing defined in its graphic state.
The value is from the local graphic state and not a value in the user space.