Spire.Presentation for Java 3.9.6

Spire.Presentation for Java 3.9.6 supports getting the effect of the animation

We're pleased to announce the release of Spire.Presentation for Java 3.9.6. This version supports getting the effect of the animation, and also fixes issues that occurred when converting .pptx to PDF. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPPT-1273 Supports getting the effect of the animation.
Presentation presentation = new Presentation();
presentation.loadFromFile("data/animation.pptx");
for (int c = 0; c < presentation.getSlides().getCount(); c++) {
ISlide slide = presentation.getSlides().get(c);
for (int i = 0; i < slide.getTimeline().getMainSequence().getCount(); i++) {
AnimationEffect animationEffect = slide.getTimeline().getMainSequence().get(i);
//Gets preset type,likes Entrance,Emphasis,Exit,Path
String presetClassType = animationEffect.getPresetClassType().getName();
//Gets animation effect type
AnimationEffectType animationEffectType= animationEffect.getAnimationEffectType();
//Gets target shape
Shape shape = animationEffect.getShapeTarget();
//Gets sub type of animation effect
String subType = animationEffect.getSubtype().getName();
//Gets color
Color color = animationEffect.getColor();
//Gets the vanishing point of Faded_Zoom animation
if (animationEffectType.equals(AnimationEffectType.FADED_ZOOM)) {
String vanishingPointName = animationEffect.getVanishingPoint().getName();
                }
//Gets Wave animation effects
if (animationEffectType.equals(AnimationEffectType.WAVE)) {
TextAnimationCollection textAnimations = slide.getTimeline().getTextAnimations();
if (textAnimations.size() > 0) {
for (int j = 0; j < textAnimations.size(); j++) {
ParagraphBuildType buildType = textAnimations.get(j).getParagraphBuildType();
                        }
                    }
                }
            }
        }
Bug SPIREPPT-1238 Fixes the issue that the application threw "NullPointerException "when converting .pptx to pdf.
Bug SPIREPPT-1296 Fixes the issue that the content of chart axis was not formatted correctly when converting .pptx to pdf.
Click the link to download Spire.Presentation for Java 3.9.6: