diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-28 22:15:03 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-29 00:04:23 -0500 |
commit | 7a16f31752990abd1d0d4afc682259b67f24ea60 (patch) | |
tree | d82c52250d305d715904ba55870d43577fa28a81 /offapi | |
parent | ffca779f3765f730cc9f4f416b728ecdf762931c (diff) |
New UNO API to return currently selected sheets.
Both from the sheet view and preview modes.
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/XSelectedSheetsSupplier.idl | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 66e594439951..5fe45e99feb3 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -3428,6 +3428,7 @@ $(eval $(call gb_UnoApiTarget_add_idlfiles,offapi,offapi/com/sun/star/sheet,\ XScenarioEnhanced \ XScenarios \ XScenariosSupplier \ + XSelectedSheetsSupplier \ XSheetAnnotation \ XSheetAnnotationAnchor \ XSheetAnnotationShapeSupplier \ 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 |