Hi,
When I change the text in some of the paragraphs on slide #2, entrance animation gets corrupted.
Please compare slideshow on the source file, and the file generated using Aspose.Slides for Java 16.12.0.
Here’s the code:
Here’s the code:
String path = “Basic GMAW.ppt”;
Presentation presentation = new Presentation(path);
ISlide slide = presentation.getSlides().get_Item(1);
IAutoShape shape = (IAutoShape) slide.getShapes().get_Item(2);
IParagraphCollection paragraphs = shape.getTextFrame().getParagraphs();
IParagraph paragraph = paragraphs.get_Item(0);
IPortionCollection portions = paragraph.getPortions();
portions.clear();
portions.add(new Portion(“T_Work Safely”));
paragraph = paragraphs.get_Item(1);
portions = paragraph.getPortions();
portions.clear();
portions.add(new Portion(“T_Better trouble-shoot weld issues”));
paragraph = paragraphs.get_Item(2);
portions = paragraph.getPortions();
portions.clear();
portions.add(new Portion(“T_Increase efficiency”));
presentation.save(“Basic GMAW-16.12.0.ppt”, SaveFormat.Ppt);
Thanks,
Zeljko
Zeljko