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 Mar 11, 2024 8:55 pm

Hi, I am trying to manipulate a chart data with spire 8.7.0 and noticing a strange issue when opening the output.
In details, selection gets cleared after saving the pptx.

I tried with no manipulation at all and it seems like the issue is there as well.

Sample code, basically opening, cloning and saving

Code: Select all
 
Presentation ppt = new Presentation();
ppt.LoadFromFile(@"countries.pptx");
var finalPpt = new Presentation();
foreach (var slide in ppt.Slides)
 {
finalPpt.SlideSize.Type = ppt.SlideSize.Type;
var generatedSlide = ppt.Slides[0];
finalPpt.Slides.Append(generatedSlide);
}
finalPpt.SaveToFile(@"C:\tmp\countriesout.pptx", FileFormat.Pptx2013);


I am sending a wetransfer link with original pptx, pre and post screens after saving (I had to upload a zip with wetransfer link, pptx template is 8Mb )
wetransfer.zip



Original template has selection set, while produced one hasn't. However, if I manually set the selection in the produced pptx graph gets rendered correctly.

Is this graph type not supported? Anything wrong in what I am doing?
Thanks,
Regards

Andrea

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

Tue Mar 12, 2024 3:32 am

Hello,

Thanks for your inquiry.
Yes,I did reproduce the issue you mentioned. I have logged the issue into our bug tracking system with the ticket number SPIREPPT-2454. Our development team will investigate and fix it. Once it is resolved, I will inform you in time. Sorry for the inconvenience caused.

Sincerely,
William
E-iceblue support team
User avatar

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

Fri Mar 22, 2024 9:55 am

Hello,

Thank you for your patience.
Glad to inform that we just released Spire.Presentation Pack Hotfix Version:9.3.4 which fixed the issue of SPIREPPT-2454, welcome to test it.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Presentation/9.3.4

Sincerely,
William
E-iceblue support team
User avatar

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

Return to Spire.Presentation