GroupDocs.Comparison for Java 19.6 Release Notes

This page contains release notes for GroupDocs.Comparsion for Java 19.6

Major Features

Below is the list of most notable changes in release of GroupDocs.Comparsion for Java. The most notable are:

  • Added comparison of group shapes for Diagrams
  • Implemented adding shape without Diagram’s Master
  • Improved Paragraph Comparer for Diagram’s
  • Improved StyleSheet Comparer for Html
  • Fixed issue with Style changes not highlighted in some specific cases of PDF documents comparison
  • Improved PDF Comparison in some specific cases
  • Improved aligner for HTML that increased comparison accuracy
  • Fixed and improved Anchors tags on Comparison.HTML
  • Improved tables comparison for Slides
  • Fixed issue with comparing tables with different styles
  • Fixed comparing styles of the first column of the table
  • Fixed issue with incorrect size of result Slides documents
  • Improved chart comparison for Slides
  • Insured and made needed changes to Comparison to make it thread-safe
  • Improved comparison tester for Words
  • Improve style detection on Slides
  • Fixed issue with AutoShapes in Slides
  • Improved large sized files comparing in PDF
  • Improved worksheet name generation in result file
  • Implemented chart title comparing in Cells
  • Implemented autosize in auto shapes in result file generation on Cells documents
  • Implemented chart generation in result files (instead of picture) on Cells
  • Improved Paragraph absorber in PDF for comparing speed increase
  • Fixed issue with setting paragraphs line
  • Fixed issue in setting Hyperlinks in big size PDF file
  • Full List of Issues Covering all Changes in this Release
  • Implemented ability to convert documents of different formats to images
  • Fixed issue with SuperScript and SubScript elements on Words documents
  • Fixed style settings for GroupDocs.Comparison.Html
  • Fixed issue with comparing large sized PDF files (another cases)
  • Fixed not working comparison of EndNote element on Words
  • Implemented calculation of changes for Diagrams, Slides and PDF formats
  • Implemented getting document information method
  • Improved exceptions and error handling all around the projects for all supported formats
  • Fixed issue with getting images for HTML files
  • Fixed issue with Fonts detection
  • Fixed incorrect different in PDF
  • Improved changes detection in tables on Words documents

Full List of Issues Covering all Changes in this Release

