Aspose.Slides for Android via Java 20.6 Release Notes

KeySummaryCategory
SLIDESANDROID-240Use Aspose.Slides for Java 20.6 featuresEnhancement

Public API Changes

New methods setRecoverWorkbookFromChartCache and getRecoverWorkbookFromChartCache have been added to SpreadsheetOptions

New methods setRecoverWorkbookFromChartCache() and getRecoverWorkbookFromChartCache() have been added to SpreadsheetOptions. If the data source of the chart is an external workbook and it’s not available, it will be recovered from the chart cache.

LoadOptions lo = new LoadOptions();
lo.getSpreadsheetOptions().setRecoverWorkbookFromChartCache(true);

Presentation pres = new Presentation("Presentation.pptx", lo);
try {
    IChart chart = (IChart)pres.getSlides().get_Item(0).getShapes().get_Item(0);
    IChartDataWorkbook wb = chart.getChartData().getChartDataWorkbook();
    ...
} finally {
    if (pres != null) pres.dispose();
}

iteratorJava() method has been added to IGenericCollection interface and several collection classes

iteratorJava() method has been added to IGenericCollection interface and following classes:

This method allows to get an iterator that is fully complied with the Java Iterator logic.