summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-07-04 00:26:34 +0800
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-07-04 00:26:34 +0800
commitfa2aa8d749c153e660ed5e8c976802921ab59eea (patch)
tree1152fab3397e699bd5289191269b6dd4b437de3c
parentc1bd744553d3fd33c46ecfe8da435c4bbdee74f3 (diff)
add interfaces for chart style
Change-Id: Ib8e118a5c866187507d438f1decbc49ffafd0dd4
-rw-r--r--offapi/UnoApi_offapi.mk2
-rw-r--r--offapi/com/sun/star/chart2/ChartObjectType.idl24
-rw-r--r--offapi/com/sun/star/chart2/XChartStyle.idl28
3 files changed, 54 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 0f4137996e41..9d158bc16c55 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -1997,6 +1997,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart,\
$(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart2,\
AxisOrientation \
AxisType \
+ ChartObjectType \
CoordinateSystemTypeID \
CurveStyle \
DataPointGeometry3D \
@@ -2021,6 +2022,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart2,\
XChartDocument \
XChartShape \
XChartShapeContainer \
+ XChartStyle \
XChartStyles \
XChartType \
XChartTypeContainer \
diff --git a/offapi/com/sun/star/chart2/ChartObjectType.idl b/offapi/com/sun/star/chart2/ChartObjectType.idl
new file mode 100644
index 000000000000..c84c99b661ef
--- /dev/null
+++ b/offapi/com/sun/star/chart2/ChartObjectType.idl
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef com_sun_star_chart2_ChartObjectType_idl__
+#define com_sun_star_chart2_ChartObjectType_idl__
+
+module com { module sun { module star { module chart2 {
+
+constants ChartObjectType
+{
+ const short TITLE = 0;
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/offapi/com/sun/star/chart2/XChartStyle.idl b/offapi/com/sun/star/chart2/XChartStyle.idl
new file mode 100644
index 000000000000..a072d6f2c833
--- /dev/null
+++ b/offapi/com/sun/star/chart2/XChartStyle.idl
@@ -0,0 +1,28 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef com_sun_star_chart2_XChartStyle
+#define com_sun_star_chart2_XChartStyle
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/beans/XPropertySet.idl>
+#include <com/sun/star/chart2/ChartObjectType.idl>
+
+module com { module sun { module star { module chart2 {
+
+interface XChartStyle : ::com::sun::star::uno::XInterface
+{
+ com::sun::star::beans::XPropertySet getStyleForObject([in] short chartObjectType);
+};
+
+}; }; }; };
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */