PHP Class PhpOffice\PhpPresentation\Style\TextStyle

Show file Open project: phpoffice/phppowerpoint

Protected Properties

Property Type Description
$bodyStyle array
$otherStyle array
$titleStyle array

Public Methods

Method Description
__construct ( boolean $default = true ) TextStyle constructor.
getBodyStyle ( ) : array
getBodyStyleAtLvl ( $lvl ) : mixed
getOtherStyle ( ) : array
getOtherStyleAtLvl ( $lvl ) : mixed
getTitleStyle ( ) : array
getTitleStyleAtLvl ( $lvl ) : mixed
setBodyStyleAtLvl ( Paragraph $style, $lvl )
setOtherStyleAtLvl ( Paragraph $style, $lvl )
setTitleStyleAtLvl ( Paragraph $style, $lvl )

Private Methods

Method Description
checkLvl ( $lvl ) : boolean

Method Details

__construct() public method

TextStyle constructor.
public __construct ( boolean $default = true )
$default boolean

getBodyStyle() public method

public getBodyStyle ( ) : array
return array

getBodyStyleAtLvl() public method

public getBodyStyleAtLvl ( $lvl ) : mixed
$lvl
return mixed

getOtherStyle() public method

public getOtherStyle ( ) : array
return array

getOtherStyleAtLvl() public method

public getOtherStyleAtLvl ( $lvl ) : mixed
$lvl
return mixed

getTitleStyle() public method

public getTitleStyle ( ) : array
return array

getTitleStyleAtLvl() public method

public getTitleStyleAtLvl ( $lvl ) : mixed
$lvl
return mixed

setBodyStyleAtLvl() public method

public setBodyStyleAtLvl ( Paragraph $style, $lvl )
$style PhpOffice\PhpPresentation\Shape\RichText\Paragraph
$lvl

setOtherStyleAtLvl() public method

public setOtherStyleAtLvl ( Paragraph $style, $lvl )
$style PhpOffice\PhpPresentation\Shape\RichText\Paragraph
$lvl

setTitleStyleAtLvl() public method

public setTitleStyleAtLvl ( Paragraph $style, $lvl )
$style PhpOffice\PhpPresentation\Shape\RichText\Paragraph
$lvl

Property Details

$bodyStyle protected property

protected array $bodyStyle
return array

$otherStyle protected property

protected array $otherStyle
return array

$titleStyle protected property

protected array $titleStyle
return array