https://bz.apache.org/bugzilla/show_bug.cgi?id=62517
Andreas Beeker <kiwiwi...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME OS| |All Status|NEW |RESOLVED --- Comment #1 from Andreas Beeker <kiwiwi...@apache.org> --- Apart of the image1.wmf and oleObject1.bin containing a lot of empty space, I had no problems with your template with the current 4.0.0-SNAPSHOT. @Test public void bug62517() throws IOException { ZipSecureFile.setMinInflateRatio(0.001); try (InputStream fis = new FileInputStream("Template.pptx"); XMLSlideShow ppt = new XMLSlideShow(fis)) { XSLFSlide sld = ppt.getSlides().get(0); XSLFTextShape ts = (XSLFTextShape)sld.getShapes().get(0); ts.setText("not-a-template text"); XSLFAutoShape as = sld.createAutoShape(); as.setAnchor(new Rectangle2D.Double(100,100,100,100)); as.setShapeType(ShapeType.GEAR_9); as.setFillColor(Color.RED); try (FileOutputStream fos = new FileOutputStream("bla.pptx")) { ppt.write(fos); } } } I don't understand what you mean by "remove the Object Type from Selection Panel". -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org