1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
28 #ifndef _DBA_DBACCESS_HELPID_HRC_
29 #include "dbaccess_helpid.hrc"
31 #ifndef _DBAUI_AUTOCONTROLS_HRC_
32 #include "AutoControls.hrc"
35 #include "dbu_dlg.hrc"
37 #ifndef _DBAUI_DBADMIN_HRC_
38 #include "dbadmin.hrc"
40 #ifndef DBACCESS_UI_BROWSER_ID_HXX
41 #include "browserids.hxx"
43 #include "admincontrols.hrc"
45 //-------------------------------------------------------------------------
47 #define AUTO_USECATALOG(AUTO_Y) \
48 CheckBox CB_USECATALOG \
50 Pos = MAP_APPFONT ( 6 ,AUTO_Y) ; \
51 Size = MAP_APPFONT ( PAGE_X -12 , CHECKBOX_HEIGHT ) ; \
53 HelpId = HID_DSADMIN_USECATALOG; \
54 Text[ en-US ] = "Use catalog for file-based databases"; \
57 //-------------------------------------------------------------------------
59 #define AUTO_FIXEDLINE_CONNSETTINGS(AUTO_Y) \
60 FixedLine FL_SEPARATOR1 \
62 Pos = MAP_APPFONT ( 4 , AUTO_Y ) ; \
63 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ; \
64 Text[ en-US ] = "Connection Settings"; \
67 #define AUTO_HOST_AND_PORT(AUTO_Y) \
68 FixedText FT_HOSTNAME \
70 Pos = MAP_APPFONT ( 6 , AUTO_Y + 2 ) ; \
71 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
72 Text[ en-US ] = "~Host name"; \
78 HelpId = HID_DSADMIN_HOSTNAME; \
79 Pos = MAP_APPFONT ( EDIT_X , AUTO_Y ) ; \
80 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ; \
82 FixedText FT_PORTNUMBER \
84 Pos = MAP_APPFONT ( 6 , AUTO_Y + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2 ) ; \
85 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
86 Text[ en-US ] = "~Port number"; \
88 NumericField NF_PORTNUMBER \
92 HelpId = HID_DSADMIN_PORTNUMBER; \
93 NoThousandSep = TRUE; \
94 Pos = MAP_APPFONT ( EDIT_X , AUTO_Y +UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ; \
95 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ; \
97 //-------------------------------------------------------------------------
99 TabDialog DLG_DATABASE_ADMINISTRATION
106 HelpId = HID_DSADMIN_DIALOG;
111 HelpId = HID_DSADMIN_TABCONTROL;
114 //.........................................................................
115 String STR_PAGETITLE_GENERAL
117 Text [ en-US ] = "Advanced Properties" ;
119 String STR_PAGETITLE_ADVANCED
121 Text [ en-US ] = "Additional Settings" ;
123 String STR_PAGETITLE_CONNECTION
125 Text [ en-US ] = "Connection settings" ;
128 Text [ en-US ] = "Database properties" ;
131 // -----------------------------------------------------------------------------
133 ModalDialog DLG_DATABASE_TYPE_CHANGE
139 HelpId = HID_DSADMIN_TYPE_DIALOG;
144 HelpId = HID_DSADMIN_TABCONTROL;
146 Text [ en-US ] = "Database properties" ;
149 //-------------------------------------------------------------------------
154 Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
156 HelpId = HID_DSADMIN_PAGE_GENERAL;
159 FixedText FT_GENERALHEADERTEXT
161 Pos = MAP_APPFONT ( START_X , 8 ) ;
162 Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
163 Text [ en-US ] = "Welcome to the %PRODUCTNAME Database Wizard";
167 FixedText FT_GENERALHELPTEXT
169 Pos = MAP_APPFONT (START_X , 27 );
170 Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 5* FIXEDTEXT_HEIGHT ) ;
171 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." ;
175 FixedText FT_DATASOURCEHEADER
177 Pos = MAP_APPFONT ( START_X , 73 ) ;
178 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
179 Text [ en-US ] = "What do you want to do?";
182 RadioButton RB_CREATEDBDATABASE
184 HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_CREATEDBDATABASE ;
185 Pos = MAP_APPFONT (START_X + 6 , 85 ) ;
186 Size = MAP_APPFONT ( 205 , 10 ) ;
188 Text [ en-US ] = "Create a n~ew database" ;
191 RadioButton RB_OPENEXISTINGDOC
193 HelpID = "dbaccess:RadioButton:PAGE_GENERAL:RB_OPENEXISTINGDOC";
194 Pos = MAP_APPFONT (START_X + 6 , 97 );
195 Size = MAP_APPFONT ( 206 , 8 ) ;
196 Text [ en-US ] = "Open an existing database ~file" ;
199 FixedText FT_DOCLISTLABEL
201 Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 110 );
202 Size = MAP_APPFONT( 120, 8 );
203 Text [ en-US ] = "Recently used";
206 ListBox LB_DOCUMENTLIST
208 HelpID = "dbaccess:ListBox:PAGE_GENERAL:LB_DOCUMENTLIST";
209 Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 121 );
210 Size = MAP_APPFONT( 120, 14 );
215 PushButton PB_OPENDOCUMENT
217 HelpID = "dbaccess:PushButton:PAGE_GENERAL:PB_OPENDOCUMENT";
218 Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 139 );
219 Size = MAP_APPFONT( 50, 16 );
224 RadioButton RB_GETEXISTINGDATABASE
226 HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_GETEXISTINGDATABASE;
227 Pos = MAP_APPFONT (START_X + 6 , 159 ) ;
228 Size = MAP_APPFONT ( 206 , 8 ) ;
229 Text [ en-US ] = "Connect to an e~xisting database" ;
232 FixedText FT_DATASOURCETYPE_PRE
234 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
235 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
237 Text [ en-US ] = "Select the type of database to which you want to establish a connection.";
240 FixedText FT_DATATYPE
242 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
243 Size = MAP_APPFONT ( 80 , FIXEDTEXT_HEIGHT ) ;
244 Text [ en-US ] = "Database ~type ";
249 HelpId = HID_DSADMIN_DSTYPE;
250 Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 ) ;
251 Size = MAP_APPFONT ( 120, 120 ) ;
258 FixedText FT_DATATYPEAPPENDIX
260 Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 + 72) ;
261 Size = MAP_APPFONT ( 60, 8 );
262 Text [ en-US ] = "Database";
265 FixedText FT_DATASOURCETYPE_POST
267 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
268 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 5*FIXEDTEXT_HEIGHT ) ;
270 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.";
273 FixedText FT_SPECIAL_MESSAGE
275 Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS );
276 Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 3*FIXEDTEXT_HEIGHT );
278 HelpId = HID_DSADMIN_SPECIAL_MESSAGE;
281 String STR_MYSQLENTRY
283 Text [ en-US ] = "MySQL" ;
286 String STR_PARENTTITLE
288 Text [ en-US ] = "Data Source Properties: #" ;
290 String STR_COULDNOTLOAD_ODBCLIB
292 Text [ en-US ] = "Could not load the program library #lib# or it is corrupted. The ODBC data source selection is not available.";
294 String STR_UNSUPPORTED_DATASOURCE_TYPE
296 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.";
298 Text [ en-US ] = "General" ;
301 //.........................................................................
307 Pos = MAP_APPFONT ( 0 , 0 ) ;
308 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
309 HelpId = HID_DSADMIN_PAGE_DBASE;
311 AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
313 FixedLine FL_SEPARATOR1
315 Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
316 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
317 Text[ en-US ] = "Optional settings";
320 CheckBox CB_SHOWDELETEDROWS
322 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
323 Size = MAP_APPFONT ( 200 , CHECKBOX_HEIGHT ) ;
325 HelpId = HID_DSADMIN_SHOWDELETED;
326 Text [ en-US ] = "Display deleted records as well" ;
329 FixedText FT_SPECIAL_MESSAGE
333 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
334 Size = MAP_APPFONT ( PAGE_X - 12 , 2*FIXEDTEXT_HEIGHT ) ;
335 Text [ en-US ] = "Note: When deleted, and thus inactive, records are displayed, you will not be able to delete records from the data source." ;
338 PushButton PB_INDICIES
340 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
341 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
343 HelpId = HID_DSADMIN_DBASE_INDICIES;
344 Text [ en-US ] = "Indexes...";
348 //.........................................................................
353 Pos = MAP_APPFONT ( 0 , 0 ) ;
354 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
356 HelpId = HID_DSADMIN_PAGE_ADO;
357 AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
360 //.........................................................................
365 Pos = MAP_APPFONT ( 0 , 0 ) ;
366 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
368 HelpId = HID_DSADMIN_PAGE_ODBC;
370 AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
371 FixedLine FL_SEPARATOR1
373 Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
374 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
375 Text[ en-US ] = "Optional Settings";
380 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS) ;
381 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
382 Text [ en-US ] = "ODBC ~options" ;
387 Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
388 Size = MAP_APPFONT ( 130 , EDIT_HEIGHT ) ;
390 HelpId = HID_DSADMIN_ODBC_OPTIONS;
393 AUTO_USECATALOG( 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS )
396 //.........................................................................
397 #define MYSQL_YDIST 53
399 #define MYSQL_DRIVERCLASS_Y 8
401 TabPage PAGE_MYSQL_ODBC
403 HelpID = "dbaccess:TabPage:PAGE_MYSQL_ODBC";
405 Pos = MAP_APPFONT ( 0 , 0 ) ;
406 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
409 AUTO_CHARSET( UNRELATED_CONTROLS, PAGE_X )
412 TabPage PAGE_MYSQL_JDBC
414 HelpID = "dbaccess:TabPage:PAGE_MYSQL_JDBC";
416 Pos = MAP_APPFONT ( 0 , 0 ) ;
417 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
420 AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
421 AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
422 AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
424 FixedText FT_JDBCDRIVERCLASS
426 Pos = MAP_APPFONT ( 6,
427 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
428 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
429 Text[ en-US ] = "MySQL JDBC d~river class";
431 Edit ET_JDBCDRIVERCLASS
433 HelpID = "dbaccess:Edit:PAGE_MYSQL_JDBC:ET_JDBCDRIVERCLASS";
434 Pos = MAP_APPFONT ( EDIT_X,
435 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + EDIT_HEIGHT) ;
436 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
440 PushButton PB_TESTDRIVERCLASS
442 HelpID = "dbaccess:PushButton:PAGE_MYSQL_JDBC:PB_TESTDRIVERCLASS";
444 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2 + EDIT_HEIGHT) ;
445 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
446 Text [ en-US ] = "Test class" ;
449 AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
452 TabPage PAGE_MYSQL_NATIVE
454 HelpID = "dbaccess:TabPage:PAGE_MYSQL_NATIVE";
456 Pos = MAP_APPFONT ( 0 , 0 ) ;
457 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
460 AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
462 FixedLine FL_SEPARATOR2
464 Pos = MAP_APPFONT ( 3 , 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
465 Size = MAP_APPFONT ( PAGE_X - 6, FIXEDTEXT_HEIGHT ) ;
466 Text[ en-US ] = "User authentication";
468 FixedText FT_USERNAME
470 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
471 Size = MAP_APPFONT ( EDIT_X - 6 - RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
472 Text [ en-US ] = "~User name" ;
476 HelpID = "dbaccess:Edit:PAGE_MYSQL_NATIVE:ET_USERNAME";
478 Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT - 1 ) ;
479 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
482 CheckBox CB_PASSWORD_REQUIRED
484 HelpID = "dbaccess:CheckBox:PAGE_MYSQL_NATIVE:CB_PASSWORD_REQUIRED";
485 Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT ) ;
486 Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
487 Text [ en-US ] = "Password required";
490 AUTO_CHARSET( 5*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT, PAGE_X )
493 TabPage PAGE_ORACLE_JDBC
495 HelpID = "dbaccess:TabPage:PAGE_ORACLE_JDBC";
497 Pos = MAP_APPFONT ( 0 , 0 ) ;
498 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
501 AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
502 AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
504 AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
506 FixedText FT_JDBCDRIVERCLASS
508 Pos = MAP_APPFONT ( 6,
509 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
510 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
511 Text[ en-US ] = "Oracle JDBC d~river class";
513 Edit ET_JDBCDRIVERCLASS
515 HelpID = "dbaccess:Edit:PAGE_ORACLE_JDBC:ET_JDBCDRIVERCLASS";
516 Pos = MAP_APPFONT ( EDIT_X,
517 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
518 Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
522 PushButton PB_TESTDRIVERCLASS
524 HelpID = "dbaccess:PushButton:PAGE_ORACLE_JDBC:PB_TESTDRIVERCLASS";
526 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS,
527 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - BUTTON_HEIGHT ) / 2 ) ;
528 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
529 Text [ en-US ] = "Test class" ;
532 AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
535 //.........................................................................
540 Pos = MAP_APPFONT ( 0 , 0 ) ;
541 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
543 HelpId = HID_DSADMIN_PAGE_LDAP;
545 FixedLine FL_SEPARATOR1
547 Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
548 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
549 Text[ en-US ] = "Connection Settings";
554 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
555 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
556 Text[ en-US ] = "~Base DN";
562 HelpId = HID_DSADMIN_LDAP_BASEDN;
564 Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
565 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
569 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
570 Size = MAP_APPFONT ( PAGE_X - 12 , CHECKBOX_HEIGHT ) ;
571 Text [ en-US ] = "Use secure connection (SSL)";
572 HelpId = HID_DSADMIN_USESSL_LDAP;
575 FixedText FT_PORTNUMBER
577 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
578 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
579 Text[ en-US ] = "~Port number";
581 NumericField NF_PORTNUMBER
585 HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
586 NoThousandSep = TRUE;
588 Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1 + CHECKBOX_HEIGHT) ;
589 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
591 FixedText FT_LDAPROWCOUNT
593 Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
594 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
595 Text[ en-US ] = "Maximum number of ~records";
597 NumericField NF_LDAPROWCOUNT
601 HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
602 NoThousandSep = TRUE;
604 Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + CHECKBOX_HEIGHT) ;
605 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
610 //.........................................................................
616 Pos = MAP_APPFONT ( 0 , 0 ) ;
617 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
618 HelpId = HID_DSADMIN_PAGE_TEXT;
620 AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)
623 //.........................................................................
624 TabPage PAGE_USERDRIVER
627 Pos = MAP_APPFONT ( 0 , 0 ) ;
628 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
630 HelpId = HID_DSADMIN_PAGE_USERDRIVER;
632 FixedText FT_HOSTNAME
634 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
635 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
636 Text[ en-US ] = "~Hostname";
640 HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_HOSTNAME";
643 Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS -1 ) ;
644 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
647 FixedText FT_PORTNUMBER
649 Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
650 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
651 Text[ en-US ] = "~Port number";
654 NumericField NF_PORTNUMBER
656 HelpID = "dbaccess:NumericField:PAGE_USERDRIVER:NF_PORTNUMBER";
659 NoThousandSep = TRUE;
661 Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
662 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
667 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
668 Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
669 Text [ en-US ] = "~Driver settings" ;
673 HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_OPTIONS";
677 AUTO_CHARSET( 4*UNRELATED_CONTROLS+ 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X)
680 String STR_ERR_USE_CONNECT_TO
682 Text [ en-US ] = "Please choose 'Connect to an existing database' to connect to an existing database instead.";