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