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
精彩评论