Skip to main content

Posts

How to Read, Update, and Clear PDF Document Properties in Java

  PDF files can contain information beyond what's displayed on their pages, including the document title, author, subject, keywords, and creation date. These properties can be viewed in PDF readers and are sometimes used to organize or identify documents. You may need to check these details, correct outdated information, or clear certain properties before sharing a PDF. This article covers how to read, update, and clear common PDF document properties using Java. 1. Add the Maven Dependency First, add a PDF 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>...

How to Add, Edit, and Remove Hyperlinks in PowerPoint Using Java

  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 ...