1408a4873SAndrew Rist/**************************************************************
2*a5f4f399SMatthias Seidel *
3408a4873SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4408a4873SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5408a4873SAndrew Rist * distributed with this work for additional information
6408a4873SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7408a4873SAndrew Rist * to you under the Apache License, Version 2.0 (the
8408a4873SAndrew Rist * "License"); you may not use this file except in compliance
9408a4873SAndrew Rist * with the License.  You may obtain a copy of the License at
10*a5f4f399SMatthias Seidel *
11408a4873SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*a5f4f399SMatthias Seidel *
13408a4873SAndrew Rist * Unless required by applicable law or agreed to in writing,
14408a4873SAndrew Rist * software distributed under the License is distributed on an
15408a4873SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16408a4873SAndrew Rist * KIND, either express or implied.  See the License for the
17408a4873SAndrew Rist * specific language governing permissions and limitations
18408a4873SAndrew Rist * under the License.
19*a5f4f399SMatthias Seidel *
20408a4873SAndrew Rist *************************************************************/
21408a4873SAndrew Rist
22408a4873SAndrew Rist
23*a5f4f399SMatthias Seidel#ifndef __com_sun_star_beans_XExactName_idl__
24*a5f4f399SMatthias Seidel#define __com_sun_star_beans_XExactName_idl__
25*a5f4f399SMatthias Seidel
26*a5f4f399SMatthias Seidel#ifndef __com_sun_star_uno_XInterface_idl__
27*a5f4f399SMatthias Seidel#include <com/sun/star/uno/XInterface.idl>
28*a5f4f399SMatthias Seidel#endif
29*a5f4f399SMatthias Seidel
30*a5f4f399SMatthias Seidel
31*a5f4f399SMatthias Seidel//=============================================================================
32*a5f4f399SMatthias Seidel
33*a5f4f399SMatthias Seidelmodule com {  module sun {  module star {  module beans {
34*a5f4f399SMatthias Seidel
35*a5f4f399SMatthias Seidel//=============================================================================
36*a5f4f399SMatthias Seidel
37*a5f4f399SMatthias Seidel/** provides a method of changing names for converting
38*a5f4f399SMatthias Seidel	an approximate name to an existing name.
39*a5f4f399SMatthias Seidel
40cdf0e10cSrcweir	<p> One field of application is the conversion of case-insensitive
41*a5f4f399SMatthias Seidel		names to the existing names.</p>
42cdf0e10cSrcweir
43*a5f4f399SMatthias Seidel	<p> Example: A basic interpreter ignores the case of the names. So
44*a5f4f399SMatthias Seidel		it must query the <type>XExactName</type> interface and then call
45*a5f4f399SMatthias Seidel		the method.</p>
46cdf0e10cSrcweir
47*a5f4f399SMatthias Seidel	@see com::sun::star::beans::XPropertySet
48*a5f4f399SMatthias Seidel	@see com::sun::star::beans::XIntrospectionAccess
49cdf0e10cSrcweir	@see com::sun::star::container::XNameAccess
50cdf0e10cSrcweir */
51cdf0e10cSrcweirpublished interface XExactName: com::sun::star::uno::XInterface
52*a5f4f399SMatthias Seidel{
53*a5f4f399SMatthias Seidel	//-------------------------------------------------------------------------
54*a5f4f399SMatthias Seidel
55*a5f4f399SMatthias Seidel	/** @returns
56*a5f4f399SMatthias Seidel			the exact name for a given approximate name.
57*a5f4f399SMatthias Seidel
58*a5f4f399SMatthias Seidel		<p> For example "getExactName" could be returned for "GETEXACTNAME"
59*a5f4f399SMatthias Seidel			when "GETEXACTNAME" was used by a case insensitive scripting language.</p>
60cdf0e10cSrcweir	 */
61*a5f4f399SMatthias Seidel	string getExactName( [in] string aApproximateName );
62*a5f4f399SMatthias Seidel
63*a5f4f399SMatthias Seidel	//-------------------------------------------------------------------------
64*a5f4f399SMatthias Seidel
65*a5f4f399SMatthias Seidel};
66*a5f4f399SMatthias Seidel
67*a5f4f399SMatthias Seidel//=============================================================================
68*a5f4f399SMatthias Seidel
69*a5f4f399SMatthias Seidel}; }; }; };
70*a5f4f399SMatthias Seidel
71*a5f4f399SMatthias Seidel#endif
72