mergePptx
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
mergePptx
ADVANCED / PREMIUM
BASIC
Merges PowerPoint presentations.
Description
public mergePptx($source, $target, $options = array())
This method allows the full merging of PPTX presentations.
The merging process preserves all contents without internal/external dependencies: slides, paragraphs, tables, lists, text boxes, shapes...
The merging process also preserves the following contents that include internal/external dependencies:
- styles
- images
- charts
- links
- sections
- audios
- videos
- drawings
- notes
- comments
- layouts
- themes
- handouts
- masters
- tags
- 3d models
- inks
- objects
- customXml contents
Parameters
source
PPTX files to be merged.
target
PPTX output file.
options
| Key | Type | Description |
|---|---|---|
| mergeSections | bool | Keep sections from the merged PPTX files. Default as true. |
Release notes
- phppptx 4.0:
- 3d models.
- customXml contents.
- inks.
- objects.
- tags.
- phppptx 3.5:
- images and medias in themes.
- diagram elements.
- fix non-standard internal paths automatically.
- phppptx 3.0:
- new method.