Re: Apache POI HSLF support to embed SWF files in PPT.

2011-07-14 Thread Ali
Thanks alot for your help. I have been trying to reverse engineer the ppt files with embedded SWF, and it looks like HSLF load the SWF File data in OLEShape, in the _records property of HSLFSlideShow, it uses getExEmbed() method of OLEShape class to retrieve these Objects, and it stores OLEObjAtom

Re: Apache POI HSLF support to embed SWF files in PPT.

2011-07-14 Thread Yegor Kozlov
The PPT binary format only supports .mpg and .avi movies. Here is a test case that adds a .mpg movie: http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestMovieShape.java SWF is inserted as a ActiveX object. HSLF can read ActiveX shapes (see ActiveXSha