Aspose word comparison is not working properly with Dot Net Core

While comparing two word documents using Aspose.Words, there are multiple alignment issues and word overlapping’s in the compare report.
Below is the code snippet used in Dot Net Core:

static void Main(string[] args)
{
    // Set the license for Aspose.Words
    new License().SetLicense("C:\\Project Area\\Feasibility\\AsposeCompare\\AsposeCompare\\License.lic");

    // Load the PDF documents
    var fileStream1 = new FileStream("C:\\Project Area\\Feasibility\\AsposeCompare\\Compare1.docx", new FileStreamOptions { Options = FileOptions.Encrypted });
    var fileStream2 = new FileStream("C:\\Project Area\\Feasibility\\AsposeCompare\\Compare2.docx", new FileStreamOptions { Options = FileOptions.Encrypted });

    Document docA = new Document(fileStream1);
    Document docB = new Document(fileStream2);

    // Set up the comparison options
    CompareOptions options = new CompareOptions();
    options.Target = ComparisonTargetType.New;

    // Perform the comparison
    docA.Compare(docB, "Author", DateTime.Now, options);

    // Save the comparison result
    docA.Save("C:\\Project Area\\Feasibility\\AsposeCompare\\Comparison_Output.pdf");

    Console.WriteLine("Done");
}

Please check the below screenshots for reference for alignment issues and words overlapping:

@MaheshChegu Could you please attach your input and output documents here for testing? We will check the issue and provide you more information. Unfortunately, screenshots does not allow us to analyze the problem.

Compare1.docx (148.2 KB)

Compare2.docx (155.0 KB)

Comparison_Output.docx (263.5 KB)

Attached the files. Please have a look.

@MaheshChegu Thank you for additional information. I do not see the problem in Aspose.Words comparison. The problem occurs because your document are created using floating content only, i.e. with text frames. Aspose.Words document comparison output is similar to MS Word document comparison output: ms.docx (447.5 KB). So the output produced by Aspose.Words is correct and expected.

@alexey.noskov
These documents are getting generated through SSRS and RDL file. Thats why we have the floating contents in the document. Could you please check on what are the corrective actions expected or suggested actions to make the comparison works as expected? Can Aspose have the capability to change the floating content to inline format before comparison? Or it should be corrected at the SSRS design level?

@MaheshChegu I am afraid, there is no option in Aspose.Words to change the document layout from floating to inline without losing the document layout. So it is required to make changes at the SSRS design level.