PHP Interface PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface

Exibir arquivo Open project: phpoffice/phppowerpoint

Public Methods

Method Description
getFont ( ) : Font Get font
getHashCode ( ) : string Get hash code
getLanguage ( ) : string
getText ( ) : string Get text
setLanguage ( string $lang ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface
setText ( $pText = '' ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface Set text

Method Details

getFont() public method

Get font
public getFont ( ) : Font
return PhpOffice\PhpPresentation\Style\Font

getHashCode() public method

Get hash code
public getHashCode ( ) : string
return string Hash code

getLanguage() public method

public getLanguage ( ) : string
return string Language

getText() public method

Get text
public getText ( ) : string
return string Text

setLanguage() public method

public setLanguage ( string $lang ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface
$lang string
return PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface

setText() public method

Set text
public setText ( $pText = '' ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface
$pText string Text
return PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface