Kaydet (Commit) 6949629e authored tarafından Markus Mohrhard's avatar Markus Mohrhard

reflect the property name changes also in the idl files

DataPoints now support the whole css::drawing::FillProperties properties
which makes handling fill properties in chart2 a lot easier. The new
names are just aliases for the old property names.

Change-Id: I5b85010fe2557eeb5376de71ff3605b3abbcd488
üst 88f5d4ce
...@@ -284,7 +284,8 @@ void DataPoint::fireModifyEvent() ...@@ -284,7 +284,8 @@ void DataPoint::fireModifyEvent()
Sequence< OUString > DataPoint::getSupportedServiceNames_Static() 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[ 0 ] = "com.sun.star.chart2.DataPoint";
aServices[ 1 ] = "com.sun.star.chart2.DataPointProperties"; aServices[ 1 ] = "com.sun.star.chart2.DataPointProperties";
aServices[ 2 ] = "com.sun.star.beans.PropertySet"; aServices[ 2 ] = "com.sun.star.beans.PropertySet";
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#define com_sun_star_chart2_DataPointProperties_idl #define com_sun_star_chart2_DataPointProperties_idl
#include <com/sun/star/beans/PropertySet.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/awt/Gradient.idl>
#include <com/sun/star/style/XStyle.idl> #include <com/sun/star/style/XStyle.idl>
#include <com/sun/star/drawing/Hatch.idl> #include <com/sun/star/drawing/Hatch.idl>
...@@ -46,6 +47,15 @@ service DataPointProperties ...@@ -46,6 +47,15 @@ service DataPointProperties
*/ */
service ::com::sun::star::beans::PropertySet; 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 /** points to a style that also supports this service (but not
this property) that is used as default, if the PropertyState this property) that is used as default, if the PropertyState
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment