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

           Summary: Slide background using the master page's background
           Product: POI
           Version: unspecified
          Platform: PC
               URL: http://poi.apache.org/apidocs/org/apache/poi/ddf/EscherS
                    impleProperty.html
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HSLF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


When the slide normal page using the default background (the master page's
background, the following exception occurs


Code:
/////////////////////////////////////////
Background background = slide.getBackground();
Fill fill = background.getFill();
background.getEscherProperty(EscherProperties.FILL__BLIPFILENAME)

//////////////////////////////////////////////////////////////
Exception in thread "main" java.lang.ClassCastException:
org.apache.poi.ddf.EscherComplexProperty cannot be cast to
org.apache.poi.ddf.EscherSimpleProperty
        at org.apache.poi.hslf.model.Shape.getEscherProperty(Shape.java:312)
        at
com.healthsuggi.slideshare.conv.plugin.PPT2SWF.convert(PPT2SWF.java:77)
        at
com.healthsuggi.slideshare.conv.plugin.PPT2SWF.main(PPT2SWF.java:287)


///////////////////////////////////
the attached file the demo slide file for the exception.


-- 
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