PHP Class PhpOffice\PhpPresentation\Slide\SlideMaster

Inheritance: extends AbstractSlide, implements PhpOffice\PhpPresentation\ComparableInterface, implements PhpOffice\PhpPresentation\ShapeContainerInterface
Mostra file Open project: phpoffice/phppowerpoint Class Usage Examples

Public Properties

Property Type Description
$colorMap PhpOffice\PhpPresentation\Style\ColorMap Mapping of colors to the theme

Protected Properties

Property Type Description
$arraySchemeColor PhpOffice\PhpPresentation\Style\SchemeColor[]
$defaultSchemeColor array
$slideLayouts SlideLayout[] Collection of Slide objects
$textStyles PhpOffice\PhpPresentation\Style\TextStyle

Public Methods

Method Description
__construct ( PhpPresentation $pParent = null ) Create a new slideMaster
addSchemeColor ( SchemeColor $schemeColor )
addSlideLayout ( SlideLayout $slideLayout = null ) : SlideLayout Add slideLayout
createSlideLayout ( ) : SlideLayout Create a slideLayout and add it to this presentation
getAllSchemeColors ( ) : SchemeColor[]
getAllSlideLayouts ( ) : SlideLayout[]
getTextStyles ( ) : TextStyle
setTextStyles ( TextStyle $textStyle )

Method Details

__construct() public method

Create a new slideMaster
public __construct ( PhpPresentation $pParent = null )
$pParent PhpOffice\PhpPresentation\PhpPresentation

addSchemeColor() public method

public addSchemeColor ( SchemeColor $schemeColor )
$schemeColor PhpOffice\PhpPresentation\Style\SchemeColor

addSlideLayout() public method

Add slideLayout
public addSlideLayout ( SlideLayout $slideLayout = null ) : SlideLayout
$slideLayout SlideLayout
return SlideLayout

createSlideLayout() public method

Create a slideLayout and add it to this presentation
public createSlideLayout ( ) : SlideLayout
return SlideLayout

getAllSchemeColors() public method

public getAllSchemeColors ( ) : SchemeColor[]
return PhpOffice\PhpPresentation\Style\SchemeColor[]

getAllSlideLayouts() public method

public getAllSlideLayouts ( ) : SlideLayout[]
return SlideLayout[]

getTextStyles() public method

public getTextStyles ( ) : TextStyle
return PhpOffice\PhpPresentation\Style\TextStyle

setTextStyles() public method

public setTextStyles ( TextStyle $textStyle )
$textStyle PhpOffice\PhpPresentation\Style\TextStyle

Property Details

$arraySchemeColor protected_oe property

protected SchemeColor[],PhpOffice\PhpPresentation\Style $arraySchemeColor
return PhpOffice\PhpPresentation\Style\SchemeColor[]

$colorMap public_oe property

Mapping of colors to the theme
public ColorMap,PhpOffice\PhpPresentation\Style $colorMap
return PhpOffice\PhpPresentation\Style\ColorMap

$defaultSchemeColor protected_oe property

protected array $defaultSchemeColor
return array

$slideLayouts protected_oe property

Collection of Slide objects
protected SlideLayout[],PhpOffice\PhpPresentation\Slide $slideLayouts
return SlideLayout[]

$textStyles protected_oe property

protected TextStyle,PhpOffice\PhpPresentation\Style $textStyles
return PhpOffice\PhpPresentation\Style\TextStyle