Saving a presentation file with charts corrupts the file

We have a presentation file with charts and the Excel data range that sources the chart is not a table. After we do some work with Aspose slides and save the presentation file, the final document ends up being corrupted.


It looks like Aspose.Slides library tries to convert the cell range (which is the data source for the chart) in the Excel worksheet into a table. The cell range that are the series name are formulas and this corrupts the embedded Excel file.

The net effect is that when we open the final Presentation document, the chart is rendered fine, however, we cannot edit the chart data anymore as the underlying Excel file is corrupt.

I am attaching two files:
1. original.pptx : before making any modifications with Aspose.Slides
2. aspose_output.pptx: after saving the file with Aspose.Slides. Edit data on the chart will not open excel. Also if you work your way through the DOM and get to the embedded excel file and try to open it, MS Excel will prompt to repair the file.

You can easily repro the issue by running the original.pptx through following code:

using (Aspose.Slides.Presentation p = new Aspose.Slides.Presentation(“original.pptx”))
{
p.Save(“output.pptx”, Aspose.Slides.Export.SaveFormat.Pptx);
}
Any help is much appreciated!

Best!
Hi Mohammed,

I have worked with presentation file shared by you using Aspose.Slides and able to observe the issue. A ticket with ID SLIDESNET-38363 has been created in our issue tracking system to investigate and resolve the issue. This thread has been associated with the ticket so that we may share the notification with you once issue will be fixed.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESNET-38363) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.