https://bz.apache.org/bugzilla/show_bug.cgi?id=51085

Andreas Beeker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Andreas Beeker <[email protected]> ---
This is not happening anymore - if unsure, please add your <layoutFile>.png.

This was my testcode:

@Test
public void bug51085() throws IOException {
    File sample = HSLFTestDataSamples.getSampleFile("tomcat.png");
    HSLFSlideShow ppt = new HSLFSlideShow();
    HSLFSlideMaster sm = ppt.getSlideMasters().get(0);
    HSLFFill fill = sm.getBackground().getFill();
    HSLFPictureData pd = ppt.addPicture(sample, PictureData.PictureType.PNG);
    fill.setFillType(HSLFFill.FILL_PICTURE);
    fill.setPictureData(pd);
    FileOutputStream fos = new FileOutputStream("bla.ppt");
    ppt.createSlide();
    ppt.write(fos);
    fos.close();
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to