I am looking for a Java API which can compare two microsoft word documents.
We are using Linux server so we can't install Microsoft Word in it.
EDIT :- We want to compare two document and what ever things are not common that we have to highlight with some color or any other way ... So I thing we have to merge both document and highlight content which are not common.
解决方案
There is an Apache POI - Java API to do this.
Example source code is here.
I found another article doing the same thing in Java, but uses windows COM to do this. If you are using Linux, it suggests using a remote windows machine to do the work. The article contains detailed explanation: Word from Java