Browse our Products

Aspose.Slides for C++ 22.12 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
SLIDESCPP-3319Use Aspose.Slides for .NET 22.12 featuresEnhancementhttps://docs.aspose.com/slides/net/aspose-slides-for-net-22-12-release-notes/
SLIDESCPP-3557The height of a paragraph does not match the actual heightBughttps://docs.aspose.com/slides/cpp/paragraph/

Public API Changes

New methods have been added to various interfaces and classes to improve API usability.

These methods have been added to reduce the complexity of invocation chains.

It should be noted that the old way can still be used and is fully equivalent to the new way.

List of methods:

Class nameOrdinary syntaxNew improved syntax
Aspose::Slides::IFontsManagerget_FontSubstRuleList()->idx_get(index)get_FontSubstRule(index)
Aspose::Slides::FontsManagerget_FontSubstRuleList()->idx_get(index)get_FontSubstRule(index)
Aspose::Slides::IFontsManagerget_FontFallBackRulesCollection()->idx_get(index)get_FontFallBackRule(index)
Aspose::Slides::FontsManagerget_FontFallBackRulesCollection()->idx_get(index)get_FontFallBackRule(index)
Aspose::Slides::MathText::IMathArrayget_Arguments()->idx_get(index)get_Argument(index)
Aspose::Slides::MathText::MathArrayget_Arguments()->idx_get(index)get_Argument(index)
Aspose::Slides::MathText::IMathDelimiterget_Arguments()->idx_get(index)get_Argument(index)
Aspose::Slides::MathText::MathDelimiterget_Arguments()->idx_get(index)get_Argument(index)
Aspose::Slides::ITableget_Rows()->idx_get(index)get_Row(index)
Aspose::Slides::Tableget_Rows()->idx_get(index)get_Row(index)
Aspose::Slides::ITableget_Columns()->idx_get(index)get_Column(index)
Aspose::Slides::Tableget_Columns()->idx_get(index)get_Column(index)
Aspose::Slides::Theme::IExtraColorSchemeget_ColorScheme()->idx_get(index)get_ColorFormat(index)
Aspose::Slides::Theme::ExtraColorSchemeget_ColorScheme()->idx_get(index)get_ColorFormat(index)
Aspose::Slides::Theme::IFormatSchemeget_FillStyles()->idx_get(index)get_FillStyle(index)
Aspose::Slides::Theme::FormatSchemeget_FillStyles()->idx_get(index)get_FillStyle(index)
Aspose::Slides::Theme::IFormatSchemeget_LineStyles()->idx_get(index)get_LineStyle(index)
Aspose::Slides::Theme::FormatSchemeget_LineStyles()->idx_get(index)get_LineStyle(index)
Aspose::Slides::Theme::IFormatSchemeget_EffectStyles()->idx_get(index)get_EffectStyle(index)
Aspose::Slides::Theme::FormatSchemeget_EffectStyles()->idx_get(index)get_EffectStyle(index)
Aspose::Slides::Theme::IFormatSchemeget_BackgroundFillStyles()->idx_get(index)get_BackgroundFillStyle(index)
Aspose::Slides::Theme::FormatSchemeget_BackgroundFillStyles()->idx_get(index)get_BackgroundFillStyle(index)
Aspose::Slides::Vba::IVbaProjectget_Modules()->idx_get(index)get_Module(index)
Aspose::Slides::Vba::VbaProjectget_Modules()->idx_get(index)get_Module(index)
Aspose::Slides::Vba::IVbaProjectget_References()->idx_get(index)get_Reference(index)
Aspose::Slides::Vba::VbaProjectget_References()->idx_get(index)get_Reference(index)
Aspose::Slides::ISummaryZoomFrameget_SummaryZoomCollection()->idx_get(index)get_SummaryZoomSection(index)
Aspose::Slides::SummaryZoomFrameget_SummaryZoomCollection()->idx_get(index)get_SummaryZoomSection(index)
Aspose::Slides::Animation::IPropertyEffectget_Points()->idx_get(index)get_Point(index)
Aspose::Slides::Animation::PropertyEffectget_Points()->idx_get(index)get_Point(index)
Aspose::Slides::Animation::IEffectget_Sequence()->idx_get(index)get_Effect(index)
Aspose::Slides::Animation::Effectget_Sequence()->idx_get(index)get_Effect(index)
Aspose::Slides::Animation::IEffectget_Behaviors()->idx_get(index)get_Behavior(index)
Aspose::Slides::Animation::Effectget_Behaviors()->idx_get(index)get_Behavior(index)
Aspose::Slides::Charts::IMultipleCellChartValueget_AsCells()->idx_get(index)get_AsCell(index)
Aspose::Slides::Charts::StringChartValueget_AsCells()->idx_get(index)get_AsCell(index)
Aspose::Slides::Charts::IChartDataPointget_DataPointLevels()->idx_get(index)get_DataPointLevel(index)
Aspose::Slides::Charts::ChartDataPointget_DataPointLevels()->idx_get(index)get_DataPointLevel(index)
Aspose::Slides::Charts::IChartSeriesGroupget_Series()->idx_get(index)get_ChartSeries(index)
Aspose::Slides::Charts::ChartSeriesGroupget_Series()->idx_get(index)get_ChartSeries(index)
Aspose::Slides::Charts::IChartSeriesGroupget_PieSplitCustomPoints()->idx_get(index)get_PieSplitCustomPoint(index)
Aspose::Slides::Charts::ChartSeriesGroupget_PieSplitCustomPoints()->idx_get(index)get_PieSplitCustomPoint(index)
Aspose::Slides::Charts::IChartCategoryget_GroupingLevels()->idx_get(index)get_GroupingLevel(index)
Aspose::Slides::Charts::ChartCategoryget_GroupingLevels()->idx_get(index)get_GroupingLevel(index)
Aspose::Slides::Charts::IChartSeriesget_DataPoints()->idx_get(index)get_DataPoint(index)
Aspose::Slides::Charts::ChartSeriesget_DataPoints()->idx_get(index)get_DataPoint(index)
Aspose::Slides::Charts::IChartSeriesget_ParentSeriesGroup()->idx_get(index)get_ParentSeries(index)
Aspose::Slides::Charts::ChartSeriesget_ParentSeriesGroup()->idx_get(index)get_ParentSeries(index)
Aspose::Slides::Charts::IChartSeriesget_Labels()->idx_get(index)get_Label(index)
Aspose::Slides::Charts::ChartSeriesget_Labels()->idx_get(index)get_Label(index)
Aspose::Slides::Charts::IChartSeriesget_TrendLines()->idx_get(index)get_TrendLine(index)
Aspose::Slides::Charts::ChartSeriesget_TrendLines()->idx_get(index)get_TrendLine(index)
Aspose::Slides::Charts::IChartSeriesget_PieSplitCustomPoints()->idx_get(index)get_PieSplitCustomPoint(index)
Aspose::Slides::Charts::ChartSeriesget_PieSplitCustomPoints()->idx_get(index)get_PieSplitCustomPoint(index)
Aspose::Slides::Charts::IChartDataWorkbookget_Worksheets()->idx_get(index)get_Worksheet(index)
Aspose::Slides::Charts::ChartDataWorkbookget_Worksheets()->idx_get(index)get_Worksheet(index)
Aspose::Slides::Charts::IChartDataget_Series()->idx_get(index)get_ChartSeries(index)
Aspose::Slides::Charts::ChartDataget_Series()->idx_get(index)get_ChartSeries(index)
Aspose::Slides::Charts::IChartDataget_SeriesGroups()->idx_get(index)get_SeriesGroup(index)
Aspose::Slides::Charts::ChartDataget_SeriesGroups()->idx_get(index)get_SeriesGroup(index)
Aspose::Slides::Charts::IChartDataget_Categories()->idx_get(index)get_Category(index)
Aspose::Slides::Charts::ChartDataget_Categories()->idx_get(index)get_Category(index)
Aspose::Slides::Charts::IChartDataget_SecondaryCategories()->idx_get(index)get_SecondaryCategory(index)
Aspose::Slides::Charts::ChartDataget_SecondaryCategories()->idx_get(index)get_SecondaryCategory(index)
Aspose::Slides::Charts::ILegendget_Entries()->idx_get(index)get_Entry(index)
Aspose::Slides::Charts::Legendget_Entries()->idx_get(index)get_Entry(index)
Aspose::Slides::Charts::IChartParagraphFormatget_Tabs()->idx_get(index)get_Tab(index)
Aspose::Slides::IParagraphFormatget_Tabs()->idx_get(index)get_Tab(index)
Aspose::Slides::ParagraphFormatget_Tabs()->idx_get(index)get_Tab(index)
Aspose::Slides::IPictureEffectiveDataget_ImageTransform()->idx_get(index)get_ImageTransformEffect(index)
Aspose::Slides::PictureEffectiveDataget_ImageTransform()->idx_get(index)get_ImageTransformEffect(index)
Aspose::Slides::ICustomDataget_Tags()->idx_get(index)get_Tag(index)
Aspose::Slides::CustomDataget_Tags()->idx_get(index)get_Tag(index)
Aspose::Slides::ICustomDataget_CustomXmlParts()->idx_get(index)get_CustomXmlPart(index)
Aspose::Slides::CustomDataget_CustomXmlParts()->idx_get(index)get_CustomXmlPart(index)
Aspose::Slides::IControlget_Properties()->idx_get(index)get_Property(index)
Aspose::Slides::Controlget_Properties()->idx_get(index)get_Property(index)
Aspose::Slides::SmartArt::ISmartArtNodeget_ChildNodes()->idx_get(index)get_ChildNode(index)
Aspose::Slides::SmartArt::SmartArtNodeget_ChildNodes()->idx_get(index)get_ChildNode(index)
Aspose::Slides::SmartArt::ISmartArtNodeget_Shapes()->idx_get(index)get_Shape(index)
Aspose::Slides::SmartArt::SmartArtNodeget_Shapes()->idx_get(index)get_Shape(index)
Aspose::Slides::SmartArt::ISmartArtget_AllNodes()->idx_get(index)get_NodeFromAll(index)
Aspose::Slides::SmartArt::SmartArtget_AllNodes()->idx_get(index)get_NodeFromAll(index)
Aspose::Slides::SmartArt::ISmartArtget_Nodes()->idx_get(index)get_Node(index)
Aspose::Slides::SmartArt::SmartArtget_Nodes()->idx_get(index)get_Node(index)
Aspose::Slides::IParagraphget_Portions()->idx_get(index)get_Portion(index)
Aspose::Slides::Paragraphget_Portions()->idx_get(index)get_Portion(index)
Aspose::Slides::ITextFrameget_Paragraphs()->idx_get(index)get_Paragraph(index)
Aspose::Slides::TextFrameget_Paragraphs()->idx_get(index)get_Paragraph(index)
Aspose::Slides::IGeometryShapeget_Adjustments()->idx_get(index)get_Adjustment(index)
Aspose::Slides::GeometryShapeget_Adjustments()->idx_get(index)get_Adjustment(index)
Aspose::Slides::IGroupShapeget_Shapes()->idx_get(index)get_Shape(index)
Aspose::Slides::GroupShapeget_Shapes()->idx_get(index)get_Shape(index)
Aspose::Slides::IGradientFormatEffectiveDataget_GradientStops()->idx_get(index)get_GradientStop(index)
Aspose::Slides::GradientFormatEffectiveDataget_GradientStops()->idx_get(index)get_GradientStop(index)
Aspose::Slides::IGradientFormatget_GradientStops()->idx_get(index)get_GradientStop(index)
Aspose::Slides::GradientFormatget_GradientStops()->idx_get(index)get_GradientStop(index)
Aspose::Slides::Theme::IThemeget_ColorScheme()->idx_get(index)get_ColorFormat(index)
Aspose::Slides::Theme::Themeget_ColorScheme()->idx_get(index)get_ColorFormat(index)
Aspose::Slides::Theme::IMasterThemeget_ExtraColorSchemes()->idx_get(index)get_ExtraColorScheme(index)
Aspose::Slides::Theme::MasterThemeget_ColorScheme()->idx_get(index)get_ColorFormat(index)
Aspose::Slides::Theme::MasterThemeget_ExtraColorSchemes()->idx_get(index)get_ExtraColorScheme(index)
Aspose::Slides::Theme::OverrideThemeget_ColorScheme()->idx_get(index)get_ColorFormat(index)
Aspose::Slides::IAnimationTimeLineget_InteractiveSequences()->idx_get(index)get_InteractiveSequence(index)
Aspose::Slides::Animation::AnimationTimeLineget_InteractiveSequences()->idx_get(index)get_InteractiveSequence(index)
Aspose::Slides::IAnimationTimeLineget_MainSequence()->idx_get(index)get_MainSequenceEffect(index)
Aspose::Slides::Animation::AnimationTimeLineget_MainSequence()->idx_get(index)get_MainSequenceEffect(index)
Aspose::Slides::IAnimationTimeLineget_TextAnimationCollection()->idx_get(index)get_TextAnimation(index)
Aspose::Slides::Animation::AnimationTimeLineget_TextAnimationCollection()->idx_get(index)get_TextAnimation(index)
Aspose::Slides::IBaseSlideget_Shapes()->idx_get(index)get_Shape(index)
Aspose::Slides::BaseSlideget_Shapes()->idx_get(index)get_Shape(index)
Aspose::Slides::IBaseSlideget_Controls()->idx_get(index)get_Control(index)
Aspose::Slides::BaseSlideget_Controls()->idx_get(index)get_Control(index)
Aspose::Slides::ISlidesPictureget_ImageTransform()->idx_get(index)get_ImageTransformOperation(index)
Aspose::Slides::Pictureget_ImageTransform()->idx_get(index)get_ImageTransformOperation(index)
Aspose::Slides::IColorFormatget_ColorTransform()->idx_get(index)get_ColorOperation(index)
Aspose::Slides::ColorFormatget_ColorTransform()->idx_get(index)get_ColorOperation(index)
Aspose::Slides::ColorFormatImplget_ColorTransform()->idx_get(index)get_ColorOperation(index)
Aspose::Slides::ICommentAuthorget_Comments()->idx_get(index)get_Comment(index)
Aspose::Slides::CommentAuthorget_Comments()->idx_get(index)get_Comment(index)
Aspose::Slides::IPresentationget_Slides()->idx_get(index)get_Slide(index)
Aspose::Slides::Presentationget_Slides()->idx_get(index)get_Slide(index)
Aspose::Slides::IPresentationget_Sections()->idx_get(index)get_Section(index)
Aspose::Slides::Presentationget_Sections()->idx_get(index)get_Section(index)
Aspose::Slides::IPresentationget_Masters()->idx_get(index)get_Master(index)
Aspose::Slides::Presentationget_Masters()->idx_get(index)get_Master(index)
Aspose::Slides::IPresentationget_CommentAuthors()->idx_get(index)get_CommentAuthor(index)
Aspose::Slides::Presentationget_CommentAuthors()->idx_get(index)get_CommentAuthor(index)
Aspose::Slides::IPresentationget_DocumentProperties()->idx_get(index)get_DocumentProperty(index)
Aspose::Slides::Presentationget_DocumentProperties()->idx_get(index)get_DocumentProperty(index)
Aspose::Slides::IPresentationget_Images()->idx_get(index)get_Image(index)
Aspose::Slides::Presentationget_Images()->idx_get(index)get_Image(index)
Aspose::Slides::IPresentationget_Audios()->idx_get(index)get_Audio(index)
Aspose::Slides::Presentationget_Audios()->idx_get(index)get_Audio(index)
Aspose::Slides::IPresentationget_Videos()->idx_get(index)get_Video(index)
Aspose::Slides::Presentationget_Videos()->idx_get(index)get_Video(index)
Aspose::Slides::IPresentationget_DigitalSignatures()->idx_get(index)get_DigitalSignature(index)
Aspose::Slides::Presentationget_DigitalSignatures()->idx_get(index)get_DigitalSignature(index)

Examples:

This code snippet:

System::String name = pres->get_Slides()->idx_get(0)->get_Shapes()->idx_get(0)->get_Name();

Can be rewritten as follows:

System::String name = pres->get_Slide(0)->get_Shape(0)->get_Name();

Another code snippet:

System::SharedPtr<IChart> chart = sld->get_Shapes()->AddChart(Aspose::Slides::Charts::ChartType::LineWithMarkers, 50.0f, 50.0f, 450.0f, 300.0f);                    
System::SharedPtr<IChartSeries> series = chart->get_ChartData()->get_Series()->idx_get(0);

Can be rewritten as follows:

System::SharedPtr<IChart> chart = sld->get_Shapes()->AddChart(Aspose::Slides::Charts::ChartType::LineWithMarkers, 50.0f, 50.0f, 450.0f, 300.0f);
System::SharedPtr<IChartSeries> series = chart->get_ChartData()->get_ChartSeries(0);