summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/dbadmin.src
blob: 02389611a9934e73c550faf969ceda85731d16c8 (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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#ifndef _DBA_DBACCESS_HELPID_HRC_
#include "dbaccess_helpid.hrc"
#endif
#ifndef _DBAUI_AUTOCONTROLS_HRC_
#include "AutoControls.hrc"
#endif
#ifndef _DBU_DLG_HRC_
#include "dbu_dlg.hrc"
#endif
#ifndef _DBAUI_DBADMIN_HRC_
#include "dbadmin.hrc"
#endif
#ifndef DBACCESS_UI_BROWSER_ID_HXX
#include "browserids.hxx"
#endif
#ifndef DBAUI_ADABASPAGE_HRC
#include "AdabasPage.hrc"
#endif
#include "admincontrols.hrc"

//-------------------------------------------------------------------------

#define AUTO_USECATALOG(AUTO_Y)                                 \
    CheckBox CB_USECATALOG										\
    {															\
        Pos		= MAP_APPFONT ( 6 ,AUTO_Y) ;					\
        Size	= MAP_APPFONT ( PAGE_X -12 , CHECKBOX_HEIGHT ) ;   \
        TabStop = TRUE ;										\
        HelpId = HID_DSADMIN_USECATALOG;						\
        Text[ en-US ] = "Use catalog for file-based databases";	\
    };

//-------------------------------------------------------------------------

#define AUTO_FIXEDLINE_CONNSETTINGS(AUTO_Y) \
    FixedLine FL_SEPARATOR1																				\
    {																									\
        Pos = MAP_APPFONT ( 4 , AUTO_Y ) ;																\
        Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;											\
        Text[ en-US ] = "Connection Settings";														    \
    };																									\

#define AUTO_HOST_AND_PORT(AUTO_Y)																		\
    FixedText FT_HOSTNAME																				\
    {																									\
        Pos = MAP_APPFONT ( 6 , AUTO_Y + 2 ) ;						                                    \
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;											\
        Text[ en-US ] = "~Host name";																    \
    };																									\
    Edit ET_HOSTNAME																					\
    {																									\
        TabStop = TRUE ;																				\
        Border = TRUE ;																					\
        HelpId = HID_DSADMIN_HOSTNAME;																	\
        Pos = MAP_APPFONT ( EDIT_X , AUTO_Y ) ;				                                            \
        Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;														\
    };																									\
                                                                                                        \
    FixedText FT_PORTNUMBER																				\
    {																									\
        Pos = MAP_APPFONT ( 6 , AUTO_Y + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2 ) ;	                \
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;											\
        Text[ en-US ] = "~Port number";															        \
    };																									\
    NumericField NF_PORTNUMBER																			\
    {																									\
        TabStop = TRUE ;																				\
        Border = TRUE ;																					\
        HelpId = HID_DSADMIN_PORTNUMBER;																\
        NoThousandSep = TRUE;                                                                           \
        Pos = MAP_APPFONT ( EDIT_X , AUTO_Y +UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ;                  \
        Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;														\
    };
//-------------------------------------------------------------------------

TabDialog DLG_DATABASE_ADMINISTRATION
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Moveable = TRUE ;
    Closeable = TRUE ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_DIALOG;

    TabControl 1
    {
        OutputSize = TRUE ;
        HelpId = HID_DSADMIN_TABCONTROL;
        SingleLine=TRUE;
    };

    //.........................................................................
    String STR_PAGETITLE_GENERAL
    {
        Text [ en-US ] = "Advanced Properties" ;
    };
    String STR_PAGETITLE_ADVANCED
    {
        Text [ en-US ] = "Additional Settings" ;
    };
    String STR_PAGETITLE_CONNECTION
    {
        Text [ en-US ] = "Connection settings" ;
    };

    Text [ en-US ] = "Database properties" ;
};

// -----------------------------------------------------------------------------

ModalDialog DLG_DATABASE_TYPE_CHANGE
{
    OutputSize = TRUE ;
    Moveable = TRUE;
    Closeable = TRUE ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_TYPE_DIALOG;

    TabControl 1
    {
        OutputSize = TRUE ;
        HelpId = HID_DSADMIN_TABCONTROL;
        SingleLine=TRUE;
    };
    Text [ en-US ] = "Database properties" ;
};

//-------------------------------------------------------------------------

TabPage PAGE_GENERAL
{
    SVLook = TRUE ;
    Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_PAGE_GENERAL;


    FixedText FT_GENERALHEADERTEXT
    {
        Pos = MAP_APPFONT ( START_X , 8 ) ;
        Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Welcome to the %PRODUCTNAME Database Wizard";
        WordBreak = TRUE;
    };

    FixedText FT_GENERALHELPTEXT
    {
        Pos = MAP_APPFONT (START_X , 27 );
        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 5* FIXEDTEXT_HEIGHT ) ;
        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." ;
        WordBreak = TRUE ;
    };

    FixedText FT_DATASOURCEHEADER
    {
        Pos = MAP_APPFONT ( START_X , 73 ) ;
        Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "What do you want to do?";
    };

    RadioButton RB_CREATEDBDATABASE
    {
        HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_CREATEDBDATABASE ;
        Pos = MAP_APPFONT (START_X + 6 , 85 )  ;
        Size = MAP_APPFONT ( 205 , 10 ) ;
        Group = TRUE;
        Text [ en-US ]  = "Create a n~ew database" ;
    };

    RadioButton RB_OPENEXISTINGDOC
    {
        Pos = MAP_APPFONT (START_X + 6 , 97 );
        Size = MAP_APPFONT ( 206 , 8 ) ;
        Text [ en-US ]  = "Open an existing database ~file" ;
    };

    FixedText FT_DOCLISTLABEL
    {
        Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 110 );
        Size = MAP_APPFONT( 120, 8 );
        Text [ en-US ] = "Recently used";
    };

    ListBox LB_DOCUMENTLIST
    {
        Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 121 );
        Size = MAP_APPFONT( 120, 14 );
        DropDown = TRUE;
        Border = TRUE;
    };

    PushButton PB_OPENDOCUMENT
    {
        Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 139 );
        Size = MAP_APPFONT( 50, 16 );
        OutputSize = TRUE;
        TabStop = TRUE;
    };

    RadioButton RB_GETEXISTINGDATABASE
    {
          HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_GETEXISTINGDATABASE;
        Pos = MAP_APPFONT (START_X + 6 , 159 )  ;
        Size = MAP_APPFONT ( 206 , 8 ) ;
        Text [ en-US ]  = "Connect to an e~xisting database" ;
    };

    FixedText FT_DATASOURCETYPE_PRE
    {
        Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
        WordBreak = TRUE;
        Text [ en-US ] = "Select the type of database to which you want to establish a connection.";
    };

    FixedText FT_DATATYPE
    {
        Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
        Size = MAP_APPFONT ( 80 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Database ~type ";
    };

    ListBox LB_DATATYPE
    {
        HelpId = HID_DSADMIN_DSTYPE;
        Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 ) ;
        Size = MAP_APPFONT ( 120, 120 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        Sort = FALSE;
    };

    FixedText FT_DATATYPEAPPENDIX
    {
        Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2  + 72) ;
        Size = MAP_APPFONT ( 60, 8 );
        Text [ en-US ] = "Database";
    };

    FixedText FT_DATASOURCETYPE_POST
    {
        Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 5*FIXEDTEXT_HEIGHT ) ;
        WordBreak = TRUE;
        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.";
    };

    FixedText FT_SPECIAL_MESSAGE
    {
        Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS  );
        Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 3*FIXEDTEXT_HEIGHT );
        WordBreak = TRUE;
        HelpId = HID_DSADMIN_SPECIAL_MESSAGE;
    };

    String STR_MYSQLENTRY
    {
        Text [ en-US ] = "MySQL" ;
    };

    String STR_PARENTTITLE
    {
        Text [ en-US ] = "Data Source Properties: #" ;
    };
    String STR_COULDNOTLOAD_ODBCLIB
    {
        Text [ en-US ] = "Could not load the program library #lib# or it is corrupted. The ODBC data source selection is not available.";
    };
    String STR_UNSUPPORTED_DATASOURCE_TYPE
    {
        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.";
    };
    Text [ en-US ] = "General" ;
};

