Export PowerPoint slides as SVG images in PHP and control fonts, text, images, IDs, and events with Aspose.Slides....FileOutputStream" , "slide-with-custom-options.svg" ); $slide -> writeAsSvg...and define the JavaScript function in the page or SVG document...