xref: /aoo4110/main/sc/source/filter/inc/xlname.hxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef SC_XLNAME_HXX
25 #define SC_XLNAME_HXX
26 
27 #include <sal/types.h>
28 
29 // Constants and Enumerations =================================================
30 
31 // (0x0018, 0x0218) NAME ------------------------------------------------------
32 
33 const sal_uInt16 EXC_ID_NAME                = 0x0018;
34 const sal_uInt16 EXC_ID34_NAME              = 0x0218;
35 
36 // flags
37 const sal_uInt16 EXC_NAME_DEFAULT           = 0x0000;
38 const sal_uInt16 EXC_NAME_HIDDEN            = 0x0001;
39 const sal_uInt16 EXC_NAME_FUNC              = 0x0002;
40 const sal_uInt16 EXC_NAME_VB                = 0x0004;
41 const sal_uInt16 EXC_NAME_PROC              = 0x0008;
42 const sal_uInt16 EXC_NAME_CALCEXP           = 0x0010;
43 const sal_uInt16 EXC_NAME_BUILTIN           = 0x0020;
44 const sal_uInt16 EXC_NAME_FGROUPMASK        = 0x0FC0;
45 const sal_uInt16 EXC_NAME_BIG               = 0x1000;
46 
47 const sal_uInt8 EXC_NAME2_FUNC              = 0x02;     /// BIFF2 function/command flag.
48 
49 const sal_uInt16 EXC_NAME_GLOBAL            = 0;        /// 0 = Globally defined name.
50 
51 // codes for built-in names
52 const sal_Unicode EXC_BUILTIN_CONSOLIDATEAREA   = '\x00';
53 const sal_Unicode EXC_BUILTIN_AUTOOPEN          = '\x01';
54 const sal_Unicode EXC_BUILTIN_AUTOCLOSE         = '\x02';
55 const sal_Unicode EXC_BUILTIN_EXTRACT           = '\x03';
56 const sal_Unicode EXC_BUILTIN_DATABASE          = '\x04';
57 const sal_Unicode EXC_BUILTIN_CRITERIA          = '\x05';
58 const sal_Unicode EXC_BUILTIN_PRINTAREA         = '\x06';
59 const sal_Unicode EXC_BUILTIN_PRINTTITLES       = '\x07';
60 const sal_Unicode EXC_BUILTIN_RECORDER          = '\x08';
61 const sal_Unicode EXC_BUILTIN_DATAFORM          = '\x09';
62 const sal_Unicode EXC_BUILTIN_AUTOACTIVATE      = '\x0A';
63 const sal_Unicode EXC_BUILTIN_AUTODEACTIVATE    = '\x0B';
64 const sal_Unicode EXC_BUILTIN_SHEETTITLE        = '\x0C';
65 const sal_Unicode EXC_BUILTIN_FILTERDATABASE    = '\x0D';
66 const sal_Unicode EXC_BUILTIN_UNKNOWN           = '\x0E';
67 
68 // ============================================================================
69 
70 #endif
71 
72