How to Compare Presentations

You made a presentation at different times. But the elements on the slides are not located as you originally did. To find where the slides differ, you can compare two files in PPTX format using the GroupDocs.Comparison functionality along with a built-in option that helps find changes in styles.

Slide
Source
Target

GroupDocs.Comparison provides the ability to compare two files in PPTX format(or any other supported file formats)

The following are the steps to compare two PPTX files.

The following code samples demonstrate how to compare two PPTX files.

try (Comparer comparer = new Comparer(SOURCE_FILE)) {
    comparer.add(TARGET_FILE);
 
    final CompareOptions compareOptions = new CompareOptions();
    compareOptions.setDetectStyleChanges(true);
    compareOptions.setDetalisationLevel(DetalisationLevel.High);
 
    comparer.compare(RESULT_FILE, compareOptions);
}

As a result, we get a PPTX file where the deleted elements are marked in red, the added – in blue, and the modified – in green

Result Slide