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:
-
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 textbox
-
addVideo
Inserts a video
-
addBackgroundImage
Inserts a background image
-
addFooterSlide
Adds a footer
-
addMacroFromPptx
Inserts a macro from a PPTX
-
addNotes
Inserts notes
-
addProperties
Modifies the properties of the PowerPoint document
-
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
-
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
-
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
-
savePptx
Saves the PPTX presentation
-
savePptxAndDownload
Saves and downloads the PPTX presentation
-
transform
Transforms files into other formats (PPTX, PDF, PPT, ODP)
-
indexer
Parses PPTX files and return contents and information
-
mergePptx
Merge PPTX
-
removeSlide
Removes slides
-
replaceChartData
Replaces the data associated with a given chart
-
searchAndReplace
Searches and replaces shared strings and cell values
-
splitPptx
Splits PPTX presentations per slide
-
zipStream
Generates a PPTX stream without saving the document to the file system
-
encrypt
Encrypts a PPTX file
-
sign (PPTX)
Digitally signs a PPTX file