Skip to content

Latest commit

 

History

History

GroupDocs.Comparison.Examples.Java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

GroupDocs.Comparison for Java Examples

This package contains Java Example Projects for GroupDocs.Comparison for Java and sample files.

GroupDocs.Comparison for Java is a flexible and feature rich library which allows you to compare documents for all popular document formats, such as PDF comparison, DOCX comparison, XLSX comparison and many more. Compare documents, retrieve list of changes between source and target document(s), apply or reject changes and save results with GroupDocs.Comparison for Java API. Features:

  • Document comparison - detect differences between source and target document(s) for 50+ supported file formats;
  • Categorize differences between document parts:
  • Deleted – highlighted with red color;
  • Added – highlighted with blue color;
  • Modified – highlighted with green color;
  • Style changes detection for the formats which support styles such as Words Processing, Presentation, PDF;
  • Words detection for Word Processing formats;
  • Formatting change detection, such as adding or removing paragraphs, line breaks in Word Processing format and PDF.
  • Apply or reject changes and save resultant document;
  • Obtain image representations of document pages with/without changes. Supported document formats:
  • Portable Document Formats - PDF (PDF/A-1a, PDF/A-1b, PDF/A-2a);
  • Microsoft Word documents - DOC, DOCX, DOCM, DOT, DOTM, DOTX, RTF, TXT;
  • Microsoft Excel spreadsheets - XLS, XLSX, XLT, XLTM, XLSB, XLSM, CSV;
  • Microsoft PowerPoint presentations - PPT, PPTX, POT, POTX, PPS, PPSX;
  • Microsoft Visio diagrams - VSD, VSDX, VSS, VST, VDX;
  • Microsoft OneNote - ONE;
  • Open Document formats - ODT, OTT, ODS, ODP, OTP;
  • Ebook - MOBI;
  • Image - PNG, JPG, BMP, DJVU, DICOM, DCM;
  • Email - EML, EMLX, MSG;
  • Autocad - DWG, DXF;
  • Markup - HTML, HTM, MHTML.

How to run the examples

  • To run the examples with the Eclipse IDE follow this article.

  • To run the examples from a console it is required that maven is installed and configured in your system path. Uncomment the examples that you want to run in RunExamples.java file. Than navigate to Examples folder and run:

    mvn compile exec:java
    

Licensing

The license is not included into this repository, so GroupDocs.Comparison will work in the evaluation mode. The evaluation limitations are described here. To test all the features you can request temporary license at https://purchase.groupdocs.com/temporary-license.

In case you have a license, put it into resources folder and adjust license file name in the Utils.java file.