As i see it, the addClone() method on slideCollection doesn’t clone the animation on the textframe. Is it an error or a known behavior ? Or if you can suggest a possible solution for the animations to also be cloned, i would gladly take it. I am using it in Java.
I have observed the information shared by you and request you to please share the source presentation, generated presentation and working sample code to investigate the issue on our end. Please also try using Aspose.Slides for Java 17.6 on your end as well if you are using some old version.
The issue is that on some of the slides, after merging (or simple cloning) the transition animation on the textframes only works if a key is pressed and not automatically as it does in the original.
Cloning and merging without functionality and design loss is a keyfeature we really want, if this resolves we are sure to buy the product.
Thank you in advance.
Here is a presentation which we used for testing purpose: presentation.zip (1.2 MB)
Please accept my apology for the delayed response. I have worked with source presentation shared by you using Aspose.Slides for Java 17.6 on my end and have not been able to observe the issue of lost animations in saved PPSX. I have used following modified sample code on my end. Can you please verify the shared presentation and point to any slide with missing animation effect.
public static void mergePresentations()
{
String path="C:\\Aspose Data\\Presentation\\";
IPresentation iPresentation=new Presentation(path+"Presentation Global Country Argentina.ppsx");
IPresentation result=new Presentation(); // this.source = iPresentations;
final Dimension2D size = iPresentation.getSlideSize().getSize();
result.getSlideSize().setSize( (int)size.getWidth(),(int)size.getHeight(),SlideSizeScaleType.EnsureFit);
for(ISlide slide : iPresentation.getSlides())
{
result.getSlides().addClone(slide);
}
result.getSlides().removeAt(0);
result.save(path+"Saved.ppsx",SaveFormat.Ppsx);
}
Sorry for the long skips in the answers.
The presentation you sent us has the same issue. On slides, which has bullet list in it, the elements of the bullet points has an animation transition. In the presentation you have sent us the animations only trigger if a key is pressed, instead of being time based.
I am not aware in what application did you test it, but please have Microsoft Office 2010 installed. So the use case is:
On the third slide, the elements of the bulletpoints should appear one after the other with some delay.
I have observed the information shared by you and have been able to observe issue with bulleted animation effects. An issue with ID SLIDESJAVA-36544 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.
I have verified the issue status from our issue tracking system and regret to share that at present the issue is still unresolved and is blocked owing to implementation in .NET as well. We will be able to share good news with you as soon as further information will be shared by our product team.
I have verified the issue status from our issue tracking system and regret to share that at present the issue is still unresolved and is blocked owing to implementation in .NET as well. I have increased issue priority from medium to high and i have also requested our product team to share further feedback regarding this issue. We will be able to share good news with you as soon as further information will be shared by our product team.
I have observed your comments. I like to share this issue is going to be resolved tentatively in Aspose.Slides 17.9. We will share good news with you soon.
I have observed your comments. I like to inform that this issue has been resolved in Aspose.Slides 17.9. Please share feedback with us if there is still an issue.
I can confirm that the animations are now working correctly in the new version.
However unfortunately during the cloning process the text formatting not cloned properly.
Please have a look at the attached presentations:
Original file: Presentation Germany Agricultural Logistics (DE).ppsx
Result: yourPresentation.ppsx
I suggest you to please try using following sample code on your end to serve the purpose. It is able to generate the presentation with correct text sizes.
Thank you for your assistance, i can confirm that everything is working fine.
But please let me know, that compared to the 16.x versions this version is significantly slower.
You are right that are known performance issues in Aspose.Slides for Java 17.9 and we have shared this information in concerned release notes as well. The performance shall be continually improved for API in subsequent product releases.