as per your suggestion i tried comparing docx with docx4j org.docx4j.diff.ParagraphDifferencer class but it's comparing the word xml.
what i did is, I checkout docx4j project from svn and configured in my system and run ParagraphDifferencer class. it's giving resultant output in xml.
but will it work if server is linux and office 2007 not installed in server.
if the document is available in the project path it is working fine but when I am giving full path that time it's throwing exception.
please provide me some solution or any other code were I can get xml from docx file.
java.lang.ClassCastException: org.docx4j.wml.Document cannot be cast to org.docx4j.wml.P
Users browsing this forum: Bing [Bot], Google [Bot] and 31 guests