[Libreoffice-commits] core.git: Branch 'feature/gsoc19-chart-style' - offapi/com offapi/UnoApi_offapi.mk

Markus Mohrhard (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 3 16:28:04 UTC 2019


 offapi/UnoApi_offapi.mk                        |    2 +
 offapi/com/sun/star/chart2/ChartObjectType.idl |   24 +++++++++++++++++++++
 offapi/com/sun/star/chart2/XChartStyle.idl     |   28 +++++++++++++++++++++++++
 3 files changed, 54 insertions(+)

New commits:
commit fa2aa8d749c153e660ed5e8c976802921ab59eea
Author:     Markus Mohrhard <markus.mohrhard at googlemail.com>
AuthorDate: Thu Jul 4 00:26:34 2019 +0800
Commit:     Markus Mohrhard <markus.mohrhard at googlemail.com>
CommitDate: Thu Jul 4 00:26:34 2019 +0800

    add interfaces for chart style
    
    Change-Id: Ib8e118a5c866187507d438f1decbc49ffafd0dd4

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: */


More information about the Libreoffice-commits mailing list