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 28cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 29cdf0e10cSrcweir#include "dbu_dlg.hrc" 30cdf0e10cSrcweir#endif 31cdf0e10cSrcweir#ifndef _DBAUI_DBADMIN_HRC_ 32cdf0e10cSrcweir#include "dbadmin.hrc" 33cdf0e10cSrcweir#endif 34cdf0e10cSrcweir#ifndef DBACCESS_UI_BROWSER_ID_HXX 35cdf0e10cSrcweir#include "browserids.hxx" 36cdf0e10cSrcweir#endif 37cdf0e10cSrcweir#ifndef DBAUI_TOOLBOX_HXX 38cdf0e10cSrcweir#include "toolbox.hrc" 39cdf0e10cSrcweir#endif 40cdf0e10cSrcweir#ifndef _DBAUI_AUTOCONTROLS_HRC_ 41cdf0e10cSrcweir#include "AutoControls.hrc" 42cdf0e10cSrcweir#endif 43cdf0e10cSrcweir 44cdf0e10cSrcweir//......................................................................... 45cdf0e10cSrcweir 46cdf0e10cSrcweirString STR_ENTER_CONNECTION_PASSWORD 47cdf0e10cSrcweir{ 48cdf0e10cSrcweir Text [ en-US ] = "A password is needed to connect to the data source \"$name$\"."; 49cdf0e10cSrcweir}; 50cdf0e10cSrcweir 51cdf0e10cSrcweirString STR_ASK_FOR_DIRECTORY_CREATION 52cdf0e10cSrcweir{ 53cdf0e10cSrcweir Text [ en-US ] = "The directory\n\n$path$\n\ndoes not exist. Should it be created?"; 54cdf0e10cSrcweir}; 55cdf0e10cSrcweir 56cdf0e10cSrcweirString STR_COULD_NOT_CREATE_DIRECTORY 57cdf0e10cSrcweir{ 58cdf0e10cSrcweir Text [ en-US ] = "The directory $name$ could not be created."; 59cdf0e10cSrcweir}; 60cdf0e10cSrcweir 61cdf0e10cSrcweir#define EDIT_SIZE_X 50 62cdf0e10cSrcweir#define FT_SIZE_X 90 63cdf0e10cSrcweir#define WIN_X 220 64cdf0e10cSrcweir#define WIN_Y 72 65cdf0e10cSrcweir 66cdf0e10cSrcweirModalDialog DLG_DOMAINPASSWORD 67cdf0e10cSrcweir{ 68cdf0e10cSrcweir HelpID = "dbaccess:ModalDialog:DLG_DOMAINPASSWORD"; 69cdf0e10cSrcweir Border = TRUE ; 70cdf0e10cSrcweir Moveable = TRUE ; 71cdf0e10cSrcweir OutputSize = TRUE ; 72cdf0e10cSrcweir SVLook = TRUE ; 73cdf0e10cSrcweir Size = MAP_APPFONT ( WIN_X , WIN_Y ) ; 74cdf0e10cSrcweir Text[ en-US ] = "Convert Database"; 75cdf0e10cSrcweir 76cdf0e10cSrcweir FixedLine FT_PASSWORD 77cdf0e10cSrcweir { 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 3 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50 , 8 ) ; 80cdf0e10cSrcweir Text[ en-US ] = "Please enter the ~password for the user 'DOMAIN'."; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir 83cdf0e10cSrcweir Edit ET_PASSWORD 84cdf0e10cSrcweir { 85cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_DOMAINPASSWORD:ET_PASSWORD"; 86cdf0e10cSrcweir Border = TRUE ; 87cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 16 ) ; 88cdf0e10cSrcweir Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ; 89cdf0e10cSrcweir PassWord = TRUE ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir OKButton BTN_PASSWORD_OK 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Pos = MAP_APPFONT ( WIN_X - 56 , 6 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 95cdf0e10cSrcweir DefButton = TRUE ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir CancelButton BTN_PASSWORD_CANCEL 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Pos = MAP_APPFONT ( WIN_X - 56 , 23 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 101cdf0e10cSrcweir }; 102cdf0e10cSrcweir HelpButton BTN_PASSWORD_HELP 103cdf0e10cSrcweir { 104cdf0e10cSrcweir Pos = MAP_APPFONT ( WIN_X - 56 , 43 ) ; 105cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir}; 108cdf0e10cSrcweir 109cdf0e10cSrcweir#define PAGE_X_T (PAGE_X -80) 110cdf0e10cSrcweir#define PAGE_Y_T (PAGE_Y -50) 111cdf0e10cSrcweir 112cdf0e10cSrcweirTabPage PAGE_TABLESUBSCRIPTION 113cdf0e10cSrcweir{ 114cdf0e10cSrcweir SVLook = TRUE ; 115cdf0e10cSrcweir Hide = TRUE; 116cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T, PAGE_Y_T) ; 118cdf0e10cSrcweir HelpId = HID_DSADMIN_TABLE_SUBSCRIPTION; 119cdf0e10cSrcweir 120cdf0e10cSrcweir Text [ en-US ] = "Tables Filter" ; 121cdf0e10cSrcweir 122cdf0e10cSrcweir FixedLine FL_SEPARATOR1 123cdf0e10cSrcweir { 124cdf0e10cSrcweir Pos = MAP_APPFONT ( RELATED_CONTROLS , UNRELATED_CONTROLS ) ; 125cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T - 2* RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ; 126cdf0e10cSrcweir Text [ en-US ] = "Tables and table filter"; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir Control CTL_TABLESUBSCRIPTION 129cdf0e10cSrcweir { 130cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ; 131cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 81 ) ; 132cdf0e10cSrcweir Group = TRUE; 133cdf0e10cSrcweir Border = TRUE ; 134cdf0e10cSrcweir TabStop = TRUE ; 135cdf0e10cSrcweir HelpId = HID_DSADMIN_TABLE_SELECTOR; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir FixedText FT_FILTER_EXPLANATION 138cdf0e10cSrcweir { 139cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS + 81 ) ; 140cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 16 ) ; 141cdf0e10cSrcweir HelpId = HID_DSADMIN_FILTER_EXPLANATION; 142cdf0e10cSrcweir WordBreak = TRUE; 143cdf0e10cSrcweir Text [ en-US ] = "Mark the tables that should be visible for the applications."; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir}; 146cdf0e10cSrcweir 147