merge the formfield patch from ooo-build
[ooovba.git] / sc / source / filter / inc / xlname.hxx
blobf7a07e4527e9394569f7c16953f9a198d3ce5865
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: xlname.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef SC_XLNAME_HXX
32 #define SC_XLNAME_HXX
34 #include <sal/types.h>
36 // Constants and Enumerations =================================================
38 // (0x0018, 0x0218) NAME ------------------------------------------------------
40 const sal_uInt16 EXC_ID_NAME = 0x0018;
41 const sal_uInt16 EXC_ID34_NAME = 0x0218;
43 // flags
44 const sal_uInt16 EXC_NAME_DEFAULT = 0x0000;
45 const sal_uInt16 EXC_NAME_HIDDEN = 0x0001;
46 const sal_uInt16 EXC_NAME_FUNC = 0x0002;
47 const sal_uInt16 EXC_NAME_VB = 0x0004;
48 const sal_uInt16 EXC_NAME_PROC = 0x0008;
49 const sal_uInt16 EXC_NAME_CALCEXP = 0x0010;
50 const sal_uInt16 EXC_NAME_BUILTIN = 0x0020;
51 const sal_uInt16 EXC_NAME_FGROUPMASK = 0x0FC0;
52 const sal_uInt16 EXC_NAME_BIG = 0x1000;
54 const sal_uInt8 EXC_NAME2_FUNC = 0x02; /// BIFF2 function/command flag.
56 const sal_uInt16 EXC_NAME_GLOBAL = 0; /// 0 = Globally defined name.
58 // codes for built-in names
59 const sal_Unicode EXC_BUILTIN_CONSOLIDATEAREA = '\x00';
60 const sal_Unicode EXC_BUILTIN_AUTOOPEN = '\x01';
61 const sal_Unicode EXC_BUILTIN_AUTOCLOSE = '\x02';
62 const sal_Unicode EXC_BUILTIN_EXTRACT = '\x03';
63 const sal_Unicode EXC_BUILTIN_DATABASE = '\x04';
64 const sal_Unicode EXC_BUILTIN_CRITERIA = '\x05';
65 const sal_Unicode EXC_BUILTIN_PRINTAREA = '\x06';
66 const sal_Unicode EXC_BUILTIN_PRINTTITLES = '\x07';
67 const sal_Unicode EXC_BUILTIN_RECORDER = '\x08';
68 const sal_Unicode EXC_BUILTIN_DATAFORM = '\x09';
69 const sal_Unicode EXC_BUILTIN_AUTOACTIVATE = '\x0A';
70 const sal_Unicode EXC_BUILTIN_AUTODEACTIVATE = '\x0B';
71 const sal_Unicode EXC_BUILTIN_SHEETTITLE = '\x0C';
72 const sal_Unicode EXC_BUILTIN_FILTERDATABASE = '\x0D';
73 const sal_Unicode EXC_BUILTIN_UNKNOWN = '\x0E';
75 // ============================================================================
77 #endif