Hi,
I am having trouble adding text to a slide. I am using a template.pot file as temeplate
Here is the code i am using
Presentation presentation = new Presentation(new FileInputStream(template.pot));
Slide slide = presentation.getSlideByPosition(this.presentation.getSlides().size()-1);
TextHolder textHolder = (TextHolder)slide.getPlaceholders().get(0);
I am getting an exception: java.lang.ClassCastException: com.aspose.slides.Placeholder
I want to get access to the placeholders to set the text, add tables etc.
Please help thanks in advance