View PPS in Java

Java API for opening PPS files and saving them as HTML.

View PPS in Java

Using Aspose.Slides for Java , you can load a PPS presentation and save it as responsive HTML with a few lines of code.

Java code for viewing PPS

Presentation presentation = new Presentation("presentation.pps");
try {
    ResponsiveHtmlController controller = new ResponsiveHtmlController();
    HtmlOptions htmlOptions = new HtmlOptions();
    htmlOptions.setHtmlFormatter(HtmlFormatter.createCustomFormatter(controller));

    presentation.save("index.html", SaveFormat.Html, htmlOptions);
} finally {
    presentation.dispose();
}

View PPS using Aspose.Slides

Aspose.Slides for Java is a Java library for opening, viewing, editing, and converting presentation files. You can load PPS files and save them as HTML for viewing in a browser.

How to view PPS in Java

  1. Install Aspose.Slides for Java. See Installation.
  2. Add the library as a reference in your project.
  3. Load the PPS file with the Presentation class.
  4. Create a ResponsiveHtmlController object for responsive HTML output.
  5. Create an HtmlOptions object and set the HtmlFormatter property.
  6. Save the PPS presentation as HTML with SaveFormat.Html.

Built with Aspose.Slides

View PPS Files Online

The free Aspose.Slides Viewer 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 PPS files.

  • Runs in your browser, nothing to install.
  • See how Aspose.Slides renders your files before you write code.
  • Upload your PPS file and view its slides instantly.
  • Works on desktop and mobile, no PowerPoint needed.