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