summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/dbu_resource.hrc
blob: 5b11a6d7539ac76fb90241e4e3426230776ede6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef _DBU_RESOURCE_HRC_
#define _DBU_RESOURCE_HRC_

#include <svl/solar.hrc>

#define RID_PAGE_START                  RID_DBACCESS_START
#define RID_ERRORBOX_START              RID_DBACCESS_START
#define RID_QUERYBOX_START              RID_DBACCESS_START
#define RID_TOOLBOX_START               RID_DBACCESS_START
#define RID_BITMAP_START                RID_DBACCESS_START
#define RID_IMAGE_START                 RID_DBACCESS_START
#define RID_IMAGELIST_START             RID_DBACCESS_START
#define RID_MENU_START                  RID_DBACCESS_START
#define RID_STRING_START                RID_DBACCESS_START
#define RID_UNTYPED_START               RID_DBACCESS_START
#define RID_WARN_START                  RID_DBACCESS_START
#define RID_CONTROL_START               RID_DBACCESS_START
#define RID_MISC_START                  RID_DBACCESS_START

// new defines to make the strings folder specific
#define RID_STR_BRW_START               RID_DBACCESS_START
#define RID_STR_BRW_END                 RID_STR_BRW_START       + 40    //   0 -  39

#define RID_STR_CONTROL_START           RID_STR_BRW_END
#define RID_STR_CONTROL_END             RID_STR_CONTROL_START   + 30    //  40 -  69

#define RID_STR_DLG_START               RID_STR_CONTROL_END
#define RID_STR_DLG_END                 RID_STR_DLG_START       + 144    //  70 - 183 + 30 free

#define RID_STR_MISC_START              RID_STR_DLG_END
#define RID_STR_MISC_END                RID_STR_MISC_START      + 20    // 214 - 233

#define RID_STR_QRY_START               RID_STR_MISC_END
#define RID_STR_QRY_END                 RID_STR_QRY_START       + 80    // 234 - 313

#define RID_STR_TBL_START               RID_STR_QRY_END
#define RID_STR_TBL_END                 RID_STR_TBL_START       + 80    // 314 - 393

#define RID_STR_REL_START               RID_STR_TBL_END
#define RID_STR_REL_END                 RID_STR_REL_START       + 10    // 394 - 413

#define RID_STR_UNO_START               RID_STR_REL_END
#define RID_STR_UNO_END                 RID_STR_UNO_START       + 20    // 414 - 433

#define RID_STR_GEN_START               RID_STR_UNO_END
#define RID_STR_GEN_END                 RID_STR_GEN_START       + 65    // 434 - 493

#define RID_STR_APP_START               RID_STR_GEN_END
#define RID_STR_APP_END                 RID_STR_APP_START       + 40    //   494 - 533

#if RID_STR_GEN_END > RID_DBACCESS_END
#error Resource-Id Ueberlauf in #file, #line
#endif

// tab pages

    // FREE
#define PAGE_DBASE                      RID_PAGE_START +  1
#define PAGE_ODBC                       RID_PAGE_START +  3
#define PAGE_TEXT                       RID_PAGE_START +  4
    // FREE
#define PAGE_ADO                        RID_PAGE_START +  7
    // FREE
    // FREE
    // FREE
#define PAGE_LDAP                       RID_PAGE_START + 15
#define PAGE_MYSQL_ODBC                 RID_PAGE_START + 17
#define PAGE_USERDRIVER                 RID_PAGE_START + 19
#define PAGE_MYSQL_JDBC                 RID_PAGE_START + 20
    // FREE
    // FREE
#define PAGE_MYSQL_NATIVE               RID_PAGE_START + 24
    // FREE
#define PAGE_ORACLE_JDBC                RID_PAGE_START + 27

    // FREE

// images

