xref: /trunk/main/dbaccess/source/ui/inc/dsitems.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef _DBAUI_DATASOURCEITEMS_HXX_
29*cdf0e10cSrcweir #define _DBAUI_DATASOURCEITEMS_HXX_
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir typedef sal_Int32   ItemID;
32*cdf0e10cSrcweir 
33*cdf0e10cSrcweir //========================================================================
34*cdf0e10cSrcweir //= item ids for the data source administration dialog
35*cdf0e10cSrcweir 
36*cdf0e10cSrcweir #define DSID_NAME                   1           // name of a data source, SfxStringItem
37*cdf0e10cSrcweir #define DSID_ORIGINALNAME           2           // orginal name, internal, SfxStringItem
38*cdf0e10cSrcweir #define DSID_CONNECTURL             3           // connection URL, SfxStringItem
39*cdf0e10cSrcweir #define DSID_TABLEFILTER            4           // table filter, OStringListItem
40*cdf0e10cSrcweir #define DSID_TYPECOLLECTION         5           // collection of data source types, ODsnTypeCollection
41*cdf0e10cSrcweir #define DSID_INVALID_SELECTION      6           // is the selection (thus the set data) invalid?, SfxBoolItem
42*cdf0e10cSrcweir #define DSID_READONLY               7           // is the selection (thus the set data) readonly?, SfxBoolItem
43*cdf0e10cSrcweir #define DSID_USER                   8           // the user name used for logon, SfxStringItem
44*cdf0e10cSrcweir #define DSID_PASSWORD               9           // the password used for logon, SfxStringItem
45*cdf0e10cSrcweir #define DSID_ADDITIONALOPTIONS      10          // additional options used for connecting, SfxStringItem
46*cdf0e10cSrcweir #define DSID_CHARSET                11          // character set to use, SfxStringItem by now
47*cdf0e10cSrcweir #define DSID_PASSWORDREQUIRED       12          // is the password required to connect?, SfxBoolItem
48*cdf0e10cSrcweir #define DSID_SHOWDELETEDROWS        13          // show deleted rows?, SfxBoolItem
49*cdf0e10cSrcweir #define DSID_ALLOWLONGTABLENAMES    14          // allow tables names longer than 8.3?, SfxBoolItem
50*cdf0e10cSrcweir #define DSID_JDBCDRIVERCLASS        15          // JDBC driver class, SfxStringItem
51*cdf0e10cSrcweir #define DSID_FIELDDELIMITER         16          // field delimiter, SfxUInt16Item
52*cdf0e10cSrcweir #define DSID_TEXTDELIMITER          17          // text delimiter, SfxUInt16Item
53*cdf0e10cSrcweir #define DSID_DECIMALDELIMITER       18          // decimal delimiter, SfxUInt16Item
54*cdf0e10cSrcweir #define DSID_THOUSANDSDELIMITER     19          // thousands delimiter, SfxUInt16Item
55*cdf0e10cSrcweir #define DSID_TEXTFILEEXTENSION      20          // extension for text files, SfxStringItem
56*cdf0e10cSrcweir #define DSID_TEXTFILEHEADER         21          // the text file contains a header?, SfxBoolItem
57*cdf0e10cSrcweir #define DSID_PARAMETERNAMESUBST     22
58*cdf0e10cSrcweir #define DSID_CONN_PORTNUMBER        23
59*cdf0e10cSrcweir #define DSID_SUPPRESSVERSIONCL      24          // meta data: sal_True if the data source described by the set is to-be-deleted
60*cdf0e10cSrcweir #define DSID_DATASOURCE_UNO         25          // meta data: OPropertySetItem, the data source the set represents
61*cdf0e10cSrcweir #define DSID_CONN_SHUTSERVICE       26
62*cdf0e10cSrcweir #define DSID_CONN_DATAINC           27
63*cdf0e10cSrcweir #define DSID_CONN_CACHESIZE         28
64*cdf0e10cSrcweir #define DSID_CONN_CTRLUSER          29
65*cdf0e10cSrcweir #define DSID_CONN_CTRLPWD           30
66*cdf0e10cSrcweir #define DSID_USECATALOG             31          // should the driver use the catalog name when the database is filebased
67*cdf0e10cSrcweir #define DSID_CONN_HOSTNAME          32
68*cdf0e10cSrcweir #define DSID_CONN_LDAP_BASEDN       33
69*cdf0e10cSrcweir #define DSID_CONN_LDAP_PORTNUMBER   34
70*cdf0e10cSrcweir #define DSID_CONN_LDAP_ROWCOUNT     35
71*cdf0e10cSrcweir #define DSID_SQL92CHECK             36
72*cdf0e10cSrcweir #define DSID_AUTOINCREMENTVALUE     37
73*cdf0e10cSrcweir #define DSID_AUTORETRIEVEVALUE      38
74*cdf0e10cSrcweir #define DSID_AUTORETRIEVEENABLED    39
75*cdf0e10cSrcweir #define DSID_APPEND_TABLE_ALIAS     40
76*cdf0e10cSrcweir #define DSID_MYSQL_PORTNUMBER       41
77*cdf0e10cSrcweir #define DSID_IGNOREDRIVER_PRIV      42
78*cdf0e10cSrcweir #define DSID_BOOLEANCOMPARISON      43
79*cdf0e10cSrcweir #define DSID_ORACLE_PORTNUMBER      44
80*cdf0e10cSrcweir #define DSID_ENABLEOUTERJOIN        45
81*cdf0e10cSrcweir #define DSID_CATALOG                46
82*cdf0e10cSrcweir #define DSID_SCHEMA                 47
83*cdf0e10cSrcweir #define DSID_INDEXAPPENDIX          48
84*cdf0e10cSrcweir #define DSID_CONN_LDAP_USESSL       49
85*cdf0e10cSrcweir #define DSID_DOCUMENT_URL           50
86*cdf0e10cSrcweir #define DSID_DOSLINEENDS            51
87*cdf0e10cSrcweir #define DSID_DATABASENAME           52
88*cdf0e10cSrcweir #define DSID_AS_BEFORE_CORRNAME     53
89*cdf0e10cSrcweir #define DSID_CHECK_REQUIRED_FIELDS  54
90*cdf0e10cSrcweir #define DSID_IGNORECURRENCY         55
91*cdf0e10cSrcweir #define DSID_CONN_SOCKET            56
92*cdf0e10cSrcweir #define DSID_ESCAPE_DATETIME        57
93*cdf0e10cSrcweir #define DSID_NAMED_PIPE             58
94*cdf0e10cSrcweir #define DSID_PRIMARY_KEY_SUPPORT    59
95*cdf0e10cSrcweir #define DSID_MAX_ROW_SCAN           60
96*cdf0e10cSrcweir #define DSID_RESPECTRESULTSETTYPE   61
97*cdf0e10cSrcweir     // don't forget to adjust DSID_LAST_ITEM_ID below!
98*cdf0e10cSrcweir 
99*cdf0e10cSrcweir 
100*cdf0e10cSrcweir //========================================================================
101*cdf0e10cSrcweir //= item range. Adjust this if you introduce new items above
102*cdf0e10cSrcweir 
103*cdf0e10cSrcweir #define DSID_FIRST_ITEM_ID  DSID_NAME
104*cdf0e10cSrcweir #define DSID_LAST_ITEM_ID   DSID_RESPECTRESULTSETTYPE
105*cdf0e10cSrcweir 
106*cdf0e10cSrcweir #endif // _DBAUI_DATASOURCEITEMS_HXX_
107*cdf0e10cSrcweir 
108