1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24
25#ifndef _DBAUI_AUTOCONTROLS_HRC_
26#define _DBAUI_AUTOCONTROLS_HRC_
27
28
29#ifndef _DBA_DBACCESS_HELPID_HRC_
30#include "dbaccess_helpid.hrc"
31#endif
32
33#ifndef _DBU_DLG_HRC_
34#include "dbu_dlg.hrc"
35#endif
36
37#ifndef _DBA_DBACCESS_HELPID_HRC_
38#include "dbaccess_helpid.hrc"
39#endif
40
41
42#define CHECKBOX_HEIGHT		8
43#define FIXEDTEXT_HEIGHT	8
44#define RELATED_CONTROLS	4
45#define UNRELATED_CONTROLS	7
46#define EDIT_HEIGHT			12
47#define EDIT_X				101
48
49#define FT_AUTOJDBCDRIVERCLASS      80
50#define FT_AUTOFIELDSEPARATOR       81
51#define FT_AUTOTEXTSEPARATOR        82
52#define FT_AUTODECIMALSEPARATOR     83
53#define FT_AUTOTHOUSANDSSEPARATOR   84
54#define FT_AUTOPORTNUMBER           85
55#define FT_AUTOPORTNUMBERDEFAULT    86
56#define FT_AUTOBASEDN               87
57#define FT_AUTOHOSTNAME             88
58#define FT_AUTOBROWSEURL            89
59#define FT_AUTODATABASENAME         90
60#define FT_AUTOWIZARDHELPTEXT       91
61#define FT_AUTOWIZARDHEADER         92
62#define FT_AUTOEXTENSIONHEADER      93
63#define FT_AUTOOWNEXTENSIONAPPENDIX 94
64#define FT_CHARSET                  95
65#define FT_SOCKET                   96
66
67#define FL_AUTOSEPARATOR2           80
68#define FL_DATACONVERT              81
69#define FL_SEPARATOR1               82
70
71#define CB_AUTOHEADER               80
72
73#define PB_AUTOTESTDRIVERCLASS      80
74#define PB_AUTOBROWSEURL            81
75
76#define CM_AUTOFIELDSEPARATOR       80
77#define CM_AUTOTEXTSEPARATOR        81
78#define CM_AUTODECIMALSEPARATOR     82
79#define CM_AUTOTHOUSANDSSEPARATOR   83
80
81#define NF_AUTOPORTNUMBER           80
82
83#define ET_AUTOBASEDN               80
84#define ET_AUTOHOSTNAME             81
85#define ET_AUTODATABASENAME         82
86#define ET_AUTOBROWSEURL            83
87#define ET_AUTOJDBCDRIVERCLASS      84
88#define ET_AUTOOWNEXTENSION         85
89#define ET_SOCKET                   86
90
91#define RB_AUTOACCESSCTEXTFILES     80
92#define RB_AUTOACCESSCCSVFILES      81
93#define RB_AUTOACCESSOTHERS         82
94
95#define LB_CHARSET                  80
96
97#define STR_AUTOFIELDSEPARATORLIST      100
98#define STR_AUTOTEXTSEPARATORLIST       101
99#define STR_AUTOTEXT_FIELD_SEP_NONE     102
100#define STR_AUTODELIMITER_MISSING       103
101#define STR_AUTODELIMITER_MUST_DIFFER   104
102#define STR_AUTONO_WILDCARDS            105
103
104
105#define AUTO_WIZARDHELPTEXT( AUTO_LINECOUNT )                                                       \
106	FixedText FT_AUTOWIZARDHEADER 					                                                \
107	{                                                                          	                    \
108		Pos = MAP_APPFONT ( START_X , 8 ) ;                                                         \
109		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;              \
110		Text[ en-US ]  = "";                                                                        \
111		WordBreak = TRUE;                                                	 			            \
112	};                                                                                              \
113                                                                                                    \
114	FixedText FT_AUTOWIZARDHELPTEXT 					                                            \
115	{                                                                          	                    \
116		Pos = MAP_APPFONT ( START_X , INIT_Y ) ;                                                    \
117		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6 , AUTO_LINECOUNT * FIXEDTEXT_HEIGHT ) ;    \
118		Text[ en-US ]  = "";                                                                        \
119		WordBreak = TRUE;                                                	 			            \
120	};
121
122// -------------------------------------------------------------------------------------------------
123
124
125#define  AUTO_BROWSECONTROLGROUP( AUTO_X, AUTO_Y, AUTOPAGE_X, AUTO_HID, AUTO_HID2)                 		                \
126	FixedText FT_AUTOBROWSEURL {                                            			            \
127		Pos = MAP_APPFONT ( AUTO_X , AUTO_Y ) ;                          	 		                \
128		Size = MAP_APPFONT ( AUTOPAGE_X - AUTO_X - 6 , FIXEDTEXT_HEIGHT ) ;       	 	        \
129		Text[ en-US ]  = "";                                      	 			                    \
130	};																	                            \
131																		                            \
132                                                                    		                        \
133	Edit ET_AUTOBROWSEURL                                                                           \
134	{                                                               		                        \
135 		Pos = MAP_APPFONT ( AUTO_X , AUTO_Y + FIXEDTEXT_HEIGHT + 3) ;       		                \
136  		Size = MAP_APPFONT ( AUTOPAGE_X - AUTO_X - 6 - 3 - BUTTON_WIDTH , EDIT_HEIGHT ) ;  	    \
137 		HelpId = AUTO_HID;                                                 	                        \
138		TabStop = TRUE ;                                                   	                        \
139		Border = TRUE ;                                                    	                        \
140	};																	                            \
141																						            \
142 	PushButton PB_AUTOBROWSEURL                                                        			    \
143	{                                                                              	                \
144 		Pos = MAP_APPFONT ( AUTOPAGE_X  - BUTTON_WIDTH - 6 , AUTO_Y + FIXEDTEXT_HEIGHT + 2 ) ;	\
145 		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;                             	        \
146  		HelpId = AUTO_HID2;                                                        	        \
147		TabStop = TRUE ;                                                           		            \
148 		Text[ en-US ]  = "Browse";                                                                  \
149	};
150
151// --------------------------------------------------------------------------------------------------
152
153
154#define AUTO_NAMECONTROLGROUP(AUTO_Y, AUTO_HID)                                     	            \
155	FixedText FT_AUTODATABASENAME                                                                   \
156	{                                                                                               \
157		Pos = MAP_APPFONT ( START_X , AUTO_Y + 2) ;                                                 \
158		Size = MAP_APPFONT ( EDIT_X - START_X - UNRELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;           \
159 		Text[ en-US ]  = "Database name";                                                    \
160	};                                                                                              \
161																					                \
162	Edit ET_AUTODATABASENAME                                                          	            \
163	{                                                                           	                \
164		Pos = MAP_APPFONT ( EDIT_X, AUTO_Y) ;               	    				                \
165		Size = MAP_APPFONT ( 97, EDIT_HEIGHT ) ;      	    						                \
166		HelpId = AUTO_HID;                                                    		                \
167		TabStop = TRUE ;                                                      		                \
168		Border = TRUE ;                                                       		                \
169	};
170
171// --------------------------------------------------------------------------------------------------
172
173
174#define AUTO_HOSTCONTROLGROUP(AUTO_Y, AUTO_HID)                                                     \
175    FixedText FT_AUTOHOSTNAME                                                         	            \
176    {                                                                                               \
177        Pos = MAP_APPFONT (START_X , AUTO_Y + 2 )  ;                                                \
178        Size = MAP_APPFONT ( EDIT_X - START_X - UNRELATED_CONTROLS , FIXEDTEXT_HEIGHT );            \
179        Text [ en-US ]  = "Server" ;                                                           \
180    };                                                                                              \
181																					                \
182    Edit ET_AUTOHOSTNAME                                                              	            \
183    {                                                                                               \
184        Pos = MAP_APPFONT (EDIT_X, AUTO_Y )  ;                           			                \
185        Size = MAP_APPFONT ( 60, EDIT_HEIGHT ) ;                  					                \
186        HelpId = AUTO_HID;								                                            \
187		TabStop = TRUE ;                                                                            \
188		Border = TRUE ;                                		                                        \
189    };
190
191// --------------------------------------------------------------------------------------------------
192
193
194#define AUTO_BASEDNCONTROLGROUP(AUTO_Y, AUTO_HID)                          			                \
195    FixedText FT_AUTOBASEDN                                                                         \
196    {                                                                                               \
197        Pos = MAP_APPFONT (START_X , AUTO_Y + 2 )  ;                                                \
198        Size = MAP_APPFONT ( EDIT_X - START_X - UNRELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;           \
199        Text [ en-US ]  = "Base ~DN" ;                                                              \
200    };                                                                                              \
201																					                \
202    Edit ET_AUTOBASEDN                                                                              \
203    {                                                                                               \
204        HelpId = AUTO_HID ;                                                                         \
205        Pos = MAP_APPFONT (EDIT_X, AUTO_Y )  ;                                                      \
206        Size = MAP_APPFONT ( 60, EDIT_HEIGHT ) ;                 					                \
207		TabStop = TRUE ;                                                      		                \
208		Border = TRUE ;                                                       		                \
209    };                                                                                              \
210
211// --------------------------------------------------------------------------------------------------
212
213// MBA: the HID set in the FixText can't make any sense; in case this macro was called from within the
214// AUTOHELP_JDBCCONTROLGROUP, the FixText would have got the same HID as an EditField from the
215// also called AUTO_JDBCDRIVERCLASSGROUP macro; thus I conclude that we can remove the HID from the FixedText
216#define AUTO_PORTCONTROLGROUP(AUTO_Y, AUTO_HID)                                                     \
217    FixedText FT_AUTOPORTNUMBER                                                                     \
218    {                                                                                               \
219        Pos = MAP_APPFONT (START_X , AUTO_Y +2)  ;                                                    \
220        Size = MAP_APPFONT ( EDIT_X - START_X - UNRELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;           \
221        Text [ en-US ]  = "~Port number" ;                                                          \
222    };                                                                                              \
223																					                \
224    NumericField NF_AUTOPORTNUMBER                                                                  \
225    {                                                                                               \
226        HelpId = AUTO_HID ;                             							                \
227        Pos = MAP_APPFONT (EDIT_X, AUTO_Y )  ;         			                                    \
228        Size = MAP_APPFONT ( 22 , EDIT_HEIGHT ) ;                                                   \
229		TabStop = TRUE ;                                                      		                \
230		Border = TRUE ;                                                       		                \
231		NoThousandSep = TRUE;                                                                       \
232    };                                                                                              \
233																					                \
234    FixedText FT_AUTOPORTNUMBERDEFAULT                                                              \
235    {                                                                                               \
236        Pos = MAP_APPFONT (EDIT_X + 22 + UNRELATED_CONTROLS, AUTO_Y +2)  ;           	                \
237        Size = MAP_APPFONT ( WIZARD_PAGE_X - EDIT_X - 22 - UNRELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ; \
238        Text[ en-US ]   = "" ;                                                                      \
239    };
240
241//-------------------------------------------------------------------------
242
243#define AUTO_CHARSET( AUTO_Y, AUTOPAGE_X )                                                          \
244    FixedLine FL_DATACONVERT                                                                        \
245    {                                                                                               \
246        Pos = MAP_APPFONT ( 4 , AUTO_Y ) ;                                                          \
247        Size = MAP_APPFONT ( AUTOPAGE_X  - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;                \
248        Text [ en-US ] = "Data conversion";                                                         \
249    };                                                                                              \
250    FixedText FT_CHARSET                                                                            \
251    {                                                                                               \
252        Pos = MAP_APPFONT ( 6 , AUTO_Y + RELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ;                    \
253        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;                                      \
254        Text [ en-US ] = "~Character set" ;                                                         \
255    };                                                                                              \
256    ListBox LB_CHARSET                                                                              \
257    {                                                                                               \
258        Border = TRUE ;                                                                             \
259        Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;            \
260        Size = MAP_APPFONT ( AUTOPAGE_X - EDIT_X - 6 , 60 ) ;                                                           \
261        TabStop = TRUE ;                                                                            \
262        HelpId = HID_DSADMIN_CHARSET;                                                               \
263        DropDown = TRUE ;                                                                           \
264        CurPos = 0 ;                                                                                \
265    };                                                                                              \
266
267// --------------------------------------------------------------------------------------------------
268#define AUTO_SEPARATORCONTROLGROUP(AUTO_Y,AUTOPAGE_X)                                               \
269                                                                                                    \
270	FixedText FT_AUTOEXTENSIONHEADER                                                                \
271	{                                                                                               \
272		Pos = MAP_APPFONT ( START_X  , AUTO_Y) ;	                                                \
273		Size = MAP_APPFONT ( AUTOPAGE_X - 2*START_X , FIXEDTEXT_HEIGHT ) ;                           \
274		Text[ en-US ]  = "Specify the type of files you want to access" ;                           \
275	};                                                                                              \
276                                                                                                    \
277    RadioButton RB_AUTOACCESSCTEXTFILES                                                                 \
278    {                                                                                               \
279        HelpId = HID_PAGE_DBWIZARD_TEXT_RB_ACCESSTXTFILES;                                                  \
280        Pos = MAP_APPFONT (START_X + 6 , AUTO_Y + FIXEDTEXT_HEIGHT + RELATED_CONTROLS);             \
281        Size = MAP_APPFONT ( AUTOPAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;                                 \
282        Text[ en-US ] = "Plain text files (*.txt)" ;                                                \
283    };                                                                                              \
284                                                                                                    \
285    RadioButton RB_AUTOACCESSCCSVFILES                                                                  \
286    {                                                                                               \
287        HelpId = HID_PAGE_DBWIZARD_TEXT_RB_ACCESSCSVFILES;                                           \
288        Pos = MAP_APPFONT (START_X + 6 , AUTO_Y + 2*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS);         \
289        Size = MAP_APPFONT ( AUTOPAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;                                 \
290        Text[ en-US ] = "'Comma separated value' files (*.csv)" ;                                    \
291    };                                                                                              \
292                                                                                                    \
293    RadioButton RB_AUTOACCESSOTHERS                                                                     \
294    {                                                                                               \
295        HelpId = HID_PAGE_DBWIZARD_TEXT_RB_ACCESSOTHERFILES;                                                \
296        Pos = MAP_APPFONT (START_X + 6 , AUTO_Y + 3*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS);         \
297        Size = MAP_APPFONT ( 50 , FIXEDTEXT_HEIGHT ) ;                                              \
298        Text[ en-US ] = "Custom:" ;                                                                 \
299    };                                                                                              \
300                                                                                                    \
301    Edit ET_AUTOOWNEXTENSION                                                                            \
302    {                                                                                               \
303        HelpId = HID_PAGE_DBWIZARD_TEXT_ET_OWNEXTENSION;                                                    \
304        Pos = MAP_APPFONT (START_X + 66, AUTO_Y + 3*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS - 2 )  ;  \
305        Size = MAP_APPFONT ( 60, EDIT_HEIGHT ) ;                 					                \
306		TabStop = TRUE ;                                                      		                \
307		Border = TRUE ;                                                       		                \
308    };                                                                                              \
309                                                                                                    \
310    FIXEDTEXT FT_AUTOOWNEXTENSIONAPPENDIX                                                               \
311    {                                                                                               \
312        Pos = MAP_APPFONT (START_X + 130 , AUTO_Y + 3 * ( FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) );  \
313        Size = MAP_APPFONT ( AUTOPAGE_X - 6 -(START_X + 130), FIXEDTEXT_HEIGHT ) ;                  \
314        Text[ en-US ] = "Custom: *.abc" ;                                                           \
315    };                                                                                              \
316                                                                                                    \
317	FixedLine FL_AUTOSEPARATOR2                                                                     \
318	{                                                                                               \
319		Pos = MAP_APPFONT ( START_X , AUTO_Y + 50) ;                                                \
320		Size = MAP_APPFONT ( AUTOPAGE_X - 2 * START_X , FIXEDTEXT_HEIGHT ) ;                        \
321		Text[ en-US ]  = "Row Format";                                                              \
322	};                                                                                              \
323                                                                                                    \
324	FixedText FT_AUTOFIELDSEPARATOR                                                                 \
325	{                                                                                               \
326		Pos = MAP_APPFONT ( START_X + INDENTED_X , AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ;                  \
327		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;                                                              \
328		Text[ en-US ]  = "Field separator" ;                                                                                \
329	};                                                                                                                      \
330	ComboBox CM_AUTOFIELDSEPARATOR                                                                                          \
331	{                                                                                                                       \
332		Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT - 2 ) ;	                        \
333		Size = MAP_APPFONT ( 32 , 60 ) ;                                                                                    \
334		Text = ";" ;                                                                                                        \
335		TabStop = TRUE ;                                                                                                    \
336		DropDown = TRUE ;                                                                                                   \
337		HelpId = HID_DSADMIN_FIELD_SEPARATOR;                                                                               \
338	};                                                                                                                      \
339                                                                                                                            \
340	FixedText FT_AUTOTEXTSEPARATOR                                                                                          \
341	{                                                                                                                       \
342		Pos = MAP_APPFONT ( START_X + INDENTED_X, AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS + EDIT_HEIGHT ) ;   \
343		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;                                                              \
344		Text[ en-US ]  = "Text separator" ;                                                                                 \
345	};                                                                                                                      \
346	ComboBox CM_AUTOTEXTSEPARATOR                                                                                           \
347	{                                                                                                                       \
348		Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS + EDIT_HEIGHT - 2 ) ;   \
349		Size = MAP_APPFONT ( 32 , 60 ) ;                                                                                    \
350		Text  = "\"" ;                                                                                                      \
351		TabStop = TRUE ;                                                                                                    \
352		DropDown = TRUE ;                                                                                                   \
353		HelpId = HID_DSADMIN_TEXT_SEPARATOR;                                                                                \
354	};                                                                                                                      \
355	FixedText FT_AUTODECIMALSEPARATOR                                                                                       \
356	{                                                                                                                       \
357		Pos = MAP_APPFONT ( START_X + INDENTED_X, AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS + 2*EDIT_HEIGHT ) ;   \
358		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;                                                              \
359		Text[ en-US ]  = "Decimal separator" ;                                                                              \
360	};                                                                                                                      \
361	ComboBox CM_AUTODECIMALSEPARATOR                                                                                        \
362	{                                                                                                                       \
363		Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS + 2*EDIT_HEIGHT - 2 ) ;   \
364		Size = MAP_APPFONT ( 32 , 60 ) ;                                                                                    \
365		TabStop = TRUE ;                                                                                                    \
366		MaxTextLength = 1 ;                                                                                                 \
367		DropDown = TRUE ;                                                                                                   \
368		StringList =                                                                                                        \
369		{                                                                                                                   \
370			"." ;                                                                                                           \
371			"," ;                                                                                                           \
372			";" ;                                                                                                           \
373			":" ;                                                                                                           \
374		};                                                                                                                  \
375		HelpId = HID_DSADMIN_DECIMAL_SEPARATOR;                                                                             \
376	};                                                                                                                      \
377	FixedText FT_AUTOTHOUSANDSSEPARATOR                                                                                     \
378	{                                                                                                                       \
379		Pos = MAP_APPFONT ( START_X + INDENTED_X, AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + 3*EDIT_HEIGHT ) ;   \
380		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;                                                              \
381		Text[ en-US ]  = "Thousands separator" ;                                                                            \
382	};                                                                                                                      \
383	ComboBox CM_AUTOTHOUSANDSSEPARATOR                                                                                      \
384	{                                                                                                                       \
385		Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + 3*EDIT_HEIGHT - 2 ) ;   \
386		Size = MAP_APPFONT ( 32 , 44 ) ;                                                                                    \
387		Text  = "." ;                                                                                                       \
388		TabStop = TRUE ;                                                                                                    \
389		MaxTextLength = 1 ;                                                                                                 \
390		DropDown = TRUE ;                                                                                                   \
391		StringList =                                                                                                        \
392		{                                                                                                                   \
393			"," ;                                                                                                           \
394			"." ;                                                                                                           \
395		};                                                                                                                  \
396		HelpId = HID_DSADMIN_THOUSANDS_SEPARATOR;                                                                           \
397	};                                                                                                                      \
398                                                                                                                            \
399	CheckBox CB_AUTOHEADER                                                                                                  \
400	{                                                                                                                       \
401		TabStop = TRUE ;                                                                                                    \
402		Pos = MAP_APPFONT ( START_X + INDENTED_X, AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 4*RELATED_CONTROLS + 4*EDIT_HEIGHT ) ;   \
403		Size = MAP_APPFONT ( 150 , CHECKBOX_HEIGHT ) ;                                                                      \
404		HelpId = HID_DSADMIN_TEXT_HEADER;                                                                                   \
405		Text [ en-US ] = "~Text contains headers" ;                                                                         \
406	};                                                                                                                      \
407	                                                                                                                        \
408    AUTO_CHARSET( AUTO_Y + 50 + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 4*RELATED_CONTROLS + 4*EDIT_HEIGHT + CHECKBOX_HEIGHT + UNRELATED_CONTROLS, AUTOPAGE_X ) \
409                                                                                                                            \
410    String STR_AUTOTEXT_FIELD_SEP_NONE                                                                                      \
411	{                                                                                                                       \
412		Text[ en-US ]  = "{None}";                                                                                          \
413	};                                                                                                                      \
414																														    \
415	String STR_AUTOTEXTSEPARATORLIST                                                                                        \
416	{                                                                                                                       \
417		Text  = "\"\t34\t'\t39" ;                                                                                           \
418	};                                                                                                                      \
419                                                                                                                            \
420	String STR_AUTOFIELDSEPARATORLIST                                                                                       \
421	{                                                                                                                       \
422		Text [ x-comment ] = "EM Dec 2002: \'Space\' refers to what you get when you hit the space bar on your keyboard.";  \
423		Text [ en-US ] = ";\t59\t,\t44\t:\t58\t{Tab}\t9\t{Space}\t32" ;                                                     \
424	};                                                                                                                      \
425																															\
426	String STR_AUTODELIMITER_MISSING                                                                                        \
427	{                                                                                                                       \
428		Text[ en-US ]  = "#1 must be set." ;                                                                                \
429	};                                                                                                                      \
430	String STR_AUTODELIMITER_MUST_DIFFER                                                                                    \
431	{                                                                                                                       \
432		Text[ en-US ]  = "#1 and #2 must be different." ;                                                                   \
433	};                                                                                                                      \
434	String STR_AUTONO_WILDCARDS                                                                                             \
435	{                                                                                                                       \
436		Text[ en-US ]  = "Wildcards such as ?,* are not allowed in #1." ;                                                   \
437	};
438
439
440#define NAMECONTROLGROUP_HEIGHT (FIXEDTEXT_HEIGHT + 2 + EDIT_HEIGHT)
441#define BROWSECONTROLGROUP_HEIGHT ( FIXEDTEXT_HEIGHT + 2 + BUTTON_HEIGHT)
442
443// --------------------------------------------------------------------------------------------------
444
445#define AUTO_HELP_BROWSECONTROLGROUP(AUTO_LINECOUNT, AUTO_HID, AUTO_HID2)         	   				\
446	AUTO_WIZARDHELPTEXT(AUTO_LINECOUNT)													\
447	AUTO_BROWSECONTROLGROUP(START_X, INIT_Y + AUTO_LINECOUNT * FIXEDTEXT_HEIGHT + 2, WIZARD_PAGE_X, AUTO_HID, AUTO_HID2)
448
449
450// --------------------------------------------------------------------------------------------------
451
452
453// --------------------------------------------------------------------------------------------------
454
455#define	AUTO_JDBCDRIVERCLASSGROUP(AUTO_Y, AUTO_HID, AUTO_HID2)                                   \
456																					  \
457	FixedText FT_AUTOJDBCDRIVERCLASS                                                  \
458 	{                                                                                 \
459		Pos = MAP_APPFONT ( 6 , AUTO_Y) ;                                         	  \
460		Size = MAP_APPFONT ( PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;                       \
461		Text [ en-US ] = "JDBC d~river class";                                        \
462	};                                                                                \
463																					  \
464   Edit ET_AUTOJDBCDRIVERCLASS                                                        \
465 	{                                                                                 \
466		Pos = MAP_APPFONT ( START_X, AUTO_Y + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;  \
467		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - BUTTON_WIDTH - RELATED_CONTROLS - UNRELATED_CONTROLS , EDIT_HEIGHT ) ; \
468		TabStop = TRUE ;                                                              \
469		Border = TRUE ;                                                               \
470		HelpId = AUTO_HID;                                                    		  \
471	};                                                                                \
472																				                                    \
473	PushButton PB_AUTOTESTDRIVERCLASS                                                                               \
474	{                                                                                                               \
475		TabStop = TRUE ;                                                                                            \
476		Pos = MAP_APPFONT ( WIZARD_PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS , AUTO_Y + FIXEDTEXT_HEIGHT + 2) ;   \
477		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;                                                       \
478 		Size = MAP_APPFONT (50, 14); 													                            \
479 		HelpId = AUTO_HID2;                                                    		                \
480		Text[ en-US ]  = "Test class" ;                                                                             \
481	};
482
483// --------------------------------------------------------------------------------------------------
484
485#define AUTO_SOCKETCONTROLGROUP(AUTO_Y)                                                             \
486    FixedText FT_SOCKET                                                                             \
487    {                                                                                               \
488        Pos = MAP_APPFONT (START_X , AUTO_Y +2)  ;                                                  \
489        Size = MAP_APPFONT ( EDIT_X - START_X - UNRELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ;           \
490        Text [ en-US ] = "Socket" ;                                                                 \
491    };                                                                                              \
492																					                \
493    Edit ET_SOCKET                                                                    	            \
494    {                                                                                               \
495        Pos = MAP_APPFONT (EDIT_X, AUTO_Y )  ;                           			                \
496        Size = MAP_APPFONT ( 97, EDIT_HEIGHT ) ;                  					                \
497		TabStop = TRUE ;                                                                            \
498		Border = TRUE ;                                		                                        \
499    };
500
501
502#define AUTOHELP_JDBCCONTROLGROUP( AUTO_HID, AUTO_HID2, AUTO_HID3, AUTO_HID4, AUTO_HID5 )											\
503    AUTO_WIZARDHELPTEXT( 6 )                                                            \
504    AUTO_NAMECONTROLGROUP( INIT_Y + 6 * FIXEDTEXT_HEIGHT + 2, AUTO_HID )                \
505    AUTO_HOSTCONTROLGROUP(96, AUTO_HID2)            									\
506    AUTO_PORTCONTROLGROUP(113, AUTO_HID3 )                  							\
507    AUTO_SOCKETCONTROLGROUP(129)                                                        \
508    AUTO_JDBCDRIVERCLASSGROUP(146, AUTO_HID4, AUTO_HID5)
509
510
511// --------------------------------------------------------------------------------------------------
512
513#endif
514