JSON API documentation
JSON API documentation
Please refer to the JSON API introduction page to learn more about this functionality.
You will find in this section a complete list of the actions included in the JSON API feature of the latest version of the phppptx library.
-
addAudio
Inserts an audio
-
addChart
Inserts a chart
-
addComment
Inserts a comment
-
addCommentAuthor
Inserts a comment author
-
addHtml
Inserts HTML content
-
addImage
Inserts an image
-
addLink
Inserts a link
-
addList
Inserts a list
-
addMathEquation
Inserts a math equation
-
addSection
Inserts a section
-
addShape
Inserts a shape
-
addSlide
Inserts a slide
-
addSvg
Inserts an svg
-
addTable
Inserts a table
-
addText
Inserts a text
-
addTextBox
Inserts a text box
-
addVideo
Inserts a video
-
addBackgroundImage
Inserts a background image
-
addFooterSlide
Adds a footer
-
addNotes
Inserts notes
-
addProperties
Modifies the properties of the PowerPoint document
-
createTableStyle
Creates a table style
-
getActiveSlide
Gets the internal active slide
-
getActiveSlideInformation
Gets the internal active slide information
-
removeNotesSlide
Removes notes from the slide
-
removeShapeSlide
Removes a shape from the slide
-
removeTiming
Removes timing element
-
setActiveSlide
Sets the internal active slide
-
setBackgroundColor
Sets background color
-
setMarkAsFinal
Marks the PowerPoint output as final
-
setPresentationSettings
Sets presentation settings
-
setRtl
Sets the global right to left language properties
-
setSlideSettings
Sets slide settings
-
getTemplateVariables
Returns the template placeholder variables as an array
-
getTemplateVariablesType
Returns the template placeholder variables and their types
-
processTemplate
Processes the template
-
removeVariableAudio
Removes template audio variables
-
removeVariableImage
Removes template image variables
-
removeVariableText
Removes template text variables
-
removeVariableVideo
Removes template video variables
-
replaceVariableAudio
Replaces audio variables with a new audio
-
replaceVariableHtml
Replaces text variables with HTML
-
replaceVariableImage
Replaces image variables with a new image
-
replaceVariableList
Replaces list variables
-
replaceVariablePptxFragment
Replaces text variables with PptxFragments
-
replaceVariableTable
Replaces table variables
-
replaceVariableText
Replaces an array of variables with new text values
-
replaceVariableVideo
Replaces video variables with a new video
-
setTemplateSymbol
Sets custom symbols to wrap phppptx template variables
-
cloneElement
Clones elements
-
getPptxPathQueryInfo
Gets information from a performed PptxPath query
-
moveElement
Moves elements
-
removeElement
Removes elements
-
transform
Transforms files into other formats (PPTX, PDF, PPT, ODP)
-
transformNativeHtml
Transforms PPTX files into HTML using native PHP classes
-
merge
Merges PPTX
-
removeSlide
Removes slides
-
watermark
Inserts a watermark into a PPTX presentation
-
customizeElementStyles
Customizes element styles
-
zipStream
Generates a PPTX stream without saving the document to the file system