Browse our Products

Aspose.Slides for Android via Java 19.2 Release Notes

KeySummaryCategory
SLIDESANDROID-101Implement PathGradientBrush for AndroidFeature
SLIDESANDROID-138Use Aspose.Slides for Java 19.2 featuresFeature
SLIDESNET-40783Support for setting Transparency property for shadow effectsFeature
SLIDESJAVA-36692The text has corrupted after PDF rendition.Bug
SLIDESJAVA-36388Small caps effect lost after saving PPTBug
SLIDESJAVA-37459PPTX to PDF not properly convertedBug
SLIDESJAVA-37462Water Mark issueBug
SLIDESJAVA-37471ODP file not properly converted to PPTXBug
SLIDESJAVA-37472ODP file not properly converted to PPTXBug
SLIDESJAVA-37541Exception on generating ThumbnailsBug
SLIDESJAVA-37544Aspose.Slides 18.12 Java 11 renderToGraphics from BufferedImage size issueBug
SLIDESJAVA-37549Exception:: ArgumentOutOfRange when doing `renderToGraphics'Bug
SLIDESJAVA-37552Exception on converting PPTX to PDFBug
SLIDESJAVA-37575PPTX not properly converted to PDFBug

Public API Changes

MorphTransition class and IMorphTransition interface have been added

The com.aspose.slides.IMorphTransition interface and it’s implementation by com.aspose.slides.MorphTransition class have been added. They represent a new morph transition introduced in PowerPoint 2019.

Morph value has been added into TransitionType enumeration

com.aspose.slides.TransitionType enumeration has been extended with new element Morph related to new PowerPoint 2019 transition Morph.

The code snippet below shows how to add a clone of the slide with some text to the presentation and set a transition of morph type to the second slide:

Presentation presentation = new Presentation();
try
{
    AutoShape autoshape = (AutoShape)presentation.getSlides().get_Item(0).getShapes().addAutoShape(ShapeType.Rectangle, 100, 100, 400, 100);
    autoshape.getTextFrame().setText("Test text");

    presentation.getSlides().addClone(presentation.getSlides().get_Item(0));

    IShape shape = presentation.getSlides().get_Item(1).getShapes().get_Item(0);
    shape.setX(shape.getX() + 100);
    shape.setY(shape.getY() + 50);
    shape.setWidth(shape.getWidth() - 200);
    shape.setHeight(shape.getHeight() - 10);

    presentation.getSlides().get_Item(1).getSlideShowTransition().setType(com.aspose.slides.TransitionType.Morph);

    presentation.save("presentation-out.pptx", SaveFormat.Pptx);
}
finally {
    presentation.dispose();
}

New TransitionMorphType enum has been added ANDROID

New com.aspose.slides.TransitionMorphType enum has been added. It represents different types of Morph slide transition.

TransitionMorphType enum has three members:

  • ByObject: Morph transition will be performed considering shapes as indivisible objects.
  • ByWord: Morph transition will be performed with transferring text by words where possible.
  • ByChar: Morph transition will be performed with transferring text by characters where possible.

The code snippet below shows how to set morph transition to slide and change morph type:

Presentation presentation = new Presentation("presentation.pptx");
try
{
    presentation.getSlides().get_Item(0).getSlideShowTransition().setType(TransitionType.Morph);
    ((IMorphTransition)presentation.getSlides().get_Item(0).getSlideShowTransition().getValue()).setMorphType(TransitionMorphType.ByWord);
    presentation.save("presentation-out.pptx", SaveFormat.Pptx);
}
finally
{
    presentation.dispose();
}