<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-comparison</artifactId>
<version>19.3</version>
</dependency>
compile(group: 'com.groupdocs', name: 'groupdocs-comparison', version: '19.3')
<dependency org="com.groupdocs" name="groupdocs-comparison" rev="19.3">
<artifact name="groupdocs-comparison" ext="jar"/>
</dependency>
libraryDependencies += "com.groupdocs" % "groupdocs-comparison" % "19.3"
Java High Code API to Compare Documents & Extract Information
Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
GroupDocs.Comparison for Java is a Java class library & on-premise API for building document comparison & information extraction Java applications with support to compare files from Microsoft Office Word®, Excel®, PowerPoint®, Visio®, OneNote®, OpenOffice®, eBook, PDF, images and various other file formats. Detect document changes by comparing files & accept / reject changes. Compare source code files of supported programming languages, merge them & highlight the changes if required.
Document Comparison Java On-premise API Features
- Detect changes with the following document blocks:
- Characters, words, & paragraphs
- Tables
- Images
- Shapes
- The document changes are highlighted with color coding, such as:
- Additions (blue)
- Modifications (green)
- Deletions (red)
- Ability to customize the color coding to highlight the changes within the document
- Fetch all revisions of a
DOCX
file accept/reject the desired changes & save the resultant file. - Generate document pages preview in
JPG
,PNG
, orBMP
. - Option to pick the associated metadata information from the source document, target document, or provide user-defined metadata.
- Option to secure the comparison resultant document with a password.
- Control the file comparison accuracy and speed by specifying the document comparison sensitivity.
- Ability to perform document comparison of more than two (2) files (Word®, Excel®, PowerPoint®, Email, Text).
- Enhance comparison quality & speed by customizing and providing comparison options with default values.
- Fetch those coordinates within the document preview image where the changes are detected.
- Obtain the list of all the changes detected among the source and target documents.
- Extract a certain text with specific changes from both the source & the target document.
- Merge source code files and highlight the changes.
- Compare documents, detect changes among them and display those changes on a separate page.
Supported Document Comparison File Formats
Fixed Layout: PDF
Microsoft Word®: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTX
Microsoft Excel®: XLS, XLT, XLSX, XLTM, XLSB, XLSM, CSV
AutoCAD®: CAD
Microsoft PowerPoint®: POT, POTX, PPS, PPSX, PPTX, PPT
Microsoft Visio®: VSDX, VSD, VSS, VST, VDX
Microsoft OneNote®: ONE
OpenOffice® Writer: ODT, OTT
OpenOffice® Impress: ODP, OTP
OpenOffice® Calc: ODS
Text: TXT
Web: HTM, HTML, MHT, MHTML
eBook: MOBI, DJVU
Medical Imaging: DCM
Autodek®: DWG
AutoCAD® DXF
Image: BMP, GIF, JPG, JPEG, PNG
Microsoft Outlook® EML, EMLX, MSG
Programming Language: CS, JAVA, CPP, JS, PY, RB
For details and limitations please visit, Supported Document Formats.
System Requirements
- Microsoft Windows: Windows Desktop & Server (x86, x64), Microsoft Azure
- macOS: Mac OS X
- Linux: Ubuntu, OpenSUSE, CentOS, and others
- Java:
J2SE 7.0 (1.7)
DEPRECATEDJ2SE 8.0 (1.8)
or above (for example Java 10)
GroupDocs.Comparison for Java does not require any external software or third party tool to be installed. Just follow one of the ways as described in Installation and Configuration.
Get Started
GroupDocs hosts all Java APIs at the GroupDocs Repository. You can easily use GroupDocs.Comparison for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installation from GroupDocs Repository using Maven documentation page.
Sample Java code to Compare two PDF files from Stream
try (Comparer comparer = new Comparer(new FileInputStream("C:\\source.pdf"))) {
comparer.add(new FileInputStream("C:\\target.pdf"));
final Path resultPath = comparer.compare(new FileOutputStream("C:\\result.pdf"));
}
Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
Version | Release Date |
---|---|
24.7 | July 13, 2024 |
24.6 | June 16, 2024 |
24.3 | March 18, 2024 |
23.10 | October 19, 2023 |
23.5 | May 31, 2023 |
23.3 | March 3, 2023 |
23.1 | January 13, 2023 |
22.11 | November 4, 2022 |
22.3 | March 28, 2022 |
21.6 | January 25, 2022 |
19.6 | January 25, 2022 |
18.6.3 | January 25, 2022 |
18.6.2 | January 25, 2022 |
17.3.2 | January 25, 2022 |
21.6.1 | June 25, 2021 |
20.11 | November 18, 2020 |
20.4 | April 30, 2020 |
19.10 | October 18, 2019 |
19.3 | March 27, 2019 |
18.6.1 | July 19, 2018 |
18.6 | June 5, 2018 |
16.11 | April 19, 2018 |
17.3.0 | April 19, 2018 |
17.3.1 | April 19, 2018 |
3.2.0 | April 19, 2018 |
File | Classifier | Size |
---|---|---|
groupdocs-comparison-19.3-javadoc.jar | javadoc | 225.88 KB |
groupdocs-comparison-19.3.jar | 139.45 MB | |
groupdocs-comparison-19.3.pom | 862 bytes |
GroupDocs.Total GroupDocs.Comparison API on premise PDF DOC DOCM DOCX DOT DOTM DOTX RTX XLS XLT XLSX XLTM XLSB XLSM CSV CAD POT POTX PPS PPSX PPTX PPT VSDX VSD VSS VST VDX ONE ODT OTT ODP OTP ODS TXT HTM HTML MHT MHTML MOBI DJVU DCM DWG DXF BMP GIF JPG JPEG PNG EML EMLX MSG CS JAVA CPP JS PY RB characters words paragraphs table images shapes track-changes metadata document automation