PHP Total Library speeds up developing document management solutions specially Excel and PowerPoint documents from scratch or enhancing existing applications to deal document manipulation with ease. API not only manages Microsoft Powerpoint and Excel documents but also converts PDF, HTML, Images TIFF, JPG, PNG, BMP files. It is complete set of Excel and Powerpoint document management and manipulation solution APIs without any software dependencies. Programmers can easily manipulate and convert Excel and Powerpoint documents between most popular formats within any PHP based applications.
Convert Excel to HTML
Total API supports inter conversion of Microsoft Excel formats as well as it is able to convert Excel to PDF, HTML and Images. Process of conversion is simple. Import the necessary libraries for Aspose.Cells and Java Bridge. These libraries will be used to access the Excel workbook and handle the conversion. Create a new instance of the Workbook class, representing the Excel workbook you want to convert. Just call the Save method with target format and SaveFormat enumeration as parameters. It’s so simple.
PHP - Excel to HTML Conversion
Convert Powerpoint to Images
API supports converting Popwerpoint slides to images JPEG, PNG, BMP, TIFF and GIF. For presnetation to Image conversion, let’s consider the JPG image as target file. Process is, import the necessary libraries for Aspose.Slides and Java Bridge. These libraries will be used to access the presentation and handle the conversion. Create a new instance of the Presentation class, representing the PowerPoint presentation you want to convert. Then proceeds with a loop to iterate through each slide of the loaded presentation and convert them to images. Finally, ensure proper cleanup by disposing of the presentation object to release resources.