We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Java slides � New slides are getting created with unwanted messages

Hello Team,

I am using code available on below URL for creating multiple slides ,


Unfortunately, from slide number 2 onward all further slides are populating with below 2 messages,

“Click to edit Master title style”
“Click to edit Master subtitle style”

We need empty slides to load business data. Does anyone knows how to get clean slides?


Hi Pavan,

Thank you for your interest in Aspose.Slides.

I have observed your comments and like to request you to please try using following sample code on your end to serve the purpose.

Presentation pres = new Presentation();
ISlide sld = pres.getSlides().get_Item(0);

for (int i = 0; i < 5; i++) {
    sld = pres.getSlides().addEmptySlide(pres.getLayoutSlides().getByType(SlideLayoutType.Blank));

pres.save("D:\Test.pptx", SaveFormat.Pptx);

I hope this will be helpful. Please share if I may help you further in this regard.

Best Regards,