good day
I made small changes to the document but the document compare doesn’t match it. I miss the header and a lot of the text is marked with revision marks. It’s OK in MS Word. Could you take a look at it for me?
Thank you in advance
TB
good day
I made small changes to the document but the document compare doesn’t match it. I miss the header and a lot of the text is marked with revision marks. It’s OK in MS Word. Could you take a look at it for me?
Thank you in advance
TB
@benestom Could you please attach your input and output documents here for testing? We will check the issue and provide you more information.
1tcp0040.3NewV0.1.docx (1.2 MB)
1tcp0040.3NewV0.10.docx (1.2 MB)
Mi code:
Document docRA = new Document(@"1tcp0040.3NewV0.1.docx");
Document docRB = new Document(@"1tcp0040.3NewV0.10.docx");
docRA.Compare(docRB, "CezGenerator", DateTime.Now);
Error
Pages 12 lose headers
from page 13 there are revisions to the next
@benestom Unfortunately, I cannot reproduce the problem on my side using the latest 22.7 version of Aspose.Words for .NET. Here code I used for testing:
Document docRA = new Document(@"C:\Temp\1tcp0040.3NewV0.1.docx");
Document docRB = new Document(@"C:\Temp\1tcp0040.3NewV0.10.docx");
docRA.AcceptAllRevisions();
docRB.AcceptAllRevisions();
CompareOptions options = new CompareOptions();
options.Granularity = Granularity.CharLevel;
docRA.Compare(docRB, "CezGenerator", DateTime.Now, options);
docRA.Save(@"C:\Temp\out.docx");
Could you please attach your output document, make a screenshot of the problem and provide an expected output? This will help us to better understand the problem and provide you a solution.