https://bz.apache.org/bugzilla/show_bug.cgi?id=61797
--- Comment #2 from Kem <[email protected]> --- I have tried adding an excel(.xslx) spreadsheet to a powerpoint(.pptx). But so far I havent been unable to do it. I tried recreating the class that you created[EmbedXSSFinXSLF.java] but the line that retrieves the ObjectData from the oleShape[ XSLFObjectData oleData = oleShape.getObjectData();] is throwing a null pointer exception. below is the error: Exception in thread "main" java.lang.NullPointerException at org.apache.poi.xslf.usermodel.XSLFObjectShape.getObjectData(XSLFObjectShape.java:109) at poi.Main.main(Main.java:58) I guess my question would be, is there currently a way to embed a excel spreadsheet(.xslx) into a powerpoint(.pptx)? if not, is there a way to do it using the old .ppt and .xsl formats? (In reply to Andreas Beeker from comment #0) > Created attachment 35543 [details] > Initial patch > > There's been some work done to embed Excel into Powerpoint slides (HSLF) > [1], but the XSLF part is missing. > > This ticket is used to document the progress - eventually provide the > implementation via SL Common. > > The patch shows how to embed XSSF into XSLF. > Additionally it provides a filename generation method to check for existing > media/embedding entries and to create new entries, potentially filling up > already deleted indexes. > > The work is done as response to [2] > > > [1] #55579 and https://stackoverflow.com/questions/2849102 > [2] https://stackoverflow.com/questions/46987387 -- 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]
