Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / dbaccess / source / ui / inc / QEnumTypes.hxx
blobe81302e2ca90a6cc37bf3fb544d84b79b504c0bb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_QENUMTYPES_HXX
20 #define INCLUDED_DBACCESS_SOURCE_UI_INC_QENUMTYPES_HXX
22 namespace dbaui
24 enum EOrderDir
26 ORDER_NONE=0,
27 ORDER_ASC,
28 ORDER_DESC
31 enum EFunctionType
33 FKT_NONE =0x00000000,
34 FKT_OTHER =0x00000001,
35 FKT_AGGREGATE =0x00000002,
36 FKT_CONDITION =0x00000004,
37 FKT_NUMERIC =0x00000008
38 // if this function type is set, it is either EXISTS oder UNIQUE,
39 // the FieldName contains the complete statement
42 enum EConnectionSide
44 JTCS_FROM=0,
45 JTCS_TO
48 enum ETableFieldType
50 TAB_NORMAL_FIELD=0,
51 TAB_PRIMARY_FIELD
54 enum EJoinType
56 FULL_JOIN=0,
57 LEFT_JOIN,
58 RIGHT_JOIN,
59 UNION_JOIN,
60 CROSS_JOIN,
61 INNER_JOIN
64 enum EControlType
66 tpDefault = 0,
67 tpRequired,
68 tpTextLen,
69 tpNumType,
70 tpLength,
71 tpScale,
72 tpFormat,
73 tpAutoIncrement,
74 tpBoolDefault,
75 tpColumnName,
76 tpType,
77 tpAutoIncrementValue
80 #endif
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */