Aspose.Slides Java for Apache POI SL - HSLF and XSLF
Introduction
Apache POI - HSLF and XSLF
HSLF is the POI Project’s pure Java implementation of the Powerpoint ‘97(-2007) file format.
HSLF provides a way to read, create or modify PowerPoint presentations. In particular, it provides:
- api for data extraction (text, pictures, embedded objects, sounds)
- usermodel api for creating, reading and modifying ppt files
XSLF is the POI Project’s pure Java implementation of the PowerPoint 2007 OOXML (.xlsx) file format.
Whilst HSLF and XSLF provide similar features, there is not a common interface across the two of them at this time.
Read more at poi.apache.org
Aspose.Slides for Java
Aspose.Slides for Java is a unique PowerPoint management component that enables Java applications to read, write and manipulate PowerPoint documents (PPT, PPTX, POS, PPS, POTX, PPSX) PDF, HTML and image file formats without using Microsoft PowerPoint.
Aspose.Slides for Java is the first and only Java component that provides functionality to manage PowerPoint documents within your own applications.
As with all Aspose Java components, Aspose.Slides for Java is written in pure Java, incredibly priced and lightning fast.
Read more at aspose.com
Aspose.Slides Java for Apache POI - HSLF and XSLF
Project Aspose.Slides for Apache POI - HSLF and XSLF shows how different tasks can be performed using Aspose.Slides Java APIs in comparison with Apache POI HSLF and XSLF. The project also covers the features that are only available in Aspose.Slides APIs but not in Apache POI HSLF and XSLF for dealing with presentations.
This project is helpful for developers who want to compare Apache POI HSLF and XSLF with Aspose.Slides OR migrate from Apache POI HSLF and XSLF to Aspose.Slides.
System Requirements and Supported Platforms
System Requirements
Following are the system requirements to execute Aspose.Slides Java for Apache POI - HSLF and XSLF:
- Java 1.4 or above installed.
- Downloaded Aspose.Slides component.
- Downloaded Apache POI - HSLF and XSLF libraries.
Supported Platforms
Following are the supported platforms:
- Apache POI 3.11.
- Aspose.Slides 14.10.0 and above.
- Java IDE (Eclipse, NetBeans, IntelliJ, …).
Downloading
Download Examples from social coding websites
You can directly include the source code of Aspose.Slides Java for Apache POI in your own project, Following releases of running examples are available to download on all of the below mentioned social coding sites:
GitHub
To configure Aspose.Slides for Java API, include the Aspose repository URL and Aspose.Slides for Java API maven dependency in your pom.xml as following:
Aspose Maven Repository
<repositories>
<repository>
<id>aspose-maven-repository</id>
<name>Aspose Maven Repository</name>
<url>http://repository.aspose.com/repo/</url>
</repository>
</repositories>
Aspose.Slides for Java Maven Dependency
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-slides</artifactId>
<version>15.5.0</version>
<classifier>jdk16</classifier>
</dependency>
Note: Please use the available latest version of the Aspose API.
Support, Extend and Contribute
Support
From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.
This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.
You can log any issues or suggestions related to Aspose.Slides Java for Apache POI HSLF and XSLF using any of the following platforms:
Extend and Contribute
Aspose.Slides Java for Apache POI (HSLF + XSLF) is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.
Source Code
You can get the latest source code from one of the following locations:
How to configure the source code
Please follow these simple steps in order to open and extend the source code while using:
Eclipse IDE
- Download/Clone the source code.
- Open Eclipse and Choose File > Import…
- Select General > Existing Projects into Workspace.
- Browse to select root directory of the latest source code that you have downloaded.
- Click Finish to successfully import the downloaded project.
NetBeans IDE
- Download/Clone the source code.
- Open NetBeans and Choose File > New Project…
- In Choose Project tab: Select Java > Java Project with Existing Sources.
- In Name and Location tab: Provide your desired Project Name and Project Folder.
- In Existing Sources tab: Click Add Folder… and browse to select root directory of the latest source code that you have downloaded.
- Click Finish to successfully create the downloaded project.
Source code overview
There are two projects related to Aspose.Slides Java for Apache POI - HSLF and XSLF
- Aspose.Slides vs Apache POI HSLF and XSLF - Contains the code comparison for features in Apache POI (HSLF and XSLF) and Aspose.Slides.
- More Features of Aspose.Slides - Contains the abundant features of Aspose.Slides in comparison with Apache POI HSLF + XSLF for dealing with Microsoft PowerPoint and OpenOffice presentations.
Sample Code Examples
This section includes the following topics
- Code Comparison for Common Features in Aspose.Slides and Apache POI - HSLF and XSLF
- Working with Presentation using Apache POI and Aspose.Slides
- Add Slides to Presentation using Apache POI and Aspose.Slides
- Count Number of Slides using Apache POI and Aspose.Slides
- Create New Presentation using Apache POI and Aspose.Slides
- Delete Slides from Presentation using Apache POI and Aspose.Slides
- Open and Save Presentation using Apache POI and Aspose.Slides
- Working with Slides in Apache POI and Aspose.Slides
- Add Background to Slides using Apache POI and Aspose.Slides
- Add Images in Slides using Apache POI and Aspose.Slides
- Convert Presentation Slides to Image using Apache POI and Aspose.Slides
- Create Slides with Different Layouts using Apache POI and Aspose.Slides
- Move Slide to New Position using Apache POI and Aspose.Slides
- Set Slide Title using Apache POI and Aspose.Slides
- Working with Auto Shapes using Apache POI and Aspose.Slides
- Working with Header and Footer using Apache POI and Aspose.Slides
- Working with Tables in Apache POI and Aspose.Slides
- Working with Text using Apache POI and Aspose.Slides
- Working with Presentation using Apache POI and Aspose.Slides
- Missing Features in Apache POI - HSLF and XSLF
- Working with Presentation using Aspose.Slides
- Working with Slides using Aspose.Slides
- Working with Charts using Aspose.Slides
- Adding Chart Trend Lines using Aspose.Slides
- Adding Error Bars for Charts using Aspose.Slides
- Create PPT Charts using Aspose.Slides
- Formatting Chart Entities using Aspose.Slides
- Setting Number Format for Chart Data Cell using Aspose.Slides
- Setting Pie Chart Sector Colors using Aspose.Slides
- Updating Existing Chart using Aspose.Slides
- Working with Smart Art using Aspose.Slides
- Working with Media Controls using Aspose.Slides
- Presentation Security using Aspose.Slides