1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _DBAUI_DBADMINSETUP_HRC_
25#include "dbadminsetup.hrc"
26#endif
27
28#ifndef _DBAUI_AUTOCONTROLS_HRC_
29#include "AutoControls.hrc"
30#endif
31
32
33#define CHECKBOX_HEIGHT		8
34#define FIXEDTEXT_HEIGHT	8
35#define RELATED_CONTROLS	4
36#define UNRELATED_CONTROLS	7
37#define EDIT_HEIGHT			12
38#define EDIT_X				101
39
40
41// -----------------------------------------------------------------------------
42ModalDialog DLG_DATABASE_WIZARD
43{
44	OutputSize = TRUE ;
45	Moveable = TRUE;
46	Closeable = TRUE ;
47	HelpId = HID_DLG_DATABASE_WIZARD;
48	Hide = TRUE;
49	Text[ en-US ]  = "Database Wizard" ;
50
51	TabControl 1
52	{
53		OutputSize = TRUE ;
54		HelpId = HID_DSADMIN_TABCONTROL;
55	};
56
57	String STR_DBWIZARDTITLE
58	{
59	    Text[ en-US ]  = "Database Wizard" ;
60	};
61
62	String STR_PAGETITLE_INTROPAGE
63	{
64		Text[ en-US ]  = "Select database" ;
65	};
66
67	String STR_PAGETITLE_DBASE
68	{
69		Text[ en-US ]  = "Set up dBASE connection" ;
70
71	};
72
73	String STR_PAGETITLE_TEXT
74	{
75		Text[ en-US ]  = "Set up a connection to text files" ;
76	};
77
78
79	String STR_PAGETITLE_MSACCESS
80	{
81		Text[ en-US ]  = "Set up Microsoft Access connection" ;
82	};
83
84	String STR_PAGETITLE_LDAP
85	{
86		Text[ en-US ]  = "Set up LDAP connection" ;
87	};
88
89	String STR_PAGETITLE_ADABAS
90	{
91		Text[ en-US ]  = "Set up Adabas D connection" ;
92	};
93
94	String STR_PAGETITLE_ADO
95	{
96		Text[ en-US ]  = "Set up ADO connection" ;
97	};
98
99	String STR_PAGETITLE_JDBC
100	{
101		Text[ en-US ]  = "Set up JDBC connection" ;
102	};
103
104	String STR_PAGETITLE_ORACLE
105	{
106		Text[ en-US ] = "Set up Oracle database connection" ;
107	};
108
109	String STR_PAGETITLE_MYSQL
110	{
111		Text[ en-US ] = "Set up MySQL connection" ;
112	};
113
114	String STR_PAGETITLE_ODBC
115	{
116		Text[ en-US ] = "Set up ODBC connection" ;
117	};
118
119	String STR_PAGETITLE_SPREADSHEET
120	{
121		Text[ en-US ] = "Set up Spreadsheet connection" ;
122	};
123
124	String STR_PAGETITLE_AUTHENTIFICATION
125	{
126		Text[ en-US ] = "Set up user authentication" ;
127	};
128
129    String STR_PAGETITLE_MYSQL_NATIVE
130    {
131        Text [ en-US ] = "Set up MySQL server data";
132    };
133
134	String STR_PAGETITLE_FINAL
135	{
136		Text[ en-US ] = "Save and proceed" ;
137	};
138};
139
140
141String STR_DATABASEDEFAULTNAME
142{
143	Text[ en-US ]  = "New Database" ;
144};
145
146
147TabPage PAGE_DBWIZARD_MYSQL_INTRO
148{
149    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_MYSQL_INTRO";
150	SVLook = TRUE ;
151	Pos = MAP_APPFONT ( 0 , 0 ) ;
152	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
153	Hide = TRUE ;
154
155	FixedText FT_MYSQL_HEADERTEXT
156	{
157		Pos = MAP_APPFONT ( START_X , 8 ) ;
158		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
159		Text[ en-US ] = "Set up a connection to a MySQL database";
160		WordBreak = TRUE;
161	};
162
163
164    FixedText FT_MYSQL_HELPTEXT
165    {
166        Pos = MAP_APPFONT (START_X , 27 )  ;
167        Size = MAP_APPFONT ( 213 , 48 ) ;
168        Text[ en-US ]   = "You can connect to a MySQL database using either ODBC or JDBC.\nPlease contact your system administrator if you are unsure about the following settings.";
169        WordBreak = TRUE ;
170    };
171
172    FixedText FT_MYSQLCONNECTIONMODE
173    {
174        Pos = MAP_APPFONT (START_X , 79 )  ;
175        Size = MAP_APPFONT ( 209 , 8 ) ;
176        Text[ en-US ] = "How do you want to connect to your MySQL database?" ;
177    };
178
179    RadioButton RB_CONNECTVIAODBC
180    {
181        HelpId = HID_PAGE_DBWIZARD_MYSQL_RB_CONNECTVIAODBC ;
182        Pos = MAP_APPFONT (START_X + 6 , 91 )  ;
183        Size = MAP_APPFONT ( 205 , 9 ) ;
184        Text[ en-US ] = "Connect using ODBC (Open Database Connectivity)" ;
185    };
186
187    RadioButton RB_CONNECTVIAJDBC
188    {
189        HelpId = HID_PAGE_DBWIZARD_MYSQL_RB_CONNECTVIAJDBC ;
190        Pos = MAP_APPFONT (START_X + 6, 103 )  ;
191        Size = MAP_APPFONT ( 208 , 8 ) ;
192        Text[ en-US ] = "Connect using JDBC (Java Database Connectivity)" ;
193    };
194    RadioButton RB_CONNECTVIANATIVE
195    {
196        HelpID = "dbaccess:RadioButton:PAGE_DBWIZARD_MYSQL_INTRO:RB_CONNECTVIANATIVE";
197        Pos = MAP_APPFONT (START_X + 6 , 115 )  ;
198        Size = MAP_APPFONT ( 205 , 9 ) ;
199        Text[ en-US ] = "Connect directly" ;
200        Hide = TRUE ;
201    };
202
203};
204
205#define AUTHENTEDIT_X   (EDIT_X - 10)
206
207TabPage PAGE_DBWIZARD_AUTHENTIFICATION
208{
209    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_AUTHENTIFICATION";
210	SVLook = TRUE ;
211	Pos = MAP_APPFONT ( 0 , 0 ) ;
212	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
213	Hide = TRUE ;
214
215	FixedText FT_AUTHENTIFICATIONHEADERTEXT
216	{
217		Pos = MAP_APPFONT ( START_X , 8 ) ;
218		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
219		Text[ en-US ] = "Set up the user authentication";
220		WordBreak = TRUE;
221	};
222
223
224    FixedText FT_AUTHENTIFICATIONHELPTEXT\
225    {
226        Pos = MAP_APPFONT (START_X , 27 )  ;
227        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 3*FIXEDTEXT_HEIGHT ) ;
228        Text[ en-US ] = "Some databases require you to enter a user name." ;\
229        WordBreak = TRUE ;
230    };
231
232    FixedText FT_GENERALUSERNAME
233    {
234        Pos = MAP_APPFONT (START_X , 62 ) ;
235        Size = MAP_APPFONT ( AUTHENTEDIT_X - START_X  , FIXEDTEXT_HEIGHT ) ;
236        Text[ en-US ] = "~User name" ;
237    };
238
239    Edit ET_GENERALUSERNAME
240    {
241		Border = TRUE ;
242        HelpId = HID_PAGE_DBWIZARD_AUTHENTIFICATION_ET_GENERALUSERNAME ;
243        Pos = MAP_APPFONT (AUTHENTEDIT_X , 60 )  ;
244        Size = MAP_APPFONT ( (WIZARD_PAGE_X - AUTHENTEDIT_X - 6), EDIT_HEIGHT ) ;
245    };
246
247    CheckBox CB_GENERALPASSWORDREQUIRED
248    {
249        HelpId = HID_PAGE_DBWIZARD_AUTHENTIFICATION_CB_GENERALPASSWORDREQUIRED ;
250        Pos = MAP_APPFONT (AUTHENTEDIT_X , 76 );
251        Size = MAP_APPFONT ( 93 , CHECKBOX_HEIGHT );
252        Text[ en-US ] = "Password re~quired" ;
253    };
254
255    PushButton PB_TESTCONNECTION
256    {
257        HelpId = HID_PAGE_DBWIZARD_AUTHENTIFICATION_PB_TESTCONNECTION ;
258        Pos = MAP_APPFONT (WIZARD_PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , WIZARD_PAGE_Y - 18 ) ;
259        Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
260        Text[ en-US ] = "~Test Connection" ;
261    };
262
263};
264
265
266TabPage PAGE_DBWIZARD_FINAL
267{
268    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_FINAL";
269	SVLook = TRUE ;
270	Pos = MAP_APPFONT ( 0 , 0 ) ;
271	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
272	Hide = TRUE ;
273
274
275	FixedText FT_FINALHEADER
276	{
277		Pos = MAP_APPFONT ( START_X , 8 ) ;
278		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6 , 2* FIXEDTEXT_HEIGHT ) ;
279		Text[ en-US ] = "Decide how to proceed after saving the database";
280		WordBreak = TRUE;
281	};
282
283    FixedText FT_FINALHELPTEXT
284    {
285        Pos = MAP_APPFONT (START_X , 27 )  ;
286        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 2*FIXEDTEXT_HEIGHT ) ;
287        Text[ en-US ] = "Do you want the wizard to register the database in %PRODUCTNAME?" ;
288        WordBreak = TRUE ;
289    };
290
291
292    RadioButton RB_REGISTERDATASOURCE
293    {
294        HelpId = HID_PAGE_DBWIZARD_FINAL_RB_REGISTERDATASOURCE;
295        Pos = MAP_APPFONT (START_X + 6 , 45 )  ;
296        Size = MAP_APPFONT ( 205 , 9 ) ;
297        Group = TRUE;
298        Text[ en-US ] = "~Yes, register the database for me" ;
299    };
300
301
302    RadioButton RB_DONTREGISTERDATASOURCE
303    {
304        HelpId = HID_PAGE_DBWIZARD_FINAL_RB_DONTREGISTERDATASOURCE ;
305        Pos = MAP_APPFONT (START_X + 6, 57 )  ;
306        Size = MAP_APPFONT ( 208 , 8 ) ;
307        Text[ en-US ] = "N~o, do not register the database" ;
308    };
309
310    FixedText FT_ADDITIONALSETTINGS
311    {
312        Pos = MAP_APPFONT (START_X , 100 )  ;
313        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6 , 8 ) ;
314        Text[ en-US ] = "After the database file has been saved, what do you want to do?" ;
315    };
316
317    CheckBox CB_OPENAFTERWARDS
318    {
319        HelpId = HID_PAGE_DBWIZARD_FINAL_CB_OPENAFTERWARDS ;
320        Pos = MAP_APPFONT (START_X + 6, 118 )  ;
321        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X , 8 ) ;
322        Text[ en-US ] = "Open the database for editing" ;
323    };
324
325    CheckBox CB_STARTTABLEWIZARD
326    {
327        HelpId = HID_PAGE_DBWIZARD_FINAL_CB_STARTTABLEWIZARD ;
328        Pos = MAP_APPFONT (START_X + 6, 130 )  ;
329        Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 12 , 8 ) ;
330        Text[ en-US ] = "Create tables using the table wizard" ;
331    };
332
333
334	FixedText FT_FINALTEXT
335	{
336		Pos = MAP_APPFONT ( START_X , 173 ) ;
337		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6 , 2* FIXEDTEXT_HEIGHT ) ;
338		Text[ en-US ]  = "Click 'Finish' to save the database.";
339		WordBreak = TRUE;
340	};
341};
342
343TabPage PAGE_DBWIZARD_MYSQL_JDBC
344{
345    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_MYSQL_JDBC";
346	SVLook = TRUE ;
347	Pos = MAP_APPFONT ( 0 , 0 ) ;
348	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
349	Hide = TRUE ;
350
351
352    String STR_MYSQLJDBC_HEADERTEXT
353	{
354        Text[ en-US ] = "Set up connection to a MySQL database using JDBC" ;
355	};
356
357	String STR_MYSQLJDBC_HELPTEXT
358	{
359        Text[ en-US ] = "Please enter the required information to connect to a MySQL database using JDBC. Note that a JDBC driver class must be installed on your system and registered with %PRODUCTNAME.\nPlease contact your system administrator if you are unsure about the following settings.";
360	};
361
362    String STR_MYSQL_DRIVERCLASSTEXT
363    {
364		Text [  en-US  ] = "MySQL JDBC d~river class:";
365    };
366
367
368    String STR_MYSQL_DEFAULT
369    {
370        Text[ en-US ] = "Default: 3306";
371    };
372
373	AUTOHELP_JDBCCONTROLGROUP(HID_PAGE_DBWIZARD_JDBC_ET_MYSQLDBNAME,HID_PAGE_DBWIZARD_JDBC_ET_MYSQLHOSTSERVER,HID_PAGE_DBWIZARD_JDBC_ET_MYSQLPORT,HID_PAGE_DBWIZARD_JDBC_ET_MYSQLCLASS,HID_PAGE_DBWIZARD_JDBC_PB_TESTMYSQLCLASS)
374};
375
376TabPage PAGE_DBWIZARD_MYSQL_NATIVE
377{
378    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_MYSQL_NATIVE";
379	SVLook = TRUE ;
380	Pos = MAP_APPFONT ( 0, 0 ) ;
381	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
382	Hide = TRUE ;
383
384	FixedText FT_SETUP_WIZARD_HEADER
385	{
386		Pos = MAP_APPFONT ( START_X , 8 ) ;
387		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
388        Text[ en-US ] = "Set up connection to a MySQL database" ;
389		WordBreak = TRUE;
390	};
391
392	FixedText FT_SETUP_WIZARD_HELP
393	{
394		Pos = MAP_APPFONT ( START_X , INIT_Y ) ;
395		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 12 , 3 * FIXEDTEXT_HEIGHT ) ;
396        Text [ en-US ] = "Please enter the required information to connect to a MySQL database.";
397		WordBreak = TRUE;
398	};
399};
400
401
402TabPage PAGE_DBWIZARD_DBASE
403{
404    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_DBASE";
405	SVLook = TRUE ;
406	Pos = MAP_APPFONT ( 0 , 0 ) ;
407	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
408	Hide = TRUE ;
409
410    String STR_DBASE_HEADERTEXT
411	{
412        Text[ en-US ] = "Set up a connection to dBASE files" ;
413	};
414
415
416    String STR_DBASE_HELPTEXT
417	{
418        Text[ en-US ]  = "Select the folder where the dBASE files are stored." ;
419	};
420
421 	AUTO_HELP_BROWSECONTROLGROUP( 3, HID_PAGE_DBWIZARD_DBASE_ET_DBASELOCATION,HID_PAGE_DBWIZARD_DBASE_PB_DBASELOCATION)
422};
423
424
425TabPage PAGE_DBWIZARD_TEXT
426{
427    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_TEXT";
428
429    String STR_TEXT_HEADERTEXT
430	{
431        Text[ en-US ]   = "Set up a connection to text files" ;
432	};
433
434
435    String STR_TEXT_HELPTEXT
436	{
437        Text[ en-US ]   = "Select the folder where the CSV (Comma Separated Values) text files are stored. %PRODUCTNAME Base will open these files in read-only mode." ;
438	};
439
440
441	String STR_TEXT_PATH_OR_FILE{
442		Text[ en-US ]  = "Path to text files";
443	};
444
445
446	AUTO_HELP_BROWSECONTROLGROUP(3, HID_PAGE_DBWIZARD_TEXT_ET_LOCATIONTEXTFILE,HID_PAGE_DBWIZARD_TEXT_PB_LOCATIONTEXTFILE)
447	AUTO_SEPARATORCONTROLGROUP(82, WIZARD_PAGE_X)
448 };
449
450
451
452TabPage PAGE_DBWIZARD_MSACCESS
453{
454    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_MSACCESS";
455	SVLook = TRUE ;
456	Pos = MAP_APPFONT ( 0 , 0 ) ;
457	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
458	Hide = TRUE ;
459
460    String STR_MSACCESS_HEADERTEXT
461	{
462        Text[ en-US ] = "Set up a connection to a Microsoft Access database" ;
463	};
464
465
466    String STR_MSACCESS_HELPTEXT
467	{
468        Text[ en-US ] = "Please select the Microsoft Access file you want to access.";
469	};
470
471	AUTO_HELP_BROWSECONTROLGROUP(3, HID_PAGE_DBWIZARD_MSACCESS_ET_MSACCESSLOCATION, HID_PAGE_DBWIZARD_MSACCESS_PB_MSACCESSLOCATION)
472// FT_MSACCESS_MDB_FILE
473};
474
475
476TabPage PAGE_DBWIZARD_LDAP
477{
478    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_LDAP";
479	SVLook = TRUE ;
480	Pos = MAP_APPFONT ( 0 , 0 ) ;
481	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
482	Hide = TRUE ;
483
484	FixedText FT_LDAP_HEADERTEXT
485	{
486		Pos = MAP_APPFONT ( START_X , 8 ) ;
487		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
488		Text[ en-US ] = "Set up a connection to an LDAP directory";
489		WordBreak = TRUE;
490	};
491
492
493    FixedText FT_LDAP_HELPTEXT
494    {
495        Pos = MAP_APPFONT (START_X , 27 )  ;
496        Size = MAP_APPFONT (WIZARD_PAGE_X - START_X - 6, 5 * FIXEDTEXT_HEIGHT ) ;
497        Text[ en-US ] = "Please enter the required information to connect to an LDAP directory.\nPlease contact your system administrator if you are unsure about the following settings." ;
498        WordBreak = TRUE ;
499    };
500	AUTO_HOSTCONTROLGROUP(  INIT_Y + 7 * FIXEDTEXT_HEIGHT +		UNRELATED_CONTROLS,							HID_PAGE_DBWIZARD_LDAP_ET_HOSTSERVER)
501	AUTO_BASEDNCONTROLGROUP(INIT_Y + 7 * FIXEDTEXT_HEIGHT +		UNRELATED_CONTROLS +	 EDIT_HEIGHT +	   RELATED_CONTROLS,	HID_PAGE_DBWIZARD_LDAP_ET_BASEDN)
502	AUTO_PORTCONTROLGROUP(  INIT_Y + 7 * FIXEDTEXT_HEIGHT +		UNRELATED_CONTROLS + 2 * EDIT_HEIGHT + 2 * RELATED_CONTROLS,	HID_PAGE_DBWIZARD_LDAP_ET_PORTNUMBER)
503
504    String STR_LDAP_DEFAULT{
505        Text[ en-US ] = "Default: 389" ;
506    };
507
508    CheckBox CB_WIZ_USESSL
509    {
510        HelpId = HID_PAGE_DBWIZARD_LDAP_CB_USESSL ;
511        Pos = MAP_APPFONT (START_X , INIT_Y + 7 * FIXEDTEXT_HEIGHT +		UNRELATED_CONTROLS + 3 * EDIT_HEIGHT + 4 * RELATED_CONTROLS )  ;
512        Size = MAP_APPFONT ( 212 , 8 ) ;
513        Text[ en-US ] = "Use ~secure connection (SSL)" ;
514    };
515};
516
517
518TabPage PAGE_DBWIZARD_ADABAS
519{
520    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_ADABAS";
521	SVLook = TRUE ;
522	Pos = MAP_APPFONT ( 0 , 0 ) ;
523	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
524	Hide = TRUE ;
525
526    String STR_ADABAS_HEADERTEXT
527	{
528        Text[ en-US ]   = "Set up a connection to an Adabas D database" ;
529	};
530
531
532	String STR_ADABAS_HELPTEXT{
533        Text[ en-US ] = "Enter the name of the Adabas D database you want to connect to.\nClick 'Browse...' to select an Adabas D database that is already registered in %PRODUCTNAME." ;
534	};
535
536	AUTO_HELP_BROWSECONTROLGROUP(4, HID_PAGE_DBWIZARD_ADABAS_ET_ADABASNAME, HID_PAGE_DBWIZARD_ADABAS_PB_ADABASNAME)
537};
538
539
540TabPage PAGE_DBWIZARD_ADO
541{
542    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_ADO";
543	SVLook = TRUE ;
544	Pos = MAP_APPFONT ( 0 , 0 ) ;
545	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
546	Hide = TRUE ;
547
548    String STR_ADO_HEADERTEXT
549	{
550        Text[ en-US ] = "Set up a connection to an ADO database" ;
551	};
552
553	String STR_ADO_HELPTEXT{
554        Text[ en-US ] = "Please enter the URL of the ADO data source you want to connect to.\nClick 'Browse' to configure provider-specific settings.\nPlease contact your system administrator if you are unsure about the following settings." ;
555	};
556
557	AUTO_HELP_BROWSECONTROLGROUP(5, HID_PAGE_DBWIZARD_ADO_ET_ADOURL, HID_PAGE_DBWIZARD_ADO_PB_ADOURL)
558
559};
560
561
562TabPage PAGE_DBWIZARD_ODBC
563{
564    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_ODBC";
565	SVLook = TRUE ;
566	Pos = MAP_APPFONT ( 0 , 0 ) ;
567	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
568	Hide = TRUE ;
569
570    String STR_ODBC_HEADERTEXT
571	{
572        Text[ en-US ] = "Set up a connection to an ODBC database" ;
573	};
574
575	String STR_ODBC_HELPTEXT{
576        Text[ en-US ] = "Enter the name of the ODBC database you want to connect to.\nClick 'Browse...' to select an ODBC database that is already registered in %PRODUCTNAME.\nPlease contact your system administrator if you are unsure about the following settings." ;
577	};
578
579	AUTO_HELP_BROWSECONTROLGROUP(6, HID_PAGE_DBWIZARD_ODBC_ET_NAMEOFODBCDATASOURCE, HID_PAGE_DBWIZARD_ODBC_PB_NAMEOFODBCDATASOURCE)
580};
581
582TabPage PAGE_DBWIZARD_USERDEFINED
583{
584    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_USERDEFINED";
585	SVLook = TRUE ;
586	Pos = MAP_APPFONT ( 0 , 0 ) ;
587	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
588	Hide = TRUE ;
589
590	AUTO_HELP_BROWSECONTROLGROUP(6, HID_PAGE_DBWIZARD_USERDEFINED_ET_BROWSE, HID_PAGE_DBWIZARD_USERDEFINED_BROWSE)
591};
592
593
594
595TabPage PAGE_DBWIZARD_JDBC
596{
597    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_JDBC";
598	SVLook = TRUE ;
599	Pos = MAP_APPFONT ( 0 , 0 ) ;
600	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
601	Hide = TRUE ;
602
603    String STR_JDBC_HEADERTEXT
604	{
605        Text[ en-US ] = "Set up a connection to a JDBC database" ;
606	};
607
608	String STR_JDBC_HELPTEXT{
609        Text[ en-US ] = "Please enter the required information to connect to a JDBC database.\nPlease contact your system administrator if you are unsure about the following settings." ;
610	};
611
612	AUTO_HELP_BROWSECONTROLGROUP(4, HID_PAGE_DBWIZARD_JDBC_ET_JDBCURL, HID_PAGE_DBWIZARD_JDBC_PB_JDBCURL)
613	AUTO_JDBCDRIVERCLASSGROUP(119, HID_PAGE_DBWIZARD_JDBC_ET_JDBCCLASS, HID_PAGE_DBWIZARD_JDBC_PB_TESTJDBCCLASS)
614};
615
616
617
618TabPage PAGE_DBWIZARD_ORACLE
619{
620    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_ORACLE";
621	SVLook = TRUE ;
622	Pos = MAP_APPFONT ( 0 , 0 ) ;
623	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
624	Hide = TRUE ;
625
626    String STR_ORACLE_HEADERTEXT
627	{
628        Text[ en-US ] = "Set up a connection to an Oracle database";
629	};
630
631    String STR_ORACLE_DEFAULT
632    {
633        Text[ en-US ] = "Default: 1521" ;
634    };
635
636
637    String STR_ORACLE_DRIVERCLASSTEXT{
638		Text [ en-US ] = "Oracle JDBC ~driver class";
639    };
640
641
642	String STR_ORACLE_HELPTEXT{
643        Text[ en-US ] = "Please enter the required information to connect to an Oracle database.Note that a JDBC Driver Class must be installed on your system and registered with %PRODUCTNAME.\nPlease contact your system administrator if you are unsure about the following settings." ;
644	};
645
646	AUTOHELP_JDBCCONTROLGROUP(HID_PAGE_DBWIZARD_ORACLE_ET_ORACLEDBNAME,HID_PAGE_DBWIZARD_ORACLE_ET_ORACLEHOSTSERVER,HID_PAGE_DBWIZARD_ORACLE_ET_ORACLEPORT,HID_PAGE_DBWIZARD_ORACLE_ET_ORACLECLASS,HID_PAGE_DBWIZARD_ORACLE_PB_TESTORACLECLASS)
647};
648
649
650TabPage PAGE_DBWIZARD_SPREADSHEET
651{
652    HelpID = "dbaccess:TabPage:PAGE_DBWIZARD_SPREADSHEET";
653	SVLook = TRUE ;
654	Pos = MAP_APPFONT ( 0 , 0 ) ;
655	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
656	Hide = TRUE ;
657
658    String STR_SPREADSHEET_HEADERTEXT
659	{
660        Text[ en-US ] = "Set up a connection to spreadsheets";
661	};
662
663
664	String STR_SPREADSHEET_HELPTEXT{
665        Text[ en-US ] = "Click 'Browse...' to select a %PRODUCTNAME spreadsheet or Microsoft Excel workbook.\n%PRODUCTNAME will open this file in read-only mode." ;
666	};
667
668
669	AUTO_HELP_BROWSECONTROLGROUP(3, HID_PAGE_DBWIZARD_SPREADSHEET_ET_SPREADSHEETPATH,HID_PAGE_DBWIZARD_SPREADSHEET_PB_SPREADSHEETPATH )
670
671	String STR_SPREADSHEETPATH{
672        Text[ en-US ] = "~Location and file name" ;
673	};
674
675
676    CheckBox CB_SPREADSHEETPASSWORDREQUIRED
677    {
678        HelpId = HID_PAGE_DBWIZARD_SPREADSHEET_CB_SPREADSHEETPASSWORDREQUIRED ;
679        Pos = MAP_APPFONT (START_X + UNRELATED_CONTROLS , 83 )  ;
680        Size = MAP_APPFONT ( 93 , 11 ) ;
681        Text[ en-US ] = "~Password required" ;
682    };
683};
684
685
686