Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / dbaccess / source / ui / inc / dbu_resource.hrc
blob50d5789dda2a25068699d2a1d559b4d59d6ca0f7
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 INCLUDED_DBACCESS_SOURCE_UI_INC_DBU_RESOURCE_HRC
21 #define INCLUDED_DBACCESS_SOURCE_UI_INC_DBU_RESOURCE_HRC
23 #include <svl/solar.hrc>
25 #define RID_PAGE_START                  RID_DBACCESS_START
26 #define RID_ERRORBOX_START              RID_DBACCESS_START
27 #define RID_QUERYBOX_START              RID_DBACCESS_START
28 #define RID_TOOLBOX_START               RID_DBACCESS_START
29 #define RID_BITMAP_START                RID_DBACCESS_START
30 #define RID_IMAGE_START                 RID_DBACCESS_START
31 #define RID_IMAGELIST_START             RID_DBACCESS_START
32 #define RID_MENU_START                  RID_DBACCESS_START
33 #define RID_STRING_START                RID_DBACCESS_START
34 #define RID_UNTYPED_START               RID_DBACCESS_START
35 #define RID_WARN_START                  RID_DBACCESS_START
36 #define RID_CONTROL_START               RID_DBACCESS_START
37 #define RID_MISC_START                  RID_DBACCESS_START
39 // new defines to make the strings folder specific
40 #define RID_STR_BRW_START               RID_DBACCESS_START
41 #define RID_STR_BRW_END                 RID_STR_BRW_START       + 40    //   0 -  39
43 #define RID_STR_CONTROL_START           RID_STR_BRW_END
44 #define RID_STR_CONTROL_END             RID_STR_CONTROL_START   + 30    //  40 -  69
46 #define RID_STR_DLG_START               RID_STR_CONTROL_END
47 #define RID_STR_DLG_END                 RID_STR_DLG_START       + 144    //  70 - 183 + 30 free
49 #define RID_STR_MISC_START              RID_STR_DLG_END
50 #define RID_STR_MISC_END                RID_STR_MISC_START      + 20    // 214 - 233
52 #define RID_STR_QRY_START               RID_STR_MISC_END
53 #define RID_STR_QRY_END                 RID_STR_QRY_START       + 80    // 234 - 313
55 #define RID_STR_TBL_START               RID_STR_QRY_END
56 #define RID_STR_TBL_END                 RID_STR_TBL_START       + 80    // 314 - 393
58 #define RID_STR_REL_START               RID_STR_TBL_END
59 #define RID_STR_REL_END                 RID_STR_REL_START       + 10    // 394 - 413
61 #define RID_STR_UNO_START               RID_STR_REL_END
62 #define RID_STR_UNO_END                 RID_STR_UNO_START       + 20    // 414 - 433
64 #define RID_STR_GEN_START               RID_STR_UNO_END
65 #define RID_STR_GEN_END                 RID_STR_GEN_START       + 65    // 434 - 493
67 #define RID_STR_APP_START               RID_STR_GEN_END
68 #define RID_STR_APP_END                 RID_STR_APP_START       + 40    //   494 - 533
70 #if RID_STR_GEN_END > RID_DBACCESS_END
71 #error Resource-Id Ueberlauf in #file, #line
72 #endif
74 // tab pages
76     // FREE
77 #define PAGE_DBASE                      RID_PAGE_START +  1
78 #define PAGE_ODBC                       RID_PAGE_START +  3
79 #define PAGE_TEXT                       RID_PAGE_START +  4
80     // FREE
81 #define PAGE_ADO                        RID_PAGE_START +  7
82     // FREE
83     // FREE
84     // FREE
85 #define PAGE_LDAP                       RID_PAGE_START + 15
86 #define PAGE_MYSQL_ODBC                 RID_PAGE_START + 17
87 #define PAGE_USERDRIVER                 RID_PAGE_START + 19
88 #define PAGE_MYSQL_JDBC                 RID_PAGE_START + 20
89     // FREE
90     // FREE
91 #define PAGE_MYSQL_NATIVE               RID_PAGE_START + 24
92     // FREE
93 #define PAGE_ORACLE_JDBC                RID_PAGE_START + 27
95     // FREE
97 // images
99 #define TABLE_TREE_ICON                 RID_IMAGE_START +  0
100 #define VIEW_TREE_ICON                  RID_IMAGE_START +  1
101 #define TABLEFOLDER_TREE_ICON           RID_IMAGE_START +  2
102 #define BMP_EXCEPTION_ERROR             RID_IMAGE_START +  3
103 #define BMP_EXCEPTION_WARNING           RID_IMAGE_START +  4
104 #define BMP_EXCEPTION_INFO              RID_IMAGE_START +  5
105 #define QUERYFOLDER_TREE_ICON           RID_IMAGE_START +  6
106 #define QUERY_TREE_ICON                 RID_IMAGE_START +  7
107 #define DATABASE_TREE_ICON              RID_IMAGE_START +  8
108 // free
109 #define IMG_PKEYICON                    RID_IMAGE_START + 12
110 // free
111 #define REPORTFOLDER_TREE_ICON          RID_IMAGE_START + 24
112 #define IMG_FORMFOLDER_TREE_L           RID_IMAGE_START + 39
113 #define IMG_REPORTFOLDER_TREE_L         RID_IMAGE_START + 40
114 #define IMG_QUERYFOLDER_TREE_L          RID_IMAGE_START + 41
115 #define IMG_TABLEFOLDER_TREE_L          RID_IMAGE_START + 42
116 #define IMG_NAVIGATION_BTN_UP_SC        RID_IMAGE_START + 47
117 #define IMG_NAVIGATION_CREATEFOLDER_SC  RID_IMAGE_START + 49
118 #define FORM_TREE_ICON                  RID_IMAGE_START + 51
119 #define REPORT_TREE_ICON                RID_IMAGE_START + 52
120 // free
121 #define FORMFOLDER_TREE_ICON            RID_IMAGE_START + 55
123 // image lists
124 #define IMG_JOINS                       RID_IMAGELIST_START +  0
125 #define IMG_INDEX_DLG_SC                RID_IMAGELIST_START +  1
126 #define IMG_INDEX_DLG_LC                RID_IMAGELIST_START +  3
128 // menus
130 #define RID_SBA_GRID_COLCTXMENU         RID_MENU_START +  2
131 #define RID_SBA_GRID_ROWCTXMENU         RID_MENU_START +  3
132 #define RID_QUERYCOLPOPUPMENU           RID_MENU_START +  5
133 #define RID_QUERYFUNCTION_POPUPMENU     RID_MENU_START +  6
134 #define RID_TABLEDESIGNROWPOPUPMENU     RID_MENU_START +  7
135 #define RID_SBA_RTF_PKEYPOPUP           RID_MENU_START +  9
136 #define RID_MENU_APP_EDIT               RID_MENU_START + 10
137 #define RID_MENU_APP_NEW                RID_MENU_START + 11
138 #define RID_MENU_APP_PREVIEW            RID_MENU_START + 12
139 #define MENU_BROWSER_DEFAULTCONTEXT     RID_MENU_START + 14
140 #define RID_MENU_REFRESH_DATA           RID_MENU_START + 15
141 #define RID_MENU_JOINVIEW_CONNECTION    RID_MENU_START + 16
142 #define RID_MENU_JOINVIEW_TABLE         RID_MENU_START + 17
144 // controls
146 #define RID_DB_TAB_EDITOR               RID_CONTROL_START +  0
148 // strings
149 #define STR_TBL_TITLE                       RID_STR_GEN_START
150 #define STR_ERROR_DURING_CREATION           RID_STR_GEN_START + 1
151 #define RID_STR_CONNECTION_LOST             RID_STR_GEN_START + 2
152 #define STR_NAME_ALREADY_EXISTS             RID_STR_GEN_START + 3
153 #define STR_PAGETITLE_GENERAL               RID_STR_GEN_START + 4
154 #define STR_TITLE_CONFIRM_DELETION          RID_STR_GEN_START + 5
155 #define STR_STAT_WARNING                    RID_STR_GEN_START + 6
156 #define STR_TABLEDESIGN_DATASOURCE_DELETED  RID_STR_GEN_START + 7
157 #define STR_TABLEDESIGN_DBFIELDTYPES        RID_STR_GEN_START + 8
158 #define STR_QRY_CONTINUE                    RID_STR_GEN_START + 9
159 #define STR_COLUMN_NAME                     RID_STR_GEN_START + 10
160 #define STR_ERROR_OCCURRED_WHILE_COPYING        RID_STR_GEN_START + 11
161 #define STR_MISSING_TABLES_XDROP            RID_STR_GEN_START + 12
162 #define STR_QUERY_DELETE_TABLE              RID_STR_GEN_START + 13
163 #define STR_BUTTON_TEXT_ALL                 RID_STR_GEN_START + 14
164 #define STR_COULDNOTCREATE_DRIVERMANAGER    RID_STR_GEN_START + 15
165 #define STR_UNEXPECTED_ERROR                RID_STR_GEN_START + 16
166 #define STR_REMEMBERPASSWORD_SESSION        RID_STR_GEN_START + 17
167 #define STR_ENTER_CONNECTION_PASSWORD       RID_STR_GEN_START + 18
168 #define STR_NOREGISTEREDDRIVER              RID_STR_GEN_START + 19
169 #define STR_DATASOURCE_DELETED              RID_STR_GEN_START + 20
170 #define STR_QUERY_UNDO_MODIFYSQLEDIT        RID_STR_GEN_START + 21
171 #define STR_QRY_TITLE                       RID_STR_GEN_START + 22
172 #define STR_VIEW_TITLE                      RID_STR_GEN_START + 23
173 #define STR_SUB_DOCS_WITH_SCRIPTS           RID_STR_GEN_START + 24
174 #define STR_SUB_DOCS_WITH_SCRIPTS_DETAIL    RID_STR_GEN_START + 25
175 #define STR_TABLEDESIGN_DUPLICATE_NAME      RID_STR_GEN_START + 26
176 #define STR_COULDNOTCONNECT_DATASOURCE      RID_STR_GEN_START + 27
177 #define STR_NO_TABLE_FORMAT_INSIDE          RID_STR_GEN_START + 28
178 #define RID_STR_QUERIES_CONTAINER           RID_STR_GEN_START + 29
179 #define RID_STR_TABLES_CONTAINER            RID_STR_GEN_START + 30
180 #define STR_NEW_FOLDER                      RID_STR_GEN_START + 31
181 #define RID_STR_FORM                        RID_STR_GEN_START + 32
182 #define RID_STR_REPORT                      RID_STR_GEN_START + 33
183 #define STR_FRM_LABEL                       RID_STR_GEN_START + 34
184 #define STR_RPT_LABEL                       RID_STR_GEN_START + 35
185 #define STR_FOLDER_LABEL                    RID_STR_GEN_START + 36
186 #define STR_TABLEDESIGN_NO_PRIM_KEY_HEAD    RID_STR_GEN_START + 37
187 #define STR_TABLEDESIGN_NO_PRIM_KEY         RID_STR_GEN_START + 38
188 #define STR_PAGETITLE_ADVANCED              RID_STR_GEN_START + 39
189 #define RID_STR_EXTENSION_NOT_PRESENT       RID_STR_GEN_START + 40
190 #define STR_PAGETITLE_CONNECTION            RID_STR_GEN_START + 41
191 #define STR_TBL_LABEL                       RID_STR_GEN_START + 42
192 #define STR_VW_LABEL                        RID_STR_GEN_START + 43
193 #define STR_QRY_LABEL                       RID_STR_GEN_START + 44
194 #define STR_TITLE_RENAME                    RID_STR_GEN_START + 45
195 #define STR_TITLE_PASTE_AS                  RID_STR_GEN_START + 46
196 #define STR_AUTOFIELDSEPARATORLIST      RID_STR_GEN_START + 47
197 #define STR_AUTOTEXTSEPARATORLIST       RID_STR_GEN_START + 48
198 #define STR_AUTOTEXT_FIELD_SEP_NONE     RID_STR_GEN_START + 49
199 #define STR_AUTODELIMITER_MISSING       RID_STR_GEN_START + 50
200 #define STR_AUTODELIMITER_MUST_DIFFER   RID_STR_GEN_START + 51
201 #define STR_AUTONO_WILDCARDS            RID_STR_GEN_START + 52
202 #define STR_SPREADSHEET_HEADERTEXT          RID_STR_GEN_START + 53
203 #define STR_SPREADSHEET_HELPTEXT            RID_STR_GEN_START + 54
204 #define STR_SPREADSHEETPATH                 RID_STR_GEN_START + 55
205 #define STR_RSC_CHARSETS                    RID_STR_GEN_START + 56
206 #define STR_QRY_CRITERIA_ON_ASTERISK        RID_STR_GEN_START + 57
207 #define STR_QRY_ORDERBY_ON_ASTERISK         RID_STR_GEN_START + 58
208 #define STR_NEED_INDEX_FIELDS               RID_STR_GEN_START + 59
209 #define STR_QUERY_CLOSEDOCUMENTS            RID_STR_GEN_START + 60
210 #define STR_QUERY_BRW_DELETE_ROWS           RID_STR_GEN_START + 61
211 #define STR_QUERY_CONNECTION_LOST           RID_STR_GEN_START + 62
212 #define STR_QUERY_USERADMIN_DELETE_USER     RID_STR_GEN_START + 63
213 #define STR_QUERY_SAVE_TABLE_EDIT_INDEXES   RID_STR_GEN_START + 64
215 // untyped resources
217 #define RSC_QUERY_OBJECT_TYPE           RID_UNTYPED_START +  4
219 // various
221 #define PB_FORMAT                       RID_MISC_START +  0
223 #endif
225 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */