Free Support Forum -

Comparison is not working on Footnote


Hi Team,

Comparison is not working on Footnote



Thanks for your inquiry.
Please find source, target and output documents - Concerned (44.8 KB). Output document shows both inserted and deleted components.
We’ll appreciate if you share comments in the output document. That will further help us in the investigation.



we have tested with sample documents with footnote, But it got failed (compared nothing).

Find the code below and attachment is (34.5 KB)

        ComparisonSettings objComparisonSettings = new ComparisonSettings();
        objComparisonSettings.CalculateComponentCoordinates = true;
        objComparisonSettings.DeletedItemsStyle.StrikeThrough = true;
        objComparisonSettings.DeletedItemsStyle.FontColor = System.Drawing.Color.Red;

        objComparisonSettings.DetailLevel = DetailLevel.Hight;
        objComparisonSettings.DiagramMasterSetting.UseSourceMaster = true;
        objComparisonSettings.GenerateSummaryPage = true;
        objComparisonSettings.InsertedItemsStyle.FontColor = System.Drawing.Color.Green;
        objComparisonSettings.MarkDeletedInsertedContentDeep = true;
        objComparisonSettings.ShowDeletedContent = true;
        objComparisonSettings.StyleChangeDetection = true;
        objComparisonSettings.UseFramesForDelInsElements = true;

        objComparisonSettings.StyleChangedItemsStyle.HighlightColor = System.Drawing.Color.LightGray;
        objComparisonSettings.StyleChangedItemsStyle.FontColor = System.Drawing.Color.Black;

        char[] Mychars = { ' ' };
        objComparisonSettings.WordsSeparatorChars = Mychars;

        // Get instance of GroupDocs.Comparison.Comparer and call method Compare.
        GroupDocs.Comparison.Comparer comparison = Common.getComparison();
        ICompareResult result = comparison.Compare(@"D:\GroupDocsTesting\Footnote\old.docx", @"D:\GroupDocsTesting\Footnote\new.docx", objComparisonSettings);




This issue is reproduced at our end. Hence, it has been logged in our internal issue tracking system with ID COMPARISONNET-1808. As we get any further update on it, we’ll notify you.