1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dbadmin.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _DBA_DBACCESS_HELPID_HRC_
32 #include "dbaccess_helpid.hrc"
34 #ifndef _DBAUI_AUTOCONTROLS_HRC_
35 #include "AutoControls.hrc"
38 #include "dbu_dlg.hrc"
40 #ifndef _DBAUI_DBADMIN_HRC_
41 #include "dbadmin.hrc"
43 #ifndef DBACCESS_UI_BROWSER_ID_HXX
44 #include "browserids.hxx"
46 #ifndef DBAUI_ADABASPAGE_HRC
47 #include "AdabasPage.hrc"
50 //-------------------------------------------------------------------------
52 #define AUTO_USECATALOG(AUTO_Y) \
53 CheckBox CB_USECATALOG \
55 Pos = MAP_APPFONT ( 6 ,AUTO_Y) ; \
56 Size = MAP_APPFONT ( PAGE_X -12 , CHECKBOX_HEIGHT ) ; \
58 HelpId = HID_DSADMIN_USECATALOG; \
59 Text[ en-US ] = "Use catalog for file-based databases"; \
62 //-------------------------------------------------------------------------
64 #define AUTO_FIXEDLINE_CONNSETTINGS(AUTO_Y) \
65 FixedLine FL_SEPARATOR1 \
67 Pos = MAP_APPFONT ( 4 , AUTO_Y ) ; \
68 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ; \
69 Text[ en-US ] = "Connection Settings"; \
72 #define AUTO_HOST_AND_PORT(AUTO_Y) \
73 FixedText FT_HOSTNAME \
75 Pos = MAP_APPFONT ( 6 , AUTO_Y ) ; \
76 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
77 Text[ en-US ] = "~Host name"; \
83 HelpId = HID_DSADMIN_HOSTNAME; \
84 Pos = MAP_APPFONT ( EDIT_X , AUTO_Y - 1 ) ; \
85 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ; \
88 FixedText FT_PORTNUMBER \
90 Pos = MAP_APPFONT ( 6 , AUTO_Y + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ; \
91 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
92 Text[ en-US ] = "~Port number"; \
94 NumericField NF_PORTNUMBER \
98 HelpId = HID_DSADMIN_PORTNUMBER; \
99 Pos = MAP_APPFONT ( EDIT_X , AUTO_Y +UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ; \
100 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ; \
102 //-------------------------------------------------------------------------
104 TabDialog DLG_DATABASE_ADMINISTRATION
111 HelpId = HID_DSADMIN_DIALOG;
116 HelpId = HID_DSADMIN_TABCONTROL;
120 //.........................................................................
121 String STR_PAGETITLE_GENERAL
123 Text [ en-US ] = "Advanced Properties" ;
125 String STR_PAGETITLE_ADVANCED
127 Text [ en-US ] = "Additional Settings" ;
129 String STR_PAGETITLE_CONNECTION
131 Text [ en-US ] = "Connection settings" ;
134 Text [ en-US ] = "Database properties" ;
137 // -----------------------------------------------------------------------------
139 ModalDialog DLG_DATABASE_TYPE_CHANGE
145 HelpId = HID_DSADMIN_TYPE_DIALOG;
150 HelpId = HID_DSADMIN_TABCONTROL;
153 Text [ en-US ] = "Database properties" ;
156 //-------------------------------------------------------------------------
161 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
163 HelpId = HID_DSADMIN_PAGE_GENERAL;
166 FixedText FT_GENERALHEADERTEXT
168 Pos = MAP_APPFONT ( START_X , 8 ) ;
169 Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
170 Text [ en-US ] = "Welcome to the %PRODUCTNAME Database Wizard";
174 FixedText FT_GENERALHELPTEXT
176 Pos = MAP_APPFONT (START_X , 27 );
177 Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 5* FIXEDTEXT_HEIGHT ) ;
178 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." ;
182 FixedText FT_DATASOURCEHEADER
184 Pos = MAP_APPFONT ( START_X , 73 ) ;
185 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
186 Text [ en-US ] = "What do you want to do?";
189 RadioButton RB_CREATEDBDATABASE
191 HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_CREATEDBDATABASE ;
192 Pos = MAP_APPFONT (START_X + 6 , 85 ) ;
193 Size = MAP_APPFONT ( 205 , 10 ) ;
195 Text [ en-US ] = "Create a n~ew database" ;
198 RadioButton RB_OPENEXISTINGDOC
200 Pos = MAP_APPFONT (START_X + 6 , 97 );
201 Size = MAP_APPFONT ( 206 , 8 ) ;
202 Text [ en-US ] = "Open an existing database ~file" ;
205 FixedText FT_DOCLISTLABEL
207 Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 110 );
208 Size = MAP_APPFONT( 120, 8 );
209 Text [ en-US ] = "Recently used";
212 ListBox LB_DOCUMENTLIST
214 Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 121 );
215 Size = MAP_APPFONT( 120, 14 );
220 PushButton PB_OPENDOCUMENT
222 Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 139 );
223 Size = MAP_APPFONT( 50, 16 );
228 RadioButton RB_GETEXISTINGDATABASE
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" ;
236 FixedText FT_DATASOURCETYPE_PRE
238 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
239 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
241 Text [ en-US ] = "Select the type of database to which you want to establish a connection.";
244 FixedText FT_DATATYPE
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 ";
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 ) ;
262 FixedText FT_DATATYPEAPPENDIX
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";
269 FixedText FT_DATASOURCETYPE_POST
271 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
272 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 5*FIXEDTEXT_HEIGHT ) ;
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.";
277 FixedText FT_SPECIAL_MESSAGE
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 );
282 HelpId = HID_DSADMIN_SPECIAL_MESSAGE;
285 String STR_MYSQLENTRY
287 Text [ en-US ] = "MySQL" ;
290 String STR_PARENTTITLE
292 Text [ en-US ] = "Data Source Properties: #" ;
294 String STR_COULDNOTLOAD_ODBCLIB
296 Text [ en-US ] = "Could not load the program library #lib# or it is corrupted. The ODBC data source selection is not available.";
298 String STR_UNSUPPORTED_DATASOURCE_TYPE
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.";
302 Text [ en-US ] = "General" ;
305 //.........................................................................
311 Pos = MAP_APPFONT ( 0 , 0 ) ;
312 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
313 HelpId = HID_DSADMIN_PAGE_DBASE;
315 AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
317 FixedLine FL_SEPARATOR1
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";
324 CheckBox CB_SHOWDELETEDROWS
326 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
327 Size = MAP_APPFONT ( 200 , CHECKBOX_HEIGHT ) ;
329 HelpId = HID_DSADMIN_SHOWDELETED;
330 Text [ en-US ] = "Display deleted records as well" ;
333 FixedText FT_SPECIAL_MESSAGE
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." ;
342 PushButton PB_INDICIES
344 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
345 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
347 HelpId = HID_DSADMIN_DBASE_INDICIES;
348 Text [ en-US ] = "Indexes...";
352 //.........................................................................
357 Pos = MAP_APPFONT ( 0 , 0 ) ;
358 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
360 HelpId = HID_DSADMIN_PAGE_ADO;
361 AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
364 //.........................................................................
369 Pos = MAP_APPFONT ( 0 , 0 ) ;
370 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
372 HelpId = HID_DSADMIN_PAGE_ODBC;
374 AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
375 FixedLine FL_SEPARATOR1
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";
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" ;
391 Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
392 Size = MAP_APPFONT ( 130 , EDIT_HEIGHT ) ;
394 HelpId = HID_DSADMIN_ODBC_OPTIONS;
397 AUTO_USECATALOG( 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS )
403 Pos = MAP_APPFONT ( 0 , 0 ) ;
404 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
406 HelpId = HID_DSADMIN_PAGE_ADABAS;
408 FixedLine FL_SEPARATOR1
410 Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
411 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
412 Text[ en-US ] = "Connection Settings";
415 FixedText FT_HOSTNAME
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";
426 Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT-1 ) ;
427 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
430 FixedText FT_CACHE_SIZE
432 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
433 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
434 Text[ en-US ] = "Data ~buffer size (MB)";
436 NumericField NF_CACHE_SIZE
438 Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT -1 ) ;
439 Size = MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
447 FixedText FT_DATA_INCREMENT
449 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT ) ;
450 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
451 Text[ en-US ] = "~Data increment (MB)";
453 NumericField NF_DATA_INCREMENT
455 Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
456 Size = MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
463 FixedLine FL_SEPARATOR2
465 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT ) ;
466 Size = MAP_APPFONT ( 248 , FIXEDTEXT_HEIGHT ) ;
467 Text [ en-US ] = "Administration" ;
469 FixedText FT_CTRLUSERNAME
471 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT ) ;
472 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
473 Text [ en-US ] = "Control ~user name" ;
478 Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT-1 ) ;
479 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
482 FixedText FT_CTRLPASSWORD
484 Pos = MAP_APPFONT ( 6 , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT ) ;
485 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
486 Text [ en-US ] = "Control ~password" ;
491 Pos = MAP_APPFONT ( EDIT_X , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT-1 ) ;
492 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT) ;
499 Pos = MAP_APPFONT ( 6 , 6*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT ) ;
500 Size = MAP_APPFONT ( 248 , CHECKBOX_HEIGHT ) ;
501 Text[ en-US ] = "~Shut down service when closing %PRODUCTNAME";
506 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ;
507 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
508 Text[ en-US ] = "E~xtended...";
511 AUTO_CHARSET( 7*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT, PAGE_X )
514 //.........................................................................
515 #define MYSQL_YDIST 53
517 #define MYSQL_DRIVERCLASS_Y 8
519 TabPage PAGE_MYSQL_ODBC
522 Pos = MAP_APPFONT ( 0 , 0 ) ;
523 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
526 AUTO_CHARSET( UNRELATED_CONTROLS, PAGE_X )
529 TabPage PAGE_MYSQL_JDBC
532 Pos = MAP_APPFONT ( 0 , 0 ) ;
533 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
536 AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
537 AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
538 AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
540 FixedText FT_JDBCDRIVERCLASS
542 Pos = MAP_APPFONT ( 6,
543 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
544 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
545 Text[ en-US ] = "MySQL JDBC d~river class";
547 Edit ET_JDBCDRIVERCLASS
549 Pos = MAP_APPFONT ( EDIT_X,
550 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + EDIT_HEIGHT) ;
551 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
555 PushButton PB_TESTDRIVERCLASS
558 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2 + EDIT_HEIGHT) ;
559 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
560 Text [ en-US ] = "Test class" ;
563 AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
566 TabPage PAGE_MYSQL_NATIVE
569 Pos = MAP_APPFONT ( 0 , 0 ) ;
570 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
573 AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
574 AUTO_NAMECONTROLGROUP( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT, HID_PAGE_DBWIZARD_JDBC_ET_MYSQLDBNAME )
575 AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + 2*RELATED_CONTROLS + FIXEDTEXT_HEIGHT + EDIT_HEIGHT )
576 AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT )
578 FixedLine FL_SEPARATOR2
580 Pos = MAP_APPFONT ( 3 , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*EDIT_HEIGHT ) ;
581 Size = MAP_APPFONT ( PAGE_X - 6, FIXEDTEXT_HEIGHT ) ;
582 Text[ en-US ] = "User authentication";
584 FixedText FT_USERNAME
586 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*EDIT_HEIGHT ) ;
587 Size = MAP_APPFONT ( EDIT_X - 6 - RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
588 Text [ en-US ] = "~User name" ;
593 Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*EDIT_HEIGHT - 1 ) ;
594 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
597 CheckBox CB_PASSWORD_REQUIRED
599 Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
600 Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
601 Text [ en-US ] = "Password required";
604 AUTO_CHARSET( 5*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT, PAGE_X )
607 TabPage PAGE_ORACLE_JDBC
610 Pos = MAP_APPFONT ( 0 , 0 ) ;
611 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
614 AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
615 AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
617 AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
619 FixedText FT_JDBCDRIVERCLASS
621 Pos = MAP_APPFONT ( 6,
622 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
623 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
624 Text[ en-US ] = "Oracle JDBC d~river class";
626 Edit ET_JDBCDRIVERCLASS
628 Pos = MAP_APPFONT ( EDIT_X,
629 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
630 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
634 PushButton PB_TESTDRIVERCLASS
637 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS,
638 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - BUTTON_HEIGHT ) / 2 ) ;
639 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
640 Text [ en-US ] = "Test class" ;
643 AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
646 //.........................................................................
651 Pos = MAP_APPFONT ( 0 , 0 ) ;
652 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
654 HelpId = HID_DSADMIN_PAGE_LDAP;
656 FixedLine FL_SEPARATOR1
658 Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
659 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
660 Text[ en-US ] = "Connection Settings";
665 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
666 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
667 Text[ en-US ] = "~Base DN";
673 HelpId = HID_DSADMIN_LDAP_BASEDN;
675 Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
676 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
680 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
681 Size = MAP_APPFONT ( PAGE_X - 12 , CHECKBOX_HEIGHT ) ;
682 Text [ en-US ] = "Use secure connection(SSL)";
683 HelpId = HID_DSADMIN_USESSL_LDAP;
686 FixedText FT_PORTNUMBER
688 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
689 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
690 Text[ en-US ] = "~Port number";
692 NumericField NF_PORTNUMBER
696 HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
698 Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1 + CHECKBOX_HEIGHT) ;
699 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
701 FixedText FT_LDAPROWCOUNT
703 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
704 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
705 Text[ en-US ] = "Maximum number of ~records";
707 NumericField NF_LDAPROWCOUNT
711 HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
713 Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + CHECKBOX_HEIGHT) ;
714 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
719 //.........................................................................
725 Pos = MAP_APPFONT ( 0 , 0 ) ;
726 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
727 HelpId = HID_DSADMIN_PAGE_TEXT;
729 AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)
732 //.........................................................................
733 TabPage PAGE_USERDRIVER
736 Pos = MAP_APPFONT ( 0 , 0 ) ;
737 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
739 HelpId = HID_DSADMIN_PAGE_USERDRIVER;
741 FixedText FT_HOSTNAME
743 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
744 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
745 Text[ en-US ] = "~Hostname";
751 Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS -1 ) ;
752 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
755 FixedText FT_PORTNUMBER
757 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
758 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
759 Text[ en-US ] = "~Port number";
762 NumericField NF_PORTNUMBER
767 Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
768 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
773 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
774 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
775 Text [ en-US ] = "~Driver settings" ;
782 AUTO_CHARSET( 4*UNRELATED_CONTROLS+ 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X)
785 String STR_ERR_USE_CONNECT_TO
787 Text [ en-US ] = "Please choose 'Connect to an existing database' to connect to an existing database instead.";