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 May 26, 2021 6:06 pm

I'm receiving an exception when attempting to open a particular PPT with the following code:

Code: Select all
       
        static void Main(string[] args)
        {
            string strSource = @"sample.ppt";
            Presentation presentation = null;

            try
            {
                presentation = new Presentation(strSource, FileFormat.Auto);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
           
            presentation?.Dispose();
        }



This is the exception that I receive:

System.IndexOutOfRangeException: Value must between 0 and 8 .
at Spire.Presentation.TextStyle.GetListLevelTextStyle(Int32 index)
at spr?.?(spr? A_0, ? A_1)
at spr?..ctor(IActiveSlide A_0, spr? A_1, ? A_2)
at spr?.?(IActiveSlide A_0, spr? A_1, ? A_2)
at spr?..ctor(ShapeCollection A_0, spr? A_1, ? A_2)
at Spire.Presentation.Collections.ShapeList.?(ActiveSlide A_0, spr? A_1, Boolean A_2, ? A_3)
at Spire.Presentation.GroupShape..ctor(ActiveSlide A_0, ArrayList A_1, ? A_2)
at Spire.Presentation.ActiveSlide.?(ArrayList A_0, ArrayList A_1, ? A_2)
at spr?.?(spr? A_0, ? A_1, ?& A_2)
at spr?..ctor(spr? A_0, spr? A_1, ? A_2, ?& A_3)
at spr?.?(spr? A_0)
at spr?.?(Stream A_0)
at spr?.?(Stream A_0)
at spr?..ctor(String A_0, spr? A_1)
at Spire.Presentation.Presentation.LoadFromFile(String file, FileFormat fileFormat)
at Spire.Presentation.Presentation..ctor(String file, FileFormat fileFormat)


I have sent a copy of the PPT file through to the support email address.

Darren.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Thu May 27, 2021 8:28 am

Hello,

Thank you for your inquiry.
I tested your case and reproduced your problem, I have posted the issue into our Bug tracking system with the ticket number SPIREPPT-1578. Our development team will investigate and fix it. Once it is resolved, I will inform you. Sorry for the inconvenience caused.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Mon Jun 07, 2021 5:33 am

Just a quick check-in on this issue. Any news from the development team?

Thanks in advance,

Darren

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Mon Jun 07, 2021 8:49 am

Hello,

Thank you for your inquiry.
This issue has been resolved and it is going to test phase now. If the test goes well, we will provide a hotfix for you as soon as possible. Please give us more time, thanks for your understanding.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Mon Jun 14, 2021 5:07 am

Just a quick check-in on this one, any news?

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Mon Jun 14, 2021 8:32 am

Hi,

Thanks for your follow-up.
Your issue is in the testing phase now, and our test team are enjoying their Dragon Boat Festival from 2021/6/12 to 2021/6/14. I will urge them to move forward on your issue once they back to office tomorrow. If the test goes well, we will provide the hotfix for you ASAP. Sorry for this delay and thanks for your understanding.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1195
Joined: Tue Sep 27, 2016 1:06 am

Mon Jun 21, 2021 12:43 pm

Nina,

I hope the Dragon Boat Festival went well and was enjoyable :)

Any news on the fix for this issue?

Thanks in advance,

Darren.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Tue Jun 22, 2021 10:24 am

Hello,

Thank you for your follow-up.
Considering your situation, we compiled a temporary version for you. I have confirmed your issue has been resolved in this version. Welcome to download it. If there is still any question, please feel free to write back.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Thu Jul 08, 2021 7:14 am

The temp version is looking good - When will the "official release" be available?

Many thanks in advance,

Darren.

wraydc
 
Posts: 130
Joined: Wed Apr 11, 2018 5:14 am

Thu Jul 08, 2021 10:23 am

Hello,

Thank you for your follow-up.
Glad to inform you that we just released Spire.Office Platinum(Hotfix) Version: 6.7.0 which fixes the reported issue. Please download it from the following links.
Website link: https://www.e-iceblue.com/Download/download-office-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/6.7.0

Sincerely,
Annika
E-iceblue support team
User avatar

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

Return to Spire.Presentation

cron