//.........................................................................

TabPage PAGE_DBASE
{
    SVLook = TRUE ;
    Hide = TRUE;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    HelpId = HID_DSADMIN_PAGE_DBASE;

    AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)

    FixedLine FL_SEPARATOR1
    {
        Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
        Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Optional settings";
    };

    CheckBox CB_SHOWDELETEDROWS
    {
        Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
        Size = MAP_APPFONT ( 200 , CHECKBOX_HEIGHT ) ;
        TabStop = TRUE ;
        HelpId = HID_DSADMIN_SHOWDELETED;
        Text [ en-US ] = "Display deleted records as well" ;
    };

    FixedText FT_SPECIAL_MESSAGE
    {
        Hide = TRUE;
        WordBreak = TRUE;
        Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
        Size = MAP_APPFONT ( PAGE_X - 12 , 2*FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Note: When deleted, and thus inactive, records are  displayed, you will not be able to delete records from the data source." ;
    };

    PushButton PB_INDICIES
    {
        Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
        Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
        TabStop = TRUE ;
        HelpId = HID_DSADMIN_DBASE_INDICIES;
        Text [ en-US ] = "Indexes...";
    };
};

//.........................................................................

TabPage PAGE_ADO
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_PAGE_ADO;
    AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
};

//.........................................................................

TabPage PAGE_ODBC
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_PAGE_ODBC;

    AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
    FixedLine FL_SEPARATOR1
    {
        Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Optional Settings";
    };

    FixedText FT_OPTIONS
    {
        Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "ODBC ~options" ;
    };
    Edit ET_OPTIONS
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
        Size = MAP_APPFONT ( 130 , EDIT_HEIGHT ) ;
        TabStop = TRUE ;
        HelpId = HID_DSADMIN_ODBC_OPTIONS;
    };

    AUTO_USECATALOG(		3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS )
};

