xref: /aoo4110/main/dbaccess/source/ui/inc/dsitems.hxx (revision b1cdbd2c)
1*b1cdbd2cSJim Jagielski /**************************************************************
2*b1cdbd2cSJim Jagielski  *
3*b1cdbd2cSJim Jagielski  * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski  * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski  * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski  * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski  * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski  * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski  * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski  *
11*b1cdbd2cSJim Jagielski  *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski  *
13*b1cdbd2cSJim Jagielski  * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski  * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski  * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski  * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski  * under the License.
19*b1cdbd2cSJim Jagielski  *
20*b1cdbd2cSJim Jagielski  *************************************************************/
21*b1cdbd2cSJim Jagielski 
22*b1cdbd2cSJim Jagielski 
23*b1cdbd2cSJim Jagielski 
24*b1cdbd2cSJim Jagielski #ifndef _DBAUI_DATASOURCEITEMS_HXX_
25*b1cdbd2cSJim Jagielski #define _DBAUI_DATASOURCEITEMS_HXX_
26*b1cdbd2cSJim Jagielski 
27*b1cdbd2cSJim Jagielski typedef sal_Int32   ItemID;
28*b1cdbd2cSJim Jagielski 
29*b1cdbd2cSJim Jagielski //========================================================================
30*b1cdbd2cSJim Jagielski //= item ids for the data source administration dialog
31*b1cdbd2cSJim Jagielski 
32*b1cdbd2cSJim Jagielski #define DSID_NAME					1			// name of a data source, SfxStringItem
33*b1cdbd2cSJim Jagielski #define DSID_ORIGINALNAME			2			// orginal name, internal, SfxStringItem
34*b1cdbd2cSJim Jagielski #define DSID_CONNECTURL				3			// connection URL, SfxStringItem
35*b1cdbd2cSJim Jagielski #define DSID_TABLEFILTER			4			// table filter, OStringListItem
36*b1cdbd2cSJim Jagielski #define DSID_TYPECOLLECTION			5			// collection of data source types, ODsnTypeCollection
37*b1cdbd2cSJim Jagielski #define DSID_INVALID_SELECTION		6			// is the selection (thus the set data) invalid?, SfxBoolItem
38*b1cdbd2cSJim Jagielski #define DSID_READONLY				7			// is the selection (thus the set data) readonly?, SfxBoolItem
39*b1cdbd2cSJim Jagielski #define DSID_USER					8			// the user name used for logon, SfxStringItem
40*b1cdbd2cSJim Jagielski #define DSID_PASSWORD				9			// the password used for logon, SfxStringItem
41*b1cdbd2cSJim Jagielski #define DSID_ADDITIONALOPTIONS		10			// additional options used for connecting, SfxStringItem
42*b1cdbd2cSJim Jagielski #define DSID_CHARSET				11			// character set to use, SfxStringItem by now
43*b1cdbd2cSJim Jagielski #define DSID_PASSWORDREQUIRED		12			// is the password required to connect?, SfxBoolItem
44*b1cdbd2cSJim Jagielski #define	DSID_SHOWDELETEDROWS		13			// show deleted rows?, SfxBoolItem
45*b1cdbd2cSJim Jagielski #define DSID_ALLOWLONGTABLENAMES	14			// allow tables names longer than 8.3?, SfxBoolItem
46*b1cdbd2cSJim Jagielski #define DSID_JDBCDRIVERCLASS		15			// JDBC driver class, SfxStringItem
47*b1cdbd2cSJim Jagielski #define DSID_FIELDDELIMITER			16			// field delimiter, SfxUInt16Item
48*b1cdbd2cSJim Jagielski #define DSID_TEXTDELIMITER			17			// text delimiter, SfxUInt16Item
49*b1cdbd2cSJim Jagielski #define DSID_DECIMALDELIMITER		18			// decimal delimiter, SfxUInt16Item
50*b1cdbd2cSJim Jagielski #define DSID_THOUSANDSDELIMITER		19			// thousands delimiter, SfxUInt16Item
51*b1cdbd2cSJim Jagielski #define DSID_TEXTFILEEXTENSION		20			// extension for text files, SfxStringItem
52*b1cdbd2cSJim Jagielski #define DSID_TEXTFILEHEADER			21			// the text file contains a header?, SfxBoolItem
53*b1cdbd2cSJim Jagielski #define DSID_PARAMETERNAMESUBST		22
54*b1cdbd2cSJim Jagielski #define DSID_CONN_PORTNUMBER		23
55*b1cdbd2cSJim Jagielski #define DSID_SUPPRESSVERSIONCL		24			// meta data: sal_True if the data source described by the set is to-be-deleted
56*b1cdbd2cSJim Jagielski #define DSID_DATASOURCE_UNO			25			// meta data: OPropertySetItem, the data source the set represents
57*b1cdbd2cSJim Jagielski #define DSID_CONN_SHUTSERVICE		26
58*b1cdbd2cSJim Jagielski #define DSID_CONN_DATAINC			27
59*b1cdbd2cSJim Jagielski #define DSID_CONN_CACHESIZE			28
60*b1cdbd2cSJim Jagielski #define DSID_CONN_CTRLUSER			29
61*b1cdbd2cSJim Jagielski #define DSID_CONN_CTRLPWD			30
62*b1cdbd2cSJim Jagielski #define DSID_USECATALOG				31			// should the driver use the catalog name when the database is filebased
63*b1cdbd2cSJim Jagielski #define DSID_CONN_HOSTNAME			32
64*b1cdbd2cSJim Jagielski #define DSID_CONN_LDAP_BASEDN		33
65*b1cdbd2cSJim Jagielski #define DSID_CONN_LDAP_PORTNUMBER	34
66*b1cdbd2cSJim Jagielski #define DSID_CONN_LDAP_ROWCOUNT		35
67*b1cdbd2cSJim Jagielski #define DSID_SQL92CHECK				36
68*b1cdbd2cSJim Jagielski #define DSID_AUTOINCREMENTVALUE		37
69*b1cdbd2cSJim Jagielski #define DSID_AUTORETRIEVEVALUE		38
70*b1cdbd2cSJim Jagielski #define DSID_AUTORETRIEVEENABLED	39
71*b1cdbd2cSJim Jagielski #define DSID_APPEND_TABLE_ALIAS		40
72*b1cdbd2cSJim Jagielski #define DSID_MYSQL_PORTNUMBER		41
73*b1cdbd2cSJim Jagielski #define DSID_IGNOREDRIVER_PRIV		42
74*b1cdbd2cSJim Jagielski #define DSID_BOOLEANCOMPARISON		43
75*b1cdbd2cSJim Jagielski #define DSID_ORACLE_PORTNUMBER		44
76*b1cdbd2cSJim Jagielski #define DSID_ENABLEOUTERJOIN		45
77*b1cdbd2cSJim Jagielski #define DSID_CATALOG				46
78*b1cdbd2cSJim Jagielski #define DSID_SCHEMA					47
79*b1cdbd2cSJim Jagielski #define DSID_INDEXAPPENDIX			48
80*b1cdbd2cSJim Jagielski #define DSID_CONN_LDAP_USESSL		49
81*b1cdbd2cSJim Jagielski #define DSID_DOCUMENT_URL   		50
82*b1cdbd2cSJim Jagielski #define DSID_DOSLINEENDS            51
83*b1cdbd2cSJim Jagielski #define DSID_DATABASENAME           52
84*b1cdbd2cSJim Jagielski #define DSID_AS_BEFORE_CORRNAME     53
85*b1cdbd2cSJim Jagielski #define DSID_CHECK_REQUIRED_FIELDS  54
86*b1cdbd2cSJim Jagielski #define DSID_IGNORECURRENCY         55
87*b1cdbd2cSJim Jagielski #define DSID_CONN_SOCKET            56
88*b1cdbd2cSJim Jagielski #define DSID_ESCAPE_DATETIME        57
89*b1cdbd2cSJim Jagielski #define DSID_NAMED_PIPE             58
90*b1cdbd2cSJim Jagielski #define DSID_PRIMARY_KEY_SUPPORT    59
91*b1cdbd2cSJim Jagielski #define DSID_MAX_ROW_SCAN           60
92*b1cdbd2cSJim Jagielski #define DSID_RESPECTRESULTSETTYPE   61
93*b1cdbd2cSJim Jagielski     // don't forget to adjust DSID_LAST_ITEM_ID below!
94*b1cdbd2cSJim Jagielski 
95*b1cdbd2cSJim Jagielski 
96*b1cdbd2cSJim Jagielski //========================================================================
97*b1cdbd2cSJim Jagielski //= item range. Adjust this if you introduce new items above
98*b1cdbd2cSJim Jagielski 
99*b1cdbd2cSJim Jagielski #define DSID_FIRST_ITEM_ID	DSID_NAME
100*b1cdbd2cSJim Jagielski #define DSID_LAST_ITEM_ID	DSID_RESPECTRESULTSETTYPE
101*b1cdbd2cSJim Jagielski 
102*b1cdbd2cSJim Jagielski #endif // _DBAUI_DATASOURCEITEMS_HXX_
103*b1cdbd2cSJim Jagielski 
104