//Instantiate Presentation class that represents PPTX Presentation pres = new Presentation("data/demo.pptx"); //Access first slide ISlide slide = pres.getSlides().get_Item(0); IShape shape= null; //Iterate through the shapes and set a reference to the table found for (int i = 0 ; i < slide.getShapes().size() ; i++) { shape = slide.getShapes().get_Item(i); if (shape.getPlaceholder() != null) { //Change the text of each placeholder ((IAutoShape)shape).getTextFrame().setText("This is Placeholder"); } } //Write the PPTX to Disk pres.save("data/AsposeReplaceTxt.pptx",SaveFormat.Pptx);