This guide contains information on how to add notes to PowerPoint slides with Java REST API. You will learn to automatically add speaker notes to PowerPoint with Java RESTful Service using a Java-based Cloud SDK. A complete sample code is also part of this article demonstrating how to upload a presentation, perform desired operations, and download the updated presentation.
Prerequisite
- Create an account API credentials
- Download Aspose.Slides Cloud SDK for Java for inserting notes in the slides
- Setup Java project with the above SDK to add speaker notes in a slide
Steps to Add Notes on PowerPoint with Java Low Code API
- Create the SlidesApi object with ID and secret for adding speaker notes
- Upload the presentation to the Cloud storage for inserting notes
- Create the NotesSlide object and set the text for the notes
- Call the CreateNotesSlide() method to insert notes
- Download the output file and save on the disk
These steps summarize how to add speaker notes in PowerPoint with Java RESTful Service. Create the SlidesApi object by providing the required parameters, upload the source presentation, and create the NotesSlide object with notes text. Finally, call the CreateNotesSlide() method to insert notes and download the updated presentation.
Code to Add Presentation Notes to PowerPoint with Java REST Interface
This code demonstrates how to insert notes in PowerPoint with Java based API. You may upload multiple presentations to the Cloud storage and provide the target presentation name where notes are to be added while calling the CreateNotesSlide method. Other parameters are the slide number and reference to the NotesSlide object created for the presentation.
This article has guided us in working with the presentation notes. To add animation to a PowerPoint slide, refer to the article on Animate PowerPoint slides with Java REST API.