merge the formfield patch from ooo-build
[ooovba.git] / dbaccess / source / ui / inc / QEnumTypes.hxx
blobba99dc476f2ca4078a3b57ee52003c55f710a049
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: QEnumTypes.hxx,v $
10 * $Revision: 1.9 $
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 ************************************************************************/
30 #ifndef DBAUI_ENUMTYPES_HXX
31 #define DBAUI_ENUMTYPES_HXX
33 namespace dbaui
35 enum EOrderDir
37 ORDER_NONE=0,
38 ORDER_ASC,
39 ORDER_DESC
42 enum EFunctionType
44 FKT_NONE =0x00000000,
45 FKT_OTHER =0x00000001,
46 FKT_AGGREGATE =0x00000002,
47 FKT_CONDITION =0x00000004,
48 FKT_NUMERIC =0x00000008
49 // wenn dieser Fkt.Typ gesetzt handelt es sich um EXISTS oder UNIQUE, der FieldName enthält das gesamte Statement
52 enum EConnectionSide
54 JTCS_FROM=0,
55 JTCS_TO
58 enum ETableFieldType
60 TAB_NORMAL_FIELD=0,
61 TAB_PRIMARY_FIELD
64 enum EJoinType
66 FULL_JOIN=0,
67 LEFT_JOIN,
68 RIGHT_JOIN,
69 UNION_JOIN,
70 CROSS_JOIN,
71 INNER_JOIN
74 //==================================================================
75 enum EControlType
77 tpDefault = 0,
78 tpRequired,
79 tpTextLen,
80 tpNumType,
81 tpLength,
82 tpScale,
83 tpFormat,
84 tpAutoIncrement,
85 tpBoolDefault,
86 tpColumnName,
87 tpType,
88 tpAutoIncrementValue
91 #endif // DBAUI_ENUMTYPES_HXX