Entrance Animation Gets Corrupted when Text Changes

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:

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

Hi Zeljko,

I have worked with presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-35828 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-35828) have been fixed in this update.