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

           Summary: Creation of slidemaster background results in a red
                    cross
           Product: POI
           Version: 3.7
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When using the following lines of code (worked in version 3.0.2 ), the
powerpoint slide is created, but instead of a proper background a red cross
appears.

The used layoutfile is an existing PNG file, which definitely worked in older
versions.

            SlideShow ppt = new SlideShow()
            SlideMaster master = ppt.getSlidesMasters()[0];
            Fill fill = master.getBackground().getFill();
            int idx = ppt.addPicture(layoutFile, Picture.PNG);
            fill.setFillType(Fill.FILL_PICTURE);
            fill.setPictureData(idx);
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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