Apache POI Powerpoint 替代方案
我有一个应用程序,当前使用 Apache POI 库来生成 Microsoft Powerpoint 文档。我需要将此应用程序移至一个更受限制的环境中,该环境不允许 POI 库。
除了 POI 和与 COM 接口之外,是否还有其他方法可以使用 Java 将信息写入 PowerPoint?
我可以学习和使用 COM,但我现在宁愿避免它。
谢谢
I have an application which currently uses the Apache POI libraries to produce Microsoft Powerpoint documents. I need to move this application into a more restricted environment which doesn't allow the POI libraries.
Are there any alternatives to POI and interfacing with COM for writing information to PowerPoint with Java?
I could learn and work with COM, but I'd rather avoid it at this point.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议你看看两个商业图书馆。
第一个是 Aspose。它是一个有点像 Apache POI 的库,但以“最简单”的方式工作。在我的公司,我们使用它在 Excel 文件中包含图表(POI 尚不支持这一功能)。
Ezjcom 可能是您想要的库。它需要一个活动的 Office 实例,并允许您与 Excel 进行交互,就像您在 Basic 中但从 Java 中创建宏一样。小心,文档太糟糕了!
I would suggest that you look at two commercial libraries.
The first is Aspose. It's a library that works a bit like Apache POI but in a "easiest" way. At my company, we are using it to include charts in Excel file (a thing that is not yet supported by POI).
Ezjcom is probably the library you want. It needs a living Office instance and allow you to interact with excel as if you were making a macro in Basic, but from Java. Watch-out, the documentation is terrible!