有谁有 Apache POI 将 PPTX 转换为 PNG 的示例
有谁知道将 PPTX powerpoint 演示文稿转换为某种形式的图像的好例子吗? PNG/GIF/等?
我可以做 PPT,但正在寻找 PPTX 转换示例
谢谢
Does anyone know of a good example of converting a PPTX powerpoint presentation to some form of image? PNG/GIF/etc?
I can do it for a PPT but looking for a PPTX conversion example
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
与此同时,它可以工作(...从那里复制它) :
In the meantime it works (... copied it from there):
为了回答我自己的问题,我订阅了开发邮件列表并提出了这个问题。
答案是apache poi目前不支持这个功能
Answering my own question, I subscribed to the development mailing list and asked this question.
The answer is that this functionailty is currently not supported by apache poi
现在有一个示例类
PPTX2PNG
与 POI 捆绑在一起,对于我扔给它的 PPTX 平台来说,它似乎可以产生不错的结果:http://svn.apache.org/repos/asf/poi/trunk /src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java
There's an example class
PPTX2PNG
now bundled with POI that seems to work with decent results for the PPTX decks I've thrown at it:http://svn.apache.org/repos/asf/poi/trunk/src/ooxml/java/org/apache/poi/xslf/util/PPTX2PNG.java
pptx4j 可以帮助您在 HTML 中创建 SVG(尽管仍然需要做一些工作来支持所有形状);然后您可以使用其中一种工具从自动浏览器窗口创建图像。
pptx4j can help you to create SVG in HTML (though there is still work to do to support all shapes); and then you could use one of the tools which create a image from an automated browser window.