GroupDocs.Comparison for Java 26.8.2 Release Notes

Hotfix release.

Full list of changes in this release

IDSummaryCategory
COMPARISONJAVAPdfCompareOptions and its ComparisonDisplayMode are now available in the published jar — the PDF side-by-side and interleaved views can actually be usedFix
COMPARISONJAVAPagesSetup is now available — PDF comparison can be restricted to a page rangeFix
COMPARISONJAVAWordCompareOptions and its ComparisonDisplayMode are now availableFix
COMPARISONJAVAChangeInfo.getRow(), getColumn(), getColumnHeader() are now available — cell location for spreadsheet comparisonFix
COMPARISONJAVAEvaluation watermark copyright year updated to 2026Update

Fix — format-specific compare options are available again

PdfCompareOptions, PagesSetup and WordCompareOptions shipped in the library but were not exported from the published jar, so code referencing them did not compile. They are now exported under their documented names, together with their nested ComparisonDisplayMode enums.

This makes the features announced in 26.8 usable:

import com.groupdocs.comparison.Comparer;
import com.groupdocs.comparison.options.PagesSetup;
import com.groupdocs.comparison.options.PdfCompareOptions;

try (Comparer comparer = new Comparer(sourcePath)) {
    comparer.add(targetPath);

    PdfCompareOptions options = new PdfCompareOptions();
    options.setDisplayMode(PdfCompareOptions.ComparisonDisplayMode.SIDE_BY_SIDE);

    PagesSetup pagesSetup = new PagesSetup();
    pagesSetup.setStartPage(1);
    pagesSetup.setEndPage(5);
    options.setPagesSetup(pagesSetup);

    comparer.compare(resultPath, options);
}

Scope.

  • Affects everything from 26.8 onwards for PdfCompareOptions / PagesSetup, and earlier releases for WordCompareOptions.
  • Additive only — no signatures changed, so no migration is needed.
  • Comparison behaviour is unchanged; this is a packaging fix. (COMPARISONJAVA)

Fix — cell location in spreadsheet comparison is available again

ChangeInfo.getRow(), getColumn() and getColumnHeader() were present in the library but not exported, so the cell coordinates of a change could not be read. They now work as documented:

for (ChangeInfo change : comparer.getChanges(new GetChangeOptions())) {
    Integer row = change.getRow();            // zero-based, null when not applicable
    Integer column = change.getColumn();      // zero-based, null when not applicable
    String header = change.getColumnHeader(); // text from the first worksheet row
}

Scope.

  • Populated for the Cells comparer (XLSX, CSV, ODS and related formats); null for comparers that do not expose cell coordinates.
  • Additive only — no migration is needed. (COMPARISONJAVA)

Update — evaluation watermark

The copyright line in the evaluation-mode watermark now reads 2003 - 2026. Licensed output is unaffected. (COMPARISONJAVA)

Resources