Skip to main content

Posts

Showing posts with the label Add comment to text in Word in Java

Add Comment to Specific Text and Get Marked Text of Specific Comment in Word in Java

  A comment is a note or annotation that an author or reviewer can add to a document. In this article, I will illustrate how to add comment to specific text and get the marked text of a specific comment in a Word document using Java. Add Dependencies Free Spire.Doc for Java library are used to achieve the functionality. 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/public/</url>         </r...