JSON API - addHtml
- getTemplateVariables
- getTemplateVariablesType
- processTemplate
- removeVariableAudio
- removeVariableImage
- removeVariableText
- removeVariableVideo
- replaceVariableAudio
- replaceVariableHtml
- replaceVariableImage
- replaceVariableList
- replaceVariablePptxFragment
- replaceVariableTable
- replaceVariableText
- replaceVariableVideo
- setTemplateSymbol
addHtml
PREMIUM
TRIAL / ADVANCED
Inserts HTML and CSS into the PowerPoint presentation.
Note
You are reading the JSON API documentation. For the PHP API method please go to addHtml.
JSON data
| Key | Description |
|---|---|
| html | HTML and CSS content to be transformed. |
| placeholder |
The content is added in a placeholder of the layout. One of the following options can be used to get the text box.
|
| new |
A new position is generated.
|
| disableWrapValue | If true disable using a wrap value with Tidy to prevent extra blank spaces. Default as false. |
| forceNotTidy | Default as false. If true, avoid using Tidy. Only recommended if Tidy can't be installed. |
| insertMode |
Insert mode if the position contains an existing content:
Default as append. |
| parseCSSVars | If true parses CSS variables. |
| useHtmlExtended | If true allows using HTML Extended tags. Default as false. Only available in Premium licenses. |
Code samples
Example #1
Release notes
- phppptx 5.0:
- new action.