KeySummaryIssue Type
COMPARISONNET-1605Implement Group Shapes for DiagramsFeature
COMPARISONNET-1587Implement comparison different formats as imageFeature
COMPARISONNET-1607Implement GluedShapes in DiagramFeature
COMPARISONNET-1637Implement new Setting for text highlighting Comparison.HtmlFeature
COMPARISONNET-1636Implement new Setting for text highlighting Comparison.SlidesFeature
COMPARISONNET-1635Implement new Setting for text highlighting Comparison.NotesFeature
COMPARISONNET-1634Implement new Setting for text highlighting Comparison.PdfFeature
COMPARISONNET-1633Implement new Setting for text highlighting Comparison.WordsFeature
COMPARISONNET-1836Save documents as images for WordsFeature
COMPARISONNET-1837Save documents as images for CellsFeature
COMPARISONNET-1838Save documents as images for SlidesFeature
COMPARISONNET-1839Save documents as images for PDFFeature
COMPARISONNET-1840Save documents as images for HTMLFeature
COMPARISONNET-1841Save documents as images for EmailFeature
COMPARISONNET-1842Save documents as images for NoteFeature
COMPARISONNET-1843Save documents as images for TextFeature
COMPARISONNET-1844Save documents as images for DiagramsFeature
COMPARISONNET-1847Calculate correct coordinates of changes for SlidesFeature
COMPARISONNET-1849 Calculate correct coordinates of changes for PDFFeature
COMPARISONNET-1852 Calculate correct coordinates of changes for DiagramsFeature
COMPARISONNET-1895 Implement Get document info methodFeature
COMPARISONNET-1608Improve StyleSheet Comparer for HtmlImprovement
COMPARISONNET-1606Add shape without Diagram’s MasterImprovement
COMPARISONNET-1645Security improvements updateImprovement
COMPARISONNET-1644Improve PDF mapperImprovement
COMPARISONNET-1640Improve support of comparing different formats with imageImprovement
COMPARISONNET-740 Improve Html Anchors comparingImprovement
COMPARISONNET-753Improve PDF comparisonImprovement
COMPARISONNET-758Improve HTML alignerImprovement
COMPARISONNET-1725 Improve TableFormatSetter for SlidesImprovement
COMPARISONNET-1734 Make Comparison thread-safeImprovement
COMPARISONNET-1748Improve charts comparing on SlidesImprovement
COMPARISONNET-1739Improve style detection on SlidesImprovement
COMPARISONNET-735 Improve comparison tester for WordsImprovement
COMPARISONNET-1738Improve paragraph absorber in result documentImprovement
COMPARISONNET-1742Improve charts comparing on CellsImprovement
COMPARISONNET-1773 Error handling improvements for all formatsImprovement
COMPARISONNET-1799 Improve change detection in tables on WordsImprovement
COMPARISONJAVA-589Add functionality to replace missing fonts either automatically or with an settingImprovement
COMPARISONNET-1619Output of PDF with images is not as expectedBug
COMPARISONNET-1620Output of PDF with graphs is not as expectedBug
COMPARISONNET-1619Output of PDF with images is not as expectedBug
COMPARISONNET-752 Error when comparing Words files protected with passwordBug
COMPARISONNET-750Cannot compare PDF documentsBug
COMPARISONNET-1727Slides table does not display text style changeBug
COMPARISONNET-1726Slides: issue with table themeBug
COMPARISONNET-1724 Slides: issue when comparing styles in first columnBug
COMPARISONNET-1723Slides: issue with a sizes of result documentBug
COMPARISONNET-1744Fix issues with autoshape on SlidesBug
COMPARISONNET-1760Incorrect Sheet Name in result file in CellsBug
COMPARISONNET-1747Issue in comparing large sized PDF filesBug
COMPARISONNET-1769Issue when setting ParaghraphLines.Bug
COMPARISONNET-1766Issue in setting Hyperlinks in big size PDF fileBug
COMPARISONNET-1806Issue on SuperScript and SubScriptBug
COMPARISONNET-1802Settings StyleSettings is not working for htmlBug
COMPARISONNET-1803Issue in comparing large sized PDF files (another cases)Bug
COMPARISONNET-1804EndNote Comparison is not workingBug
COMPARISONNET-1808 Comparison is not working on FootnoteBug
COMPARISONNET-1772 PDF comparison has overlapping and mangled outputBug
COMPARISONNET-1774 Can’t get images for HTML filesBug
COMPARISONNET-1805 Deleted items in comparison output is not as expectedBug
COMPARISONNET-1892 Incorrect difference info in PDFBug
COMPARISONNET-1899 Html MarkDeletedInsertedContentDeep BugBug
COMPARISONNET-1903 License issue in GroupDocs.Comparison for .NET applicationBug
COMPARISONNET-1906 Font detection exceptionBug
COMPARISONNET-1909 Word separation exceptionBug
COMPARISONJAVA-147Cannot compare two PDF files using GroupDocs.Comparison for Java 17.3.0Bug

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in GroupDocs.Comparison for Java 19.6. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Comparison which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.
  1. Use “DiagramMasterSetting” to manage masters of the Comparison.Diagram.

    setMasterPath(String);// - User set custom master path
    setUseSourceMaster(boolean);// - true - use master from source and target together, false - use default or custom master


    • UseSourceMaster – false without MasterPath - use default master path
    • UseSourceMaster – false with MasterPath - use custom master path
    • UseSourceMaster – true - use master from source and target documents together

    Use “OriginalSize” to set document size when comparing image with different formats, this size will be used when document is converted to the picture.

    OriginalSize -> setWidth(...);// int
    OriginalSize -> setHeigth(...);// int;
  2. Inserted, deleted and style changed items styles setting used for set font color, highlight color , styles(bold, italic, underline, strike through) and tags for marked changes in result document.

  3. Getting Image representation of document pages.

    Comparer comparer = new Comparer();
    ComparisonSettings cs = new ComparisonSettings();
    //compare document
    ICompareResult result =, targetPath, cs);
    //get list of pages
    List<PageImage> resultImages = comparer.convertToImages(resultPath);
    //save them as bitmap to separate folder
    if (!new File(savePath + "/Result Pages").exists())
       new File(savePath + "/Result Pages").mkdir();
    for (PageImage image : resultImages)
         BufferedImage bitmap =;
         ImageIO.write(bitmap, "png", new FileOutputStream(savePath + "/Result Pages/result_" + image.getPageNumber() + ".png"));