Free Support Forum -

Facing issue while adding empty slide in presentation


I want to add a empty slide in a presentation with dynamic text placeholder in it which is present inside the layout. I did it using following code but error here is text placeholder which was added to slide inherited from the layout is incorrect. Layout contains dynamic text placeholder but slide is having static text placeholder.
Please check out the actual result and expected result in a zip.

Code used :
for(int i = 0; i < theme.getLayoutSlides().size(); i++) {
if(theme.getLayoutSlides().get_Item(i).getName().equals(slide1.getSlides().get_Item(0).getLayoutSlide().getName())) {

Zip file contains actual result and expected : (47.3 KB)

Please let me know if I am doing something wrong or aspose slide java library have some issue with it?



Please check the below image for actual and expected presentation files. I am unable to understand the requirement of static v/s dynamic placeholder in an empty layout slide. It would be good, if you may please share more details of your requirements along with snapshots.