Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Wed Nov 24, 2021 1:56 pm

We use spire presentation for converting presentations to password protected slideshows and handouts (pdf) automatically. However, very often our presentations contain math formulas and Spire is unable to handle these:

Code: Select all
System.NullReferenceException: Object reference not set to an instance of an object.
at spr为.ᜀ(Single A_0, Single A_1, ShapeStyle A_2, spr为[] A_3, spr丰 A_4)
at spr両.ᜀ(GraphicFrame& A_0, RectangleF& A_1, Single& A_2, Single& A_3, Single& A_4, Single& A_5, spr丰 A_6)
at spr両.ᜀ(spr侏 A_0)
at Spire.Presentation.Collections.ShapeList.ᜀ(spr侏 A_0)
at Spire.Presentation.GroupShape.PptxPrepareForSaving(spr侏 saveContext)
at Spire.Presentation.ActiveSlide.PresentationBeforeSave(spr侏 saveContext)
at spr丳.ᜀ(spr侏 A_0)
at spr中.ᜀ(spr侏 A_0, spr䷾ A_1)
at spr中.ᜀ(Stream A_0, spr䷾ A_1, spr僌 A_2)
at spr中.ᜀ(Stream A_0, spr僇 A_1, spr僈 A_2)
at spr中.ᜀ(String A_0, spr僇 A_1)
at Spire.Presentation.Presentation.SaveToFile(String file, FileFormat fileFormat)


Is this something which could be looked at?

Kind regards,
Stijn

pbo
 
Posts: 19
Joined: Fri Oct 23, 2015 1:46 pm

Thu Nov 25, 2021 2:37 am

Hello,

Thank you for your inquiry.
I performed a conversion test and an encryption test on the PPT file you provided, and found that the mathematical formula was lost when the file was converted to PDF, and the program reported an error when it was encrypted. I have logged them into our bug tracking system, and the ticket numbers are SPIREPPT-1770 and SPIREPPT-1771 respectively. Our development team will investigate and fix them. Once resolved, I will inform you. Sorry for any inconveniences caused.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Thu Jan 20, 2022 9:00 am

Hello,

Hello,

Thanks for your patience!

Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version:7.1.2 which fixes your issues SPIREPPT-1770 and SPIREPPT-1771.
Please download the fix version from the following links to test.

Website link:
https://www.e-iceblue.com/Download/download-office-for-net-now.html
Nuget link:
https://www.nuget.org/packages/Spire.Office/7.1.2
https://www.nuget.org/packages/Spire.Officefor.NETStandard/7.1.2

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Presentation