We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Animation Is Corrupted after Saving PPT to PPT

Hello apose team,

I have an issue with one ppt file(attached). When I get some portion of presentation, change text of that portion, and re-save presentation, the new re-saved presentation got a little different annimation(whole text of slide is there but piesces of text are not well grouped). I will send you ppt file and test code.

import java.io.FileInputStream;
import java.io.InputStream;

import org.junit.Test;

import com.aspose.slides.Paragraph;
import com.aspose.slides.Portion;
import com.aspose.slides.Presentation;
import com.aspose.slides.Shape;
import com.aspose.slides.TextFrame;

public class InstanceTest {

public void test() throws Exception {

String path = “d:/MR Enrollments111.ppt”;

InputStream testStream = new FileInputStream(path);

Presentation presentation = new Presentation(testStream);

Shape shape = presentation.getSlideByPosition(1).getShapes().get(0);

TextFrame textFrame= shape.getTextFrame();
Paragraph paragrap= textFrame.getParagraphs().get(1);
Portion portion= paragrap.getPortions().get(0);
portion.setText(“NEW TEXT”);

presentation.write(“d:/MR Enrollments111-new.ppt”);


I am using apose.slides-2.5.0 jar.

Please check this issue.


Hi Branko,

I have worked with the presentation file shared by you and have been able to observe the issue of animation getting disturbed in generated presentation. An issue with ID 28870 has been created in our issue tracking system to further investigate and resolve the issue. This thread has also been linked with the issue so that you may be automatically notified, once the issue is resolved.

We are sorry for your inconvenience,

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