xref: /aoo41x/main/dbaccess/source/ui/dlg/dbadmin.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef _DBA_DBACCESS_HELPID_HRC_
29#include "dbaccess_helpid.hrc"
30#endif
31#ifndef _DBAUI_AUTOCONTROLS_HRC_
32#include "AutoControls.hrc"
33#endif
34#ifndef _DBU_DLG_HRC_
35#include "dbu_dlg.hrc"
36#endif
37#ifndef _DBAUI_DBADMIN_HRC_
38#include "dbadmin.hrc"
39#endif
40#ifndef DBACCESS_UI_BROWSER_ID_HXX
41#include "browserids.hxx"
42#endif
43#ifndef DBAUI_ADABASPAGE_HRC
44#include "AdabasPage.hrc"
45#endif
46#include "admincontrols.hrc"
47
48//-------------------------------------------------------------------------
49
50#define AUTO_USECATALOG(AUTO_Y)                                 \
51	CheckBox CB_USECATALOG										\
52	{															\
53		Pos		= MAP_APPFONT ( 6 ,AUTO_Y) ;					\
54		Size	= MAP_APPFONT ( PAGE_X -12 , CHECKBOX_HEIGHT ) ;   \
55		TabStop = TRUE ;										\
56		HelpId = HID_DSADMIN_USECATALOG;						\
57		Text[ en-US ] = "Use catalog for file-based databases";	\
58	};
59
60//-------------------------------------------------------------------------
61
62#define AUTO_FIXEDLINE_CONNSETTINGS(AUTO_Y) \
63    FixedLine FL_SEPARATOR1																				\
64    {																									\
65	    Pos = MAP_APPFONT ( 4 , AUTO_Y ) ;																\
66	    Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;											\
67	    Text[ en-US ] = "Connection Settings";														    \
68    };																									\
69
70#define AUTO_HOST_AND_PORT(AUTO_Y)																		\
71	FixedText FT_HOSTNAME																				\
72	{																									\
73		Pos = MAP_APPFONT ( 6 , AUTO_Y + 2 ) ;						                                    \
74		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;											\
75		Text[ en-US ] = "~Host name";																    \
76	};																									\
77	Edit ET_HOSTNAME																					\
78	{																									\
79		TabStop = TRUE ;																				\
80		Border = TRUE ;																					\
81		HelpId = HID_DSADMIN_HOSTNAME;																	\
82		Pos = MAP_APPFONT ( EDIT_X , AUTO_Y ) ;				                                            \
83		Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;														\
84	};																									\
85																										\
86	FixedText FT_PORTNUMBER																				\
87	{																									\
88		Pos = MAP_APPFONT ( 6 , AUTO_Y + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2 ) ;	                \
89		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;											\
90		Text[ en-US ] = "~Port number";															        \
91	};																									\
92	NumericField NF_PORTNUMBER																			\
93	{																									\
94		TabStop = TRUE ;																				\
95		Border = TRUE ;																					\
96		HelpId = HID_DSADMIN_PORTNUMBER;																\
97		NoThousandSep = TRUE;                                                                           \
98		Pos = MAP_APPFONT ( EDIT_X , AUTO_Y +UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ;                  \
99		Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;														\
100	};
101//-------------------------------------------------------------------------
102
103TabDialog DLG_DATABASE_ADMINISTRATION
104{
105	OutputSize = TRUE ;
106	SVLook = TRUE ;
107	Moveable = TRUE ;
108	Closeable = TRUE ;
109	Hide = TRUE;
110	HelpId = HID_DSADMIN_DIALOG;
111
112	TabControl 1
113	{
114		OutputSize = TRUE ;
115		HelpId = HID_DSADMIN_TABCONTROL;
116	};
117
118	//.........................................................................
119	String STR_PAGETITLE_GENERAL
120	{
121		Text [ en-US ] = "Advanced Properties" ;
122	};
123	String STR_PAGETITLE_ADVANCED
124	{
125		Text [ en-US ] = "Additional Settings" ;
126	};
127	String STR_PAGETITLE_CONNECTION
128	{
129		Text [ en-US ] = "Connection settings" ;
130	};
131
132	Text [ en-US ] = "Database properties" ;
133};
134
135// -----------------------------------------------------------------------------
136
137ModalDialog DLG_DATABASE_TYPE_CHANGE
138{
139	OutputSize = TRUE ;
140	Moveable = TRUE;
141	Closeable = TRUE ;
142	Hide = TRUE;
143	HelpId = HID_DSADMIN_TYPE_DIALOG;
144
145	TabControl 1
146	{
147		OutputSize = TRUE ;
148		HelpId = HID_DSADMIN_TABCONTROL;
149	};
150	Text [ en-US ] = "Database properties" ;
151};
152
153//-------------------------------------------------------------------------
154
155TabPage PAGE_GENERAL
156{
157	SVLook = TRUE ;
158	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
159	Hide = TRUE;
160	HelpId = HID_DSADMIN_PAGE_GENERAL;
161
162
163	FixedText FT_GENERALHEADERTEXT
164	{
165		Pos = MAP_APPFONT ( START_X , 8 ) ;
166		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
167		Text [ en-US ] = "Welcome to the %PRODUCTNAME Database Wizard";
168		WordBreak = TRUE;
169	};
170
171    FixedText FT_GENERALHELPTEXT
172    {
173        Pos = MAP_APPFONT (START_X , 27 );
174        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 5* FIXEDTEXT_HEIGHT ) ;
175        Text [ en-US ]  = "Use the Database Wizard to create a new database, open an existing database file, or connect to a database stored on a server." ;
176        WordBreak = TRUE ;
177    };
178
179	FixedText FT_DATASOURCEHEADER
180	{
181		Pos = MAP_APPFONT ( START_X , 73 ) ;
182		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
183		Text [ en-US ] = "What do you want to do?";
184	};
185
186    RadioButton RB_CREATEDBDATABASE
187    {
188        HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_CREATEDBDATABASE ;
189        Pos = MAP_APPFONT (START_X + 6 , 85 )  ;
190        Size = MAP_APPFONT ( 205 , 10 ) ;
191        Group = TRUE;
192        Text [ en-US ]  = "Create a n~ew database" ;
193    };
194
195    RadioButton RB_OPENEXISTINGDOC
196    {
197        HelpID = "dbaccess:RadioButton:PAGE_GENERAL:RB_OPENEXISTINGDOC";
198        Pos = MAP_APPFONT (START_X + 6 , 97 );
199        Size = MAP_APPFONT ( 206 , 8 ) ;
200        Text [ en-US ]  = "Open an existing database ~file" ;
201    };
202
203    FixedText FT_DOCLISTLABEL
204    {
205        Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 110 );
206        Size = MAP_APPFONT( 120, 8 );
207        Text [ en-US ] = "Recently used";
208    };
209
210    ListBox LB_DOCUMENTLIST
211    {
212        HelpID = "dbaccess:ListBox:PAGE_GENERAL:LB_DOCUMENTLIST";
213        Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 121 );
214        Size = MAP_APPFONT( 120, 14 );
215        DropDown = TRUE;
216        Border = TRUE;
217    };
218
219    PushButton PB_OPENDOCUMENT
220    {
221        HelpID = "dbaccess:PushButton:PAGE_GENERAL:PB_OPENDOCUMENT";
222        Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 139 );
223        Size = MAP_APPFONT( 50, 16 );
224        OutputSize = TRUE;
225        TabStop = TRUE;
226    };
227
228    RadioButton RB_GETEXISTINGDATABASE
229    {
230      	HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_GETEXISTINGDATABASE;
231        Pos = MAP_APPFONT (START_X + 6 , 159 )  ;
232        Size = MAP_APPFONT ( 206 , 8 ) ;
233        Text [ en-US ]  = "Connect to an e~xisting database" ;
234    };
235
236	FixedText FT_DATASOURCETYPE_PRE
237	{
238		Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
239	    Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
240	    WordBreak = TRUE;
241		Text [ en-US ] = "Select the type of database to which you want to establish a connection.";
242	};
243
244	FixedText FT_DATATYPE
245	{
246		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
247		Size = MAP_APPFONT ( 80 , FIXEDTEXT_HEIGHT ) ;
248		Text [ en-US ] = "Database ~type ";
249	};
250
251	ListBox LB_DATATYPE
252	{
253		HelpId = HID_DSADMIN_DSTYPE;
254		Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 ) ;
255		Size = MAP_APPFONT ( 120, 120 ) ;
256		Border = TRUE ;
257		TabStop = TRUE ;
258		DropDown = TRUE ;
259		Sort = FALSE;
260	};
261
262	FixedText FT_DATATYPEAPPENDIX
263	{
264		Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2  + 72) ;
265		Size = MAP_APPFONT ( 60, 8 );
266		Text [ en-US ] = "Database";
267	};
268
269	FixedText FT_DATASOURCETYPE_POST
270	{
271		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
272		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 5*FIXEDTEXT_HEIGHT ) ;
273		WordBreak = TRUE;
274		Text [ en-US ] = "On the following pages, you can make detailed settings for the connection.\n\nThe new settings you make will overwrite your existing settings.";
275	};
276
277	FixedText FT_SPECIAL_MESSAGE
278	{
279		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS  );
280		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 3*FIXEDTEXT_HEIGHT );
281		WordBreak = TRUE;
282		HelpId = HID_DSADMIN_SPECIAL_MESSAGE;
283	};
284
285	String STR_MYSQLENTRY
286	{
287		Text [ en-US ] = "MySQL" ;
288	};
289
290	String STR_PARENTTITLE
291	{
292		Text [ en-US ] = "Data Source Properties: #" ;
293	};
294	String STR_COULDNOTLOAD_ODBCLIB
295	{
296		Text [ en-US ] = "Could not load the program library #lib# or it is corrupted. The ODBC data source selection is not available.";
297	};
298	String STR_UNSUPPORTED_DATASOURCE_TYPE
299	{
300		Text [ en-US ] = "This kind of data source is not supported on this platform.\nYou are allowed to change the settings, but you probably will not be able to connect to the database.";
301	};
302	Text [ en-US ] = "General" ;
303};
304
305//.........................................................................
306
307TabPage PAGE_DBASE
308{
309	SVLook = TRUE ;
310	Hide = TRUE;
311	Pos = MAP_APPFONT ( 0 , 0 ) ;
312	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
313	HelpId = HID_DSADMIN_PAGE_DBASE;
314
315	AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
316
317	FixedLine FL_SEPARATOR1
318	{
319		Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
320		Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
321		Text[ en-US ] = "Optional settings";
322	};
323
324	CheckBox CB_SHOWDELETEDROWS
325	{
326		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
327		Size = MAP_APPFONT ( 200 , CHECKBOX_HEIGHT ) ;
328		TabStop = TRUE ;
329		HelpId = HID_DSADMIN_SHOWDELETED;
330		Text [ en-US ] = "Display deleted records as well" ;
331	};
332
333	FixedText FT_SPECIAL_MESSAGE
334	{
335		Hide = TRUE;
336		WordBreak = TRUE;
337		Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
338		Size = MAP_APPFONT ( PAGE_X - 12 , 2*FIXEDTEXT_HEIGHT ) ;
339		Text [ en-US ] = "Note: When deleted, and thus inactive, records are  displayed, you will not be able to delete records from the data source." ;
340	};
341
342	PushButton PB_INDICIES
343	{
344		Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
345		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
346		TabStop = TRUE ;
347		HelpId = HID_DSADMIN_DBASE_INDICIES;
348		Text [ en-US ] = "Indexes...";
349	};
350};
351
352//.........................................................................
353
354TabPage PAGE_ADO
355{
356	SVLook = TRUE ;
357	Pos = MAP_APPFONT ( 0 , 0 ) ;
358	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
359	Hide = TRUE;
360	HelpId = HID_DSADMIN_PAGE_ADO;
361	AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
362};
363
364//.........................................................................
365
366TabPage PAGE_ODBC
367{
368	SVLook = TRUE ;
369	Pos = MAP_APPFONT ( 0 , 0 ) ;
370	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
371	Hide = TRUE;
372	HelpId = HID_DSADMIN_PAGE_ODBC;
373
374	AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
375	FixedLine FL_SEPARATOR1
376	{
377		Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
378		Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
379		Text[ en-US ] = "Optional Settings";
380	};
381
382	FixedText FT_OPTIONS
383	{
384		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS) ;
385		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
386		Text [ en-US ] = "ODBC ~options" ;
387	};
388	Edit ET_OPTIONS
389	{
390		Border = TRUE ;
391		Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
392		Size = MAP_APPFONT ( 130 , EDIT_HEIGHT ) ;
393		TabStop = TRUE ;
394		HelpId = HID_DSADMIN_ODBC_OPTIONS;
395	};
396
397	AUTO_USECATALOG(		3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS )
398};
399
400TabPage PAGE_ADABAS
401{
402	SVLook = TRUE ;
403	Pos = MAP_APPFONT ( 0 , 0 ) ;
404	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
405	Hide = TRUE;
406	HelpId = HID_DSADMIN_PAGE_ADABAS;
407
408	FixedLine FL_SEPARATOR1
409	{
410		Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
411		Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
412		Text[ en-US ] = "Connection Settings";
413	};
414
415	FixedText FT_HOSTNAME
416	{
417		Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
418		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
419		Text[ en-US ] = "~Host name";
420	};
421	Edit ET_HOSTNAME
422	{
423	    HelpID = "dbaccess:Edit:PAGE_ADABAS:ET_HOSTNAME";
424		TabStop = TRUE ;
425		Border = TRUE ;
426
427		Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT-1 ) ;
428		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
429	};
430
431	FixedText FT_CACHE_SIZE
432	{
433		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
434		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
435		Text[ en-US ] = "Data ~buffer size (MB)";
436	};
437	NumericField NF_CACHE_SIZE
438	{
439	    HelpID = "dbaccess:NumericField:PAGE_ADABAS:NF_CACHE_SIZE";
440		Pos				= MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT -1 ) ;
441		Size			= MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
442		Border			= TRUE ;
443		TabStop			= TRUE ;
444		Spin			= TRUE ;
445		SpinSize        = 1;
446		StrictFormat    = TRUE;
447	};
448
449	FixedText FT_DATA_INCREMENT
450	{
451		Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT ) ;
452		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
453		Text[ en-US ] = "~Data increment (MB)";
454	};
455	NumericField NF_DATA_INCREMENT
456	{
457	    HelpID = "dbaccess:NumericField:PAGE_ADABAS:NF_DATA_INCREMENT";
458		Pos				= MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
459		Size			= MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
460		Border			= TRUE ;
461		TabStop			= TRUE ;
462		Spin			= TRUE ;
463		SpinSize        = 1;
464		StrictFormat    = TRUE;
465	};
466	FixedLine FL_SEPARATOR2
467	{
468		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT ) ;
469		Size = MAP_APPFONT ( 248 , FIXEDTEXT_HEIGHT ) ;
470		Text [ en-US ] = "Administration" ;
471	};
472	FixedText FT_CTRLUSERNAME
473	{
474		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT ) ;
475		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
476		Text [ en-US ] = "Control ~user name" ;
477	};
478	Edit ET_CTRLUSERNAME
479	{
480	    HelpID = "dbaccess:Edit:PAGE_ADABAS:ET_CTRLUSERNAME";
481		Border = TRUE ;
482		Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT-1 ) ;
483		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
484		TabStop = TRUE ;
485	};
486	FixedText FT_CTRLPASSWORD
487	{
488		Pos = MAP_APPFONT ( 6 , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT ) ;
489		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
490		Text [ en-US ] = "Control ~password" ;
491	};
492	Edit ET_CTRLPASSWORD
493	{
494	    HelpID = "dbaccess:Edit:PAGE_ADABAS:ET_CTRLPASSWORD";
495		Border = TRUE ;
496		Pos = MAP_APPFONT ( EDIT_X , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT-1 ) ;
497		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT) ;
498		TabStop = TRUE ;
499		PassWord = TRUE ;
500	};
501
502	CheckBox CB_SHUTDB
503	{
504	    HelpID = "dbaccess:CheckBox:PAGE_ADABAS:CB_SHUTDB";
505		Pos = MAP_APPFONT ( 6 , 6*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT ) ;
506		Size = MAP_APPFONT ( 248 , CHECKBOX_HEIGHT ) ;
507		Text[ en-US ] = "~Shut down service when closing %PRODUCTNAME";
508	};
509
510	PushButton PB_STAT
511	{
512	    HelpID = "dbaccess:PushButton:PAGE_ADABAS:PB_STAT";
513		Pos					= MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ;
514		Size				= MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
515		Text[ en-US ] = "E~xtended...";
516	};
517
518	AUTO_CHARSET( 7*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT, PAGE_X )
519};
520
521//.........................................................................
522#define MYSQL_YDIST	53
523#define MYSQL_FL_Y	8
524#define MYSQL_DRIVERCLASS_Y	8
525
526TabPage PAGE_MYSQL_ODBC
527{
528    HelpID = "dbaccess:TabPage:PAGE_MYSQL_ODBC";
529	SVLook = TRUE ;
530	Pos = MAP_APPFONT ( 0 , 0 ) ;
531	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
532	Hide = TRUE;
533
534	AUTO_CHARSET( UNRELATED_CONTROLS, PAGE_X )
535};
536
537TabPage PAGE_MYSQL_JDBC
538{
539    HelpID = "dbaccess:TabPage:PAGE_MYSQL_JDBC";
540	SVLook = TRUE ;
541	Pos = MAP_APPFONT ( 0 , 0 ) ;
542	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
543	Hide = TRUE;
544
545    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
546	AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
547    AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
548
549	FixedText FT_JDBCDRIVERCLASS
550	{
551		Pos = MAP_APPFONT ( 6,
552		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
553		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
554		Text[ en-US ] = "MySQL JDBC d~river class";
555	};
556	Edit ET_JDBCDRIVERCLASS
557	{
558	    HelpID = "dbaccess:Edit:PAGE_MYSQL_JDBC:ET_JDBCDRIVERCLASS";
559		Pos = MAP_APPFONT ( EDIT_X,
560		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + EDIT_HEIGHT) ;
561		Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
562		TabStop = TRUE ;
563		Border = TRUE ;
564	};
565	PushButton PB_TESTDRIVERCLASS
566	{
567	    HelpID = "dbaccess:PushButton:PAGE_MYSQL_JDBC:PB_TESTDRIVERCLASS";
568		TabStop = TRUE ;
569		Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2 + EDIT_HEIGHT) ;
570		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
571		Text [ en-US ] = "Test class" ;
572	};
573
574	AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
575};
576
577TabPage PAGE_MYSQL_NATIVE
578{
579    HelpID = "dbaccess:TabPage:PAGE_MYSQL_NATIVE";
580	SVLook = TRUE ;
581	Pos = MAP_APPFONT ( 0 , 0 ) ;
582	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
583	Hide = TRUE;
584
585    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
586
587	FixedLine FL_SEPARATOR2
588	{
589		Pos = MAP_APPFONT ( 3 , 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
590		Size = MAP_APPFONT ( PAGE_X - 6, FIXEDTEXT_HEIGHT ) ;
591		Text[ en-US ] = "User authentication";
592	};
593	FixedText FT_USERNAME
594	{
595		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
596		Size = MAP_APPFONT ( EDIT_X - 6 - RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
597		Text [ en-US ] = "~User name" ;
598	};
599	Edit ET_USERNAME
600	{
601	    HelpID = "dbaccess:Edit:PAGE_MYSQL_NATIVE:ET_USERNAME";
602		Border = TRUE ;
603		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT - 1 ) ;
604		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
605		TabStop = TRUE ;
606	};
607	CheckBox CB_PASSWORD_REQUIRED
608	{
609	    HelpID = "dbaccess:CheckBox:PAGE_MYSQL_NATIVE:CB_PASSWORD_REQUIRED";
610		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT ) ;
611		Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
612		Text [ en-US ] = "Password required";
613	};
614
615	AUTO_CHARSET( 5*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT, PAGE_X )
616};
617
618TabPage PAGE_ORACLE_JDBC
619{
620    HelpID = "dbaccess:TabPage:PAGE_ORACLE_JDBC";
621	SVLook = TRUE ;
622	Pos = MAP_APPFONT ( 0 , 0 ) ;
623	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
624	Hide = TRUE;
625
626    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
627	AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
628
629    AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
630
631	FixedText FT_JDBCDRIVERCLASS
632	{
633		Pos = MAP_APPFONT ( 6,
634		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
635		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
636		Text[ en-US ] = "Oracle JDBC d~river class";
637	};
638	Edit ET_JDBCDRIVERCLASS
639	{
640	    HelpID = "dbaccess:Edit:PAGE_ORACLE_JDBC:ET_JDBCDRIVERCLASS";
641		Pos = MAP_APPFONT ( EDIT_X,
642		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
643		Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
644		TabStop = TRUE ;
645		Border = TRUE ;
646	};
647	PushButton PB_TESTDRIVERCLASS
648	{
649	    HelpID = "dbaccess:PushButton:PAGE_ORACLE_JDBC:PB_TESTDRIVERCLASS";
650		TabStop = TRUE ;
651		Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS,
652		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - BUTTON_HEIGHT ) / 2 ) ;
653		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
654		Text [ en-US ] = "Test class" ;
655	};
656
657	AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
658};
659
660//.........................................................................
661
662TabPage PAGE_LDAP
663{
664	SVLook = TRUE ;
665	Pos = MAP_APPFONT ( 0 , 0 ) ;
666	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
667	Hide = TRUE;
668	HelpId = HID_DSADMIN_PAGE_LDAP;
669
670	FixedLine FL_SEPARATOR1
671	{
672		Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
673		Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
674		Text[ en-US ] = "Connection Settings";
675	};
676
677	FixedText FT_BASEDN
678	{
679		Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
680		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
681		Text[ en-US ] = "~Base DN";
682	};
683	Edit ET_BASEDN
684	{
685		TabStop = TRUE ;
686		Border = TRUE ;
687		HelpId = HID_DSADMIN_LDAP_BASEDN;
688
689		Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
690		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
691	};
692	CheckBox CB_USESSL
693	{
694		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
695		Size = MAP_APPFONT ( PAGE_X - 12 , CHECKBOX_HEIGHT ) ;
696		Text [ en-US ] = "Use secure connection(SSL)";
697		HelpId = HID_DSADMIN_USESSL_LDAP;
698	};
699
700	FixedText FT_PORTNUMBER
701	{
702		Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
703		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
704		Text[ en-US ] = "~Port number";
705	};
706	NumericField NF_PORTNUMBER
707	{
708		TabStop = TRUE ;
709		Border = TRUE ;
710		HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
711		NoThousandSep = TRUE;
712
713		Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1  + CHECKBOX_HEIGHT) ;
714		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
715	};
716	FixedText FT_LDAPROWCOUNT
717	{
718		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
719		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
720		Text[ en-US ] = "Maximum number of ~records";
721	};
722	NumericField NF_LDAPROWCOUNT
723	{
724		TabStop = TRUE ;
725		Border = TRUE ;
726		HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
727		NoThousandSep = TRUE;
728
729		Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1  + CHECKBOX_HEIGHT) ;
730		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
731	};
732};
733
734
735//.........................................................................
736
737TabPage PAGE_TEXT
738{
739	SVLook = TRUE ;
740	Hide = TRUE;
741	Pos = MAP_APPFONT ( 0 , 0 ) ;
742	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
743	HelpId = HID_DSADMIN_PAGE_TEXT;
744
745    AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)
746
747};
748//.........................................................................
749TabPage PAGE_USERDRIVER
750{
751	SVLook = TRUE ;
752	Pos = MAP_APPFONT ( 0 , 0 ) ;
753	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
754	Hide = TRUE;
755	HelpId = HID_DSADMIN_PAGE_USERDRIVER;
756
757	FixedText FT_HOSTNAME
758	{
759		Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
760		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
761		Text[ en-US ] = "~Hostname";
762	};
763	Edit ET_HOSTNAME
764	{
765	    HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_HOSTNAME";
766		TabStop = TRUE ;
767		Border = TRUE ;
768		Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS -1 ) ;
769		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
770	};
771
772	FixedText FT_PORTNUMBER
773	{
774		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
775		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
776		Text[ en-US ] = "~Port number";
777	};
778
779	NumericField NF_PORTNUMBER
780	{
781	    HelpID = "dbaccess:NumericField:PAGE_USERDRIVER:NF_PORTNUMBER";
782		TabStop = TRUE ;
783		Border = TRUE ;
784		NoThousandSep = TRUE;
785
786		Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
787		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
788	};
789
790	FixedText FT_OPTIONS
791	{
792		Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
793		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
794		Text [ en-US ] = "~Driver settings" ;
795	};
796	Edit ET_OPTIONS
797	{
798	    HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_OPTIONS";
799		Border = TRUE ;
800		TabStop = TRUE ;
801	};
802	AUTO_CHARSET( 4*UNRELATED_CONTROLS+ 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X)
803};
804
805String STR_ERR_USE_CONNECT_TO
806{
807	Text [ en-US ] = "Please choose 'Connect to an existing database' to connect to an existing database instead.";
808};
809