TabPage PAGE_ADABAS
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_PAGE_ADABAS;

    FixedLine FL_SEPARATOR1
    {
        Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Connection Settings";
    };

    FixedText FT_HOSTNAME
    {
        Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~Host name";
    };
    Edit ET_HOSTNAME
    {
        TabStop = TRUE ;
        Border = TRUE ;

        Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT-1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
    };

    FixedText FT_CACHE_SIZE
    {
        Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Data ~buffer size (MB)";
    };
    NumericField NF_CACHE_SIZE
    {
        Pos				= MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT -1 ) ;
        Size			= MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
        Border			= TRUE ;
        TabStop			= TRUE ;
        Spin			= TRUE ;
        SpinSize        = 1;
        StrictFormat    = TRUE;
    };

    FixedText FT_DATA_INCREMENT
    {
        Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~Data increment (MB)";
    };
    NumericField NF_DATA_INCREMENT
    {
        Pos				= MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
        Size			= MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
        Border			= TRUE ;
        TabStop			= TRUE ;
        Spin			= TRUE ;
        SpinSize        = 1;
        StrictFormat    = TRUE;
    };
    FixedLine FL_SEPARATOR2
    {
        Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( 248 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Administration" ;
    };
    FixedText FT_CTRLUSERNAME
    {
        Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Control ~user name" ;
    };
    Edit ET_CTRLUSERNAME
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT-1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
        TabStop = TRUE ;
    };
    FixedText FT_CTRLPASSWORD
    {
        Pos = MAP_APPFONT ( 6 , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "Control ~password" ;
    };
    Edit ET_CTRLPASSWORD
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( EDIT_X , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT-1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT) ;
        TabStop = TRUE ;
        PassWord = TRUE ;
    };

    CheckBox CB_SHUTDB
    {
        Pos = MAP_APPFONT ( 6 , 6*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( 248 , CHECKBOX_HEIGHT ) ;
        Text[ en-US ] = "~Shut down service when closing %PRODUCTNAME";
    };

    PushButton PB_STAT
    {
        Pos					= MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ;
        Size				= MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
        Text[ en-US ] = "E~xtended...";
    };

    AUTO_CHARSET( 7*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT, PAGE_X )
};

//.........................................................................
#define MYSQL_YDIST	53
#define MYSQL_FL_Y	8
#define MYSQL_DRIVERCLASS_Y	8

TabPage PAGE_MYSQL_ODBC
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;

    AUTO_CHARSET( UNRELATED_CONTROLS, PAGE_X )
};

TabPage PAGE_MYSQL_JDBC
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;

    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
    AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
    AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)

    FixedText FT_JDBCDRIVERCLASS
    {
        Pos = MAP_APPFONT ( 6,
                            4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "MySQL JDBC d~river class";
    };
    Edit ET_JDBCDRIVERCLASS
    {
        Pos = MAP_APPFONT ( EDIT_X,
                            4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + EDIT_HEIGHT) ;
        Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
        TabStop = TRUE ;
        Border = TRUE ;
    };
    PushButton PB_TESTDRIVERCLASS
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2 + EDIT_HEIGHT) ;
        Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
        Text [ en-US ] = "Test class" ;
    };

    AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
};

