Get Only Summary Page

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Comparison MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-comparison -- dnx GroupDocs.Comparison.Mcp --yes
Folders, licensing and more →

GroupDocs.Comparison for Python via .NET can produce a result document that contains only the summary page — useful when you want to share change counts without exposing the underlying document content.

Example: Get only the summary page

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

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

if __name__ == "__main__":
    get_only_summary_page()

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, 8 KB)

Download full output

Use case: share a concise overview of differences without exposing full document content.

The result is as follows:

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 a concise overview without exposing full document content
extended_summary_page = TrueAdds per-section statistics to whichever summary mode is activeReporting to non-technical stakeholders who need the breakdown

The three flags can be combined — e.g., show_only_summary_page = True plus extended_summary_page = True produces a summary-only document with the richest statistics.