PHP Class PhpOffice\PhpPresentation\Slide

Inheritance: extends PhpOffice\PhpPresentation\Slide\AbstractSlide, implements PhpOffice\PhpPresentation\ComparableInterface, implements PhpOffice\PhpPresentation\ShapeContainerInterface
Afficher le fichier Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Свойство Type Description
$animations PhpOffice\PhpPresentation\Slide\Animation[]
$isVisible boolean The slide is shown in presentation
$name string Name of the title

Méthodes publiques

Méthode Description
__construct ( PhpPresentation $pParent = null ) Create a new slide
addAnimation ( $animation ) : Slide Add an animation to the slide
copy ( ) : Slide Copy slide (!= clone!)
getAnimations ( ) : Animation[] Get collection of animations
getName ( ) : string Get the name of the slide
getNote ( ) : PhpOffice\PhpPresentation\Slide\Note
getSlideLayout ( ) : SlideLayout Get slide layout
getSlideMasterId ( ) : integer Get slide master id
isVisible ( ) : boolean
setAnimations ( array $array = [] ) : Slide Set collection of animations
setIsVisible ( boolean $value = true ) : Slide
setName ( string $name = null ) Set the name of the slide
setNote ( PhpOffice\PhpPresentation\Slide\Note $note = null ) : Slide
setSlideLayout ( SlideLayout $layout ) : Slide Set slide layout
setSlideMasterId ( integer $masterId = 1 ) : Slide Set slide master id

Method Details

__construct() public méthode

Create a new slide
public __construct ( PhpPresentation $pParent = null )
$pParent PhpPresentation

addAnimation() public méthode

Add an animation to the slide
public addAnimation ( $animation ) : Slide
Résultat Slide

copy() public méthode

Copy slide (!= clone!)
public copy ( ) : Slide
Résultat Slide

getAnimations() public méthode

Get collection of animations
public getAnimations ( ) : Animation[]
Résultat PhpOffice\PhpPresentation\Slide\Animation[]

getName() public méthode

Get the name of the slide
public getName ( ) : string
Résultat string

getNote() public méthode

public getNote ( ) : PhpOffice\PhpPresentation\Slide\Note
Résultat PhpOffice\PhpPresentation\Slide\Note

getSlideLayout() public méthode

Get slide layout
public getSlideLayout ( ) : SlideLayout
Résultat PhpOffice\PhpPresentation\Slide\SlideLayout

getSlideMasterId() public méthode

Get slide master id
public getSlideMasterId ( ) : integer
Résultat integer

isVisible() public méthode

public isVisible ( ) : boolean
Résultat boolean

setAnimations() public méthode

Set collection of animations
public setAnimations ( array $array = [] ) : Slide
$array array
Résultat Slide

setIsVisible() public méthode

public setIsVisible ( boolean $value = true ) : Slide
$value boolean
Résultat Slide

setName() public méthode

Set the name of the slide
public setName ( string $name = null )
$name string

setNote() public méthode

public setNote ( PhpOffice\PhpPresentation\Slide\Note $note = null ) : Slide
$note PhpOffice\PhpPresentation\Slide\Note
Résultat Slide

setSlideLayout() public méthode

Set slide layout
public setSlideLayout ( SlideLayout $layout ) : Slide
$layout PhpOffice\PhpPresentation\Slide\SlideLayout
Résultat Slide

setSlideMasterId() public méthode

Set slide master id
public setSlideMasterId ( integer $masterId = 1 ) : Slide
$masterId integer
Résultat Slide

Property Details

$animations protected_oe property

protected Animation[],PhpOffice\PhpPresentation\Slide $animations
Résultat PhpOffice\PhpPresentation\Slide\Animation[]

$isVisible protected_oe property

The slide is shown in presentation
protected bool $isVisible
Résultat boolean

$name protected_oe property

Name of the title
protected string $name
Résultat string