1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#ifndef _DBA_DBACCESS_HELPID_HRC_ 29*cdf0e10cSrcweir#include "dbaccess_helpid.hrc" 30*cdf0e10cSrcweir#endif 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 33*cdf0e10cSrcweir#include "dbu_dlg.hrc" 34*cdf0e10cSrcweir#endif 35*cdf0e10cSrcweir#ifndef _DBAUI_DBADMIN_HRC_ 36*cdf0e10cSrcweir#include "dbadmin.hrc" 37*cdf0e10cSrcweir#endif 38*cdf0e10cSrcweir#ifndef DBACCESS_UI_BROWSER_ID_HXX 39*cdf0e10cSrcweir#include "browserids.hxx" 40*cdf0e10cSrcweir#endif 41*cdf0e10cSrcweir#ifndef DBAUI_TOOLBOX_HXX 42*cdf0e10cSrcweir#include "toolbox.hrc" 43*cdf0e10cSrcweir#endif 44*cdf0e10cSrcweir#ifndef _DBAUI_AUTOCONTROLS_HRC_ 45*cdf0e10cSrcweir#include "AutoControls.hrc" 46*cdf0e10cSrcweir#endif 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir//......................................................................... 49*cdf0e10cSrcweir 50*cdf0e10cSrcweirString STR_ENTER_CONNECTION_PASSWORD 51*cdf0e10cSrcweir{ 52*cdf0e10cSrcweir Text [ en-US ] = "A password is needed to connect to the data source \"$name$\"."; 53*cdf0e10cSrcweir}; 54*cdf0e10cSrcweir 55*cdf0e10cSrcweirString STR_ASK_FOR_DIRECTORY_CREATION 56*cdf0e10cSrcweir{ 57*cdf0e10cSrcweir Text [ en-US ] = "The directory\n\n$path$\n\ndoes not exist. Should it be created?"; 58*cdf0e10cSrcweir}; 59*cdf0e10cSrcweir 60*cdf0e10cSrcweirString STR_COULD_NOT_CREATE_DIRECTORY 61*cdf0e10cSrcweir{ 62*cdf0e10cSrcweir Text [ en-US ] = "The directory $name$ could not be created."; 63*cdf0e10cSrcweir}; 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir#define EDIT_SIZE_X 50 66*cdf0e10cSrcweir#define FT_SIZE_X 90 67*cdf0e10cSrcweir#define WIN_X 220 68*cdf0e10cSrcweir#define WIN_Y 72 69*cdf0e10cSrcweir 70*cdf0e10cSrcweirModalDialog DLG_DOMAINPASSWORD 71*cdf0e10cSrcweir{ 72*cdf0e10cSrcweir HelpID = "dbaccess:ModalDialog:DLG_DOMAINPASSWORD"; 73*cdf0e10cSrcweir Border = TRUE ; 74*cdf0e10cSrcweir Moveable = TRUE ; 75*cdf0e10cSrcweir OutputSize = TRUE ; 76*cdf0e10cSrcweir SVLook = TRUE ; 77*cdf0e10cSrcweir Size = MAP_APPFONT ( WIN_X , WIN_Y ) ; 78*cdf0e10cSrcweir Text[ en-US ] = "Convert Database"; 79*cdf0e10cSrcweir 80*cdf0e10cSrcweir FixedLine FT_PASSWORD 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 3 ) ; 83*cdf0e10cSrcweir Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50 , 8 ) ; 84*cdf0e10cSrcweir Text[ en-US ] = "Please enter the ~password for the user 'DOMAIN'."; 85*cdf0e10cSrcweir }; 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir Edit ET_PASSWORD 88*cdf0e10cSrcweir { 89*cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_DOMAINPASSWORD:ET_PASSWORD"; 90*cdf0e10cSrcweir Border = TRUE ; 91*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 16 ) ; 92*cdf0e10cSrcweir Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ; 93*cdf0e10cSrcweir PassWord = TRUE ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir OKButton BTN_PASSWORD_OK 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( WIN_X - 56 , 6 ) ; 98*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 99*cdf0e10cSrcweir DefButton = TRUE ; 100*cdf0e10cSrcweir }; 101*cdf0e10cSrcweir CancelButton BTN_PASSWORD_CANCEL 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir Pos = MAP_APPFONT ( WIN_X - 56 , 23 ) ; 104*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 105*cdf0e10cSrcweir }; 106*cdf0e10cSrcweir HelpButton BTN_PASSWORD_HELP 107*cdf0e10cSrcweir { 108*cdf0e10cSrcweir Pos = MAP_APPFONT ( WIN_X - 56 , 43 ) ; 109*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 110*cdf0e10cSrcweir }; 111*cdf0e10cSrcweir}; 112*cdf0e10cSrcweir 113*cdf0e10cSrcweir#define PAGE_X_T (PAGE_X -80) 114*cdf0e10cSrcweir#define PAGE_Y_T (PAGE_Y -50) 115*cdf0e10cSrcweir 116*cdf0e10cSrcweirTabPage PAGE_TABLESUBSCRIPTION 117*cdf0e10cSrcweir{ 118*cdf0e10cSrcweir SVLook = TRUE ; 119*cdf0e10cSrcweir Hide = TRUE; 120*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 121*cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T, PAGE_Y_T) ; 122*cdf0e10cSrcweir HelpId = HID_DSADMIN_TABLE_SUBSCRIPTION; 123*cdf0e10cSrcweir 124*cdf0e10cSrcweir Text [ en-US ] = "Tables Filter" ; 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir FixedLine FL_SEPARATOR1 127*cdf0e10cSrcweir { 128*cdf0e10cSrcweir Pos = MAP_APPFONT ( RELATED_CONTROLS , UNRELATED_CONTROLS ) ; 129*cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T - 2* RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ; 130*cdf0e10cSrcweir Text [ en-US ] = "Tables and table filter"; 131*cdf0e10cSrcweir }; 132*cdf0e10cSrcweir Control CTL_TABLESUBSCRIPTION 133*cdf0e10cSrcweir { 134*cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ; 135*cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 81 ) ; 136*cdf0e10cSrcweir Group = TRUE; 137*cdf0e10cSrcweir Border = TRUE ; 138*cdf0e10cSrcweir TabStop = TRUE ; 139*cdf0e10cSrcweir HelpId = HID_DSADMIN_TABLE_SELECTOR; 140*cdf0e10cSrcweir }; 141*cdf0e10cSrcweir FixedText FT_FILTER_EXPLANATION 142*cdf0e10cSrcweir { 143*cdf0e10cSrcweir Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS + 81 ) ; 144*cdf0e10cSrcweir Size = MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 16 ) ; 145*cdf0e10cSrcweir HelpId = HID_DSADMIN_FILTER_EXPLANATION; 146*cdf0e10cSrcweir WordBreak = TRUE; 147*cdf0e10cSrcweir Text [ en-US ] = "Mark the tables that should be visible for the applications."; 148*cdf0e10cSrcweir }; 149*cdf0e10cSrcweir}; 150*cdf0e10cSrcweir 151