addFooterSlide
addFooterSlide
BASIC / ADVANCED / PREMIUM
Inserts footers into the PowerPoint presentation.
Description
public addFooterSlide($type, $options = array())
This method adds footers in slides.
Parameters
type
Valid footer types: dateAndTime, slideNumber, textContents.
options
Key | Type | Description |
---|---|---|
applyToAll | bool | If true apply to all slides. Default as false. |
contentStyles | array | Use with dateAndTime and slideNumber types. Using the textContents type, the PptxFragment must include the styles to be applied. |
dateAndTime | string | Set a fixed date and time. If not set, update automatically. |
dateAndTimeLanguage | string | en-US, es-ES... |
dateAndTimeType | string |
Available when not using a fixed date and time. |
hideOn | string | If set, hide the footer on the slides that use the layout. Example: Title Slide. |
textContents | PptxFragment | Add a text content. Default as empty pararagraph. |
Exceptions
Type not valid.
Release notes
- phppptx 2.5:
- new method.