PHP Class PhpOffice\PhpPresentation\Shape\RichText\TextElement

Inheritance: implements PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface
Datei anzeigen Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Property Type Description
$hyperlink PhpOffice\PhpPresentation\Shape\Hyperlink Hyperlink
$language string

Public Methods

Method Description
__construct ( string $pText = '' ) Create a new \PhpOffice\PhpPresentation\Shape\RichText\TextElement instance
getFont ( ) : Font Get font
getHashCode ( ) : string Get hash code
getHyperlink ( ) : PhpOffice\PhpPresentation\Shape\Hyperlink Get Hyperlink
getLanguage ( ) : string Get language
getText ( ) : string Get text
hasHyperlink ( ) : boolean Has Hyperlink?
setHyperlink ( PhpOffice\PhpPresentation\Shape\Hyperlink $pHyperlink = null ) : AbstractShape Set Hyperlink
setLanguage ( string $language ) : TextElement Set language
setText ( $pText = '' ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface Set text

Method Details

__construct() public method

Create a new \PhpOffice\PhpPresentation\Shape\RichText\TextElement instance
public __construct ( string $pText = '' )
$pText string Text

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

Get language
public getLanguage ( ) : string
return string

getText() public method

Get text
public getText ( ) : string
return string Text

setLanguage() public method

Set language
public setLanguage ( string $language ) : TextElement
$language string
return TextElement

setText() public method

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

Property Details

$language protected_oe property

protected string $language
return string