Aspose.Slides for Android via Java 23.3 Release Notes

SLIDESANDROID-427Use Aspose.Slides for Java 23.3 featuresEnhancement
SLIDESANDROID-473PPT to PDF conversion throws KeyNotFoundExceptionBug
SLIDESANDROID-474OutOfMemoryError occurs when converting PPTX to PDFBug

Public API Changes

Animation timing settings: Rewind when done playing - ITiming.Rewind has been added

The ITiming.Rewind attribute has been added to specify whether an effect will rewind after playing.

Rewind when done playing


Presentation presentation = new Presentation("demo.pptx");
try {
    // Gets the effects sequence for the first slide
    ISequence effectsSequence = presentation.getSlides().get_Item(0).getTimeline().getMainSequence();

    // Gets the first effect of the main sequence.
    IEffect effect = effectsSequence.get_Item(0);

    // Turns the effect Timing/Rewind on.
} finally {
    if (presentation != null) presentation.dispose();

Trim Video Settings: IVideoFrame TrimFromEnd and TrimFromStart have been added

IVideoFrame.TrimFromEnd and IVideoFrame.TrimFromStart have been added to manage Trim Video settings.

Trim Video settings


Presentation pres = new Presentation();
try {
    ISlide slide = pres.getSlides().get_Item(0);
    IVideo video = pres.getVideos().addVideo(videoData);
    IVideoFrame videoFrame = slide.getShapes().addVideoFrame(0, 0, 100, 100, video);

    // sets the trimming start time to 1sec

    // sets the triming end time to 2sec
} finally {
    if (pres != null) pres.dispose();

IChartDataPoint.Index property has been added

To allow you determine what parent’s children collection this data point applies to, the IChartDataPoint.Index property has been added.


Presentation presentation = new Presentation("pres.pptx");
try {
    Chart chart = (Chart)presentation.getSlides().get_Item(0).getShapes().get_Item(0);
    for (IChartDataPoint dataPoint : chart.getChartData().getSeries().get_Item(0).getDataPoints())
        System.out.println("Point with index " + dataPoint.getIndex() + " is applied to " + dataPoint.getValue());
} finally {
    if (presentation != null) presentation.dispose();