181d089aeSAndrew Rist/************************************************************** 2*a5de15faSmseidel * 381d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 481d089aeSAndrew Rist * or more contributor license agreements. See the NOTICE file 581d089aeSAndrew Rist * distributed with this work for additional information 681d089aeSAndrew Rist * regarding copyright ownership. The ASF licenses this file 781d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the 881d089aeSAndrew Rist * "License"); you may not use this file except in compliance 981d089aeSAndrew Rist * with the License. You may obtain a copy of the License at 10*a5de15faSmseidel * 1181d089aeSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*a5de15faSmseidel * 1381d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing, 1481d089aeSAndrew Rist * software distributed under the License is distributed on an 1581d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1681d089aeSAndrew Rist * KIND, either express or implied. See the License for the 1781d089aeSAndrew Rist * specific language governing permissions and limitations 1881d089aeSAndrew Rist * under the License. 19*a5de15faSmseidel * 2081d089aeSAndrew Rist *************************************************************/ 2181d089aeSAndrew Rist 2281d089aeSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef _DBA_DBACCESS_HELPID_HRC_ 25cdf0e10cSrcweir#include "dbaccess_helpid.hrc" 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 28cdf0e10cSrcweir#include "dbu_dlg.hrc" 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir#ifndef DBAUI_CONNECTIONPAGE_HRC 31cdf0e10cSrcweir#include "ConnectionPage.hrc" 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir#ifndef _DBAUI_AUTOCONTROLS_HRC_ 34cdf0e10cSrcweir#include "AutoControls.hrc" 35cdf0e10cSrcweir#endif 36cdf0e10cSrcweir 37cdf0e10cSrcweir 38cdf0e10cSrcweir//......................................................................... 39cdf0e10cSrcweirTabPage PAGE_CONNECTION 40cdf0e10cSrcweir{ 41*a5de15faSmseidel HelpID = "dbaccess:TabPage:PAGE_CONNECTION" ; 42cdf0e10cSrcweir SVLook = TRUE ; 43*a5de15faSmseidel Pos = MAP_APPFONT ( 0, 0 ) ; 44*a5de15faSmseidel Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ; 45*a5de15faSmseidel Hide = TRUE ; 46cdf0e10cSrcweir 47cdf0e10cSrcweir FixedLine FL_SEPARATOR1 48cdf0e10cSrcweir { 49*a5de15faSmseidel Pos = MAP_APPFONT ( 4, UNRELATED_CONTROLS ) ; 50*a5de15faSmseidel Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ; 51*a5de15faSmseidel Text [ en-US ] = "General" ; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir 54cdf0e10cSrcweir 55*a5de15faSmseidel AUTO_BROWSECONTROLGROUP ( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X, HID_DSADMIN_URL_GENERAL, HID_DSADMIN_BROWSECONN ) 56cdf0e10cSrcweir 57cdf0e10cSrcweir 58cdf0e10cSrcweir FixedText FT_NO_ADDITIONAL_SETTINGS 59cdf0e10cSrcweir { 60*a5de15faSmseidel Hide = TRUE ; 61*a5de15faSmseidel WordBreak = TRUE ; 62*a5de15faSmseidel Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ; 63*a5de15faSmseidel Size = MAP_APPFONT ( PAGE_X - 12, 3 * FIXEDTEXT_HEIGHT ) ; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir 66cdf0e10cSrcweir 67cdf0e10cSrcweir FixedText FT_HOSTNAME 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Hide = TRUE; 70*a5de15faSmseidel Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ; 71*a5de15faSmseidel Size = MAP_APPFONT ( PAGE_X - 12, FIXEDTEXT_HEIGHT ) ; 72*a5de15faSmseidel Text [ en-US ] = "~Host name" ; 73cdf0e10cSrcweir }; 74cdf0e10cSrcweir 75cdf0e10cSrcweir 76cdf0e10cSrcweir FixedLine FL_SEPARATOR2 77cdf0e10cSrcweir { 78*a5de15faSmseidel Pos = MAP_APPFONT ( 4, 3 * FIXEDTEXT_HEIGHT + 3 * UNRELATED_CONTROLS + RELATED_CONTROLS ) ; 79*a5de15faSmseidel Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ; 80*a5de15faSmseidel Text [ en-US ] = "User authentication" ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir 83cdf0e10cSrcweir FixedText FT_USERNAME 84cdf0e10cSrcweir { 85*a5de15faSmseidel Pos = MAP_APPFONT ( 6, 3 * UNRELATED_CONTROLS + 4 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS ) ; 86*a5de15faSmseidel Size = MAP_APPFONT ( 90 - 12, FIXEDTEXT_HEIGHT ) ; 87cdf0e10cSrcweir Text [ en-US ] = "~User name" ; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir Edit ET_USERNAME 90cdf0e10cSrcweir { 91*a5de15faSmseidel HelpID = "dbaccess:Edit:PAGE_CONNECTION:ET_USERNAME" ; 92cdf0e10cSrcweir Border = TRUE ; 93*a5de15faSmseidel Pos = MAP_APPFONT ( 90, 3 * UNRELATED_CONTROLS + 4 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS - 1 ) ; 94*a5de15faSmseidel Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ; 95cdf0e10cSrcweir TabStop = TRUE ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir CheckBox CB_PASSWORD_REQUIRED 98cdf0e10cSrcweir { 99*a5de15faSmseidel HelpID = "dbaccess:CheckBox:PAGE_CONNECTION:CB_PASSWORD_REQUIRED" ; 100*a5de15faSmseidel Pos = MAP_APPFONT ( 90, 4 * UNRELATED_CONTROLS + 5 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS ) ; 101*a5de15faSmseidel Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ; 102*a5de15faSmseidel Text [ en-US ] = "Password required" ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir 105cdf0e10cSrcweir FixedLine FL_SEPARATOR3 106cdf0e10cSrcweir { 107*a5de15faSmseidel Pos = MAP_APPFONT ( 4, 5 * UNRELATED_CONTROLS + 5 * FIXEDTEXT_HEIGHT + 2 * RELATED_CONTROLS + CHECKBOX_HEIGHT ) ; 108cdf0e10cSrcweir 109*a5de15faSmseidel Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ; 110*a5de15faSmseidel Text [ en-US ] = "JDBC properties" ; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir 113cdf0e10cSrcweir FixedText FT_JDBCDRIVERCLASS 114cdf0e10cSrcweir { 115*a5de15faSmseidel Pos = MAP_APPFONT ( 6, 5 * UNRELATED_CONTROLS + 6 * FIXEDTEXT_HEIGHT + 3 * RELATED_CONTROLS + CHECKBOX_HEIGHT ) ; 116cdf0e10cSrcweir 117*a5de15faSmseidel Size = MAP_APPFONT ( 90 - 12, FIXEDTEXT_HEIGHT ) ; 118cdf0e10cSrcweir Text [ en-US ] = "~JDBC driver class" ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir Edit ET_JDBCDRIVERCLASS 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Border = TRUE ; 123*a5de15faSmseidel Pos = MAP_APPFONT ( 90, 5 * UNRELATED_CONTROLS + 6 * FIXEDTEXT_HEIGHT + 3 * RELATED_CONTROLS + CHECKBOX_HEIGHT - 1 ) ; 124*a5de15faSmseidel Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ; 125cdf0e10cSrcweir TabStop = TRUE ; 126*a5de15faSmseidel HelpId = HID_DSADMIN_DRIVERCLASS ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir 129cdf0e10cSrcweir PushButton PB_TESTDRIVERCLASS 130cdf0e10cSrcweir { 131*a5de15faSmseidel HelpID = "dbaccess:PushButton:PAGE_CONNECTION:PB_TESTDRIVERCLASS" ; 132cdf0e10cSrcweir TabStop = TRUE ; 133*a5de15faSmseidel Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, 5 * UNRELATED_CONTROLS + 6 * FIXEDTEXT_HEIGHT + 3 * RELATED_CONTROLS + CHECKBOX_HEIGHT - 2 ) ; 134*a5de15faSmseidel Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ; 135cdf0e10cSrcweir Text [ en-US ] = "Test Class" ; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir 138cdf0e10cSrcweir PushButton PB_TESTCONNECTION 139cdf0e10cSrcweir { 140*a5de15faSmseidel HelpID = "dbaccess:PushButton:PAGE_CONNECTION:PB_TESTCONNECTION" ; 141*a5de15faSmseidel Pos = MAP_APPFONT ( PAGE_X - 75 - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ; 142*a5de15faSmseidel Size = MAP_APPFONT ( 75, BUTTON_HEIGHT ) ; 143cdf0e10cSrcweir TabStop = TRUE ; 144*a5de15faSmseidel Text [ en-US ] = "Test Connection" ; 145cdf0e10cSrcweir }; 146cdf0e10cSrcweir 147cdf0e10cSrcweir}; 148cdf0e10cSrcweir 149cdf0e10cSrcweirString STR_NO_ADABASE_DATASOURCES 150cdf0e10cSrcweir{ 151*a5de15faSmseidel Text [ en-US ] = "No Adabas D data sources were found on your system." ; 152cdf0e10cSrcweir}; 153cdf0e10cSrcweir 154cdf0e10cSrcweirString STR_CONNECTION_TEST 155cdf0e10cSrcweir{ 156*a5de15faSmseidel Text [ en-US ] = "Connection Test" ; 157cdf0e10cSrcweir}; 158cdf0e10cSrcweir 159cdf0e10cSrcweirString STR_CONNECTION_SUCCESS 160cdf0e10cSrcweir{ 161*a5de15faSmseidel Text [ en-US ] = "The connection was established successfully." ; 162cdf0e10cSrcweir}; 163cdf0e10cSrcweir 164cdf0e10cSrcweirString STR_CONNECTION_NO_SUCCESS 165cdf0e10cSrcweir{ 166*a5de15faSmseidel Text [ en-US ] = "The connection could not be established." ; 167cdf0e10cSrcweir}; 168cdf0e10cSrcweir 169cdf0e10cSrcweirString STR_JDBCDRIVER_SUCCESS 170cdf0e10cSrcweir{ 171*a5de15faSmseidel Text [ en-US ] = "The JDBC driver was loaded successfully." ; 172cdf0e10cSrcweir}; 173cdf0e10cSrcweir 174cdf0e10cSrcweirString STR_JDBCDRIVER_NO_SUCCESS 175cdf0e10cSrcweir{ 176*a5de15faSmseidel Text [ en-US ] = "The JDBC driver could not be loaded." ; 177cdf0e10cSrcweir}; 178cdf0e10cSrcweir 179cdf0e10cSrcweirString STR_MSACCESS_FILTERNAME 180cdf0e10cSrcweir{ 181*a5de15faSmseidel Text [ en-US ] = "MS Access file" ; 182cdf0e10cSrcweir}; 183cdf0e10cSrcweir 184cdf0e10cSrcweirString STR_MSACCESS_2007_FILTERNAME 185cdf0e10cSrcweir{ 186*a5de15faSmseidel Text [ en-US ] = "MS Access 2007 file" ; 187cdf0e10cSrcweir}; 188cdf0e10cSrcweir 189*a5de15faSmseidel// ********************************************************************** EOF 190