diff options
-rw-r--r-- | chart2/source/model/main/DataPoint.cxx | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/chart2/DataPointProperties.idl | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/chart2/source/model/main/DataPoint.cxx b/chart2/source/model/main/DataPoint.cxx index 8f9ea9cb6384..c7876fd5bf77 100644 --- a/chart2/source/model/main/DataPoint.cxx +++ b/chart2/source/model/main/DataPoint.cxx @@ -284,7 +284,8 @@ void DataPoint::fireModifyEvent() Sequence< OUString > DataPoint::getSupportedServiceNames_Static() { - Sequence< OUString > aServices( 3 ); + Sequence< OUString > aServices( 4 ); + aServices[ 0 ] = "com.sun.star.drawing.FillProperties"; aServices[ 0 ] = "com.sun.star.chart2.DataPoint"; aServices[ 1 ] = "com.sun.star.chart2.DataPointProperties"; aServices[ 2 ] = "com.sun.star.beans.PropertySet"; diff --git a/offapi/com/sun/star/chart2/DataPointProperties.idl b/offapi/com/sun/star/chart2/DataPointProperties.idl index da45deffec7f..647d4edb0f21 100644 --- a/offapi/com/sun/star/chart2/DataPointProperties.idl +++ b/offapi/com/sun/star/chart2/DataPointProperties.idl @@ -20,6 +20,7 @@ #define com_sun_star_chart2_DataPointProperties_idl #include <com/sun/star/beans/PropertySet.idl> +#include <com/sun/star/drawing/FillProperties.idl> #include <com/sun/star/awt/Gradient.idl> #include <com/sun/star/style/XStyle.idl> #include <com/sun/star/drawing/Hatch.idl> @@ -46,6 +47,15 @@ service DataPointProperties */ service ::com::sun::star::beans::PropertySet; + /** to give access to the fill properties + + Note that there is access for some of them + through some alias. + + @since LibreOffice 5.1 + */ + service ::com::sun::star::drawing::FillProperties; + /** points to a style that also supports this service (but not this property) that is used as default, if the PropertyState |