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.

Thu Jun 27, 2024 8:40 am

Hi,
I am having an issue when interacting with this particular ppt.
The issue is related to a specific chart in the presentation named "ChartObject" that, when removed, it makes the conversion work.
Interesting fact to highlight: if I save as PDF it works with no issue.

https://we.tl/t-EnpAy44OrH

Console app in attachment with minimal code and template to reproduce

Thanks,
Andrea

andreacalvi
 
Posts: 23
Joined: Tue Jul 11, 2023 11:02 am

Mon Jul 01, 2024 6:31 am

Hi,

I'm sorry for the late reply due to the weekend. It seems that the link you provided has expired. Could you please resend the link? Thank you very much for your understanding and apologies for the inconvenience.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Tue Jul 02, 2024 12:23 pm

Well sorry I could've attached the file only.
Here you go and minimal code here

Code: Select all
            var fileName = @"test.pptx";
            Presentation ppt = new Presentation();
            ppt.LoadFromFile(fileName);
            var finalPpt = new Presentation();
            finalPpt.Slides.RemoveAt(0);
            finalPpt.SlideSize.Type = ppt.SlideSize.Type;
            var generatedSlide = ppt.Slides[0];
            finalPpt.Slides.Append(generatedSlide);
            //finalPpt.SaveToFile(@"C:\temp\out.pdf", FileFormat.PDF); //this works
            finalPpt.SaveToFile(@"C:\temp\out.pptx", FileFormat.Pptx2010); //this throws error

andreacalvi
 
Posts: 23
Joined: Tue Jul 11, 2023 11:02 am

Wed Jul 03, 2024 2:46 am

Hi,

Thank you for your information.
I reproduced your issue and logged it into our bug tracking system with number SPIREPPT-2547. Our dev team will investigate this issue, once there's any progress, we will inform you immediately! Sorry for the inconvenience caused!

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Thu Jul 04, 2024 12:26 pm

Hi, if this can help, there's a "similar" case with this template as well.
In this case no error is thrown but output is corrupted. Code can really be the same, just fetching first slide and saving it back.

https://we.tl/t-c4RFJwi4pL

Thanks,
Andrea

andreacalvi
 
Posts: 23
Joined: Tue Jul 11, 2023 11:02 am

Fri Jul 05, 2024 9:57 am

Hi,

Thank you for your further information.
I have also recorded the error of this file in our bug tracking system with the number of SPIREPPT-2549. The development team will investigate it together with the previous problem. Once they are solved, we will give you feedback in time.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Mon Jul 15, 2024 1:10 pm

any updates?

majeed_s
 
Posts: 80
Joined: Thu Mar 25, 2021 4:13 pm

Tue Jul 16, 2024 9:29 am

Hello,

Thank you for your continued follow-up.
Regarding issue SPIREPPT-2547, I regret to inform you that our development team is still investigating the matter. Once the problem is resolved, I will ensure that you are promptly notified.
As for issue SPIREPPT-2549, I am pleased to report that our development team has made the necessary code adjustments, and the issue is now in the testing phase. We will thoroughly evaluate the fix to ensure that it effectively resolves the problem. Once the testing is successful, I will immediately inform you of the outcome.
Thank you for your patience and understanding.


Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Mon Aug 05, 2024 2:35 pm

any updates?

majeed_s
 
Posts: 80
Joined: Thu Mar 25, 2021 4:13 pm

Tue Aug 06, 2024 9:38 am

Hello,

Thank you for your follow-up.
The development team has already adjusted the code for these two issues. Once the testing is approved, we will promptly notify you when we release the new version. Thank you for your patience.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Fri Aug 09, 2024 9:54 am

Hi,

Thank you for your patience!
Glad to inform you that we just released Spire.Presentation 9.8.1, which contains the fixes of your issue SPIREPPT-2547,SPIREPPT-2549. Welcome to download from the following links to test.

Spire.Presentation Pack Hotfix9.8.1: https://www.e-iceblue.com/Download/down ... t-now.html
nuget:
https://www.nuget.org/packages/Spire.Presentation/9.8.1
https://www.nuget.org/packages/Spire.Pr ... dard/9.8.1

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Fri Aug 16, 2024 8:52 am

Updated version and seems to be working as expected.
Performing some additional tests.

Thanks!

andreacalvi
 
Posts: 23
Joined: Tue Jul 11, 2023 11:02 am

Tue Aug 20, 2024 3:24 am

Hi,

Thank you for your feedback. If you encounter any issues after testing, please feel free to contact us at any time.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 406
Joined: Mon Nov 07, 2022 8:10 am

Thu Aug 22, 2024 11:43 am

Found an issue with the new release.

Problem:
when cloning a slide, if the slide has a chart and the chart has a string in the data container, then the chart's range is wiped out. This should not happen.

Cause:
Strings (i.e. "abc") in data (blue container) causes this to happen.

Solution:
The chart's range should persist after the slide is cloned.

test1.png


To reproduce the error:
1. use this pptx below,
2. clone the slide to a new pptx
3. open the chart's data and you will notice the chart's range is lost

if you did this in powerpoint manually the chart's range will persist.
pga-509-corrupt-3 (1).zip

boosted_d16
 
Posts: 34
Joined: Wed Apr 19, 2023 11:41 am

Thu Aug 22, 2024 1:02 pm

One additional question: from the moment we applied the update for the .net standard 2.0 dll we are receiving the evaluation warning even tho we provided a valid license key (the one we used with the version prior to the hotfix).
Is there any additional step to follow to upgrade it?

Thank you,

andreacalvi
 
Posts: 23
Joined: Tue Jul 11, 2023 11:02 am

Return to Spire.Presentation