Bug 46097

Summary: Slide background using the master page's background
Product: POI Reporter: Jie Han <jie.han>
Component: HSLFAssignee: POI Developers List <dev>
Severity: critical CC: jie.han
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://poi.apache.org/apidocs/org/apache/poi/ddf/EscherSimpleProperty.html

Description Jie Han 2008-10-27 08:23:47 UTC
When the slide normal page using the default background (the master page's background, the following exception occurs

Background background = slide.getBackground();
Fill fill = background.getFill();

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.
Comment 1 Yegor Kozlov 2008-11-16 05:48:42 UTC
Can you upload a sample ppt demonstrating the problem?

Comment 2 Andreas Beeker 2013-12-27 01:12:59 UTC
No update for some time => Resolve for now, please reopen with more information if this is still an issue.