Browse our Products

Aspose.Slides for Python via .NET 26.5 Release Notes

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-44997Latest versions are slower during PPTX-to-HTML5 conversionsEnhancement
SLIDESNET-44630Implement transition behavior between slides with animation in HTML5Enhancement

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-344Use Aspose.Slides for Net 26.5 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2026/aspose-slides-for-net-26-5-release-notes/
SLIDESPYNET-336Support importing Excel cell ranges as native PowerPoint tables via ExcelWorkbookImporterFeaturehttps://docs.aspose.com/slides/net/excel-integration/

Public API Changes

Support for Importing Excel Cell Ranges as Native Tables into Presentations

The new add_table_from_workbook methods have been added to the ExcelWorkbookImporter class. These methods allows you to import the table from a workbook by its range and worksheet name.

Usage examples

This code sample shows how to import the table from an Excel workbook by its range and worksheet name:

import aspose.slides as slides

workbook = slides.excel.ExcelDataWorkbook("excelfile.xlsx")
with slides.Presentation() as pres:
    slides.importing.ExcelWorkbookImporter.add_table_from_workbook(pres.slides[0].shapes, 10, 10, workbook, "worksheet name", "A1:D10")
    pres.save("result.pptx", slides.export.SaveFormat.PPTX)

The following sample code shows how to import the table from a workbook file by its range and worksheet name:

import aspose.slides as slides

with slides.Presentation() as pres:
    slides.importing.ExcelWorkbookImporter.add_table_from_workbook(pres.slides[0].shapes, 10, 10, "excelfile.xlsx", "worksheet name", "A1:D10")
    pres.save("result.pptx", slides.export.SaveFormat.PPTX)

The following code demonstrates how to import the table from a workbook stream by its range and worksheet name:

import aspose.slides as slides

with open("excelfiles.xlsx", "rb") as fs, slides.Presentation() as pres:
    slides.importing.ExcelWorkbookImporter.add_table_from_workbook(pres.slides[0].shapes, 10, 10, fs, "worksheet name", "A1:D10")
    pres.save("result.pptx", slides.export.SaveFormat.PPTX)