Skip to end of metadata
Go to start of metadata

This page contains release notes for Aspose.Slides for C++ 19.12

Supported Platforms

  • Aspose.Slides for C++ for Windows (Microsoft Visual C++).
  • Aspose.Slides for C++ for Linux (Clang).

 

KeySummaryCategory
SLIDESCPP-1822Use Aspose.Slides for .NET 19.12 featuresFeature
SLIDESNET-41274Add color to Data PointsFeature
SLIDESNET-41487Restrict printing in PDF fileFeature
SLIDESNET-41510PDF access permissionsFeature
SLIDESNET-38950ODP to PDF: Bullets numbering is missingEnhancement
SLIDESNET-41184Slides are not placed into proper sectionsEnhancement
SLIDESCPP-2140Add support for the CodePorting.Native.Cs2Cpp.API packageEnhancement
SLIDESCPP-2178Improve the performance of saving images in PNG formatEnhancement

Public API Changes

Data Points of Treemap and Sunburst Chart

Among other types of PowerPoint charts, there are two "hierarchical" types - Treemap and Sunburst chart (also known as Sunburst Graph, Sunburst Diagram, Radial Chart, Radial Graph or Multi Level Pie Chart). These charts display hierarchical data organized as a tree - from leaves to the top of the branch. Leaves are defined by the series data points, and each subsequent nested grouping level defined by the corresponding category. Aspose.Slides for C++ allows to format data points of Sunburst Chart and Treemap in C++.

Here is a Sunburst Chart, where data in Series1 column define the leaf nodes, while other columns define hierarchical datapoints:

                                      

Let’s start with adding a new Sunburst chart to the presentation:

Read more about Creating Sunburst Chart

 

If there is a need to format data points of the chart, we should use the following:

IChartDataPointLevelsManagerIChartDataPointLevel classes and IChartDataPoint::get_DataPointLevels() method provide access to format data points of Treemap and Sunburst charts. IChartDataPointLevelsManager is used for accessing multi-level categories - it represents the container of IChartDataPointLevel objects. Basically it is a wrapper for IChartCategoryLevelsManager with the properties added specifically for data points. IChartDataPointLevel class has two methods: get_Format() and get_DataLabel() which provide access to corresponding settings.


Show Data Point Value

Show value of "Leaf 4" data point:

  

Set Data Point label and its color

 Set "Branch 1" data label to show a series name ("Series1") instead of the category name. Then set the text color to yellow:

  

Set Data Point Branch Color

 Change color of "Steam 4" branch:

 

 IPdfOptions::get_AccessPermissions() and IPdfOptions::set_AccessPermissions() methods have been added

 get_AccessPermissions() and set_AccessPermissions() methods have been added to IPdfOptions interface and PdfOptions class. All possible values of this property are defined in the PdfAccessPermissions enumeration. These values allow you to restrict access rights to a PDF document such as printing, modify the contents, copy text and graphics, add or modify text annotations, create or modify interactive form fields, extract text and graphics in support of accessibility to users with disabilities, create bookmarks, manipulate pages, etc. The values of this enumeration may be combined.

Example

The example below demonstrates how to set access permissions to a PDF document only for printing in high quality.

 

ISlideCollection::AddClone() method has been added

AddClone() method has been added to ISlideCollection interface and SlideCollection class. This method allows adding a slide clone into a specified section.

Method declaration

Example


 



Labels
  • No labels