GroupDocs.Comparison for Java 20.11 Release Notes

Major Features

Below the list of most notable changes in  release of GroupDocs.Comparison for Java:

  • Added ability to compare the most popular scripts and programming languages files
  • Included all supported file fromats
  • Added new function for show only inserted content
  • Added page preview sizes
  • Implemented ability to compare more than two SpreadSheet documents
  • Implemented ability to compare more than two Note documents
  • Improved calculating of coordinates of changes for PDF
  • Improved performance of multiple comparing of text documents
  • Improved function for showing target text for Presentations, Spreadsheet, Diagrams PDF, Notes, and Text
  • Improved exception usage
  • Functions optimization through code refactoring
  • Fixed element movement changes detection for Presentation(Slides) documents
  • Fixed creating output HTML file while comparing source code files
  • Fixed exception when compare Diagrams documents
  • Fixed issues with library compatibility for Spreadsheed and Notes
  • Fixed number of exception while comparing Diagrams
  • Fixed exception handling with Invalid Password message during generating preview of the password-protected PDF file
  • Fixed issue with Note library version
  • Fixed unexpected borders on the comparison results page.
  • Fixed empty space between two lines in PDF comparison
  • Fixed error occurred in comparing Word documents with tables
  • Fixed unexpected sizes of the Excel file sheets/pages.
  • Fixed incorrect positions of compared elements in result for SpreadSheet comparing
  • Fixed issue with comparing Word documents with checkboxes and form fields in table cells
KeySummaryIssue Type
COMPARISONNET-2188 Implement Groovy files comparingFeature
COMPARISONNET-2187 Implement JSON files comparingFeature
COMPARISONNET-2186 Implement comparing ActionScipt filesFeature
COMPARISONNET-2185Implement Perl files comparingFeature
COMPARISONNET-2184 Implement comparing Objctive C/C++ filesFeature
COMPARISONNET-2180 Implement comparing Ruby filesFeature
COMPARISONNET-2179 Implement Shell/batch script, Log, Diff, Config, LESS files comparingFeature
COMPARISONNET-2178 Implement comparing PHP filesFeature
COMPARISONNET-2177 Implement comparing SQL filesFeature
COMPARISONNET-2176 Implement comparing C-based filesFeature
COMPARISONNET-2175 Implement comparing Scala filesFeature
COMPARISONNET-2174 Implement comparing Javascript filesFeature
COMPARISONNET-2173 Implement comparing Assembler filesFeature
COMPARISONNET-2172 Implement comparing Python filesFeature
COMPARISONNET-2171 Implement comparing Java filesFeature
COMPARISONNET-2169Implement comparing CSharp filesFeature
COMPARISONNET-2165 Implement Multicomparer for CellsFeature
COMPARISONNET-2103 Implement Multi Comparer for NoteFeature
COMPARISONNET-2234Implement ShowInsertedContent functionFeature
COMPARISONNET-2183 Improve calculating of coordinates of changes for PDFImprovement
COMPARISONNET-2168 Update getSupportedFileTypes method so it will contain all supported formats from documentationImprovement
COMPARISONNET-2214Increase performance for TXT multiComparerImprovement
COMPARISONNET-2269Improve getTargetText function for DiagramsImprovement
COMPARISONNET-2242Improve getTargetText function for SlidesImprovement
COMPARISONNET-2241Improve getTargetText function for CellsImprovement
COMPARISONNET-2245Improve getTargetText function for PDFImprovement
COMPARISONNET-2244Improve getTargetText function for NotesImprovement
COMPARISONNET-2243Improve getTargetText function for TextImprovement
COMPARISONNET-2271Improve exceptions usageImprovement
COMPARISONNET-2273Page preview sizesImprovement
COMPARISONNET-2181 Compare PPT/PPTX documents with element movement changes detectionBug
COMPARISONNET-2097PDF comparison, output document title getting distortedBug
COMPARISONNET-2235TextComparerResult does not create .html file for programming languages filesBug
COMPARISONNET-2209Comparing two vsdx files throws an exceptionBug
COMPARISONNET-2208Diagram text line break problemBug
COMPARISONNET-2316Exception with Invalid Password message during generating preview of the password-protected PDF fileBug
COMPARISONNET-2320Unexpected borders on the comparison results pageBug
COMPARISONNET-2295Empty space between two lines in PDF comparisonBug
COMPARISONNET-2322Unexpected sizes of the Excel file sheets/pagesBug
COMPARISONNET-2350Comparison.Cells: Incorrect positions of compared elements in resultBug
COMPARISONNET-2349Comparing Word documents with checkboxes and form fields in table cellsBug
COMPARISONJAVA-374Multithreading comparing returns nullBug
COMPARISONJAVA-375Wrong comparing result for pdfBug
COMPARISONJAVA-866Document comparison trial issuesBug
COMPARISONJAVA-867Table cannot be cast to ParagraphBug
COMPARISONJAVA-872Font size difference not detected in same lineBug
COMPARISONJAVA-894License issue when both Comparison and Conversion APIs are usedBug
COMPARISONJAVA-896Particular XLS files comparison issueBug
COMPARISONJAVA-1009License issue in Spring applicationBug
COMPARISONJAVA-1010Exception throws when comparing two html filesBug
COMPARISONJAVA-1031Not enough space for all componentsBug

Public API and Backward Incompatible Changes

Starting from version 20.11 GroupDocs.Comparison allows getting target text of specific changes in Result document this working for Word documents.

To use this feature you should call getChanges().get(…).getTargetText() getter

try (Comparer comparer = new Comparer(sourceDocumentPath)) {
     comparer.add(targetDocumentPath);
     comparer.compare(outputPath);
     ChangeInfo[] changes = comparer.getChanges();
     for (ChangeInfo change : changes) {
         String targetText = change.getTargetText();
         System.out.println(targetText);
     }
}

Starting from version 20.11 GroupDocs.Comparison provides the ability to disable the display of added content in the result file.

To use this feature you should use compareOptions.setShowInsertedContent(false)

CompareOptions compareOptions = new CompareOptions();
compareOptions.setShowInsertedContent(false);

try (Comparer comparer = new Comparer(sourceDocumentPath)) {
     comparer.add(targetDocumentPath);
     comparer.compare(outputPath, new SaveOptions(), compareOptions);
}

Starting from version 20.11 GroupDocs.Comparison provides the ability to set paths to folder with custom fonts.

To use this feature you should use FontsHelper.setFonts(…);

FontsHelper.setFonts(Arrays.asList("path1", "path2", "path3"));