From b091850d6ffe2149a6a4722fc6f0ef180a62f1f4 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 23 Jun 2011 15:07:10 +0200 Subject: fix for fdo#37880 we need to save the information if we have a global range name or a local range name in the uno api too --- offapi/UnoApi_offapi.mk | 1 + offapi/com/sun/star/sheet/NameToken.idl | 52 +++++++++++++++++++++++++++++++++ offapi/com/sun/star/sheet/makefile.mk | 1 + 3 files changed, 54 insertions(+) create mode 100644 offapi/com/sun/star/sheet/NameToken.idl diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index ab9c0e523..237cf66e0 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -2902,6 +2902,7 @@ $(eval $(call gb_UnoApiTarget_add_idlfiles,offapi,\ offapi/com/sun/star/sheet/MemberResultFlags \ offapi/com/sun/star/sheet/MoveDirection \ offapi/com/sun/star/sheet/NamedRangeFlag \ + offapi/com/sun/star/sheet/NameToken \ offapi/com/sun/star/sheet/NoConvergenceException \ offapi/com/sun/star/sheet/PasteOperation \ offapi/com/sun/star/sheet/RangeSelectionEvent \ diff --git a/offapi/com/sun/star/sheet/NameToken.idl b/offapi/com/sun/star/sheet/NameToken.idl new file mode 100644 index 000000000..15cd48c5f --- /dev/null +++ b/offapi/com/sun/star/sheet/NameToken.idl @@ -0,0 +1,52 @@ +/* + * 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. + * + * The Initial Developer of the Original Code is + * Markus Mohrhard + * Portions created by the Initial Developer are Copyright (C) 2010 the + * Initial Developer. All Rights Reserved. + * + * Major Contributor(s): + * + * 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_NameToken_idl__ +#define __com_sun_star_sheet_NameToken_idl__ + +//============================================================================= + +module com { module sun { module star { module sheet { + +//============================================================================= + +/** contains the information regarding named tokens + */ +struct NameToken +{ + long Index; + + boolean Global; +}; + +//============================================================================= + +}; }; }; }; + +#endif diff --git a/offapi/com/sun/star/sheet/makefile.mk b/offapi/com/sun/star/sheet/makefile.mk index 10bb43d23..26901cb64 100644 --- a/offapi/com/sun/star/sheet/makefile.mk +++ b/offapi/com/sun/star/sheet/makefile.mk @@ -166,6 +166,7 @@ IDLFILES=\ NamedRangeFlag.idl\ NamedRanges.idl\ NamedRangesEnumeration.idl\ + NameToken.idl\ NoConvergenceException.idl\ PasteOperation.idl\ RangeSelectionArguments.idl\ -- cgit v1.2.3