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"
32 #include "dbu_dlg.hrc"
34 #ifndef DBAUI_CONNECTIONPAGE_HRC
35 #include "ConnectionPage.hrc"
37 #ifndef _DBAUI_AUTOCONTROLS_HRC_
38 #include "AutoControls.hrc"
42 //.........................................................................
43 TabPage PAGE_CONNECTION
45 HelpID = "dbaccess:TabPage:PAGE_CONNECTION";
47 Pos = MAP_APPFONT ( 0 , 0 ) ;
48 Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
51 FixedLine FL_SEPARATOR1
53 Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
54 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
55 Text[ en-US ] = "General";
58 AUTO_BROWSECONTROLGROUP( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X, HID_DSADMIN_URL_GENERAL, HID_DSADMIN_BROWSECONN)
60 FixedText FT_NO_ADDITIONAL_SETTINGS
64 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
65 Size = MAP_APPFONT ( PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
71 Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
72 Size = MAP_APPFONT ( PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
73 Text[ en-US ] = "~Host name";
76 FixedLine FL_SEPARATOR2
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";
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" ;
92 HelpID = "dbaccess:Edit:PAGE_CONNECTION:ET_USERNAME";
94 Pos = MAP_APPFONT ( 90 , 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
95 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
99 CheckBox CB_PASSWORD_REQUIRED
101 HelpID = "dbaccess:CheckBox:PAGE_CONNECTION:CB_PASSWORD_REQUIRED";
102 Pos = MAP_APPFONT ( 90 , 4*UNRELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS ) ;
103 Size = MAP_APPFONT ( 105 , CHECKBOX_HEIGHT ) ;
104 Text [ en-US ] = "Password required";
107 FixedLine FL_SEPARATOR3
109 Pos = MAP_APPFONT ( 4 , 5*UNRELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS + CHECKBOX_HEIGHT) ;
111 Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
112 Text[ en-US ] = "JDBC properties";
115 FixedText FT_JDBCDRIVERCLASS
117 Pos = MAP_APPFONT ( 6 , 5*UNRELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + CHECKBOX_HEIGHT) ;
119 Size = MAP_APPFONT ( 90 - 12 , FIXEDTEXT_HEIGHT ) ;
120 Text [ en-US ] = "~JDBC driver class" ;
123 Edit ET_JDBCDRIVERCLASS
126 Pos = MAP_APPFONT ( 90 , 5*UNRELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT + 3*RELATED_CONTROLS + CHECKBOX_HEIGHT -1) ;
127 Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
129 HelpId = HID_DSADMIN_DRIVERCLASS;
132 PushButton PB_TESTDRIVERCLASS
134 HelpID = "dbaccess:PushButton:PAGE_CONNECTION: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 HelpID = "dbaccess:PushButton:PAGE_CONNECTION:PB_TESTCONNECTION";
144 Pos = MAP_APPFONT ( PAGE_X - 75 - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
145 Size = MAP_APPFONT ( 75 , BUTTON_HEIGHT ) ;
147 Text [ en-US ] = "Test Connection";
152 String STR_CONNECTION_TEST
154 Text [ en-US ] = "Connection Test";
157 String STR_CONNECTION_SUCCESS
159 Text [ en-US ] = "The connection was established successfully.";
162 String STR_CONNECTION_NO_SUCCESS
164 Text [ en-US ] = "The connection could not be established.";
167 String STR_JDBCDRIVER_SUCCESS
169 Text [ en-US ] = "The JDBC driver was loaded successfully.";
172 String STR_JDBCDRIVER_NO_SUCCESS
174 Text [ en-US ] = "The JDBC driver could not be loaded.";
177 String STR_MSACCESS_FILTERNAME
179 Text [ en-US ] = "MS Access file";
182 String STR_MSACCESS_2007_FILTERNAME
184 Text [ en-US ] = "MS Access 2007 file";