Free Support Forum -

Comparing two DOCX files doesn't highlight all differences in Java

Hi ,
I am trying to compare two docx streams .I am getting the result file with one highlight word in blue. But i see more diffferences between source and target . I am attaching those files .Let me know what should i do to highlight changes in red.
Code Snippet : Compare version (20.4 - not licensed version)
final Comparer comparer = new Comparer(sourceStream);
CompareOptions compareOptions= new CompareOptions();
StyleSettings sty = new StyleSettings();
compareOptions.setChangedItemStyle(sty);,compareOptions); (174.6 KB)


We are investigating this issue. Your investigation ticket ID is COMPARISONJAVA-893. As there’s any update, you’ll be notified.

Sure .Thank you.

1 Like


You’re welcome.