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