poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <yegor.koz...@dinom.ru>
Subject Re: Most compatible powerpoint strategy
Date Fri, 18 Dec 2015 11:23:16 GMT
Consider a template approach. Create a template pptx file with video and
text placeholders. Make sure you can open it in various versions of
Use POI to modify the template and insert the actual data. Use XSLF to
update text. To replace video you will need to replace the placeholder
video files in /ppt/media/*.*, this can be done using the OpenXML4J API.
You will need to analyze the XML to know which video file belongs to which
slide, etc.

With this approach you only update data in a file created in PowerPoint and
it should guarantee the file opens correctly everywhere .


On Fri, Dec 18, 2015 at 6:27 AM, Adolfo Rodriguez <pellyadolfo@yahoo.es>

> Hi, we are evaluating POI to programmatically generate Powerpoint pptx
> documents with embedded video.
> We have read that (please confirm):    * a powerpoint file created by the
> last Powerpoint version can be opened by any other previous Powerpoint
> version (e.g. Powerpoint 2007 can open pptx files from Powerpoint 2015)
>     * a file generated by a previous Powerpoint version can have
> compatibility issues with a newer version (e.g. Powerpoint 2013 can have
> compatibility issues with a pptx created for Powerpoint 2010)
> Now the questions:
>     * If I understand correctly, in order to generate files for all
> Powerpoint versions in market, the best strategy would be creating pptx
> files for the last version Powerpoint 2015. Is that correct?    * Can
> Apache POI create Powerpoint 2015 files?    * Any special consideration
> embedding video? (formats, etc..)    * Is there any way to allow outlook
> running a video embedded in a presentation? (it complains about codecs
> unavailable)
> There is not much about this in the documentation, as far as I have seen.
> Regarding the file format, pptx, which is supposed to be an XML file, I am
> a bit confused because when I try to open a pptx in linux, I just see
> binary code. I would expect a XML text file instead. Any idea?
> Thanks in advance

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message