poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paoim101084 <paokimsr...@gmail.com>
Subject Re: XSLF copy slides
Date Tue, 18 Dec 2018 15:35:57 GMT
Well, I try with 4.0.1, I still got error:
java.lang.ClassCastException: org.apache.poi.ooxml.POIXMLDocumentPart cannot
be cast to org.apache.poi.xslf.usermodel.XSLFPictureData
	at org.apache.poi.xslf.usermodel.XSLFSheet.importBlip(XSLFSheet.java:651)
	at
org.apache.poi.xslf.usermodel.XSLFPictureShape.copy(XSLFPictureShape.java:231)
	at
org.apache.poi.xslf.usermodel.XSLFSheet.wipeAndReinitialize(XSLFSheet.java:452)
	at
org.apache.poi.xslf.usermodel.XSLFSheet.importContent(XSLFSheet.java:431)
	at com.mckesson.MergeDemo.copySlideContent(MergeDemo.java:46)
	at com.mckesson.MergeDemo.main(MergeDemo.java:24)
java.lang.ClassCastException: org.apache.poi.ooxml.POIXMLDocumentPart cannot
be cast to org.apache.poi.xslf.usermodel.XSLFPictureData
	at org.apache.poi.xslf.usermodel.XSLFSheet.importBlip(XSLFSheet.java:651)
	at
org.apache.poi.xslf.usermodel.XSLFPictureShape.copy(XSLFPictureShape.java:231)
	at
org.apache.poi.xslf.usermodel.XSLFSheet.wipeAndReinitialize(XSLFSheet.java:452)
	at
org.apache.poi.xslf.usermodel.XSLFSheet.importContent(XSLFSheet.java:431)
	at com.mckesson.MergeDemo.copySlideContent(MergeDemo.java:46)
	at com.mckesson.MergeDemo.main(MergeDemo.java:24)

The result is overlap with each other.

Could you help to provide me the bugzilla? I will open a bugzilla issue.



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message