# Use Cases Practical use cases and real-world examples demonstrating how to use GroupDocs.Comparison for Java in various scenarios, including Excel spreadsheet comparison, password-protected documents, OCR-based image comparison and external resource loading. This section showcases practical use cases for **GroupDocs.Comparison for Java**, guiding you through common scenarios and advanced implementations. Here you will find examples on comparing Excel spreadsheets programmatically, applying custom styling, controlling visibility of changes, comparing password-protected documents and scanned images, and controlling how external resources are loaded. ### Pages in this section - [Compare Excel Spreadsheets: Advanced Cell-by-Cell Analysis in Java]({{< ref "/comparison/java/use-cases/compare excel spreadsheets/compare-excel-spreadsheets.md" >}}) – Learn how to compare Excel spreadsheets with custom styling, visibility controls, summary pages, and advanced comparison options. - [Comparing Password-Protected Documents in Java]({{< ref "/comparison/java/use-cases/compare password protected documents/compare-password-protected-documents.md" >}}) – Five approaches to comparing encrypted PDF and Word documents and protecting the result. - [Comparing Scanned Images by Their Recognized Text in Java]({{< ref "/comparison/java/use-cases/ocr based image comparison/ocr-based-image-comparison.md" >}}) – Compare scans and screenshots by the text recognized in them (OCR) instead of by their pixels. - [Three Ways to Handle External Resources When Comparing Documents]({{< ref "/comparison/java/use-cases/configuring external resource loading/configuring-external-resource-loading.md" >}}) – Skip, whitelist or load the remote images and fields that documents reference. ## Contents - [Compare Excel Spreadsheets. Advanced Cell-by-Cell Analysis in Java](https://docs.groupdocs.com/comparison/java/compare-excel-spreadsheets.md) - [Comparing Password-Protected Documents in Java - Five Approaches Compared](https://docs.groupdocs.com/comparison/java/compare-password-protected-documents.md) - [Comparing Scanned Images by Their Recognized Text in Java - Integration Guide](https://docs.groupdocs.com/comparison/java/ocr-based-image-comparison.md) - [Three Ways to Handle External Resources When Comparing Documents - Complete Comparison Guide](https://docs.groupdocs.com/comparison/java/configuring-external-resource-loading.md)