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

Inserts a comment into the PowerPoint presentation.
Description
public addComment($content, $author, $position = array(), $options = array())
This method inserts comments into the PowerPoint presentation.
Parameters
content
Comment content.
author
Comment author.
position
Key | Type | Description |
---|---|---|
coordinateX | int | 10 as default. |
coordinateY | int | 10 as default. |
options
Key | Type | Description |
---|---|---|
date | string | strtotime, now as default. |
Exceptions
Author doesn't exist.
Release notes
- phppptx 2.0:
- new method.