summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/dbu_resource.hrc
blob: d339c94cf65f65d24c848aae20682fb75334ba77 (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
/* -*- 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 INCLUDED_DBACCESS_SOURCE_UI_INC_DBU_RESOURCE_HRC
#define INCLUDED_DBACCESS_SOURCE_UI_INC_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       + 75    // 434 - 503

#define RID_STR_APP_START               RID_STR_GEN_END
#define RID_STR_APP_END                 RID_STR_APP_START       + 50    // 504 - 543

#if RID_STR_GEN_END > RID_DBACCESS_END
#error Resource ID overflow 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

// 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_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_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_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
#define RID_STR_TABLE_FORMAT                RID_STR_GEN_START + 65
#define RID_STR_ROW_HEIGHT                  RID_STR_GEN_START + 66
#define RID_STR_COPY                        RID_STR_GEN_START + 67
#define RID_STR_COLUMN_FORMAT               RID_STR_GEN_START + 68
#define RID_STR_COLUMN_WIDTH                RID_STR_GEN_START + 69

// untyped resources

#define RSC_QUERY_OBJECT_TYPE           RID_UNTYPED_START +  4

#endif

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