开发者

Implementing powerpoint transitions/animations using Java

开发者 https://www.devze.com 2023-02-04 08:14 出处:网络
I\'m working on a project in Java where I need to display a powerpoint presentation complete with transitions and animations. The Apache POI library provides a nice method of viewing previews of diffe

I'm working on a project in Java where I need to display a powerpoint presentation complete with transitions and animations. The Apache POI library provides a nice method of viewing previews of different slides statically, b开发者_开发百科ut it seems that any animations or transitions need to be implemented separately which, looking at the library seems to be a fair bit of work.

I've no problem with hard work - but I'm somewhat surprised if this hasn't been done already (frantic Googling however hasn't brought up any results.) Does anyone know of a Java library for powerpoint that handles animations relatively easily?


Unless someone comes up with that PowerPoint Java library for you, you might want to check out PowerPoint Object Linking and Embedding (OLE).


You can use COM4J to have almost all the classes/interface of the namespace microsoft.office.interop.powerpoint , Its almost like your using it from C#. On the code samples from the download you have the package you need with all the interface/classes implemented for you. Hope it helps you out :P

0

精彩评论

暂无评论...
验证码 换一张
取 消