Browse our Products

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

KeySummaryCategoryRelated Documentation
SLIDESNET-40604Rendering presentation to pure HTML without SVG parent tagFeaturehttps://docs.aspose.com/slides/net/export-to-html5/
SLIDESNET-43244Failed to check “Transitions / Advance Slide / After” flagEnhancementhttps://docs.aspose.com/slides/net/slide-transition/
SLIDESNET-42740Changing slide number does not workEnhancementhttps://docs.aspose.com/slides/net/presentation-header-and-footer/
SLIDESNET-36907Support to set slide show settingsFeature
SLIDESNET-35994Add support of 3-D Surface chart typeFeaturehttps://docs.aspose.com/slides/net/create-chart/
SLIDESNET-42752Extracting audio file from slide timelineFeaturehttps://docs.aspose.com/slides/net/shape-animation/
SLIDESNET-43269Incorrect layouting of text lines when converting PPT slides to JPG/SVGEnhancementhttps://docs.aspose.com/slides/net/convert-slide/
SLIDESNET-43261Supporting “Slide Show” / “Set Up Show” settingsFeature

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESCPP-3315Use Aspose.Slides for .NET 22.8 featuresEnhancementhttps://docs.aspose.com/slides/net/aspose-slides-for-net-22-8-release-notes/
SLIDESCPP-3533Effective fill type of a text box equals Solid instead of NoFillBughttps://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();
}