Skip to main content

Posts

Showing posts with the label Java PowerPoint

Replace Text and Image in PowerPoint in Java

Replacing text or image one-by-one manually is time consuming and inefficient, especially when dealing with a large document with a huge amount of data. In this article, I will demonstrate how to replace text and image in PowerPoint programmatically in Java using Free Spire.Presentation for Java library. Contents Add dependencies Replace text with new text Replace image with new image Add Dependencies There are two ways to include Free Spire.Presentation for Java in your Java project. For maven projects, add the following dependencies to your project’s pom.xml file: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <repositories>         <repository>             <id>com.e-iceblue</id>             <name>e-iceblue</name>             <url>http: //repo.e-iceblue.com/nex...