summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-28 01:09:10 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-28 01:10:33 +0200
commit6949629e35f308ce7efc890319ecf9a46a5f154c (patch)
treeaaa55ac1f0db02b022f11ec929fe70c9663d9cd7
parent88f5d4ce866f6d574a34d706d2d71dc71aaa66e8 (diff)
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
-rw-r--r--chart2/source/model/main/DataPoint.cxx3
-rw-r--r--offapi/com/sun/star/chart2/DataPointProperties.idl10
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