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 _DBA_DBACCESS_HELPID_HRC_
25#include "dbaccess_helpid.hrc"
26#endif
27#ifndef _DBU_DLG_HRC_
28#include "dbu_dlg.hrc"
29#endif
30#ifndef DBAUI_CONNECTIONPAGE_HRC
31#include "ConnectionPage.hrc"
32#endif
33#ifndef _DBAUI_AUTOCONTROLS_HRC_
34#include "AutoControls.hrc"
35#endif
36
37
38//.........................................................................
39TabPage PAGE_CONNECTION
40{
41	HelpID = "dbaccess:TabPage:PAGE_CONNECTION" ;
42	SVLook = TRUE ;
43	Pos = MAP_APPFONT ( 0, 0 ) ;
44	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
45	Hide = TRUE ;
46
47	FixedLine FL_SEPARATOR1
48	{
49		Pos = MAP_APPFONT ( 4, UNRELATED_CONTROLS ) ;
50		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
51		Text [ en-US ] = "General" ;
52	};
53
54
55	AUTO_BROWSECONTROLGROUP ( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X, HID_DSADMIN_URL_GENERAL, HID_DSADMIN_BROWSECONN )
56
57
58	FixedText FT_NO_ADDITIONAL_SETTINGS
59	{
60		Hide = TRUE ;
61		WordBreak = TRUE ;
62		Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
63		Size = MAP_APPFONT ( PAGE_X - 12, 3 * FIXEDTEXT_HEIGHT ) ;
64	};
65
66
67	FixedText FT_HOSTNAME
68	{
69		Hide = TRUE;
70		Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
71		Size = MAP_APPFONT ( PAGE_X - 12, FIXEDTEXT_HEIGHT ) ;
72		Text [ en-US ] = "~Host name" ;
73	};
74
75
76	FixedLine FL_SEPARATOR2
77	{
78		Pos = MAP_APPFONT ( 4, 3 * FIXEDTEXT_HEIGHT + 3 * UNRELATED_CONTROLS + RELATED_CONTROLS ) ;
79		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
80		Text [ en-US ] = "User authentication" ;
81	};
82
83	FixedText FT_USERNAME
84	{
85		Pos = MAP_APPFONT ( 6, 3 * UNRELATED_CONTROLS + 4 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS ) ;
86		Size = MAP_APPFONT ( 90 - 12, FIXEDTEXT_HEIGHT ) ;
87		Text [ en-US ] = "~User name" ;
88	};
89	Edit ET_USERNAME
90	{
91		HelpID = "dbaccess:Edit:PAGE_CONNECTION:ET_USERNAME" ;
92		Border = TRUE ;
93		Pos = MAP_APPFONT ( 90, 3 * UNRELATED_CONTROLS + 4 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS - 1 ) ;
94		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
95		TabStop = TRUE ;
96	};
97	CheckBox CB_PASSWORD_REQUIRED
98	{
99		HelpID = "dbaccess:CheckBox:PAGE_CONNECTION:CB_PASSWORD_REQUIRED" ;
100		Pos = MAP_APPFONT ( 90, 4 * UNRELATED_CONTROLS + 5 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS ) ;
101		Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
102		Text [ en-US ] = "Password required" ;
103	};
104
105	FixedLine FL_SEPARATOR3
106	{
107		Pos = MAP_APPFONT ( 4, 5 * UNRELATED_CONTROLS + 5 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS + CHECKBOX_HEIGHT ) ;
108
109		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
110		Text [ en-US ] = "JDBC properties" ;
111	};
112
113	FixedText FT_JDBCDRIVERCLASS
114	{
115		Pos = MAP_APPFONT ( 6, 5 * UNRELATED_CONTROLS + 6 * FIXEDTEXT_HEIGHT + 3 * RELATED_CONTROLS + CHECKBOX_HEIGHT ) ;
116
117		Size = MAP_APPFONT ( 90 - 12, FIXEDTEXT_HEIGHT ) ;
118		Text [ en-US ] = "~JDBC driver class" ;
119	};
120	Edit ET_JDBCDRIVERCLASS
121	{
122		Border = TRUE ;
123		Pos = MAP_APPFONT ( 90, 5 * UNRELATED_CONTROLS + 6 * FIXEDTEXT_HEIGHT + 3 * RELATED_CONTROLS + CHECKBOX_HEIGHT - 1 ) ;
124		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
125		TabStop = TRUE ;
126		HelpId = HID_DSADMIN_DRIVERCLASS ;
127	};
128
129	PushButton PB_TESTDRIVERCLASS
130	{
131		HelpID = "dbaccess:PushButton:PAGE_CONNECTION:PB_TESTDRIVERCLASS" ;
132		TabStop = TRUE ;
133		Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, 5 * UNRELATED_CONTROLS + 6 * FIXEDTEXT_HEIGHT + 3 * RELATED_CONTROLS + CHECKBOX_HEIGHT - 2 ) ;
134		Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
135		Text [ en-US ] = "Test Class" ;
136	};
137
138	PushButton PB_TESTCONNECTION
139	{
140		HelpID = "dbaccess:PushButton:PAGE_CONNECTION:PB_TESTCONNECTION" ;
141		Pos = MAP_APPFONT ( PAGE_X - 75 - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ;
142		Size = MAP_APPFONT ( 75, BUTTON_HEIGHT ) ;
143		TabStop = TRUE ;
144		Text [ en-US ] = "Test Connection" ;
145	};
146
147};
148
149String STR_NO_ADABASE_DATASOURCES
150{
151	Text [ en-US ] = "No Adabas D data sources were found on your system." ;
152};
153
154String STR_CONNECTION_TEST
155{
156	Text [ en-US ] = "Connection Test" ;
157};
158
159String STR_CONNECTION_SUCCESS
160{
161	Text [ en-US ] = "The connection was established successfully." ;
162};
163
164String STR_CONNECTION_NO_SUCCESS
165{
166	Text [ en-US ] = "The connection could not be established." ;
167};
168
169String STR_JDBCDRIVER_SUCCESS
170{
171	Text [ en-US ] = "The JDBC driver was loaded successfully." ;
172};
173
174String STR_JDBCDRIVER_NO_SUCCESS
175{
176	Text [ en-US ] = "The JDBC driver could not be loaded." ;
177};
178
179String STR_MSACCESS_FILTERNAME
180{
181	Text [ en-US ] = "MS Access file" ;
182};
183
184String STR_MSACCESS_2007_FILTERNAME
185{
186	Text [ en-US ] = "MS Access 2007 file" ;
187};
188
189// ********************************************************************** EOF
190