Convert PDF to PPT in Java
Convert PDF files to PPT with Aspose.Slides for Java without Adobe Acrobat.
Convert PDF to PPT using Java
To convert PDF to PPT, create a Presentation, import the source file with ISlideCollection.addFromPdf, and save the presentation with SaveFormat.Ppt.
Java code for converting PDF into PPT
Presentation presentation = new Presentation();
try {
presentation.getSlides().addFromPdf("input.pdf");
presentation.save("output.ppt", SaveFormat.Ppt);
} finally {
presentation.dispose();
}Convert PDF to PPT in Java
Aspose.Slides for Java
lets you import PDF files into a presentation and save the result as PPT. With this Java API, you can convert PDF content without Adobe Acrobat.
How to convert PDF to PPT using Aspose.Slides for Java API
These are the steps to convert PDF to PPT in Java.
- Install Aspose.Slides for Java.
- Add a library reference (import the library) to your Java project.
- Open the source
PDFfile in Java. - Save the result as a
PPTfile.
Built with Aspose.Slides
Convert PDF to PPT Online
The free Aspose.Slides Conversion app is built with Aspose.Slides for Java, the same API as the code above. Open it and see what the API can do with your own PDF files.
- Runs in your browser, nothing to install.
- See how Aspose.Slides converts files before you write code.
- Upload PDF files and save them as PPT.
- Download the result or convert more files.
Convert PDF To Other Supported Formats
You can also convert PDF and save to other file formats. See all supported formats below: