Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / connectivity / source / inc / propertyids.hxx
blob1a9e3720f963e3614736f09cea480fa58455a3ef
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 .
20 #pragma once
22 // this define has to be set to split the names into different dll's or so's
23 // every dll has his own set of property names
24 #include <rtl/ustring.hxx>
25 #include <map>
26 #include <connectivity/dbtoolsdllapi.hxx>
28 namespace dbtools
30 class OOO_DLLPUBLIC_DBTOOLS OPropertyMap
32 std::map<sal_Int32, OUString> m_aPropertyMap;
33 public:
34 OPropertyMap();
35 const OUString& getNameByIndex(sal_Int32 _nIndex) const;
39 #define PROPERTY_ID_QUERYTIMEOUT 1
40 #define PROPERTY_ID_MAXFIELDSIZE 2
41 #define PROPERTY_ID_MAXROWS 3
42 #define PROPERTY_ID_CURSORNAME 4
43 #define PROPERTY_ID_RESULTSETCONCURRENCY 5
44 #define PROPERTY_ID_RESULTSETTYPE 6
45 #define PROPERTY_ID_FETCHDIRECTION 7
46 #define PROPERTY_ID_FETCHSIZE 8
47 #define PROPERTY_ID_ESCAPEPROCESSING 9
48 #define PROPERTY_ID_USEBOOKMARKS 10
49 // Column
50 #define PROPERTY_ID_NAME 11
51 #define PROPERTY_ID_TYPE 12
52 #define PROPERTY_ID_TYPENAME 13
53 #define PROPERTY_ID_PRECISION 14
54 #define PROPERTY_ID_SCALE 15
55 #define PROPERTY_ID_ISNULLABLE 16
56 #define PROPERTY_ID_ISAUTOINCREMENT 17
57 #define PROPERTY_ID_ISROWVERSION 18
58 #define PROPERTY_ID_DESCRIPTION 19
59 #define PROPERTY_ID_DEFAULTVALUE 20
61 #define PROPERTY_ID_REFERENCEDTABLE 21
62 #define PROPERTY_ID_UPDATERULE 22
63 #define PROPERTY_ID_DELETERULE 23
64 #define PROPERTY_ID_CATALOG 24
65 #define PROPERTY_ID_ISUNIQUE 25
66 #define PROPERTY_ID_ISPRIMARYKEYINDEX 26
67 #define PROPERTY_ID_ISCLUSTERED 27
68 #define PROPERTY_ID_ISASCENDING 28
69 #define PROPERTY_ID_SCHEMANAME 29
70 #define PROPERTY_ID_CATALOGNAME 30
72 #define PROPERTY_ID_COMMAND 31
73 #define PROPERTY_ID_CHECKOPTION 32
74 #define PROPERTY_ID_PASSWORD 33
75 #define PROPERTY_ID_RELATEDCOLUMN 34
77 #define PROPERTY_ID_FUNCTION 35
78 #define PROPERTY_ID_TABLENAME 36
79 #define PROPERTY_ID_REALNAME 37
80 #define PROPERTY_ID_DBASEPRECISIONCHANGED 38
81 #define PROPERTY_ID_ISCURRENCY 39
82 #define PROPERTY_ID_ISBOOKMARKABLE 40
84 #define PROPERTY_ID_INVALID_INDEX 41
85 #define PROPERTY_ID_HY010 43
86 #define PROPERTY_ID_LABEL 44
87 #define PROPERTY_ID_DELIMITER 45
88 #define PROPERTY_ID_FORMATKEY 46
89 #define PROPERTY_ID_LOCALE 47
90 #define PROPERTY_ID_IM001 48
92 #define PROPERTY_ID_AUTOINCREMENTCREATION 49
94 #define PROPERTY_ID_PRIVILEGES 50
95 #define PROPERTY_ID_HAVINGCLAUSE 51
97 #define PROPERTY_ID_ISSIGNED 52
98 #define PROPERTY_ID_AGGREGATEFUNCTION 53
99 #define PROPERTY_ID_ISSEARCHABLE 54
101 #define PROPERTY_ID_APPLYFILTER 55
102 #define PROPERTY_ID_FILTER 56
103 #define PROPERTY_ID_MASTERFIELDS 57
104 #define PROPERTY_ID_DETAILFIELDS 58
105 #define PROPERTY_ID_FIELDTYPE 59
106 #define PROPERTY_ID_VALUE 60
107 #define PROPERTY_ID_ACTIVE_CONNECTION 61
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */