Hi , My presentation document (pptx) contains thinkcell charts ( https://www.think-cell.com/en/ ) and when I am cloning the slide content, then slides containing thinkcell is not getting saved. Snippet - int num = 0; for (XSLFSlide srcSlide : srcPresentation.getSlides()) { XMLSlideShow ppt = new XMLSlideShow(); ppt.createSlide().importContent(srcSlide); FileOutputStream out = null; try { out = new FileOutputStream("C:/Rahul/IT-work/Know - Killer Slide/example/gen/" + num + ".pptx"); ppt.write(out); out.close(); } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } num++; }
Can you share a slideshow which allows to reproduce this in combination with your code-snippet?
Created attachment 34755 [details] Minimal project to reproduce the bug. Please check this maven project to reproduce the bug. You can run it with "mvn clean package && mvn exec:java". It will insert slide from "src\main\resources\source.pptx" "src\main\resources\template.pptx" and output will be generated as "merged.pptx" in the current directory.
I am sorry - this attachment is not for this bug. Plz. ignore it.
This has been fixed in r1816383 by introducing XDDF charts.