<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-slides-cloud</artifactId>
    <version>20.2.0</version>
</dependency>
copied!  
compile(group: 'com.aspose', name: 'aspose-slides-cloud', version: '20.2.0')
copied!  
<dependency org="com.aspose" name="aspose-slides-cloud" rev="20.2.0">
    <artifact name="aspose-slides-cloud" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-slides-cloud" % "20.2.0"
copied!  

Java REST API to Process Presentation in Cloud

banner

Product Page | Documentation | Live Demo | Swagger UI | Code Samples | Blog | Free Support | Free Trial

Aspose.Slides Cloud SDK for Java helps you work with spreadsheet file formats (PowerPoint® & OpenOffice®) within your cloud-based Java Apps, without installing any 3rd party software. It is a wrapper around Aspose.Slides Cloud REST APIs.

Cloud Presentation Processing Features

  • Convert presentation or selected slides to various supported file formats.
  • Split or merge PowerPoint® presentations.
  • Work wih presentation themes (FontScheme, FormatScheme, ColorScheme).
  • Supports animation and animated effects.
  • Add, update, extract, & download slide notes.
  • Apply shapes (Geometry Paths, Zoom Frames, WordArt) within slides.
  • Specify folder for custom fonts.
  • Supports various styles of charts (Column Charts, Pie Charts, Sunburst Charts, Scattered Charts, Bubble Charts).
  • Extract slide information (Placeholders, Placeholder count, Font scheme, Color scheme, Background, Comment).
  • Replace text from the desired slides or from whole presentation.

Read & Write Presentation Formats

Microsoft PowerPoint®: PPT, PPTX, POT, POTX, PPS, PPSX, PPTM, PPSM, POTM
OpenOffice®: ODP, OTP

Save Presentation As

Fixed Layout: PDF, XPS
Images: JPEG, PNG, GIF, BMP, TIFF
Vector: SVG
Web: HTML
Other: SWF

Requirements

Building the API client library requires:

  1. Java 1.7+
  2. Maven

Prerequisites

To use Aspose.Slides Cloud SDK for Java you need to register an account with Aspose Cloud and lookup/create Client ID and Client Secret at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation

Install from Maven

Add Aspose Cloud repository to your application pom.xml

<repositories>
    <repository>
        <id>AsposeJavaAPI</id>
        <name>Aspose Java API</name>
        <url>https://repository.aspose.cloud/repo/</url>
    </repository>
</repositories>

Install from source

To install the API client library to your local Maven repository, simply execute:

mvn clean install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn clean deploy

Refer to the OSSRH Guide for more information.

Maven users

Add this dependency to your project’s POM:

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-slides-cloud</artifactId>
    <version>22.4.0</version>
</dependency>

Others

At first generate the JAR by executing:

mvn clean package

Then manually install the following JARs:

  • target/aspose-slides-cloud-22.4.0.jar
  • target/lib/*.jar

Converts PowerPoint document to PDF format

The example code below using aspose-slides-cloud library:

Configuration configuration = new Configuration();
configuration.setAppSid("MyClientId");
configuration.setAppKey("MyClientSecret");
SlidesApi api = new SlidesApi(configuration);
File response = api.convert(Files.readAllBytes(Paths.get("MyPresentation.pptx")), ExportFormat.PDF, null, null, null);
System.out.println("My PDF was saved to " + response.getPath());

Licensing

All Aspose.Slides Cloud SDKs, helper scripts and templates are licensed under MIT License.

Authorization & Authentication

Authentication schemes defined for the API is as follows:

JWT

Recommendation

It’s recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.

Product Page | Documentation | Live Demo | Swagger UI | Code Samples | Blog | Free Support | Free Trial

VersionRelease Date
22.7.0August 1, 2022
22.6.0July 13, 2022
22.5.0June 6, 2022
22.4.0April 23, 2022
22.3.0March 30, 2022
22.2.0March 4, 2022
22.1.0February 4, 2022
21.12.0December 27, 2021
21.9.0October 8, 2021
21.8.0September 4, 2021
21.6.0July 9, 2021
21.3.0April 9, 2021
21.2.0February 27, 2021
21.1.0February 2, 2021
20.12.0December 27, 2020
20.10.0October 27, 2020
20.9.0October 5, 2020
20.8.0September 4, 2020
20.7.0August 5, 2020
20.6.0July 15, 2020
20.5.0June 2, 2020
1.0.0May 12, 2020
1.0.1May 12, 2020
1.0.2May 12, 2020
20.4.0May 8, 2020
20.2.0March 3, 2020
19.10.0November 5, 2019
19.9.0September 30, 2019
19.8.0September 9, 2019
19.7.0July 31, 2019
19.6.0June 28, 2019
19.5.0June 10, 2019
19.1.0February 18, 2019
18.12.0January 11, 2019
FileClassifierSize
aspose-slides-cloud-20.2.0.jar1.21 MB