Scenario: The app opens PowerPoint presentations, makes some manipulations and saves files back in the original format. Some presentations have ink annotations. Tested on the latest Aspose.Slide 21.10.
Issue: The structure of a slide is changed on save.
Each ink annotation on a slide is represented by the contentPart element that references custom XML part (one contentPart element and one custom XML part for each ink annotation).
MS PowerPoint wraps each contentPart with AlternateContent containing picture in the Fallback element. This is done for applications and older versions of PowerPoint, that do not support ink annotations. Such applications simply show image from the "Fallback element.
Aspose.Slides removes parent AlternateContent element, leaving only contentPart.
sample.zip (35.7 KB)
var p= new Presentation(@"sample.pptm"); doc.Save(@"sample-resaved.pptm", SaveFormat.Pptm);
For internal reference: MDP-12859.