Hello, I’m using Aspose Slides for Java (Maven version 24.9) to edit Powerpoint documents by inserting text into text boxes and data into charts.
It’s been working fine until I had to work with a document that cointains Waterfall charts. Whenever I open that document, edit it and save it again, the resulting document seems corrupted. When I open the resulting document with Powerpoint, it warns me that the file has problems and asks me whether I want to restore it. If I restore it, the pages that should cointain Waterfall charts are blank.
I’ve tried a few things to rule out the possibility that I was breaking the charts by inserting malformed data somehow, or by using a corrupted file to begin with. I replicated the problem even with a newly created file that only had one page with a single Waterfall chart in it, and even if in my program I only opened it (using the ByteArrayInputStream constructor) and immediately saved it to a ByteArrayOutputStream.
I had no problem working with several types of charts until now (even complicated ones with multiple data series), but now I’m stumped. Has anyone experienced similar issues with Waterfall charts?
I don’t know if this can be related, but I’m working on a Mac computer and using the IOS version of Powerpoint to create the input file and open the output file.
Thank you.
Error message screenshot.png (118,7 KB)
Input and output documents.zip (93,8 KB)