Latest Release Note (March 2024)

There are 1 feature in this release.

Full list of changes in this release

IDSummaryCategory
COMPARISONJAVA-1666Exception when comparing PDF filesFeature

Get changed elements coordinates from source or target document

Starting from 24.3 we’ve introduced an ability to get changed elements coordinates from source or target document. This feature currently supported for Words. Here is a code snippet how to enable this feature.

    String sourcePath = "source path";
    String targetPath = "target path";
    String resultPath = "result path";
    try(Comparer comparer = new Comparer(sourcePath)){
        comparer.add(targetPath);
        CompareOptions compareOptions = new CompareOptions();
        compareOptions.setCalculateCoordinates(true);
        compareOptions.setCalculateCoordinatesMode(CalculateCoordinatesModeEnumeration.SOURCE);
        comparer.compare(resultPath, compareOptions);
     }