Thanks a lot

You are alright, the problem comes from office 2007.

I try to obtain different idx for the same image but it does not work. It is
the same idx.

for example : 
    int idx1 = ppt.addPicture(new File("image.jpg"), Picture.JPEG);
    int idx2 = ppt.addPicture(new File("image.jpg"), Picture.JPEG);

    Picture pict = new Picture(idx1);
    Picture pict2 = new Picture(idx2); 


Is there another way to solve this problem?

MG


Yegor Kozlov wrote:
> 
> Your code works for me. I tested in PowerPoint 2003 and OpenOffice 2.2
> and the images are in place.
> 
> Which version of PowerPoint you are using? Anything special with the
> image file?
> 
> Yegor
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HSLF-multiple-image-insertion-tp17536146p17560637.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to