Compare Upper Lower Case Italic Characters in Word Documents using Java | Set DOCX to Use as Target during Comparison

Hi Team,

I found one more issue in comparing document. Below code I am using
CompareOptions options = new CompareOptions();
options.setIgnoreFormatting(true);
options.setIgnoreCaseChanges(true);
options.setTarget(ComparisonTargetType.NEW);

Content in our first doc is - “This Doc has Upper case letter.”
Content in our second doc is - “This doc has lower Case letter.”
Content in final generated doc is - " This Doc has Upperlower case letter."
Our expected output is - " This doc has Upperlower Case letter."

In final doc “letter” is showing in italic as in second doc but “doc” and “Case” is showing as in first doc while it also showing as second doc.

Please check and help to resolve.

Thanks & Regards,
Gajendra Jha

@gajendra.jha,

We have logged this problem in our issue tracking system. Your ticket number is WORDSNET-20773. We will further look into the details of this problem and will keep you updated on the status of the linked issue.

@awais.hafeez

Thanks for your support. Can you please confirm, when you are planing to provide fix for this?

Thanks & Regards,
Gajenda Jha

@gajendra.jha,

We have planned to integrate the fix of this issue in Aspose.Words 20.9 - Sep 2020 release. If everything goes by plan, then we are very hopeful to include the fix of this issue in Aspose.Words 20.9 release which will be published at the start of September 2020 .But, please note that this estimate is not final at the moment. We will notify you here as soon as this issue will get resolved in future. We apologize for any inconvenience.

The issues you have found earlier have been fixed in this Aspose.Words for .NET 20.12 update and this Aspose.Words for Java 20.12 update.

Thanks for resolution.