java - How to embed an avi video inside Powerpoint ppt file using Apache POI HSLF? -



java - How to embed an avi video inside Powerpoint ppt file using Apache POI HSLF? -

tried this:

int idx4 = ppt.addmovie(new file("animation.avi").getcanonicalpath(), movieshape.movie_avi); movieshape pict4 = new movieshape(idx4, idx4); pict4.setanchor(new java.awt.rectangle(100, 100, 300, 200)); slide slide4 = ppt.createslide(); slide4.addshape(pict4);

without success. ideas?

apache poi movieshape test class helped me out.

java powerpoint apache-poi

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -