Browse our Products

Aspose.Slides for Android via Java 24.1 Release Notes

KeySummaryCategory
SLIDESANDROID-447Use Aspose.Slides for Java 24.1 featuresEnhancement

Public API Changes

PDF import detect tables option added

The PdfImportOptions.DetectTables option has been added to ensure that when importing PDF tables are automatically detected and imported as a table in Slide.

Below is an example of PDF import with tables detecting:

Presentation pres = new Presentation();
try {
    PdfImportOptions pdfImportOptions = new PdfImportOptions();
    pdfImportOptions.setDetectTables(true);

    FileInputStream stream = new FileInputStream("document.pdf");
    pres.getSlides().addFromPdf(stream, pdfImportOptions);

    pres.save("output.pptx", SaveFormat.Pptx);
} catch (IOException e) {
} finally {
    if (pres != null) pres.dispose();
}