bump product version to 4.1.6.2
[LibreOffice.git] / dbaccess / source / ui / inc / dbu_resource.hrc
blobcf4aa1fcc3a7c2f11d83d41de83d19e0ccaeb825
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #ifndef _DBU_RESOURCE_HRC_
21 #define _DBU_RESOURCE_HRC_
23 #include <svl/solar.hrc>
25 #define RID_DIALOG_START                RID_DBACCESS_START
26 #define RID_PAGE_START                  RID_DBACCESS_START
27 #define RID_ERRORBOX_START              RID_DBACCESS_START
28 #define RID_QUERYBOX_START              RID_DBACCESS_START
29 #define RID_TOOLBOX_START               RID_DBACCESS_START
30 #define RID_BITMAP_START                RID_DBACCESS_START
31 #define RID_IMAGE_START                 RID_DBACCESS_START
32 #define RID_IMAGELIST_START             RID_DBACCESS_START
33 #define RID_MENU_START                  RID_DBACCESS_START
34 #define RID_STRING_START                RID_DBACCESS_START
35 #define RID_UNTYPED_START               RID_DBACCESS_START
36 #define RID_WARN_START                  RID_DBACCESS_START
37 #define RID_CONTROL_START               RID_DBACCESS_START
38 #define RID_MISC_START                  RID_DBACCESS_START
40 // new defines to make the strings folder specific
41 #define RID_STR_BRW_START               RID_DBACCESS_START
42 #define RID_STR_BRW_END                 RID_STR_BRW_START       + 40    //   0 -  39
44 #define RID_STR_CONTROL_START           RID_STR_BRW_END
45 #define RID_STR_CONTROL_END             RID_STR_CONTROL_START   + 30    //  40 -  69
47 #define RID_STR_DLG_START               RID_STR_CONTROL_END
48 #define RID_STR_DLG_END                 RID_STR_DLG_START       + 80    //  70 - 149
50 #define RID_STR_MISC_START              RID_STR_DLG_END
51 #define RID_STR_MISC_END                RID_STR_MISC_START      + 20    // 150 - 169
53 #define RID_STR_QRY_START               RID_STR_MISC_END
54 #define RID_STR_QRY_END                 RID_STR_QRY_START       + 80    // 170 - 249
56 #define RID_STR_TBL_START               RID_STR_QRY_END
57 #define RID_STR_TBL_END                 RID_STR_TBL_START       + 80    // 250 - 329
59 #define RID_STR_REL_START               RID_STR_TBL_END
60 #define RID_STR_REL_END                 RID_STR_REL_START       + 10    // 330 - 349
62 #define RID_STR_UNO_START               RID_STR_REL_END
63 #define RID_STR_UNO_END                 RID_STR_UNO_START       + 20    // 350 - 369
65 #define RID_STR_GEN_START               RID_STR_UNO_END
66 #define RID_STR_GEN_END                 RID_STR_GEN_START       + 55    // 370 - 424
68 #define RID_STR_APP_START               RID_STR_GEN_END
69 #define RID_STR_APP_END                 RID_STR_APP_START       + 40    //   425 - 464
72 #if RID_STR_GEN_END > RID_DBACCESS_END
73 #error Resource-Id Ueberlauf in #file, #line
74 #endif
76 //========================================================================
77 // dialog ids
79 #define DLG_DATABASE_ADMINISTRATION     RID_DIALOG_START +  0
80 #define DLG_DBASE_INDEXES               RID_DIALOG_START +  1
81 #define DLG_SQLEXCEPTIONCHAIN           RID_DIALOG_START +  3
82 #define DLG_DATASOURCE_SELECTION        RID_DIALOG_START +  4
83 #define DLG_PARAMETERS                  RID_DIALOG_START +  5
84 #define DLG_FILTERCRIT                  RID_DIALOG_START +  6
85 #define DLG_ORDERCRIT                   RID_DIALOG_START +  7
86 #define DLG_ROWHEIGHT                   RID_DIALOG_START +  8
87 #define DLG_COLWIDTH                    RID_DIALOG_START +  9
88 #define DLG_ATTR                        RID_DIALOG_START + 10
89 #define DLG_SAVE_AS                     RID_DIALOG_START + 11
90 #define DLG_JOIN_TABADD                 RID_DIALOG_START + 14
91 #define DLG_QRY_JOIN                    RID_DIALOG_START + 15
92 #define WIZ_RTFCOPYTABLE                RID_DIALOG_START + 16
93 #define DLG_REL_PROPERTIES              RID_DIALOG_START + 17
94     // FREE
95 #define DLG_INDEXDESIGN                 RID_DIALOG_START + 19
96     // FREE
97 #define DLG_DATABASE_USERADMIN          RID_DIALOG_START + 21
98 #define DLG_DIRECTSQL                   RID_DIALOG_START + 22
99 #define DLG_PASSWORD                    RID_DIALOG_START + 23
100 #define DLG_DOMAINPASSWORD              RID_DIALOG_START + 24
101 #define DLG_DATABASE_ADVANCED           RID_DIALOG_START + 26
102 #define DLG_COLLECTION_VIEW             RID_DIALOG_START + 27
103 #define DLG_DATABASE_TYPE_CHANGE        RID_DIALOG_START + 28
104 #define DLG_DATABASE_WIZARD             RID_DIALOG_START + 29
105 #define DLG_TEXT_CONNECTION_SETTINGS    RID_DIALOG_START + 31
106 #define DLG_TABLE_FILTER                RID_DIALOG_START + 32
107 //========================================================================
108 // tab pages
110     // FREE
111 #define PAGE_DBASE                      RID_PAGE_START +  1
112 #define PAGE_ODBC                       RID_PAGE_START +  3
113 #define PAGE_TEXT                       RID_PAGE_START +  4
114     // FREE
115 #define PAGE_CONNECTION                 RID_PAGE_START +  6
116 #define PAGE_ADO                        RID_PAGE_START +  7
117 #define TAB_WIZ_COLUMN_SELECT           RID_PAGE_START +  9
118 #define TAB_WIZ_TYPE_SELECT             RID_PAGE_START + 10
119 #define TAB_WIZ_NAME_MATCHING           RID_PAGE_START + 11
120 #define TAB_WIZ_COPYTABLE               RID_PAGE_START + 12
121     // FREE
122 #define PAGE_LDAP                       RID_PAGE_START + 15
123 #define TAB_PAGE_USERADMIN              RID_PAGE_START + 16
124 #define PAGE_MYSQL_ODBC                 RID_PAGE_START + 17
125 #define PAGE_USERDRIVER                 RID_PAGE_START + 19
126 #define PAGE_MYSQL_JDBC                 RID_PAGE_START + 20
127 #define PAGE_GENERATED_VALUES           RID_PAGE_START + 22
128 #define PAGE_ADVANCED_SETTINGS_SPECIAL  RID_PAGE_START + 23
129 #define PAGE_MYSQL_NATIVE               RID_PAGE_START + 24
130     // FREE
131 #define PAGE_ORACLE_JDBC                RID_PAGE_START + 27
132 #define PAGE_TABLESUBSCRIPTION          RID_PAGE_START + 28
134 #define PAGE_DBWIZARD_DBASE                     RID_PAGE_START + 41
135 #define PAGE_DBWIZARD_TEXT                      RID_PAGE_START + 42
136 #define PAGE_DBWIZARD_MSACCESS                  RID_PAGE_START + 43
137 #define PAGE_DBWIZARD_LDAP                      RID_PAGE_START + 44
138     // FREE
139 #define PAGE_DBWIZARD_MYSQL_INTRO               RID_PAGE_START + 46
140 #define PAGE_DBWIZARD_ORACLE                    RID_PAGE_START + 48
141 #define PAGE_DBWIZARD_JDBC                      RID_PAGE_START + 49
142 #define PAGE_DBWIZARD_ADO                       RID_PAGE_START + 50
143 #define PAGE_DBWIZARD_ODBC                      RID_PAGE_START + 51
144 #define PAGE_DBWIZARD_SPREADSHEET               RID_PAGE_START + 52
145 #define PAGE_DBWIZARD_AUTHENTIFICATION          RID_PAGE_START + 53
146 #define PAGE_DBWIZARD_MYSQL_JDBC                RID_PAGE_START + 54
147 #define PAGE_DBWIZARD_FINAL                     RID_PAGE_START + 55
148 #define PAGE_DBWIZARD_USERDEFINED               RID_PAGE_START + 56
149 #define PAGE_DBWIZARD_MYSQL_NATIVE              RID_PAGE_START + 57
151 //========================================================================
152 // error boxes
154 #define ERR_QRY_CRITERIA_ON_ASTERISK    RID_ERRORBOX_START +  2
155 #define ERR_QRY_ORDERBY_ON_ASTERISK     RID_ERRORBOX_START +  3
156 #define ERR_QRY_AMB_FIELD               RID_ERRORBOX_START +  4
157     // FREE
158 #define ERR_INVALID_LISTBOX_ENTRY       RID_ERRORBOX_START +  6
159 // FREE
160 #define ERR_NEED_INDEX_FIELDS           RID_ERRORBOX_START +  8
161 #define ERR_QRY_NOSTATEMENT             RID_ERRORBOX_START +  9
162 #define ERR_QRY_NOCRITERIA              RID_ERRORBOX_START + 10
166 //========================================================================
167 // query boxes
169 #define QUERY_BRW_DELETE_ROWS           RID_QUERYBOX_START +  0
170 #define QUERY_BRW_SAVEMODIFIED          RID_QUERYBOX_START +  1
171 #define QUERY_CONNECTION_LOST           RID_QUERYBOX_START +  2
172 #define QUERY_BRW_DELETE_QUERY_CONFIRM  RID_QUERYBOX_START +  3
173 #define APP_SAVEMODIFIED                RID_QUERYBOX_START +  4
174 #define TABLE_DESIGN_SAVEMODIFIED       RID_QUERYBOX_START +  5
175 #define TABLE_QUERY_CONNECTION_LOST     RID_QUERYBOX_START +  6
176 #define QUERY_SAVE_CURRENT_INDEX        RID_QUERYBOX_START +  7
177 #define QUERY_SAVE_TABLE_EDIT_INDEXES   RID_QUERYBOX_START +  8
178 #define RELATION_DESIGN_SAVEMODIFIED    RID_QUERYBOX_START +  9
179     // FREE
180 #define APP_CLOSEDOCUMENTS              RID_QUERYBOX_START + 11
181 #define QUERY_USERADMIN_DELETE_USER     RID_QUERYBOX_START + 12
182 #define TABLE_DESIGN_ALL_ROWS_DELETED   RID_QUERYBOX_START + 13
184 //========================================================================
185 // images
187 #define TABLE_TREE_ICON                 RID_IMAGE_START +  0
188 #define VIEW_TREE_ICON                  RID_IMAGE_START +  1
189 #define TABLEFOLDER_TREE_ICON           RID_IMAGE_START +  2
190 #define BMP_EXCEPTION_ERROR             RID_IMAGE_START +  3
191 #define BMP_EXCEPTION_WARNING           RID_IMAGE_START +  4
192 #define BMP_EXCEPTION_INFO              RID_IMAGE_START +  5
193 #define QUERYFOLDER_TREE_ICON           RID_IMAGE_START +  6
194 #define QUERY_TREE_ICON                 RID_IMAGE_START +  7
195 #define DATABASE_TREE_ICON              RID_IMAGE_START +  8
196 // free
197 #define IMG_PKEYICON                    RID_IMAGE_START + 12
198 // free
199 #define REPORTFOLDER_TREE_ICON          RID_IMAGE_START + 24
200 #define IMG_FORMFOLDER_TREE_L           RID_IMAGE_START + 39
201 #define IMG_REPORTFOLDER_TREE_L         RID_IMAGE_START + 40
202 #define IMG_QUERYFOLDER_TREE_L          RID_IMAGE_START + 41
203 #define IMG_TABLEFOLDER_TREE_L          RID_IMAGE_START + 42
204 #define IMG_NAVIGATION_BTN_UP_SC        RID_IMAGE_START + 47
205 #define IMG_NAVIGATION_CREATEFOLDER_SC  RID_IMAGE_START + 49
206 #define FORM_TREE_ICON                  RID_IMAGE_START + 51
207 #define REPORT_TREE_ICON                RID_IMAGE_START + 52
208 // free
209 #define FORMFOLDER_TREE_ICON            RID_IMAGE_START + 55
212 //========================================================================
213 // image lists
214 #define IMG_JOINS                       RID_IMAGELIST_START +  0
215 #define IMG_INDEX_DLG_SC                RID_IMAGELIST_START +  1
216 #define IMG_INDEX_DLG_LC                RID_IMAGELIST_START +  3
218 //========================================================================
219 // menus
221 #define MENU_TABLETREE_POPUP            RID_MENU_START +  0
222 #define RID_SBA_GRID_COLCTXMENU         RID_MENU_START +  2
223 #define RID_SBA_GRID_ROWCTXMENU         RID_MENU_START +  3
224 #define RID_QUERYCOLPOPUPMENU           RID_MENU_START +  5
225 #define RID_QUERYFUNCTION_POPUPMENU     RID_MENU_START +  6
226 #define RID_TABLEDESIGNROWPOPUPMENU     RID_MENU_START +  7
227 #define RID_SBA_RTF_PKEYPOPUP           RID_MENU_START +  9
228 #define RID_MENU_APP_EDIT               RID_MENU_START + 10
229 #define RID_MENU_APP_NEW                RID_MENU_START + 11
230 #define RID_MENU_APP_PREVIEW            RID_MENU_START + 12
231 #define MENU_BROWSER_DEFAULTCONTEXT     RID_MENU_START + 14
232 #define RID_MENU_REFRESH_DATA           RID_MENU_START + 15
233 #define RID_MENU_JOINVIEW_CONNECTION    RID_MENU_START + 16
234 #define RID_MENU_JOINVIEW_TABLE         RID_MENU_START + 17
238 //========================================================================
239 // controls
241 #define RID_DB_TAB_EDITOR               RID_CONTROL_START +  0
242 #define RID_MYSQL_NATIVE_SETTINGS       RID_CONTROL_START +  1
244 //========================================================================
245 // strings
246 #define STR_TBL_TITLE                       RID_STR_GEN_START
247 #define STR_ERROR_DURING_CREATION           RID_STR_GEN_START + 1
248 #define RID_STR_CONNECTION_LOST             RID_STR_GEN_START + 2
249 #define STR_NAME_ALREADY_EXISTS             RID_STR_GEN_START + 3
250 // free
251 #define STR_TITLE_CONFIRM_DELETION          RID_STR_GEN_START + 5
252 #define STR_STAT_WARNING                    RID_STR_GEN_START + 6
253 #define STR_TABLEDESIGN_DATASOURCE_DELETED  RID_STR_GEN_START + 7
254 #define STR_TABLEDESIGN_DBFIELDTYPES        RID_STR_GEN_START + 8
255 #define STR_QRY_CONTINUE                    RID_STR_GEN_START + 9
256 #define STR_COLUMN_NAME                     RID_STR_GEN_START + 10
257 #define STR_ERROR_OCCURRED_WHILE_COPYING        RID_STR_GEN_START + 11
258 #define STR_MISSING_TABLES_XDROP            RID_STR_GEN_START + 12
259 #define STR_QUERY_DELETE_TABLE              RID_STR_GEN_START + 13
260 #define STR_BUTTON_TEXT_ALL                 RID_STR_GEN_START + 14
261 #define STR_COULDNOTCREATE_DRIVERMANAGER    RID_STR_GEN_START + 15
262 #define STR_UNEXPECTED_ERROR                RID_STR_GEN_START + 16
263 #define STR_REMEMBERPASSWORD_SESSION        RID_STR_GEN_START + 17
264 #define STR_ENTER_CONNECTION_PASSWORD       RID_STR_GEN_START + 18
265 #define STR_NOREGISTEREDDRIVER              RID_STR_GEN_START + 19
266 #define STR_DATASOURCE_DELETED              RID_STR_GEN_START + 20
267 #define STR_QUERY_UNDO_MODIFYSQLEDIT        RID_STR_GEN_START + 21
268 #define STR_QRY_TITLE                       RID_STR_GEN_START + 22
269 #define STR_VIEW_TITLE                      RID_STR_GEN_START + 23
270 #define STR_SUB_DOCS_WITH_SCRIPTS           RID_STR_GEN_START + 24
271 #define STR_SUB_DOCS_WITH_SCRIPTS_DETAIL    RID_STR_GEN_START + 25
272 #define STR_TABLEDESIGN_DUPLICATE_NAME      RID_STR_GEN_START + 26
273 #define STR_COULDNOTCONNECT_DATASOURCE      RID_STR_GEN_START + 27
274 #define STR_NO_TABLE_FORMAT_INSIDE          RID_STR_GEN_START + 28
275 #define RID_STR_QUERIES_CONTAINER           RID_STR_GEN_START + 29
276 #define RID_STR_TABLES_CONTAINER            RID_STR_GEN_START + 30
277 #define STR_NEW_FOLDER                      RID_STR_GEN_START + 31
278 #define RID_STR_FORM                        RID_STR_GEN_START + 32
279 #define RID_STR_REPORT                      RID_STR_GEN_START + 33
280 #define STR_FRM_LABEL                       RID_STR_GEN_START + 34
281 #define STR_RPT_LABEL                       RID_STR_GEN_START + 35
282 #define STR_FOLDER_LABEL                    RID_STR_GEN_START + 36
283 #define STR_TABLEDESIGN_NO_PRIM_KEY_HEAD    RID_STR_GEN_START + 37
284 #define STR_TABLEDESIGN_NO_PRIM_KEY         RID_STR_GEN_START + 38
285     // FREE
286 #define RID_STR_EXTENSION_NOT_PRESENT       RID_STR_GEN_START + 40
288 //========================================================================
289 // untyped resources
291 #define RSC_CHARSETS                    RID_UNTYPED_START +  2
292 #define RSC_QUERY_OBJECT_TYPE           RID_UNTYPED_START +  4
294 //========================================================================
295 // various
297 #define PB_FORMAT                       RID_MISC_START +  0
298 #define LB_LEFT_TABLE                   RID_MISC_START +  2
299 #define LB_RIGHT_TABLE                  RID_MISC_START +  3
300 #define FL_INVOLVED_TABLES              RID_MISC_START +  5
301 #define FL_INVOLVED_FIELDS              RID_MISC_START +  6
303 #endif // _DBU_RESOURCE_HRC_
305 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */