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"
26 //========================================================================
29 #define RID_DIALOG_START RID_DBP_START
30 #define RID_PAGE_START RID_DBP_START
31 #define RID_STRING_START RID_DBP_START
32 #define RID_ERRORBOX_START RID_DBP_START
34 //========================================================================
37 #define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 )
38 #define RID_STR_COMBOWIZ_DBFIELD (RID_STRING_START + 2 )
39 #define RID_STR_LISTWIZARD_TITLE (RID_STRING_START + 3 )
40 #define RID_STR_COMBOWIZARD_TITLE (RID_STRING_START + 4 )
41 #define RID_STR_COULDNOTOPENTABLE (RID_STRING_START + 5 )
42 #define RID_STR_DATEPOSTFIX (RID_STRING_START + 6 )
43 #define RID_STR_TIMEPOSTFIX (RID_STRING_START + 7 )
44 #define RID_STR_TYPE_QUERY (RID_STRING_START + 8 )
45 #define RID_STR_TYPE_TABLE (RID_STRING_START + 9 )
46 #define RID_STR_TYPE_COMMAND (RID_STRING_START + 10 )
48 // please adjust RID_STRING_END (below) when adding new strings
49 #define RID_STRING_END RID_STR_TIMEPOSTFIX
51 //========================================================================
54 #define RID_DLG_GROUPBOXWIZARD ( RID_DIALOG_START + 1 )
55 #define RID_DLG_LISTCOMBOWIZARD ( RID_DIALOG_START + 2 )
56 #define RID_DLG_GRIDWIZARD ( RID_DIALOG_START + 3 )
58 // please adjust RID_DIALOG_END (below) when adding new dialogs
59 #define RID_DIALOG_END RID_DLG_GRIDWIZARD
61 //========================================================================
64 #define RID_PAGE_TABLESELECTION ( RID_PAGE_START + 1 )
65 #define RID_PAGE_GROUPRADIOSELECTION ( RID_PAGE_START + 2 )
66 #define RID_PAGE_DEFAULTFIELDSELECTION ( RID_PAGE_START + 3 )
67 #define RID_PAGE_OPTIONVALUES ( RID_PAGE_START + 4 )
68 #define RID_PAGE_OPTION_DBFIELD ( RID_PAGE_START + 5 )
69 #define RID_PAGE_OPTIONS_FINAL ( RID_PAGE_START + 6 )
70 #define RID_PAGE_LCW_CONTENTSELECTION_TABLE ( RID_PAGE_START + 7 )
71 #define RID_PAGE_LCW_CONTENTSELECTION_FIELD ( RID_PAGE_START + 8 )
72 #define RID_PAGE_LCW_FIELDLINK ( RID_PAGE_START + 9 )
73 #define RID_PAGE_GW_FIELDSELECTION ( RID_PAGE_START + 10 )
74 #define RID_PAGE_FORM_DATASOURCE_STATUS ( RID_PAGE_START + 11 )
76 // please adjust RID_PAGE_END (below) when adding new tab pages
77 #define RID_PAGE_END RID_PAGE_GW_FIELDSELECTION
79 //========================================================================
82 #define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
84 // please adjust RID_ERRORBOX_END (below) when adding new error boxes
85 #define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
88 //========================================================================
89 //========================================================================
92 #if RID_STRING_END > RID_DBP_END
93 #error "please adjust the resource id ranges!!"
95 #if RID_DIALOG_END > RID_DBP_END
96 #error "please adjust the resource id ranges!!"
98 #if RID_PAGE_END > RID_DBP_END
99 #error "please adjust the resource id ranges!!"
101 #if RID_ERRORBOX_END > RID_DBP_END
102 #error "please adjust the resource id ranges!!"
105 //========================================================================
108 //........................................................................
112 #define FL_DEFAULTSELECTION 2
113 #define FL_OPTIONVALUES 3
114 #define FL_DATABASEFIELD_EXPL 4
117 #define FL_FORMSETINGS 7
119 //........................................................................
122 #define FT_DATASOURCE 1
124 #define FT_RADIOLABELS 3
125 #define FT_RADIOBUTTONS 4
126 #define FT_DEFAULTSELECTION 5
127 #define FT_OPTIONVALUES_EXPL 6
128 #define FT_OPTIONVALUES 7
129 #define FT_DATABASEFIELD_EXPL 8
130 #define FT_DATABASEFIELD_QUEST 9
132 #define FT_THATSALL 11
133 #define FT_SELECTTABLE_LABEL 12
134 #define FT_TABLEFIELDS 13
135 #define FT_DISPLAYEDFIELD 14
136 #define FT_CONTENTFIELD_INFO 15
137 #define FT_VALUELISTFIELD 16
138 #define FT_TABLEFIELD 17
139 #define FT_EXPLANATION 18
140 #define FT_EXISTING_FIELDS 19
141 #define FT_SELECTED_FIELDS 20
142 #define FT_FIELDLINK_DESC 21
143 #define FT_FORMDATASOURCELABEL 22
144 #define FT_FORMDATASOURCE 23
145 #define FT_FORMTABLELABEL 24
146 #define FT_FORMTABLE 25
147 #define FT_FORMCONTENTTYPELABEL 26
148 #define FT_FORMCONTENTTYPE 27
150 //........................................................................
153 #define LB_DATASOURCE 1
155 #define LB_RADIOBUTTONS 3
156 #define LB_DEFSELECTIONFIELD 3
157 #define LB_STOREINFIELD 4
158 #define LB_SELECTTABLE 5
159 #define LB_SELECTFIELD 6
160 #define LB_EXISTING_FIELDS 7
161 #define LB_SELECTED_FIELDS 8
163 //........................................................................
166 #define ET_RADIOLABELS 1
167 #define ET_OPTIONVALUE 2
169 #define ET_DISPLAYEDFIELD 4
171 //........................................................................
174 #define PB_MOVETORIGHT 1
175 #define PB_MOVETOLEFT 2
176 #define PB_FIELDRIGHT 3
177 #define PB_ALLFIELDSRIGHT 4
178 #define PB_FIELDLEFT 5
179 #define PB_ALLFIELDSLEFT 6
180 #define PB_FORMDATASOURCE 7
182 //........................................................................
185 #define RB_DEFSELECTION_YES 1
186 #define RB_DEFSELECTION_NO 2
187 #define RB_STOREINFIELD_YES 3
188 #define RB_STOREINFIELD_NO 4
190 //........................................................................
193 #define CMB_VALUELISTFIELD 1
194 #define CMB_TABLEFIELD 2
196 //........................................................................
199 #define STR_FIELDINFO_LISTBOX 1
200 #define STR_FIELDINFO_COMBOBOX 2
202 //........................................................................
209 #define WINDOW_SIZE_X 260
210 #define WINDOW_SIZE_Y 185
211 #define WINDOW_HALF_SIZE_X ( WINDOW_SIZE_X / 2 )
213 #define BUTTON_SIZE_X 50
214 #define BUTTON_SIZE_Y 14
216 #define ITEM_BUTTON_SIZE_X 20
217 #define ITEM_BUTTON_SIZE_Y 12
221 #endif // _EXTENSIONS_DBP_DBPRESID_HRC_
223 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */