Aspose.Slides for Python 22.9 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-43Use Aspose.Slides for Net 22.9 featuresEnhancement
SLIDESPYNET-1Prepare Aspose.Slides for Python via .NET for macOSFeature

Public API Changes

Added support for macOS

We are pleased to announce the launch of Aspose.Slides for Python via .NET for macOS systems. Using this new product, applications and developers on macs can create, read, write, and manipulate presentations.

Aspose.Slides for Python on macOS offers the same features as Aspose.Slides for Python on Windows (they share the same documentation and API reference). For more information on Aspose.Slides capabilities, see Features Overview.

New method GetSubstitutions has been added to the IFontsManager interface

get_substitutions, a new method, has been added to the IFontsManager interface and FontsManager class.

The get_substitutions method can be used to get information about fonts that will be replaced when a presentation is rendered.

This C# code shows you how the get_substitutions method is used to get all fonts that will be substituted when a presentation is rendered:

import aspose.slides as slides

with slides.Presentation("pres.pptx") as pres:
    for fontSubstitution in pres.fonts_manager.get_substitutions():
        print(f"{fontSubstitution.original_font_name} -> {fontSubstitution.substituted_font_name}")

New Animation Timing properties were added - repeat_until_end_slide and repeat_until_next_click

These new properties have been added to the Timing class: repeat_until_end_slide and repeat_until_next_click.

Example that shows how to change an effect Timing/Repeat setting to “Until End of Slide”:

import aspose.slides as slides

with slides.Presentation("demo.pptx") as presentation:
    # Gets the effects sequence for the first slide
    effectsSequence = presentation.slides[0].timeline.main_sequence

    # Gets the first effect of the main sequence.
    effect = effectsSequence[0]

    # Changes the effect Timing/Repeat to "Until End of Slide"
    effect.timing.repeat_until_end_slide = True