Java PowerPoint Processing APIs
Read, Write and Manipulate PowerPoint Slides as well as Transform presentations to PDF, HTML and image formats within any Java-based application.Download Free Trial
Aspose.Slides for Java
Aspose.Slides for Java is PowerPoint document manipulation and management API to read, write, manipulate and convert PowerPoint files. 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.
Aspose.Slides for Java API supports exporting presentation slides to PDF, PDF/A, XPS, HTML and image formats. API does not have any external dependencies so it can be used without requiring Microsoft PowerPoint.
At A Glance
An overview of Aspose.Slides for Java to render and process PowerPoint presentation elements
- Create Charts
- Work with SmartArts
- Work with PowerPoint Shapes
- Support for ActiveX Controls
- Support for Ole Objects
- Manage Text & Formatting
- Manage Hyperlink Text
- Set Placeholder Type
- Text placeholders & frames
- Supports MSO Charts
- Supports SmartArt Shapes
- Supports ActiveX Shapes
- Manage Slide Transitions
- Manage Animation Effects
- Add Connectors to Shapes
- Rotate & Flip Shapes
- Manage Shape's Line Styles
Presentation API can be consumed in any Java based desktop, enterprise web application or in any Linux and Unix environment.
- JSP/JSF Application
- Desktop Application
Supported File Formats
Aspose.Slides for Java API supports all popular PowerPoint formats.
- Microsoft PowerPoint: PPT, PPTX, PPS, POT, PPSX, PPTM, PPSM, POTX, POTM
- OpenOffice: ODP
- Fixed Layout: PDF, PDF/A, XPS
- Images: JPEG, PNG, BMP, TIFF, GIF
- Web: HTML
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
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
Support for MSO 2016 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
Set Font Size of Individual Legend
Create Stock Chart & Get Chart Image
Change Series Color
Set Chart Area Rounded Borders
Change Color of Categories in Series
Set Font Properties for Chart Data Table
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 presentation.save(dir + "output.pdf", SaveFormat.Pdf); presentation.save(dir + "output.xps", SaveFormat.Xps); presentation.save(dir + "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.
SmartArt Creation, Manipulation & Formatting
Aspose.Slides for Java facilitates in creating SmartArt shapes from scratch as well as provides the ability to access, manipulate or remove existing SmartArt shapes from a slide. Furthermore, the Java Presentation API provides the ability to manipulate layout, style & color of SmartArt shapes. Aspose.Slides for Java can also be used to dynamically explore the SmartArt's properties or to manage SmartArt nodes.
Create Thumbnails of Presentation Slides
Aspose.Slides for Java allows to create thumbnails of the presentation slides so that you may distribute slide images to those users who do not have the PowerPoint application installed on their machines or you may use images in your custom websites - possibilities are limitless.
Create slide's thumbnail - Java
// load the presentation file Presentation presentation = new Presentation(dir + "template.pptx"); // access the first slide from the collection ISlide slide = presentation.getSlides().get_Item(0); // create a full scale image of the slide BufferedImage image = slide.getThumbnail(1f, 1f); // save the image in JPEG format ImageIO.write(image, "jpeg", new File(dir + "output.jpg"));
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.