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