BreakElement
in package
implements
TextElementInterface
Rich text break.
Table of Contents
Interfaces
- TextElementInterface
- Rich text element interface.
Methods
- __construct() : mixed
- 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() : TextElementInterface
- Set language.
- setText() : TextElementInterface
- Set text.
Methods
__construct()
Create a new \PhpOffice\PhpPresentation\Shape\RichText\Break instance.
public
__construct() : mixed
getFont()
Get font.
public
getFont() : Font
Return values
FontgetHashCode()
Get hash code.
public
getHashCode() : string
Return values
string —Hash code
getLanguage()
Get language.
public
getLanguage() : string
Return values
string —Language
getText()
Get text.
public
getText() : string
Return values
string —Text
setLanguage()
Set language.
public
setLanguage(string $lang) : TextElementInterface
Parameters
- $lang : string
Return values
TextElementInterfacesetText()
Set text.
public
setText([string $pText = '' ]) : TextElementInterface
Parameters
- $pText : string = ''
-
Text value