Aspose.Slides for CPP 19.7 Release Notes

Supported Platforms

  • Aspose.Slides for C++ for Windows (Microsoft Visual C++).
  • Aspose.Slides for C++ for Linux (Clang).
KeySummaryCategory
SLIDESCPP-1817Use Aspose.Slides for .NET 19.7 featuresFeature
SLIDESNET-34685Default automatic Markers symbols for LineWithMarkers chartFeature
SLIDESNET-36453Support API for animation effects on paragraph level editingFeature
SLIDESNET-33742Setting Font related properties for Chart AreaFeature
SLIDESNET-35440Support for clearing the particular chart series datapoint data only in chart data worksheetFeature
SLIDESNET-33910Setting Font related properties for chart entities at one placeFeature
SLIDESNET-40010Setter for ExternalWorkbookPath of ExternalWorkbook in chartsFeature
SLIDESNET-41166PowerPoint has page numbers that increment even when its just a continuation of that slides notesEnhancement
SLIDESNET-41215OLE embedded objects support for OpenDocumentEnhancement
SLIDESNET-41185Poor Quality When converting PPTX to PdfNotesEnhancement
SLIDESNET-35712Enabling and disabling the chart series valuesEnhancement
SLIDESCPP-1922Improve the processing of culture-dependent informationEnhancement
SLIDESCPP-1877Improve thumbnails rendering quality (v19.7)Enhancement

Public API Changes

Another option has been added for setting external workbook path

The SetExternalWorkbook(System::String workbookPath, bool updateChartData) method has been added to the ChartData and IChartData classes.

The updateChartData parameter defines whether an excel workbook will be loaded or not. If the value is false only the workbook path will be updated. Chart data won’t be loaded and updated from the target workbook. This is useful when the target workbook doesn’t yet exist or is not available. If the value is true chart data will be updated from the target workbook as the SetExternalWorkbook(System::String) method does.

{
    auto pres = System::MakeObject<Presentation>();
    auto chart = pres->get_Slides()->idx_get(0)->get_Shapes()->AddChart(Aspose::Slides::Charts::ChartType::Pie, 50.0f, 50.0f, 400.0f, 600.0f, true);
    auto chartData = chart->get_ChartData();
    (System::DynamicCast_noexcept<Aspose::Slides::Charts::ChartData>(chartData))->SetExternalWorkbook(u"http://path/doesnt/exists", false);
}

New AddEffect() method has been added to the Sequence and ISequence classes

The AddEffect(System::SharedPtr, EffectType, EffectSubtype, EffectTriggerType) method has been added to the Sequence and ISequence classes.

It allows to add a new animation effect for a single paragraph.

{
    auto presentation = System::MakeObject&lt;Presentation&gt;(path + u"input.pptx");
    // select paragraph to add effect
    auto autoShape = System::DynamicCast&lt;Aspose::Slides::IAutoShape&gt;(presentation->get_Slides()->idx_get(0)->get_Shapes()->idx_get(0));
    auto paragraph = autoShape->get_TextFrame()->get_Paragraphs()->idx_get(0);
    // add Fly animation effect to selected paragraph
    auto effect = presentation->get_Slides()->idx_get(0)->get_Timeline()->get_MainSequence()->AddEffect(
         paragraph, 
         Aspose::Slides::Animation::EffectType::Fly, 
         Aspose::Slides::Animation::EffectSubtype::Left, 
         Aspose::Slides::Animation::EffectTriggerType::OnClick);
}