Incorrect Results when Converting PowerPoint Presentations to PDF/HTML/HTML5 in C#


we noticed one presentation was having incorrect results when rendering to PDF and HTML.
See attached two examples (single slide each): (187.2 KB) (127.6 KB)

The issue can be reproduced for both scenarios by just loading and saving the presentation:

var p = new Presentation(@"S:\tmp\in2.pptx");
p.Save(@"S:\tmp\out2.pdf", SaveFormat.Pdf);
p.Save(@"S:\tmp\out2.html", SaveFormat.Html);
p.Save(@"S:\tmp\out2_5.html", SaveFormat.Html5);

For example 2, there additionally is raised an exception if saving as HTML5.

System.NullReferenceException: “Object reference not set to an instance of an object.”

Used Net Runtime for test tool: Net 7 (we originally got this reported in an environment using .net 4.5.2 so I assume that also is affected)
Windows 10 with latest updates

Thanks for your help!

Thank you for reporting on the issues. I’ve reproduced the problems you described.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): 
  SLIDESNET-44247 (Shape is displayed incorrectly when converting PPTX to PDF/HTML/HTML5)
  SLIDESNET-44248 (Text is missing when converting PPTX to PDF/HTML)
  SLIDESNET-44249 (NullReferenceException is thrown when converting PPTX to HTML5)

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as SLIDESNET-44247) have been fixed in this update. This message was posted using Bugs notification tool by asad.ali


Sorry, the fix for your issue is included in Aspose.Slides for .NET v23.11. Please try it.