1*b1cdbd2cSJim Jagielski/************************************************************** 2*b1cdbd2cSJim Jagielski * 3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski * distributed with this work for additional information 6*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski * 11*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski * 13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski * under the License. 19*b1cdbd2cSJim Jagielski * 20*b1cdbd2cSJim Jagielski *************************************************************/ 21*b1cdbd2cSJim Jagielski 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim Jagielski 24*b1cdbd2cSJim Jagielski#ifndef _DBA_DBACCESS_HELPID_HRC_ 25*b1cdbd2cSJim Jagielski#include "dbaccess_helpid.hrc" 26*b1cdbd2cSJim Jagielski#endif 27*b1cdbd2cSJim Jagielski 28*b1cdbd2cSJim Jagielski#ifndef _DBU_DLG_HRC_ 29*b1cdbd2cSJim Jagielski#include "dbu_dlg.hrc" 30*b1cdbd2cSJim Jagielski#endif 31*b1cdbd2cSJim Jagielski#ifndef _DBAUI_DBADMIN_HRC_ 32*b1cdbd2cSJim Jagielski#include "dbadmin.hrc" 33*b1cdbd2cSJim Jagielski#endif 34*b1cdbd2cSJim Jagielski#ifndef DBACCESS_UI_BROWSER_ID_HXX 35*b1cdbd2cSJim Jagielski#include "browserids.hxx" 36*b1cdbd2cSJim Jagielski#endif 37*b1cdbd2cSJim Jagielski#ifndef DBAUI_TOOLBOX_HXX 38*b1cdbd2cSJim Jagielski#include "toolbox.hrc" 39*b1cdbd2cSJim Jagielski#endif 40*b1cdbd2cSJim Jagielski#ifndef _DBAUI_AUTOCONTROLS_HRC_ 41*b1cdbd2cSJim Jagielski#include "AutoControls.hrc" 42*b1cdbd2cSJim Jagielski#endif 43*b1cdbd2cSJim Jagielski 44*b1cdbd2cSJim Jagielski//......................................................................... 45*b1cdbd2cSJim Jagielski 46*b1cdbd2cSJim JagielskiString STR_ENTER_CONNECTION_PASSWORD 47*b1cdbd2cSJim Jagielski{ 48*b1cdbd2cSJim Jagielski Text [ en-US ] = "A password is needed to connect to the data source \"$name$\"."; 49*b1cdbd2cSJim Jagielski}; 50*b1cdbd2cSJim Jagielski 51*b1cdbd2cSJim JagielskiString STR_ASK_FOR_DIRECTORY_CREATION 52*b1cdbd2cSJim Jagielski{ 53*b1cdbd2cSJim Jagielski Text [ en-US ] = "The directory\n\n$path$\n\ndoes not exist. Should it be created?"; 54*b1cdbd2cSJim Jagielski}; 55*b1cdbd2cSJim Jagielski 56*b1cdbd2cSJim JagielskiString STR_COULD_NOT_CREATE_DIRECTORY 57*b1cdbd2cSJim Jagielski{ 58*b1cdbd2cSJim Jagielski Text [ en-US ] = "The directory $name$ could not be created."; 59*b1cdbd2cSJim Jagielski}; 60*b1cdbd2cSJim Jagielski 61*b1cdbd2cSJim Jagielski#define EDIT_SIZE_X 50 62*b1cdbd2cSJim Jagielski#define FT_SIZE_X 90 63*b1cdbd2cSJim Jagielski#define WIN_X 220 64*b1cdbd2cSJim Jagielski#define WIN_Y 72 65*b1cdbd2cSJim Jagielski 66*b1cdbd2cSJim JagielskiModalDialog DLG_DOMAINPASSWORD 67*b1cdbd2cSJim Jagielski{ 68*b1cdbd2cSJim Jagielski HelpID = "dbaccess:ModalDialog:DLG_DOMAINPASSWORD"; 69*b1cdbd2cSJim Jagielski Border = TRUE ; 70*b1cdbd2cSJim Jagielski Moveable = TRUE ; 71*b1cdbd2cSJim Jagielski OutputSize = TRUE ; 72*b1cdbd2cSJim Jagielski SVLook = TRUE ; 73*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( WIN_X , WIN_Y ) ; 74*b1cdbd2cSJim Jagielski Text[ en-US ] = "Convert Database"; 75*b1cdbd2cSJim Jagielski 76*b1cdbd2cSJim Jagielski FixedLine FT_PASSWORD 77*b1cdbd2cSJim Jagielski { 78*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 3 , 3 ) ; 79*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50 , 8 ) ; 80*b1cdbd2cSJim Jagielski Text[ en-US ] = "Please enter the ~password for the user 'DOMAIN'."; 81*b1cdbd2cSJim Jagielski }; 82*b1cdbd2cSJim Jagielski 83*b1cdbd2cSJim Jagielski Edit ET_PASSWORD 84*b1cdbd2cSJim Jagielski { 85*b1cdbd2cSJim Jagielski HelpID = "dbaccess:Edit:DLG_DOMAINPASSWORD:ET_PASSWORD"; 86*b1cdbd2cSJim Jagielski Border = TRUE ; 87*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 16 ) ; 88*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ; 89*b1cdbd2cSJim Jagielski PassWord = TRUE ; 90*b1cdbd2cSJim Jagielski }; 91*b1cdbd2cSJim Jagielski OKButton BTN_PASSWORD_OK 92*b1cdbd2cSJim Jagielski { 93*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( WIN_X - 56 , 6 ) ; 94*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 50 , 14 ) ; 95*b1cdbd2cSJim Jagielski DefButton = TRUE ; 96*b1cdbd2cSJim Jagielski }; 97*b1cdbd2cSJim Jagielski CancelButton BTN_PASSWORD_CANCEL 98*b1cdbd2cSJim Jagielski { 99*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( WIN_X - 56 , 23 ) ; 100*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 50 , 14 ) ; 101*b1cdbd2cSJim Jagielski }; 102*b1cdbd2cSJim Jagielski HelpButton BTN_PASSWORD_HELP 103*b1cdbd2cSJim Jagielski { 104*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( WIN_X - 56 , 43 ) ; 105*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( 50 , 14 ) ; 106*b1cdbd2cSJim Jagielski }; 107*b1cdbd2cSJim Jagielski}; 108*b1cdbd2cSJim Jagielski 109*b1cdbd2cSJim Jagielski#define PAGE_X_T (PAGE_X -80) 110*b1cdbd2cSJim Jagielski#define PAGE_Y_T (PAGE_Y -50) 111*b1cdbd2cSJim Jagielski 112*b1cdbd2cSJim JagielskiTabPage PAGE_TABLESUBSCRIPTION 113*b1cdbd2cSJim Jagielski{ 114*b1cdbd2cSJim Jagielski SVLook = TRUE ; 115*b1cdbd2cSJim Jagielski Hide = TRUE; 116*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 0 , 0 ) ; 117*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( PAGE_X_T, PAGE_Y_T) ; 118*b1cdbd2cSJim Jagielski HelpId = HID_DSADMIN_TABLE_SUBSCRIPTION; 119*b1cdbd2cSJim Jagielski 120*b1cdbd2cSJim Jagielski Text [ en-US ] = "Tables Filter" ; 121*b1cdbd2cSJim Jagielski 122*b1cdbd2cSJim Jagielski FixedLine FL_SEPARATOR1 123*b1cdbd2cSJim Jagielski { 124*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( RELATED_CONTROLS , UNRELATED_CONTROLS ) ; 125*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( PAGE_X_T - 2* RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ; 126*b1cdbd2cSJim Jagielski Text [ en-US ] = "Tables and table filter"; 127*b1cdbd2cSJim Jagielski }; 128*b1cdbd2cSJim Jagielski Control CTL_TABLESUBSCRIPTION 129*b1cdbd2cSJim Jagielski { 130*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ; 131*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 81 ) ; 132*b1cdbd2cSJim Jagielski Group = TRUE; 133*b1cdbd2cSJim Jagielski Border = TRUE ; 134*b1cdbd2cSJim Jagielski TabStop = TRUE ; 135*b1cdbd2cSJim Jagielski HelpId = HID_DSADMIN_TABLE_SELECTOR; 136*b1cdbd2cSJim Jagielski }; 137*b1cdbd2cSJim Jagielski FixedText FT_FILTER_EXPLANATION 138*b1cdbd2cSJim Jagielski { 139*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS + 81 ) ; 140*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 16 ) ; 141*b1cdbd2cSJim Jagielski HelpId = HID_DSADMIN_FILTER_EXPLANATION; 142*b1cdbd2cSJim Jagielski WordBreak = TRUE; 143*b1cdbd2cSJim Jagielski Text [ en-US ] = "Mark the tables that should be visible for the applications."; 144*b1cdbd2cSJim Jagielski }; 145*b1cdbd2cSJim Jagielski}; 146*b1cdbd2cSJim Jagielski 147