Property | Type | Description | |
---|---|---|---|
$activeSlideIndex | integer | Active slide index | |
$documentProperties | PhpOffice\PhpPresentation\DocumentProperties | Document properties | |
$layout | Document layout | ||
$presentationProps | Presentation properties | ||
$slideCollection | Collection of Slide objects | ||
$slideMasters | ArrayObject | |
Collection of Master Slides |
Method | Description | |
---|---|---|
__construct ( ) | Create a new PhpPresentation with one Slide | |
addExternalSlide ( |
Add external slide | |
addMasterSlide ( |
Add masterslide | |
addSlide ( |
Add slide | |
copy ( ) : |
Copy presentation (!= clone!) | |
createMasterSlide ( ) : |
Create a masterslide and add it to this presentation | |
createSlide ( ) : |
Create slide and add it to this presentation | |
getActiveSlide ( ) : |
Get active slide | |
getActiveSlideIndex ( ) : integer | Get active slide index | |
getAllMasterSlides ( ) : ArrayObject | |
||
getAllSlides ( ) : |
Get all slides | |
getDocumentProperties ( ) : PhpOffice\PhpPresentation\DocumentProperties | Get properties | |
getIndex ( |
Get index for slide | |
getLayout ( ) : |
Get layout | |
getPresentationProperties ( ) : |
Get presentation properties | |
getProperties ( ) : PhpOffice\PhpPresentation\DocumentProperties | Get properties | |
getSlide ( integer $index ) : |
Get slide by index | |
getSlideCount ( ) : integer | Get slide count | |
getSlideIterator ( ) : PhpOffice\PhpPresentation\Slide\Iterator | Get slide iterator | |
getZoom ( ) : float | Return the zoom (in percentage) | |
isMarkedAsFinal ( ) : boolean | Return if this document is marked as final | |
markAsFinal ( boolean $state = true ) : |
Mark a document as final | |
removeSlideByIndex ( integer $index ) : |
Remove slide by index | |
setActiveSlideIndex ( integer $index ) : |
Set active slide index | |
setAllMasterSlides ( ArrayObject | |
||
setDocumentProperties ( PhpOffice\PhpPresentation\DocumentProperties $value ) : |
Set properties | |
setLayout ( |
Set layout | |
setPresentationProperties ( |
Set presentation properties | |
setProperties ( PhpOffice\PhpPresentation\DocumentProperties $value ) : |
Set properties | |
setZoom ( float $zoom = 1 ) : |
Set the zoom of the document (in percentage) |
public addExternalSlide ( |
||
$slide | External slide to add | |
return |
public addMasterSlide ( |
||
$slide |
public addSlide ( |
||
$slide | ||
return |
public copy ( ) : |
||
return |
public createMasterSlide ( ) : |
||
return |
public createSlide ( ) : |
||
return |
public getActiveSlideIndex ( ) : integer | ||
return | integer | Active slide index |
public getAllMasterSlides ( ) : ArrayObject | |
||
return | ArrayObject | |
public getDocumentProperties ( ) : PhpOffice\PhpPresentation\DocumentProperties | ||
return | PhpOffice\PhpPresentation\DocumentProperties |
public getPresentationProperties ( ) : |
||
return |
public getProperties ( ) : PhpOffice\PhpPresentation\DocumentProperties | ||
return | PhpOffice\PhpPresentation\DocumentProperties |
public getSlideIterator ( ) : PhpOffice\PhpPresentation\Slide\Iterator | ||
return | PhpOffice\PhpPresentation\Slide\Iterator |
public isMarkedAsFinal ( ) : boolean | ||
return | boolean |
public markAsFinal ( boolean $state = true ) : |
||
$state | boolean | |
return |
public removeSlideByIndex ( integer $index ) : |
||
$index | integer | Slide index |
return |
public setActiveSlideIndex ( integer $index ) : |
||
$index | integer | Active slide index |
return |
public setAllMasterSlides ( ArrayObject | |
||
$slideMasters | ArrayObject | |
public setDocumentProperties ( PhpOffice\PhpPresentation\DocumentProperties $value ) : |
||
$value | PhpOffice\PhpPresentation\DocumentProperties | |
return |
public setLayout ( |
||
$value | ||
return |
public setPresentationProperties ( |
||
$value | ||
return |
public setProperties ( PhpOffice\PhpPresentation\DocumentProperties $value ) : |
||
$value | PhpOffice\PhpPresentation\DocumentProperties | |
return |
protected int $activeSlideIndex | ||
return | integer |
protected DocumentProperties,PhpOffice\PhpPresentation $documentProperties | ||
return | PhpOffice\PhpPresentation\DocumentProperties |
protected DocumentLayout,PhpOffice\PhpPresentation $layout | ||
return |
protected PresentationProperties,PhpOffice\PhpPresentation $presentationProps | ||
return |
protected Slide[],PhpOffice\PhpPresentation $slideCollection | ||
return |