Dear Aspose Team,
We face an issue when we are trying to save a .pptx document. The document is a StrictOpenXMLPresentation. In our project we save the .pptx documents which have Strict Conformance to Ecma376 with Aspose.Slides. Somehow in this case Aspose.Slides cannot create a Presentation from the document. The document was saved(and resaved) in PowerPoint and PowerPoint handles the document without any issue. We are using Aspose.Slides Version=21.10.
Code snippet:
Aspose.Slides.Presentation pres = new Aspose.Slides.Presentation(filePath);
Exception:
TYPE: Aspose.Slides.PptxReadException
MESSAGE: Input string was not in a correct format.
SOURCE: Aspose.Slides
CALL STACK:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Aspose.Slides. .(IPointCollection , )
at Aspose.Slides. .(IBehavior , , )
at Aspose.Slides. .(Sequence , , , )
at Aspose.Slides. .(Sequence , , , )
at Aspose.Slides. .(Sequence , , , )
at Aspose.Slides. .(Sequence , , , )
at Aspose.Slides. .(Sequence , , )
at Aspose.Slides. .(Sequence , , )
at Aspose.Slides. .( , IAnimationTimeLine , , )
at Aspose.Slides. .( [] , IAnimationTimeLine , )
at Aspose.Slides. .(IAnimationTimeLine , , )
at Aspose.Slides. .(ISlide , )
at Aspose.Slides. .(Slide )
at Aspose.Slides. .(IPresentation )
at Aspose.Slides. .( , IPresentation )
at Aspose.Slides. .(Presentation , Stream , InterruptionToken )
File: Sample_StrictOpenXMLPresentation.zip (1.7 MB)
Please let us know if you can fix this issue.
We are waiting for your findings/answer.
Kind regards,
Bordi Tamas
[BUG-9857]