Often times developers have to convert OTT file to PPT programmatically. By using the File Automation Java libraries Aspose.Total for Java you can automate the rendering process in a few simple steps. You can load your OTT file by using Aspose.Words for Java and convert it to HTML. After that by using powerful PowerPoint manipulation Java API Aspose.Slides for Java you can create a new Presentation, write HTML content in it, and save it as PPT.
How to Convert OTT to PPT via Java or Online App
- Open OTT file using Document class
- Convert OTT file to HTML by using save method
- Initialize a new Presentation object
- Extract content from HTML file using BufferedReader and write the content in your presentation file
- Save the document to PPT using save method
OTT File Conversion in Java
For OTT to PPT file conversion, you can easily use Aspose.Total for Java directly from a Maven based project and include libraries in your pom.xml.
Alternatively, you can get a ZIP file from downloads .
Free Online Converter for OTT to PPT
Convert OTT to PPT with Watermark via Java
Using the API, you can also perform OTT file to PPT conversion with watermark. In order to add a watermark to your PPT document, you can first export OTT to HTML and write HTML content in Presentation object. After that to add a watermark, you can add text using addTextFrame, set all the relevant options like color, fillType and more and can save the document to PPT.
Explore OTT Conversion Options with Java
What is OTT File Format
OpenDocument Standard Format (OTT) is a file format for office documents, such as text documents, spreadsheets, and presentations. It is an open standard developed by the OpenDocument Foundation. The format is based on the XML format used by the OpenOffice.org office suite. OTT files can be opened by a variety of office software programs, including Microsoft Office, LibreOffice, and Apache OpenOffice.
Read MoreWhat is PPT File Format
Microsoft PowerPoint 97-2003 PPT format is a binary file format used to store presentations in Microsoft PowerPoint 97-2003 and earlier versions. PowerPoint 97-2003 PPT format is based on the OLE Compound File Binary Format. A PowerPoint 97-2003 PPT file consists of a series of records stored in a linear sequence. Each record has a header that specifies the record type and length, followed by the data for the record. The PowerPoint 97-2003 PPT format supports a variety of different record types, including Slide records, which store the data for a single slide in a presentation, Document records, which store the overall presentation data, and Style records, which store formatting information for the presentation. The PowerPoint 97-2003 PPT format is not compatible with the newer PowerPoint 2007 PPTX format. To convert a PowerPoint 97-2003 PPT file to the newer PPTX format, you must first open the file in PowerPoint 97-2003 and then save it as a PowerPoint 2007 PPTX file.
Read More