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