Get Extended Information on the Summary Page

GroupDocs.Comparison for Python via .NET can append a summary page with extended statistics to the comparison result, going beyond the basic insert/delete/modify counts.

Example: Enable extended summary information

from groupdocs.comparison import Comparer
from groupdocs.comparison.options import CompareOptions

def get_extended_summary_information():
    with Comparer("./source.docx") as comparer:
        comparer.add("./target.docx")
        options = CompareOptions()
        options.extended_summary_page = True
        comparer.compare("./result.docx", options)

if __name__ == "__main__":
    get_extended_summary_information()

source.docx is the source file used in this example. Click here to download it.

target.docx is the target file used in this example. Click here to download it.

Binary file (DOCX, 26 KB)

Download full output

Use case: provide management with detailed metrics beyond the standard summary counts.

The result is as follows:

What you get with extended summary

The extended summary expands the default change-count summary with:

  • Per-section change counts (header, body, footer, footnotes).
  • Style-change counts broken out from content-change counts.
  • Document-property diffs (when combined with compare_document_property = True).
  • Page-by-page change distribution.

When to use which summary option

OptionResult contentUse it when
generate_summary_page = TrueResult document body + appended summary pageYou want both the diff and a high-level overview
show_only_summary_page = TrueOnly the summary page, no bodyYou want to share a concise overview without exposing full document content
extended_summary_page = TrueAdds per-section statistics to whichever summary mode is activeYou’re reporting to non-technical stakeholders who need the breakdown
Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.