1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
21 #define _EXTENSIONS_DBP_DBPRESID_HRC_
23 #include "dbpilots.hrc"
24 #include "extensio.hrc"
28 #define RID_DIALOG_START RID_DBP_START
29 #define RID_PAGE_START RID_DBP_START
30 #define RID_STRING_START RID_DBP_START
31 #define RID_ERRORBOX_START RID_DBP_START
35 #define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 )
36 #define RID_STR_COMBOWIZ_DBFIELD (RID_STRING_START + 2 )
37 #define RID_STR_LISTWIZARD_TITLE (RID_STRING_START + 3 )
38 #define RID_STR_COMBOWIZARD_TITLE (RID_STRING_START + 4 )
39 #define RID_STR_COULDNOTOPENTABLE (RID_STRING_START + 5 )
40 #define RID_STR_DATEPOSTFIX (RID_STRING_START + 6 )
41 #define RID_STR_TIMEPOSTFIX (RID_STRING_START + 7 )
42 #define RID_STR_TYPE_QUERY (RID_STRING_START + 8 )
43 #define RID_STR_TYPE_TABLE (RID_STRING_START + 9 )
44 #define RID_STR_TYPE_COMMAND (RID_STRING_START + 10 )
45 #define RID_STR_FIELDINFO_LISTBOX (RID_STRING_START + 11 )
46 #define RID_STR_FIELDINFO_COMBOBOX (RID_STRING_START + 12 )
47 #define RID_STR_GRIDWIZARD_TITLE (RID_STRING_START + 13 )
48 #define RID_STR_GROUPWIZARD_TITLE (RID_STRING_START + 14 )
49 #define RID_STR_OPTION_DB_FIELD_TITLE (RID_STRING_START + 15 )
51 // please adjust RID_STRING_END (below) when adding new strings
52 #define RID_STRING_END RID_STR_OPTION_DB_FIELD_TITLE
54 // please adjust RID_DIALOG_END (below) when adding new dialogs
55 #define RID_DIALOG_END ( RID_DIALOG_START + 3 )
59 #define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
61 // please adjust RID_ERRORBOX_END (below) when adding new error boxes
62 #define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
66 #if RID_STRING_END > RID_DBP_END
67 #error "please adjust the resource id ranges!!"
69 #if RID_DIALOG_END > RID_DBP_END
70 #error "please adjust the resource id ranges!!"
72 #if RID_ERRORBOX_END > RID_DBP_END
73 #error "please adjust the resource id ranges!!"
80 #define FL_FORMSETINGS 7
84 #define IMG_TABLE ( RID_DIALOG_START + 1 )
85 #define IMG_QUERY ( RID_DIALOG_START + 2 )
87 #define WINDOW_SIZE_X 260
88 #define WINDOW_SIZE_Y 185
89 #define WINDOW_HALF_SIZE_X ( WINDOW_SIZE_X / 2 )
91 #endif // _EXTENSIONS_DBP_DBPRESID_HRC_
93 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */