Accessing OpenDocument Presentation in PHP

Aspose.Slides - Accessing OpenDocument Presentation

To convert OpenDocument to PPTX presentation using Aspose.Slides Java for PHP, simply invoke OdpToPptx module. Here you can see example code.


 # Instantiate a Presentation object that represents a PPTX file

$pres = new Presentation($dataDir . "Source.odp");

\# Saving the PPTX presentation to PPTX format

$save_format = new SaveFormat();

$pres->save($dataDir . "Source.pptx", $save_format->Pptx);

print "Document has been converted, please check the output file.";

Download Running Code

Download Accessing OpenDocument Presentation (Aspose.Slides) from any of the below mentioned social coding sites: