Page 1 of 1

docx comparison issue

PostPosted: Wed Sep 28, 2011 4:17 pm
by balaguruparan
I am using docx4j-2.7.0 version for comparing two docx files, and working on windows plat form, using jdk1.6. I am facing this issue while comparing two documents.
I am taking some text content from ui and using that creating the first docx file. with same text content with some small corrections here and there i am creating the second docx file. while compare these tow files and create the html version of compared document should show only where i made changes.but actually whats happening its removing the entire paragraph where i made change and adding a new paragraph with changes.here i am attaching the files which i compared and code what i used for creating and comparing, unable attach the output file its in html format. please help me to solve this issue......


thanks in advance
CompareDocument.java
code used for creating and comparing
(8.15 KiB) Downloaded 327 times
version1.docx
version one document
(3.76 KiB) Downloaded 340 times
version2.docx
version two document
(3.76 KiB) Downloaded 310 times

Re: docx comparison issue

PostPosted: Thu Sep 29, 2011 1:16 am
by suncity65
Hi Jason

Even we have same issue, if you can help us out in some sample it would be really great.. trying to figureout from past several weeks.
thanks