使用Apache POI合并Powerpoint套牌

时间:2023-02-05 20:27:51

I have a folder of several ppt decks that I want to combine into one deck. I do not see any easy way to add a slide from deck to another. Is there a function that handles this? Is there another Java library that can do this?

我有一个几个ppt甲板的文件夹,我想要组合成一个甲板。我没有看到任何简单的方法将卡片从卡片添加到另一个卡片。是否有处理此功能的功能?是否有另一个Java库可以做到这一点?

Thank you!

-C

2 个解决方案

#1


0  

I don't think you'll find pure java solution.

我认为你不会找到纯粹的java解决方案。

When doing some ppt reads/updates I had to move away from apache POI implementation, that seems to be quite limited.
I finally ended up with Libreoffice/OpenOffice + some java wrapper (that did the specific thing I needed)

在做一些ppt读取/更新时,我不得不放弃apache POI实现,这似乎非常有限。我最终得到了Libreoffice / OpenOffice +一些java包装器(它做了我需要的特定事情)

Based on the similar/almost identical question/problem: Copy PowerPoint Slides in Java (preferably) and non-java based solution as the answer it probably only supports my theory of Apache POI capabilities in this area :(

基于类似/几乎相同的问题/问题:复制PowerPoint幻灯片(最好)和非基于Java的解决方案作为答案,它可能只支持我在这方面的Apache POI功能理论:(

#2


0  

Disclosure: I oversee the docx4j/pptx4j project

披露:我监督docx4j / pptx4j项目

I just wrote code to do this using pptx4j, so it is definitely do-able in Java for pptx files, using open source tools.

我刚刚使用pptx4j编写了代码来执行此操作,因此使用开源工具可以在Java中为pptx文件执行此操作。

#1


0  

I don't think you'll find pure java solution.

我认为你不会找到纯粹的java解决方案。

When doing some ppt reads/updates I had to move away from apache POI implementation, that seems to be quite limited.
I finally ended up with Libreoffice/OpenOffice + some java wrapper (that did the specific thing I needed)

在做一些ppt读取/更新时,我不得不放弃apache POI实现,这似乎非常有限。我最终得到了Libreoffice / OpenOffice +一些java包装器(它做了我需要的特定事情)

Based on the similar/almost identical question/problem: Copy PowerPoint Slides in Java (preferably) and non-java based solution as the answer it probably only supports my theory of Apache POI capabilities in this area :(

基于类似/几乎相同的问题/问题:复制PowerPoint幻灯片(最好)和非基于Java的解决方案作为答案,它可能只支持我在这方面的Apache POI功能理论:(

#2


0  

Disclosure: I oversee the docx4j/pptx4j project

披露:我监督docx4j / pptx4j项目

I just wrote code to do this using pptx4j, so it is definitely do-able in Java for pptx files, using open source tools.

我刚刚使用pptx4j编写了代码来执行此操作,因此使用开源工具可以在Java中为pptx文件执行此操作。