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.

Mon Apr 14, 2025 5:08 pm

appending slides from one pptx to another throws a corrupt message IF the slide has a comment and that comment is linked to the slide.

Note, IF the slide has a comment and that comment is linked to a shape, then there is no problem. The corrupt error only appears when the comment is linked to the slide.

in the pptx below, I have provided 2 slides. Slide 1 has a comment on a shape and Slide 2 has a comment on a slide.
Appending slide 1 will work no problem, appending slide 2 will throw an error.

comments issue.zip


Here's what I mean by "comment on shape" and "comment on slide".

comments on different levels.png


Is there as workaround?

I'm using the latest version of spire.

beyeb38077
 
Posts: 14
Joined: Mon Apr 07, 2025 2:45 pm

Tue Apr 15, 2025 7:47 am

Hello,

Thanks for your inquiry.
Could you please clarify if "corrupt message" refers to the prompt shown in the attached screenshot when opening the generated PowerPoint file? If not, please reply with more details about this issue. Thank you in advance.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Tue Apr 15, 2025 9:52 am

Yes, when you open the pptx, it throws the corrupt prompt.

beyeb38077
 
Posts: 14
Joined: Mon Apr 07, 2025 2:45 pm

Wed Apr 16, 2025 8:06 am

Hello,

Thank you for your confirmation. I have logged this issue to our tracking system with the ticket SPIREPPT-2849. Our development team will investigate further and fix it. I will notify you after the fix. Sorry for the inconvenience.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Wed Apr 16, 2025 9:38 am

one more note, if a comment is connect to a specific piece of text then it will also fail.

beyeb38077
 
Posts: 14
Joined: Mon Apr 07, 2025 2:45 pm

Thu Apr 17, 2025 4:00 am

Hello,

Thanks for the more information.
I have added the scenarios mentioned to SPIREPPT-2849 and our development team will investigate them together. If there is any progress, I will keep you informed.

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Wed Jul 23, 2025 5:45 am

Hello,

Thanks for your following up.
We have released the latest Spire.Presentation Pack Hotfix Version:10.7.7, which fixes the issue SPIREPPT-2849. Please update and test.
WebSite Link: https://www.e-iceblue.com/Download/download-presentation-for-net-now.html
Nuget: https://www.nuget.org/packages/Spire.Presentation/10.7.7

Sincerely,
William
E-iceblue support team
User avatar

William.Zhang
 
Posts: 732
Joined: Mon Dec 27, 2021 2:23 am

Return to Spire.Presentation