Hello,
I downloaded the latest Java version of Aspose.Powerpoint and I am having some difficulty setting the text on one of the TextFrames in its Master Slide.
I have two TextFrames on the Master Slide and I want to replace the text in both of them with different strings. I can modify the first TextFrame successfully. After I modify the second TextFrame though, the entire Master Slide turns blank.
I am doing: textframe.getParagraphs().get(0).getPortions().get(0).setText(newText), which is exactly like many of your examples.
I have attached the Powerpoint pressentation to this posting and a Java program to a reply that will show you the problem. (Can you attach more than one file?) To run the test program, put the ppt file and java class in the same directory and then run the program. It will generate another Powerpoint presentation called "output.ppt". If you comment out the second replacement (on line 31), everything works as expected.
Is there something wrong with my code or the Powerpoint presentation?
Thank you,
Randy Stegbauer