#define TABLE_TREE_ICON                 RID_IMAGE_START +  0
#define VIEW_TREE_ICON                  RID_IMAGE_START +  1
#define TABLEFOLDER_TREE_ICON           RID_IMAGE_START +  2
#define BMP_EXCEPTION_ERROR             RID_IMAGE_START +  3
#define BMP_EXCEPTION_WARNING           RID_IMAGE_START +  4
#define BMP_EXCEPTION_INFO              RID_IMAGE_START +  5
#define QUERYFOLDER_TREE_ICON           RID_IMAGE_START +  6
#define QUERY_TREE_ICON                 RID_IMAGE_START +  7
#define DATABASE_TREE_ICON              RID_IMAGE_START +  8
// free
#define IMG_PKEYICON                    RID_IMAGE_START + 12
// free
#define REPORTFOLDER_TREE_ICON          RID_IMAGE_START + 24
#define IMG_FORMFOLDER_TREE_L           RID_IMAGE_START + 39
#define IMG_REPORTFOLDER_TREE_L         RID_IMAGE_START + 40
#define IMG_QUERYFOLDER_TREE_L          RID_IMAGE_START + 41
#define IMG_TABLEFOLDER_TREE_L          RID_IMAGE_START + 42
#define IMG_NAVIGATION_BTN_UP_SC        RID_IMAGE_START + 47
#define IMG_NAVIGATION_CREATEFOLDER_SC  RID_IMAGE_START + 49
#define FORM_TREE_ICON                  RID_IMAGE_START + 51
#define REPORT_TREE_ICON                RID_IMAGE_START + 52
// free
#define FORMFOLDER_TREE_ICON            RID_IMAGE_START + 55

// image lists
#define IMG_JOINS                       RID_IMAGELIST_START +  0
#define IMG_INDEX_DLG_SC                RID_IMAGELIST_START +  1
#define IMG_INDEX_DLG_LC                RID_IMAGELIST_START +  3

// menus

#define RID_SBA_GRID_COLCTXMENU         RID_MENU_START +  2
#define RID_SBA_GRID_ROWCTXMENU         RID_MENU_START +  3
#define RID_QUERYCOLPOPUPMENU           RID_MENU_START +  5
#define RID_QUERYFUNCTION_POPUPMENU     RID_MENU_START +  6
#define RID_TABLEDESIGNROWPOPUPMENU     RID_MENU_START +  7
#define RID_SBA_RTF_PKEYPOPUP           RID_MENU_START +  9
#define RID_MENU_APP_EDIT               RID_MENU_START + 10
#define RID_MENU_APP_NEW                RID_MENU_START + 11
#define RID_MENU_APP_PREVIEW            RID_MENU_START + 12
#define MENU_BROWSER_DEFAULTCONTEXT     RID_MENU_START + 14
#define RID_MENU_REFRESH_DATA           RID_MENU_START + 15
#define RID_MENU_JOINVIEW_CONNECTION    RID_MENU_START + 16
#define RID_MENU_JOINVIEW_TABLE         RID_MENU_START + 17

// controls

#define RID_DB_TAB_EDITOR               RID_CONTROL_START +  0

