Hyperlinks in PowerPoint can point to websites, external resources, or other slides in the same presentation. For example, you might link a reference document from a project report or create a clickable table of contents for navigating between sections.
Java lets you add hyperlinks to text and images, create links between slides, and update or remove existing links.
This article walks through each of these operations with complete Java examples.
1. Add the Maven Dependency
First, add a PowerPoint processing library to your Java project.
If you're using Maven, include the following repository and dependency in your pom.xml file:
<repositories> <repository> <id> com.e-iceblue </id> <name> e-iceblue </name> <url> https://repo.e-iceblue.com/nexus/content/groups/public/ </url> </repository> </repositories>
<dependencies> <dependency> <groupId> e-iceblue </groupId> <artifactId> spire.presentation </artifactId> <version> 11.9.10 </version> </dependency> </dependencies>
Enter fullscreen mode
Exit fullscreen…