We’re running into a problem loading a specific presentation with Aspose.Slides.
Here is code we use to load the presentation:
try {
Presentation doc = new Presentation(filename);
PdfOptions options = new PdfOptions();
options.setWarningCallback(new WarningCallback());
doc.save(outputFilename, SaveFormat.Pdf, options);
}catch(Exception e){
System.out.println(e.getMessage());
}
When we load the presentation we get the following exception: Bad state (invalid stored block lengths)
.
Here is the presentation we try to load: nasa.ppt.zip (166.2 KB) and here is the sample code: Archive.zip (638.5 KB). The readme file describes how to build and run the code.