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 text box 
- 
                            	addTextBoxConnector
                            	Inserts a text box connector 
- 
                            	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 
- 
                            	createTableStyle
                            	Creates a table style 
- 
                            	getActiveSlide
                            	Gets the internal active slide 
- 
                            	getActiveSlideInformation
                            	Gets the internal active slide information 
- 
                                removeNotesSlide
                            	Removes notes from the slide 
- 
                                removeTiming
                            	Removes timing element 
- 
                                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 
- 
                            	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 
- 
                            	savePptx
                            	Saves the PPTX presentation 
- 
                            	savePptxAndDownload
                            	Saves and downloads the PPTX presentation 
- 
                                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 
- 
                                indexer
                                Parses PPTX files and return contents and information 
- 
                                mergePptx
                                Merges 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 
- 
                                customizeElementStyles
                                Customizes element styles 
- 
                                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 
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum