PHP Class PhpOffice\PhpPresentation\Shape\RichText\BreakElement

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

Public Methods

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

Method Details

__construct() public method

Create a new \PhpOffice\PhpPresentation\Shape\RichText\Break instance
public __construct ( )

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 Language

getText() public method

Get text
public getText ( ) : string
return string Text

setLanguage() public method

Set language
public setLanguage ( $lang ) : PhpOffice\PhpPresentation\Shape\RichText\TextElementInterface
$lang
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