Java APIs to manipulate PowerPoint documents

Read, write and manipulate Microsoft PowerPoint documents and transform presentations to PDF, HTML and image formats from within any Java application.

  Download Free Trial
Aspose.Slides for Java

Aspose.Slides for Java


Aspose.Slides for Java is PowerPoint document manipulation and processing API to read, write, manipulate and convert PowerPoint files within any Java based application. API does not have any external dependencies so it can be used without requiring Microsoft PowerPoint.

Being a powerful and comprehensive API, all PowerPoint presentation elements such as slides, tables, text, MSO charts, shapes, images and SmartArt diagrams are accessible for manipulation. Moreover, Aspose.Slides for Java API supports exporting presentation slides to PDF, XPS, TIFF, HTML and PDF Notes.



Advanced Java PowerPoint API Features



Create new slides or clone existing slides from templates


Save & open PowerPoint files to & from streams


Generate presentations from database


Create shapes on slides


Add text to shapes


Support working with PowerPoint tables


Handle text & shape formatting


Apply or remove protection on shapes


Scan text from presentations


Render slides to images


Export presentations to fixed-layout formats


Export to plain TIFF or TIFF with Notes


Export slides to SVG


Add images to presentations


Embed Excel charts as OLE objects in slides


Generate MSO Charts


Export presentation to HTML


Import & export HTML text to & from presentation slides


Support for ActiveX components


Support for SmartArt shapes


Protect presentations & converted PDF files


Support for VBA Macros


Print PowerPoint presentations


Use Aspose.Slides for Java classes in PHP


Extract text from PPT document

Reliably Export Presentations as PDF, TIFF or XPS

Aspose.Slides for Java has its own rendering engine, specially designed for rendering with highest of fidelity to the Microsoft PowerPoint. This feature allows you to export presentations to a number of standard formats such as PDF, TIFF and XPS with results identical to the original presentation. Moreover, in order to export a presentation, you only need to load the presentation file and call the save method along with the desired output format. It is that simple!

Render presentations - Java

// load the file to be rendered
Presentation presentation = new Presentation(dir + "template.pptx");
// save in different formats + "output.pdf", SaveFormat.Pdf); + "output.xps", SaveFormat.Xps); + "output.tiff", SaveFormat.Tiff);

Complete Control Over PowerPoint Slide Elements

Aspose.Slides for Java can handle all presentation slide elements including text box, table, rectangle, ellipse, polyline, auto-shape, picture frame, audio frame, video frame & OLE object frame. API provides well-designed set of classes that enables you to comprehensively manipulate each of these elements.

Detailed Formatting of Presentation Contents

It is possible to format text and shapes on slides in a presentation using Aspose.Slides for Java API. Text is managed through text frames associated with shapes. Hence text is formatted using paragraphs and portions associated with the text frames. You can also manipulate attributes of shape element like position, size, line, image, text and fill.

Microsoft Office Automation – Not Needed

Aspose.Slides for Java is built using managed code that does not need Microsoft Office or Microsoft PowerPoint to be installed on the machine to work with PowerPoint document formats. It is a perfect Microsoft PowerPoint automation alternative in terms of supported features, security, stability, scalability, speed and price.


Support and Learning Resources


Aspose.Slides offers individual PowerPoint APIs for other popular development environments as listed below: