merge the formfield patch from ooo-build
[ooovba.git] / dbaccess / source / ui / dlg / dsitems.hxx
blob97ed22ba4c759987bb1aff9c5ffcc5bde227fad7
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: dsitems.hxx,v $
10 * $Revision: 1.26 $
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 _DBAUI_DATASOURCEITEMS_HXX_
32 #define _DBAUI_DATASOURCEITEMS_HXX_
34 //========================================================================
35 //= item ids for the data source administration dialog
37 #define DSID_NAME 1 // name of a data source, SfxStringItem
38 #define DSID_ORIGINALNAME 2 // orginal name, internal, SfxStringItem
39 #define DSID_CONNECTURL 3 // connection URL, SfxStringItem
40 #define DSID_TABLEFILTER 4 // table filter, OStringListItem
41 #define DSID_TYPECOLLECTION 5 // collection of data source types, ODsnTypeCollection
42 #define DSID_INVALID_SELECTION 6 // is the selection (thus the set data) invalid?, SfxBoolItem
43 #define DSID_READONLY 7 // is the selection (thus the set data) readonly?, SfxBoolItem
44 #define DSID_USER 8 // the user name used for logon, SfxStringItem
45 #define DSID_PASSWORD 9 // the password used for logon, SfxStringItem
46 #define DSID_ADDITIONALOPTIONS 10 // additional options used for connecting, SfxStringItem
47 #define DSID_CHARSET 11 // character set to use, SfxStringItem by now
48 #define DSID_PASSWORDREQUIRED 12 // is the password required to connect?, SfxBoolItem
49 #define DSID_SHOWDELETEDROWS 13 // show deleted rows?, SfxBoolItem
50 #define DSID_ALLOWLONGTABLENAMES 14 // allow tables names longer than 8.3?, SfxBoolItem
51 #define DSID_JDBCDRIVERCLASS 15 // JDBC driver class, SfxStringItem
52 #define DSID_FIELDDELIMITER 16 // field delimiter, SfxUInt16Item
53 #define DSID_TEXTDELIMITER 17 // text delimiter, SfxUInt16Item
54 #define DSID_DECIMALDELIMITER 18 // decimal delimiter, SfxUInt16Item
55 #define DSID_THOUSANDSDELIMITER 19 // thousands delimiter, SfxUInt16Item
56 #define DSID_TEXTFILEEXTENSION 20 // extension for text files, SfxStringItem
57 #define DSID_TEXTFILEHEADER 21 // the text file contains a header?, SfxBoolItem
58 #define DSID_PARAMETERNAMESUBST 22
59 #define DSID_CONN_PORTNUMBER 23
60 #define DSID_SUPPRESSVERSIONCL 24 // meta data: sal_True if the data source described by the set is to-be-deleted
61 #define DSID_DATASOURCE_UNO 25 // meta data: OPropertySetItem, the data source the set represents
62 #define DSID_CONN_SHUTSERVICE 26
63 #define DSID_CONN_DATAINC 27
64 #define DSID_CONN_CACHESIZE 28
65 #define DSID_CONN_CTRLUSER 29
66 #define DSID_CONN_CTRLPWD 30
67 #define DSID_USECATALOG 31 // should the driver use the catalog name when the database is filebased
68 #define DSID_CONN_HOSTNAME 32
69 #define DSID_CONN_LDAP_BASEDN 33
70 #define DSID_CONN_LDAP_PORTNUMBER 34
71 #define DSID_CONN_LDAP_ROWCOUNT 35
72 #define DSID_SQL92CHECK 36
73 #define DSID_AUTOINCREMENTVALUE 37
74 #define DSID_AUTORETRIEVEVALUE 38
75 #define DSID_AUTORETRIEVEENABLED 39
76 #define DSID_APPEND_TABLE_ALIAS 40
77 #define DSID_MYSQL_PORTNUMBER 41
78 #define DSID_IGNOREDRIVER_PRIV 42
79 #define DSID_BOOLEANCOMPARISON 43
80 #define DSID_ORACLE_PORTNUMBER 44
81 #define DSID_ENABLEOUTERJOIN 45
82 #define DSID_CATALOG 46
83 #define DSID_SCHEMA 47
84 #define DSID_INDEXAPPENDIX 48
85 #define DSID_CONN_LDAP_USESSL 49
86 #define DSID_DOCUMENT_URL 50
87 #define DSID_DOSLINEENDS 51
88 #define DSID_DATABASENAME 52
89 #define DSID_AS_BEFORE_CORRNAME 53
90 #define DSID_CHECK_REQUIRED_FIELDS 54
91 #define DSID_IGNORECURRENCY 55
92 #define DSID_CONN_SOCKET 56
93 #define DSID_ESCAPE_DATETIME 57
94 #define DSID_NAMED_PIPE 58
95 // don't forget to adjust DSID_LAST_ITEM_ID below!
98 //========================================================================
99 //= item range. Adjust this if you introduce new items above
101 #define DSID_FIRST_ITEM_ID DSID_NAME
102 #define DSID_LAST_ITEM_ID DSID_NAMED_PIPE
104 #endif // _DBAUI_DATASOURCEITEMS_HXX_