|
| 1 | + |
| 2 | +# GroupDocs.Comparison for Java Examples |
| 3 | + |
| 4 | +This package contains Java Example Projects for GroupDocs.Comparison for Java and sample files. |
| 5 | + |
| 6 | +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. |
| 7 | +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. |
| 8 | +Features: |
| 9 | +* Document comparison - detect differences between source and target document(s) for 50+ supported file formats; |
| 10 | +* Categorize differences between document parts: |
| 11 | +- Deleted – highlighted with red color; |
| 12 | +- Added – highlighted with blue color; |
| 13 | +- Modified – highlighted with green color; |
| 14 | +* Style changes detection for the formats which support styles such as Words Processing, Presentation, PDF; |
| 15 | +* Words detection for Word Processing formats; |
| 16 | +* Formatting change detection, such as adding or removing paragraphs, line breaks in Word Processing format and PDF. |
| 17 | +* Apply or reject changes and save resultant document; |
| 18 | +* Obtain image representations of document pages with/without changes. |
| 19 | +Supported document formats: |
| 20 | +* Portable Document Formats - PDF (PDF/A-1a, PDF/A-1b, PDF/A-2a); |
| 21 | +* Microsoft Word documents - DOC, DOCX, DOCM, DOT, DOTM, DOTX, RTF, TXT; |
| 22 | +* Microsoft Excel spreadsheets - XLS, XLSX, XLT, XLTM, XLSB, XLSM, CSV; |
| 23 | +* Microsoft PowerPoint presentations - PPT, PPTX, POT, POTX, PPS, PPSX; |
| 24 | +* Microsoft Visio diagrams - VSD, VSDX, VSS, VST, VDX; |
| 25 | +* Microsoft OneNote - ONE; |
| 26 | +* Open Document formats - ODT, OTT, ODS, ODP, OTP; |
| 27 | +* Ebook - MOBI; |
| 28 | +* Image - PNG, JPG, BMP, DJVU, DICOM, DCM; |
| 29 | +* Email - EML, EMLX, MSG; |
| 30 | +* Autocad - DWG, DXF; |
| 31 | +* Markup - HTML, HTM, MHTML. |
| 32 | + |
| 33 | +<p align="center"> |
| 34 | + <a title="Download examples" href="https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-Java/archive/master.zip"> |
| 35 | + <img src="https://camo.githubusercontent.com/11839cd752a2d367f3149c7bee1742b68e4a4d37/68747470733a2f2f7261772e6769746875622e636f6d2f4173706f73654578616d706c65732f6a6176612d6578616d706c65732d64617368626f6172642f6d61737465722f696d616765732f646f776e6c6f61645a69702d427574746f6e2d4c617267652e706e67" data-canonical-src="https://raw.github.com/AsposeExamples/java-examples-dashboard/master/images/downloadZip-Button-Large.png" style="max-width:100%;"> |
| 36 | + </a> |
| 37 | +</p> |
| 38 | + |
| 39 | +## How to run the examples |
| 40 | + |
| 41 | +- To run the examples with the Eclipse IDE follow [this article](https://docs.groupdocs.com/display/comparison/How+to+Run+Examples). |
| 42 | + |
| 43 | +- To run the examples from a console it is required that [maven](https://maven.apache.org/download.cgi) is installed and configured in your system path. |
| 44 | +Uncomment the examples that you want to run in `RunExamples.java` file. Than navigate to `Examples` folder and run: |
| 45 | + |
| 46 | + ``` |
| 47 | + mvn compile exec:java |
| 48 | + ``` |
| 49 | + |
| 50 | +## Licensing |
| 51 | + |
| 52 | +The license is not included into this repository, so GroupDocs.Comparison will work in the evaluation mode. |
| 53 | +The evaluation limitations are described [here](https://docs.groupdocs.com/display/comparison/Evaluation+Limitations+and+Licensing+of+GroupDocs.Comparison). |
| 54 | +To test all the features you can request temporary license at https://purchase.groupdocs.com/temporary-license. |
| 55 | + |
| 56 | +In case you have a license, put it into `resources` folder and adjust license file name in the `Utils.java` file. |
0 commit comments