>         SlideShow ppt = new SlideShow(new FileInputStream("test.ppt"));
>         Slide slide = ppt.getSlides()[0];
>         PictureData pict = slide.getBackground().getFill().getPictureData();
> 
> See also
> http://poi.apache.org/hslf/how-to-shapes.html#Fill
> 
> Yegor
> 
Thanks Yegor - thats what I've been trying, but unfortunately it doesn't seem to
be working in my case.  I can provide the specific powerpoint that I'm using if
necessary.  

I'm using ColdFusion and everything else works perfectly, but when I get to the
background picture the method is returning null for my slides.

Here is my code:

<cfset thisSlide = slides[i] />
<cfset bg = thisSlide.getBackground().getFill().getPictureData() />
<cfdump var="#bg#">

The BG image is defined on the master slide, does that make a difference?  

I get the same issue when trying
getMasterSheet().getBackground().getFill().getPictureData().

Thanks for your reply sir!





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

Reply via email to