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: ConnectionPage.src,v $
10 * $Revision: 1.8.2.1 $
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"
35 #include "dbu_dlg.hrc"
37 #ifndef DBAUI_CONNECTIONPAGE_HRC
38 #include "ConnectionPage.hrc"
40 #ifndef _DBAUI_AUTOCONTROLS_HRC_
41 #include "AutoControls.hrc"
45 //.........................................................................
46 TabPage PAGE_CONNECTION
49 Pos = MAP_APPFONT ( 0 , 0 ) ;
50 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
53 FixedLine FL_SEPARATOR1
55 Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
56 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
57 Text[ en-US ] = "General";
61 AUTO_BROWSECONTROLGROUP( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X, HID_DSADMIN_URL_GENERAL)
64 FixedText FT_NO_ADDITIONAL_SETTINGS
68 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
69 Size = MAP_APPFONT ( PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
76 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
77 Size = MAP_APPFONT ( PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
78 Text[ en-US ] = "~Host name";
82 FixedLine FL_SEPARATOR2
84 Pos = MAP_APPFONT ( 4 , 3*FIXEDTEXT_HEIGHT + 3*UNRELATED_CONTROLS + RELATED_CONTROLS ) ;
85 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
86 Text[ en-US ] = "User authentication";
91 Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS ) ;
92 Size = MAP_APPFONT ( 90 - 12 , FIXEDTEXT_HEIGHT ) ;
93 Text [ en-US ] = "~User name" ;
98 Pos = MAP_APPFONT ( 90 , 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
99 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
102 CheckBox CB_PASSWORD_REQUIRED
104 Pos = MAP_APPFONT ( 90 , 4*UNRELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS ) ;
105 Size = MAP_APPFONT ( 105 , CHECKBOX_HEIGHT ) ;
106 Text [ en-US ] = "Password required";
109 FixedLine FL_SEPARATOR3
111 Pos = MAP_APPFONT ( 4 , 5*UNRELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS + CHECKBOX_HEIGHT) ;
113 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
114 Text[ en-US ] = "JDBC properties";
117 FixedText FT_JDBCDRIVERCLASS
119 Pos = MAP_APPFONT ( 6 , 5*UNRELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + CHECKBOX_HEIGHT) ;
121 Size = MAP_APPFONT ( 90 - 12 , FIXEDTEXT_HEIGHT ) ;
122 Text [ en-US ] = "~JDBC driver class" ;
124 Edit ET_JDBCDRIVERCLASS
127 Pos = MAP_APPFONT ( 90 , 5*UNRELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + CHECKBOX_HEIGHT -1) ;
128 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
130 HelpId = HID_DSADMIN_DRIVERCLASS;
133 PushButton PB_TESTDRIVERCLASS
136 Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , 5*UNRELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + CHECKBOX_HEIGHT -2 ) ;
137 Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
138 Text [ en-US ] = "Test Class" ;
141 PushButton PB_TESTCONNECTION
143 Pos = MAP_APPFONT ( PAGE_X - 75 - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
144 Size = MAP_APPFONT ( 75 , BUTTON_HEIGHT ) ;
146 Text [ en-US ] = "Test Connection";
151 String STR_NO_ADABASE_DATASOURCES
153 Text [ en-US ] = "No Adabas D data sources were found on your system.";
156 String STR_CONNECTION_TEST
158 Text [ en-US ] = "Connection Test";
161 String STR_CONNECTION_SUCCESS
163 Text [ en-US ] = "The connection was established successfully.";
166 String STR_CONNECTION_NO_SUCCESS
168 Text [ en-US ] = "The connection could not be established.";
171 String STR_JDBCDRIVER_SUCCESS
173 Text [ en-US ] = "The JDBC driver was loaded successfully.";
176 String STR_JDBCDRIVER_NO_SUCCESS
178 Text [ en-US ] = "The JDBC driver could not be loaded.";
181 String STR_MSACCESS_FILTERNAME
183 Text [ en-US ] = "MS Access file";
186 String STR_MSACCESS_2007_FILTERNAME
188 Text [ en-US ] = "MS Access 2007 file";