From 8cc8ffdb04f9915c5b7dddd619ef89762c7a40c2 Mon Sep 17 00:00:00 2001
From: Tomaž Vajngerl
Date: Tue, 7 Feb 2017 14:25:26 +0100
Subject: [API CHANGE] Add PopupRequest - a callback to open a pop-up win. in
calc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Change-Id: Iea600e229deb69d1638a1a649008fc4738a5934a
Reviewed-on: https://gerrit.libreoffice.org/34005
Reviewed-by: Tomaž Vajngerl
Tested-by: Tomaž Vajngerl
---
offapi/UnoApi_offapi.mk | 2 ++
offapi/com/sun/star/chart2/data/PopupRequest.idl | 44 +++++++++++++++++++++++
offapi/com/sun/star/chart2/data/XDataReceiver.idl | 2 ++
offapi/com/sun/star/chart2/data/XPopupRequest.idl | 39 ++++++++++++++++++++
4 files changed, 87 insertions(+)
create mode 100644 offapi/com/sun/star/chart2/data/PopupRequest.idl
create mode 100644 offapi/com/sun/star/chart2/data/XPopupRequest.idl
(limited to 'offapi')
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index a76f42aff91a..064a84752e40 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -658,6 +658,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/chart2/data,\
DataSequence \
DataSink \
DataSource \
+ PopupRequest \
RangeHighlighter \
RangeHighlightListener \
TabularDataProviderArguments \
@@ -2057,6 +2058,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/chart2/data,\
XLabeledDataSequence \
XLabeledDataSequence2 \
XNumericalDataSequence \
+ XPopupRequest \
XRangeHighlighter \
XRangeXMLConversion \
XSheetDataProvider \
diff --git a/offapi/com/sun/star/chart2/data/PopupRequest.idl b/offapi/com/sun/star/chart2/data/PopupRequest.idl
new file mode 100644
index 000000000000..bd49c69cc22a
--- /dev/null
+++ b/offapi/com/sun/star/chart2/data/PopupRequest.idl
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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_data_PopupRequest_idl
+#define com_sun_star_chart2_data_PopupRequest_idl
+
+#include
+
+module com
+{
+module sun
+{
+module star
+{
+module chart2
+{
+module data
+{
+
+/**
+ */
+service PopupRequest
+{
+ /**
+ */
+ interface XPopupRequest;
+};
+
+} ; // data
+} ; // chart2
+} ; // com
+} ; // sun
+} ; // star
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/offapi/com/sun/star/chart2/data/XDataReceiver.idl b/offapi/com/sun/star/chart2/data/XDataReceiver.idl
index ae7cf13c15c5..2ff74274c920 100644
--- a/offapi/com/sun/star/chart2/data/XDataReceiver.idl
+++ b/offapi/com/sun/star/chart2/data/XDataReceiver.idl
@@ -87,6 +87,8 @@ interface XDataReceiver : ::com::sun::star::uno::XInterface
return an empty object.
*/
XRangeHighlighter getRangeHighlighter();
+
+ XPopupRequest getPopupRequest();
};
} ; // data
diff --git a/offapi/com/sun/star/chart2/data/XPopupRequest.idl b/offapi/com/sun/star/chart2/data/XPopupRequest.idl
new file mode 100644
index 000000000000..e3294658a4a9
--- /dev/null
+++ b/offapi/com/sun/star/chart2/data/XPopupRequest.idl
@@ -0,0 +1,39 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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_data_XPopupRequest_idl
+#define com_sun_star_chart2_data_XPopupRequest_idl
+
+#include
+
+module com
+{
+module sun
+{
+module star
+{
+module chart2
+{
+module data
+{
+
+interface XPopupRequest : com::sun::star::awt::XRequestCallback
+{
+};
+
+} ; // data
+} ; // chart2
+} ; // com
+} ; // sun
+} ; // star
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
--
cgit v1.2.3