How to compare 2ms doc doc with org.eclipse.compare api and java

I want to compare a 2 millisecond text document, after searching for the lot, I found 2 ways to do this.

1) compare with docx4j api. 2) compare with org.eclipse.compare api.

with docx4j we can only compare 2 paragraphs and it will only work with the .docx extension.

so i feel that if we can compare docs with eclips compare api than it would be better.

I want a sample code to compare anything with the eclipse compare api. if any body has already tried please send me a sample code ...

appreciate your help ...

0


a source to share


3 answers


I found this tutorial on using eclipse libraries. Not sure if it supports docx.



0


a source


Take a look at this link: Compare Word Documents . Maybe this will help.



And this: Ecplise Documentation

0


a source


You can also try to compare with Apache Poi.

http://poi.apache.org

0


a source







All Articles