Split Slides with Java REST API

Follow this article to split slides with Java REST API. You will learn to automatically split PPTX with Java based API using a Java-based Cloud SDK. It shares all the properties required for the customization of the conversion process.

Prerequisite

Steps to Split PPT with Java Low Code API

  1. Create an object of the SlidesApi class by setting the client ID and secret
  2. Upload the source presentation into the Cloud storage by setting a unique name
  3. Call the Split() method using the uploaded file name, output image format, starting slide, and last slide number
  4. Parse all the slides in the response object
  5. Download each slide image using the image name in the Href string
  6. Save the downloaded image on the disk

These steps explain how to develop a PowerPoint splitter tool with Java REST Interface. Create a SlidesApi object, upload the source presentation file, and call the Split() method by providing the required information. Parse the API response and save all the images created against individual slides on the local disk.

Code for PowerPoint Splitter with Java RESTful Service

This code demonstrates how to develop a PowerPoint splitter online with Java REST Interface. The Split() method requires the uploaded file name, the output image format using the SlideExportFormat enumerator, from index and to index to define the range of slides. The Href of each item in the slides collection contains the reference to the online image created by the API and can be used for downloading the images.

This article has taught us developing a PPTX splitter with Java RESTful Service. If you want to merge presentations, refer to the article on Merge presentations with Java REST API.

 English