summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/sheet
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-28 22:15:03 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-29 00:04:23 -0500
commit7a16f31752990abd1d0d4afc682259b67f24ea60 (patch)
treed82c52250d305d715904ba55870d43577fa28a81 /offapi/com/sun/star/sheet
parentffca779f3765f730cc9f4f416b728ecdf762931c (diff)
New UNO API to return currently selected sheets.
Both from the sheet view and preview modes.
Diffstat (limited to 'offapi/com/sun/star/sheet')
-rw-r--r--offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl44
1 files changed, 44 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl b/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl
new file mode 100644
index 000000000000..786dba3dba44
--- /dev/null
+++ b/offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl
@@ -0,0 +1,44 @@
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License or as specified alternatively below. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * Major Contributor(s):
+ * Copyright (C) 2011 Kohei Yoshida <kohei.yoshida@suse.com>
+ *
+ * All Rights Reserved.
+ *
+ * For minor contributions see the git repository.
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+ * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+ * instead of those above.
+ */
+
+#ifndef __com_sun_star_sheet_XSelectedSheetsSupplier_idl__
+#define __com_sun_star_sheet_XSelectedSheetsSupplier_idl__
+
+module com { module sun { module star { module sheet {
+
+interface XSelectedSheetsSupplier: com::sun::star::uno::XInterface
+{
+ /**
+ returns the indices of currently selected sheets. Sheet indices are
+ 0-based.
+ */
+ sequence<long> getSelectedSheets();
+};
+
+}; }; }; };
+
+#endif