Skip to main content

Posts

Showing posts with the label Remove hyperlinks in Word in Java

Remove Multiple Hyperlinks from Word Document in Java

When you get a document that contains multiple hyperlinks that you don’t want to jump to, you may want to remove the hyperlinks from the document. In this article, I will introduce how to remove all the hyperlinks in a Word document at once but keep the text programmatically in Java. Add Dependencies In order to remove hyperlinks from a Word document, I used Free Spire.Doc for Java library. There are two ways to include Free Spire.Doc 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/nexus/content/groups/pu...