Hi, I don't think there is something ready made as it depends a lot on what you see as "difference", i.e. only Text-Differences, or also Formatting? And what about footer/header, pictures, tables, lists, document settings like page-margins, ....
BTW, for text it should be fairly easy to extract the text-contents using the ExtractorFactory and then using some other functionality to do the diffing, for other things it naturally becomes more difficult depending on how much formatting/document settings you need to include in the diff. One other option that I used before is something like the perl HTML-Diff module (http://search.cpan.org/~neilb/HTML-Diff/lib/HTML/Diff.pm) which can compute differences between HTML documents, so if you can save the document to HTML, it would be possible to use something like this. I did not find a suitable Java functionality a few years back but this might have changed... Dominik. On Mon, Jul 13, 2015 at 12:07 PM, rathnamm <[email protected]> wrote: > Hi Team, > > Is there any standard API method is available in Apache POI to compare two > word document(MS Word) and generate the third document which is the > difference of those two documents? > > Thanks and Regards, > Rathna. > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/Reg-Compare-two-MS-Word-Document-using-Apache-POI-tp5719355.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
