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