Browse our Products

Aspose.Slides for Python via .NET 26.4 Release Notes

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-45253PowerPoint → PDF/UA: Paragraph split into multiple <P> tagsInvestigationhttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-332SVG image is missing when converting a slide to SVGBug
SLIDESPYNET-341Use Aspose.Slides for Net 26.4 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2026/aspose-slides-for-net-26-4-release-notes/

Public API Changes

Added New Enumeration: aspose.slides.charts.WorkbookType

The new WorkbookType enumeration has been added. This enumeration specifies the type of Open XML workbook file.

TypeDescription
NOT_DEFINEDThe workbook type is not defined.
WORKBOOKExcel workbook (*.xlsx).
WORKBOOK_MACROExcel macro-enabled workbook (*.xlsm).
TEMPLATEExcel template (*.xltx).
TEMPLATE_MACROExcel macro-enabled template (*.xltm).
WORKBOOK_BINARY_MACROExcel binary macro-enabled workbook (*.xlsb)

Added New Property: IChartData.embedded_workbook_type

The new embedded_workbook_type read-only property has been added to the IChartData interface and ChartData class. It allows you to get the type of the chart embedded workbook.

Usage Example

import aspose.slides as slides

with slides.Presentation("charts.pptx") as presentation:
    for shape in presentation.slides[0].shapes:
        if type(shape) is not slides.charts.IChart:
            continue

        chart_data = shape.chart_data

        # Skip charts whose embedded workbook format is not supported.
        if chart_data.data_source_type == slides.charts.ChartDataSourceType.INTERNAL_WORKBOOK and chart_data.embedded_workbook_type == slides.charts.WorkbookType.WORKBOOK_BINARY_MACRO:
            continue

        # Read or modify chart workbook data.
        print(hash(chart_data.series[0].name.as_cells))

        cell = chart_data.series[0].data_points[0].value.as_cell
        print(cell.value)

    presentation.save("charts-out.pptx", slides.export.SaveFormat.PPTX)