Aspose.Total for Java is a comprehensive suite of APIs that enables developers to easily convert EPUB to PPS within any Java J2SE, J2EE, or J2ME application. This suite of APIs provides a powerful and efficient way to convert EPUB to PPS without any hassle.
The process of converting EPUB to PPS involves two steps. Firstly, Aspose.PDF for Java can be used to export EPUB to PPTX. This API provides a wide range of features to manipulate PDF documents, including the ability to convert EPUB to PPTX. After that, Aspose.Slides for Java can be used to convert PPTX to PPS. This PowerPoint Processing API provides a comprehensive set of features to create, manipulate, and convert PowerPoint documents. It also allows developers to convert PPTX to PPS with ease.
In addition to the conversion of EPUB to PPS, Aspose.Total for Java also provides a wide range of features to work with other file formats, such as Word, Excel, and Outlook. It also provides features to work with images, barcodes, and OCR. Furthermore, it also provides features to work with email, PDF, and HTML.
Overall, Aspose.Total for Java is an ideal solution for developers who need to convert EPUB to PPS within any Java J2SE, J2EE, or J2ME application. It provides a powerful and efficient way to convert EPUB to PPS without any hassle. In addition, it also provides a wide range of features to work with other file formats, images, barcodes, OCR, email, PDF, and HTML.
Java API to Convert EPUB to PPS
- Open EPUB file using Document class
- Convert EPUB to PPTX by using save method
- Load PPTX document by using Presentation class
- Save the document to PPS format using
save
method and set
Pps
as SaveFormat
Conversion Requirements
You can easily use Aspose.Total for Java directly from a Maven based project and include Aspose.PDF for Java and Aspose.Slides for Java in your pom.xml.
Alternatively, you can get a ZIP file from downloads .
Document document = new Document("template.epub"); | |
document.save("PptxOutput.pptx", SaveFormat.Pptx); | |
Presentation presentation = new Presentation("PptxOutput.pptx"); | |
presentation.save("output.ppt", SaveFormat.Ppt); |
Open Encrypted EPUB File via Java
While loading EPUB file format, your document might be password protected. Aspose.PDF for Java allows you open encrypted documents as well. In order to open the encrypted file, you can initialize new instance of the Document class and pass filename and password as arguments.
// open EPUB document
Document doc = new Document("input.epub", "Your@Password");
// save EPUB as PPTX format
document.save("PptxOutput.pptx", SaveFormat.Pptx);
Save PPS File with Predefined View Type via Java
After converting EPUB to PPS, you can also add predefined view type for your presentation. Aspose.Slides for Java provides a facility to set the view type for the generated presentation when it is opened in PowerPoint through the ViewProperties class. The setLastView property is used to set the view type by using the ViewType enumerator.
// instantiate a Presentation object that represents a PPTX file
Presentation presentation = new Presentation("PptxOutput.pptx");
// set view type
presentation.getViewProperties().setLastView((byte) ViewType.SlideMasterView);
// save the presentation as Pps format
presentation.save("output.pps", SaveFormat.Pps);