1*102b8ff7SWang Lei/************************************************************** 2*102b8ff7SWang Lei * 3*102b8ff7SWang Lei * Licensed to the Apache Software Foundation (ASF) under one 4*102b8ff7SWang Lei * or more contributor license agreements. See the NOTICE file 5*102b8ff7SWang Lei * distributed with this work for additional information 6*102b8ff7SWang Lei * regarding copyright ownership. The ASF licenses this file 7*102b8ff7SWang Lei * to you under the Apache License, Version 2.0 (the 8*102b8ff7SWang Lei * "License"); you may not use this file except in compliance 9*102b8ff7SWang Lei * with the License. You may obtain a copy of the License at 10*102b8ff7SWang Lei * 11*102b8ff7SWang Lei * http://www.apache.org/licenses/LICENSE-2.0 12*102b8ff7SWang Lei * 13*102b8ff7SWang Lei * Unless required by applicable law or agreed to in writing, 14*102b8ff7SWang Lei * software distributed under the License is distributed on an 15*102b8ff7SWang Lei * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*102b8ff7SWang Lei * KIND, either express or implied. See the License for the 17*102b8ff7SWang Lei * specific language governing permissions and limitations 18*102b8ff7SWang Lei * under the License. 19*102b8ff7SWang Lei * 20*102b8ff7SWang Lei *************************************************************/ 21*102b8ff7SWang Lei 22*102b8ff7SWang Lei 23*102b8ff7SWang Lei 24*102b8ff7SWang Lei#ifndef __com_sun_star_sheet_XNamedRange2_idl__ 25*102b8ff7SWang Lei#define __com_sun_star_sheet_XNamedRange2_idl__ 26*102b8ff7SWang Lei 27*102b8ff7SWang Lei#ifndef __com_sun_star_sheet_XNamedRange_idl__ 28*102b8ff7SWang Lei#include <com/sun/star/sheet/XNamedRange.idl> 29*102b8ff7SWang Lei#endif 30*102b8ff7SWang Lei//============================================================================= 31*102b8ff7SWang Lei 32*102b8ff7SWang Leimodule com { module sun { module star { module sheet { 33*102b8ff7SWang Lei 34*102b8ff7SWang Lei//============================================================================= 35*102b8ff7SWang Lei 36*102b8ff7SWang Lei/** provides access to the settings of a named ranges with duplicate names in a spreadsheet 37*102b8ff7SWang Lei document. 38*102b8ff7SWang Lei 39*102b8ff7SWang Lei @see com::sun::star::sheet::NamedRange2 40*102b8ff7SWang Lei */ 41*102b8ff7SWang Leipublished interface XNamedRange2: com::sun::star::sheet::XNamedRange 42*102b8ff7SWang Lei{ 43*102b8ff7SWang Lei //------------------------------------------------------------------------- 44*102b8ff7SWang Lei 45*102b8ff7SWang Lei //get the name of a scope 46*102b8ff7SWang Lei string getScopeName(); 47*102b8ff7SWang Lei 48*102b8ff7SWang Lei //set the scope nanme and it's using name 49*102b8ff7SWang Lei 50*102b8ff7SWang Lei void setScopeAndRangeName( [in] string aScopeName, [in] string aRangeName ); 51*102b8ff7SWang Lei 52*102b8ff7SWang Lei}; 53*102b8ff7SWang Lei 54*102b8ff7SWang Lei//============================================================================= 55*102b8ff7SWang Lei 56*102b8ff7SWang Lei}; }; }; }; 57*102b8ff7SWang Lei 58*102b8ff7SWang Lei#endif 59*102b8ff7SWang Lei 60