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.

Tue Sep 07, 2021 8:35 am

I want to use POI to parse the animation sequence of PPT elements. What should I do?

zoudeliang
 
Posts: 2
Joined: Tue Sep 07, 2021 8:32 am

Tue Sep 07, 2021 9:28 am

Hello,

Thanks for your inquiry.
Please note that the use of Apache POI has nothing to do with our products. But our Spire.Presentation supports getting animations in PPT file, please donwload the latest Spire.Presentation for Java Version:4.8.4 and refer to the following code to have a try.
Code: Select all
        String inputFile = "data/animations.pptx";
        Presentation presentation = new Presentation();
        presentation.loadFromFile(inputFile);

        AnimationEffect animationEffect = presentation.getSlides().get(0).getTimeline().getMainSequence().get(0);


Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Thu Sep 16, 2021 10:21 am

Hello,

Greetings from E-iceblue!
Have you tried our latest Spire.Presentation for Java Version:4.8.4? Can it meet your needs? Any feedback will be greatly appreciated.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.Presentation