Tuesday, October 4
Shadow

Compare Two Word Documents, Find and Highlight Differences in Java

/*
 * Compare Two Word Documents and Hightlight Changes in Java
 */
try (Comparer comparer = new Comparer("path/document-ver1.docx")) {
    comparer.add("path/document-ver2.docx");
    final Path resultPath = comparer.compare("path/compared-result.docx");
}

Leave a Reply