Hi,
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++) {
System.out.println(theme.getLayoutSlides().get_Item(i).getName());
if(theme.getLayoutSlides().get_Item(i).getName().equals(slide1.getSlides().get_Item(0).getLayoutSlide().getName())) {
theme.getSlides().addEmptySlide(theme.getLayoutSlides().get_Item(i));
}
}
Zip file contains actual result and expected :
Result.zip (47.3 KB)
Please let me know if I am doing something wrong or aspose slide java library have some issue with it?
Thanks.