API documentation
API documentation
You will find in this section a complete list of the methods included in the latest version of the phppptx library.
Here we include a brief description of each method for your convenience:
-
addBackgroundImage
Inserts a background image
-
addProperties
Modifies the properties of the PowerPoint document
-
getActiveSlide
Gets the internal active slide
-
getActiveSlideInformation
Gets the internal active slide information
-
removeShapeSlide
Removes a shape from the slide
-
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
-
removeVariableText
Removes template text variables
-
replaceVariableAudio
Replaces audio variables by a new audio
-
replaceVariableImage
Replaces image variables by a new image
-
replaceVariableList
Replaces list variables
-
replaceVariableTable
Replaces table variables
-
replaceVariableText
Replaces an array of variables by new text values
-
replaceVariableVideo
Replaces video variables by a new video
-
setTemplateSymbol
Sets custom symbols to wrap phppptx template variables
-
savePptx
Saves the PPTX presentation
-
savePptxAndDownload
Saves and downloads the PPTX presentation
-
transform
Transforms files into other formats (PPTX, PDF, PPT, ODP)
-
removeSlide
Removes slides
-
searchAndReplace
Searches and replaces shared strings and cell values
-
splitPptx
Splits PPTX presentations per slide
-
indexer
Parses PPTX files and return contents and information
-
zipStream
Generates a PPTX stream without saving the document to the file system
-
encrypt
Encrypts (AES128) a PPTX file
-
sign (PPTX)
Digitally signs a PPTX file