TabPage PAGE_MYSQL_NATIVE
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;

    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )

    FixedLine FL_SEPARATOR2
    {
        Pos = MAP_APPFONT ( 3 , 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
        Size = MAP_APPFONT ( PAGE_X - 6, FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "User authentication";
    };
    FixedText FT_USERNAME
    {
        Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 6 - RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "~User name" ;
    };
    Edit ET_USERNAME
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT - 1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
        TabStop = TRUE ;
    };
    CheckBox CB_PASSWORD_REQUIRED
    {
        Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT ) ;
        Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
        Text [ en-US ] = "Password required";
    };

    AUTO_CHARSET( 5*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT, PAGE_X )
};

TabPage PAGE_ORACLE_JDBC
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;

    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
    AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )

    AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)

    FixedText FT_JDBCDRIVERCLASS
    {
        Pos = MAP_APPFONT ( 6,
                            4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Oracle JDBC d~river class";
    };
    Edit ET_JDBCDRIVERCLASS
    {
        Pos = MAP_APPFONT ( EDIT_X,
                            4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
        Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
        TabStop = TRUE ;
        Border = TRUE ;
    };
    PushButton PB_TESTDRIVERCLASS
    {
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS,
                            4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - BUTTON_HEIGHT ) / 2 ) ;
        Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
        Text [ en-US ] = "Test class" ;
    };

    AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
};

//.........................................................................

TabPage PAGE_LDAP
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_PAGE_LDAP;

    FixedLine FL_SEPARATOR1
    {
        Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Connection Settings";
    };

    FixedText FT_BASEDN
    {
        Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~Base DN";
    };
    Edit ET_BASEDN
    {
        TabStop = TRUE ;
        Border = TRUE ;
        HelpId = HID_DSADMIN_LDAP_BASEDN;

        Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
    };
    CheckBox CB_USESSL
    {
        Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
        Size = MAP_APPFONT ( PAGE_X - 12 , CHECKBOX_HEIGHT ) ;
        Text [ en-US ] = "Use secure connection(SSL)";
        HelpId = HID_DSADMIN_USESSL_LDAP;
    };

    FixedText FT_PORTNUMBER
    {
        Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~Port number";
    };
    NumericField NF_PORTNUMBER
    {
        TabStop = TRUE ;
        Border = TRUE ;
        HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
        NoThousandSep = TRUE;

        Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1  + CHECKBOX_HEIGHT) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
    };
    FixedText FT_LDAPROWCOUNT
    {
        Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "Maximum number of ~records";
    };
    NumericField NF_LDAPROWCOUNT
    {
        TabStop = TRUE ;
        Border = TRUE ;
        HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
        NoThousandSep = TRUE;

        Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1  + CHECKBOX_HEIGHT) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
    };
};


//.........................................................................

TabPage PAGE_TEXT
{
    SVLook = TRUE ;
    Hide = TRUE;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    HelpId = HID_DSADMIN_PAGE_TEXT;

    AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)

};
//.........................................................................
TabPage PAGE_USERDRIVER
{
    SVLook = TRUE ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
    Hide = TRUE;
    HelpId = HID_DSADMIN_PAGE_USERDRIVER;

    FixedText FT_HOSTNAME
    {
        Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~Hostname";
    };
    Edit ET_HOSTNAME
    {
        TabStop = TRUE ;
        Border = TRUE ;
        Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS -1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
    };

    FixedText FT_PORTNUMBER
    {
        Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text[ en-US ] = "~Port number";
    };

    NumericField NF_PORTNUMBER
    {
        TabStop = TRUE ;
        Border = TRUE ;
        NoThousandSep = TRUE;

        Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
        Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
    };

    FixedText FT_OPTIONS
    {
        Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
        Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
        Text [ en-US ] = "~Driver settings" ;
    };
    Edit ET_OPTIONS
    {
        Border = TRUE ;
        TabStop = TRUE ;
    };
    AUTO_CHARSET( 4*UNRELATED_CONTROLS+ 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X)
};

String STR_ERR_USE_CONNECT_TO
{
    Text [ en-US ] = "Please choose 'Connect to an existing database' to connect to an existing database instead.";
};