Browse our Products

Aspose.Slides for Node.js via Java 24.1 Release Notes

KeySummaryCategory
SLIDESNODEJS-12Use Aspose.Slides for Java 24.1 featuresEnhancement
SLIDESNODEJS-50Failed to install aspose.slides.via.javaInvestigation
SLIDESNODEJS-51Npm install aspose.slides.via.java not workingBug

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:

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

    var stream = java.newInstanceSync("java.io.FileInputStream", "document.pdf");
    pres.getSlides().addFromPdf(stream, pdfImportOptions);

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