// strings
#define STR_TBL_TITLE                       RID_STR_GEN_START
#define STR_ERROR_DURING_CREATION           RID_STR_GEN_START + 1
#define RID_STR_CONNECTION_LOST             RID_STR_GEN_START + 2
#define STR_NAME_ALREADY_EXISTS             RID_STR_GEN_START + 3
#define STR_PAGETITLE_GENERAL               RID_STR_GEN_START + 4
#define STR_TITLE_CONFIRM_DELETION          RID_STR_GEN_START + 5
#define STR_STAT_WARNING                    RID_STR_GEN_START + 6
#define STR_TABLEDESIGN_DATASOURCE_DELETED  RID_STR_GEN_START + 7
#define STR_TABLEDESIGN_DBFIELDTYPES        RID_STR_GEN_START + 8
#define STR_QRY_CONTINUE                    RID_STR_GEN_START + 9
#define STR_COLUMN_NAME                     RID_STR_GEN_START + 10
#define STR_ERROR_OCCURRED_WHILE_COPYING        RID_STR_GEN_START + 11
#define STR_MISSING_TABLES_XDROP            RID_STR_GEN_START + 12
#define STR_QUERY_DELETE_TABLE              RID_STR_GEN_START + 13
#define STR_BUTTON_TEXT_ALL                 RID_STR_GEN_START + 14
#define STR_COULDNOTCREATE_DRIVERMANAGER    RID_STR_GEN_START + 15
#define STR_UNEXPECTED_ERROR                RID_STR_GEN_START + 16
#define STR_REMEMBERPASSWORD_SESSION        RID_STR_GEN_START + 17
#define STR_ENTER_CONNECTION_PASSWORD       RID_STR_GEN_START + 18
#define STR_NOREGISTEREDDRIVER              RID_STR_GEN_START + 19
#define STR_DATASOURCE_DELETED              RID_STR_GEN_START + 20
#define STR_QUERY_UNDO_MODIFYSQLEDIT        RID_STR_GEN_START + 21
#define STR_QRY_TITLE                       RID_STR_GEN_START + 22
#define STR_VIEW_TITLE                      RID_STR_GEN_START + 23
#define STR_SUB_DOCS_WITH_SCRIPTS           RID_STR_GEN_START + 24
#define STR_SUB_DOCS_WITH_SCRIPTS_DETAIL    RID_STR_GEN_START + 25
#define STR_TABLEDESIGN_DUPLICATE_NAME      RID_STR_GEN_START + 26
#define STR_COULDNOTCONNECT_DATASOURCE      RID_STR_GEN_START + 27
#define STR_NO_TABLE_FORMAT_INSIDE          RID_STR_GEN_START + 28
#define RID_STR_QUERIES_CONTAINER           RID_STR_GEN_START + 29
#define RID_STR_TABLES_CONTAINER            RID_STR_GEN_START + 30
#define STR_NEW_FOLDER                      RID_STR_GEN_START + 31
#define RID_STR_FORM                        RID_STR_GEN_START + 32
#define RID_STR_REPORT                      RID_STR_GEN_START + 33
#define STR_FRM_LABEL                       RID_STR_GEN_START + 34
#define STR_RPT_LABEL                       RID_STR_GEN_START + 35
#define STR_FOLDER_LABEL                    RID_STR_GEN_START + 36
#define STR_TABLEDESIGN_NO_PRIM_KEY_HEAD    RID_STR_GEN_START + 37
#define STR_TABLEDESIGN_NO_PRIM_KEY         RID_STR_GEN_START + 38
#define STR_PAGETITLE_ADVANCED              RID_STR_GEN_START + 39
#define RID_STR_EXTENSION_NOT_PRESENT       RID_STR_GEN_START + 40
#define STR_PAGETITLE_CONNECTION            RID_STR_GEN_START + 41
#define STR_TBL_LABEL                       RID_STR_GEN_START + 42
#define STR_VW_LABEL                        RID_STR_GEN_START + 43
#define STR_QRY_LABEL                       RID_STR_GEN_START + 44
#define STR_TITLE_RENAME                    RID_STR_GEN_START + 45
#define STR_TITLE_PASTE_AS                  RID_STR_GEN_START + 46
#define STR_AUTOFIELDSEPARATORLIST      RID_STR_GEN_START + 47
#define STR_AUTOTEXTSEPARATORLIST       RID_STR_GEN_START + 48
#define STR_AUTOTEXT_FIELD_SEP_NONE     RID_STR_GEN_START + 49
#define STR_AUTODELIMITER_MISSING       RID_STR_GEN_START + 50
#define STR_AUTODELIMITER_MUST_DIFFER   RID_STR_GEN_START + 51
#define STR_AUTONO_WILDCARDS            RID_STR_GEN_START + 52
#define STR_SPREADSHEET_HEADERTEXT          RID_STR_GEN_START + 53
#define STR_SPREADSHEET_HELPTEXT            RID_STR_GEN_START + 54
#define STR_SPREADSHEETPATH                 RID_STR_GEN_START + 55
#define STR_RSC_CHARSETS                    RID_STR_GEN_START + 56
#define STR_QRY_CRITERIA_ON_ASTERISK        RID_STR_GEN_START + 57
#define STR_QRY_ORDERBY_ON_ASTERISK         RID_STR_GEN_START + 58
#define STR_NEED_INDEX_FIELDS               RID_STR_GEN_START + 59
#define STR_QUERY_CLOSEDOCUMENTS            RID_STR_GEN_START + 60
#define STR_QUERY_BRW_DELETE_ROWS           RID_STR_GEN_START + 61
#define STR_QUERY_CONNECTION_LOST           RID_STR_GEN_START + 62
#define STR_QUERY_USERADMIN_DELETE_USER     RID_STR_GEN_START + 63
#define STR_QUERY_SAVE_TABLE_EDIT_INDEXES   RID_STR_GEN_START + 64

// untyped resources

#define RSC_QUERY_OBJECT_TYPE           RID_UNTYPED_START +  4

// various

#define PB_FORMAT                       RID_MISC_START +  0

#endif // _DBU_RESOURCE_HRC_

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */