addMacroFromPptx
- getTemplateVariables
- getTemplateVariablesType
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addMacroFromPptx

Adds a macro from a PPTX into the PowerPoint presentation.
Description
public addMacroFromPptx($source)
This method allows importing a PPTX macro.
Parameters
source
The path of the PowerPoint document (.pptm) from which you wish to import the macros.
Exceptions
File can't be opened.
Macro not found.
Code samples
Example #1
Release notes
- phppptx 3.0:
- new method.