We need to compare two word documents and for this feature, we are using Document.compare(Document, User, Date) API.
We tried to evaluate this API with a specific scenario, where normal text’s format is being chnaged to MS Word native heading i.e.,Heading 3.
In the revision document, we are seeing whole content being striked off. The revision docuemnt looks messy and totally wrong.
The code used for this feature is given below:
Document doc1=new Document(“10k.docx”);
Document doc1=new Document(“10k_NormalText_To_Heading.docx”);
The documents are attached for your reference.
Please help us in resolving this issue.