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