Aspose.Slides for C++ 22.8 Release Notes

Supported Platforms

  • Aspose.Slides for C++ for Windows x64/x86 (Microsoft Visual Studio 2017 or later).
  • Aspose.Slides for C++ for Linux (Clang 3.9 or later, GCC 6.1 or later).
  • Aspose.Slides for C++ for macOS (Xcode 13.4 or later).

New Features and Enhancements

Key Summary Category Related Documentation
SLIDESNET-40604 Rendering presentation to pure HTML without SVG parent tag Feature https://docs.aspose.com/slides/net/export-to-html5/
SLIDESNET-43244 Failed to check “Transitions / Advance Slide / After” flag Enhancement https://docs.aspose.com/slides/net/slide-transition/
SLIDESNET-42740 Changing slide number does not work Enhancement https://docs.aspose.com/slides/net/presentation-header-and-footer/
SLIDESNET-36907 Support to set slide show settings Feature
SLIDESNET-35994 Add support of 3-D Surface chart type Feature https://docs.aspose.com/slides/net/create-chart/
SLIDESNET-42752 Extracting audio file from slide timeline Feature https://docs.aspose.com/slides/net/shape-animation/
SLIDESNET-43269 Incorrect layouting of text lines when converting PPT slides to JPG/SVG Enhancement https://docs.aspose.com/slides/net/convert-slide/
SLIDESNET-43261 Supporting “Slide Show” / “Set Up Show” settings Feature

Other Improvements and Changes

Key Summary Category Related Documentation
SLIDESCPP-3315 Use Aspose.Slides for .NET 22.8 features Enhancement https://docs.aspose.com/slides/net/aspose-slides-for-net-22-8-release-notes/
SLIDESCPP-3533 Effective fill type of a text box equals Solid instead of NoFill Bug https://docs.aspose.com/slides/cpp/shape-formatting/

Public API Changes

Presentation Slide Show Setup Settings support

We implemented support for Presentation Slide Show Settings.

Slide Show Settings

These are the relevant classes and methods:

This C++ code shows you how to set the Presented by a speaker parameter for a slide show:

auto pres = System::MakeObject<Presentation>();
    
pres->get_SlideShowSettings()->set_SlideShowType(System::MakeObject<PresentedBySpeaker>());
pres->Save(u"pres.pptx", Aspose::Slides::Export::SaveFormat::Pptx);

Browsed by individual parameter:

auto pres = System::MakeObject<Presentation>();
    
auto browsedByIndividual = System::MakeObject<BrowsedByIndividual>();
browsedByIndividual->set_ShowScrollbar(true);
pres->get_SlideShowSettings()->set_SlideShowType(browsedByIndividual);
pres->Save(u"pres.pptx", Aspose::Slides::Export::SaveFormat::Pptx);

Effect::get_Sound() and Effect::set_Sound() methods have been added

Support for Embedded sound effect has been implemented through the Effect::get_Sound() and Effect::set_Sound() methods.

auto presentation = System::MakeObject<Presentation>(u"demo.pptx");
    
auto slide = presentation->get_Slides()->idx_get(0);
    
// Gets the effects sequence for the slide
auto effectsSequence = slide->get_Timeline()->get_MainSequence();
    
for (auto& effect : effectsSequence)
{
    if (effect->get_Sound() == nullptr)
    {
        continue;
    }
    // Extracts the effect sound in byte array
    auto audio = effect->get_Sound()->get_BinaryData();
}