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 DBAUI_RELATIONDIALOG_HRC 29*cdf0e10cSrcweir#include "RelationDlg.hrc" 30*cdf0e10cSrcweir#endif 31*cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 32*cdf0e10cSrcweir#include "dbu_dlg.hrc" 33*cdf0e10cSrcweir#endif 34*cdf0e10cSrcweir#include "dbaccess_helpid.hrc" 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir 37*cdf0e10cSrcweirModalDialog DLG_REL_PROPERTIES 38*cdf0e10cSrcweir{ 39*cdf0e10cSrcweir HelpID = "dbaccess:ModalDialog:DLG_REL_PROPERTIES"; 40*cdf0e10cSrcweir OutputSize = TRUE ; 41*cdf0e10cSrcweir SVLook = TRUE ; 42*cdf0e10cSrcweir Size = MAP_APPFONT ( 186 , 205 ) ; 43*cdf0e10cSrcweir Text [ en-US ] = "Relations" ; 44*cdf0e10cSrcweir Moveable = TRUE ; 45*cdf0e10cSrcweir Closeable = TRUE ; 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir Window WND_CONTROL 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir Pos = MAP_APPFONT( 0, 0 ); 51*cdf0e10cSrcweir Size = MAP_APPFONT( 186, 113 ); 52*cdf0e10cSrcweir DialogControl = TRUE; 53*cdf0e10cSrcweir HelpId = HID_DLG_QRY_WINDOW_CONTROL ; 54*cdf0e10cSrcweir 55*cdf0e10cSrcweir FixedLine FL_INVOLVED_TABLES 56*cdf0e10cSrcweir { 57*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 58*cdf0e10cSrcweir Size = MAP_APPFONT ( 174 , 8 ) ; 59*cdf0e10cSrcweir Text [ en-US ] = "Tables involved"; 60*cdf0e10cSrcweir }; 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir ListBox LB_LEFT_TABLE 63*cdf0e10cSrcweir { 64*cdf0e10cSrcweir Border = TRUE; 65*cdf0e10cSrcweir Pos = MAP_APPFONT( 12, 14 ); 66*cdf0e10cSrcweir Size = MAP_APPFONT( 78, 60 ); 67*cdf0e10cSrcweir HelpId = HID_DLG_QRY_LEFT_TABLE ; 68*cdf0e10cSrcweir DropDown = TRUE; 69*cdf0e10cSrcweir TabStop = TRUE; 70*cdf0e10cSrcweir }; 71*cdf0e10cSrcweir 72*cdf0e10cSrcweir ListBox LB_RIGHT_TABLE 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir Border = TRUE; 75*cdf0e10cSrcweir Pos = MAP_APPFONT( 96, 14 ); 76*cdf0e10cSrcweir Size = MAP_APPFONT( 78, 60 ); 77*cdf0e10cSrcweir HelpId = HID_DLG_QRY_RIGHT_TABLE ; 78*cdf0e10cSrcweir DropDown = TRUE; 79*cdf0e10cSrcweir TabStop = TRUE; 80*cdf0e10cSrcweir }; 81*cdf0e10cSrcweir 82*cdf0e10cSrcweir FixedLine FL_INVOLVED_FIELDS 83*cdf0e10cSrcweir { 84*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 29 ) ; 85*cdf0e10cSrcweir Size = MAP_APPFONT ( 174 , 8 ) ; 86*cdf0e10cSrcweir Text [ en-US ] = "Fields involved"; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir }; 89*cdf0e10cSrcweir 90*cdf0e10cSrcweir 91*cdf0e10cSrcweir 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir FixedLine FL_CASC_UPD 94*cdf0e10cSrcweir { 95*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 114 ) ; 96*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 97*cdf0e10cSrcweir Text [ en-US ] = "Update options" ; 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir RadioButton RB_NO_CASC_UPD 100*cdf0e10cSrcweir { 101*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 125 ) ; 102*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 103*cdf0e10cSrcweir TabStop = TRUE ; 104*cdf0e10cSrcweir HelpId = HID_DLG_REL_NO_CASC_UPD; 105*cdf0e10cSrcweir Text [ en-US ] = "~No action" ; 106*cdf0e10cSrcweir }; 107*cdf0e10cSrcweir RadioButton RB_CASC_UPD 108*cdf0e10cSrcweir { 109*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 139 ) ; 110*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 111*cdf0e10cSrcweir HelpId = HID_DLG_REL_CASC_UPD ; 112*cdf0e10cSrcweir Text [ en-US ] = "~Update cascade" ; 113*cdf0e10cSrcweir }; 114*cdf0e10cSrcweir RadioButton RB_CASC_UPD_NULL 115*cdf0e10cSrcweir { 116*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 153 ) ; 117*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 118*cdf0e10cSrcweir HelpId = HID_DLG_REL_CASC_UPD_NULL ; 119*cdf0e10cSrcweir Text [ en-US ] = "~Set null" ; 120*cdf0e10cSrcweir }; 121*cdf0e10cSrcweir RadioButton RB_CASC_UPD_DEFAULT 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 167 ) ; 124*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 125*cdf0e10cSrcweir HelpId = HID_DLG_REL_CASC_UPD_DEFAULT ; 126*cdf0e10cSrcweir Text [ en-US ] = "Set ~default" ; 127*cdf0e10cSrcweir }; 128*cdf0e10cSrcweir// zweite FixedLine 129*cdf0e10cSrcweir FixedLine FL_CASC_DEL 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir Pos = MAP_APPFONT ( 96 , 114 ) ; 132*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 133*cdf0e10cSrcweir Text [ en-US ] = "Delete options" ; 134*cdf0e10cSrcweir }; 135*cdf0e10cSrcweir RadioButton RB_NO_CASC_DEL 136*cdf0e10cSrcweir { 137*cdf0e10cSrcweir Pos = MAP_APPFONT ( 102 , 125 ) ; 138*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 139*cdf0e10cSrcweir TabStop = TRUE ; 140*cdf0e10cSrcweir HelpId = HID_DLG_REL_NO_CASC_DEL ; 141*cdf0e10cSrcweir Text [ en-US ] = "~No action" ; 142*cdf0e10cSrcweir }; 143*cdf0e10cSrcweir RadioButton RB_CASC_DEL 144*cdf0e10cSrcweir { 145*cdf0e10cSrcweir Pos = MAP_APPFONT ( 102 , 139 ) ; 146*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 147*cdf0e10cSrcweir HelpId = HID_DLG_REL_CASC_DEL ; 148*cdf0e10cSrcweir Text [ en-US ] = "Delete ~cascade" ; 149*cdf0e10cSrcweir }; 150*cdf0e10cSrcweir RadioButton RB_CASC_DEL_NULL 151*cdf0e10cSrcweir { 152*cdf0e10cSrcweir Pos = MAP_APPFONT ( 102 , 153 ) ; 153*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 154*cdf0e10cSrcweir HelpId = HID_DLG_REL_CASC_DEL_NULL ; 155*cdf0e10cSrcweir Text [ en-US ] = "~Set null" ; 156*cdf0e10cSrcweir }; 157*cdf0e10cSrcweir RadioButton RB_CASC_DEL_DEFAULT 158*cdf0e10cSrcweir { 159*cdf0e10cSrcweir Pos = MAP_APPFONT ( 102 , 167 ) ; 160*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 161*cdf0e10cSrcweir HelpId = HID_DLG_REL_CASC_DEL_DEFAULT ; 162*cdf0e10cSrcweir Text [ en-US ] = "Set ~default" ; 163*cdf0e10cSrcweir }; 164*cdf0e10cSrcweir 165*cdf0e10cSrcweir OKButton PB_OK 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 184 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 169*cdf0e10cSrcweir TabStop = TRUE ; 170*cdf0e10cSrcweir DefButton = TRUE ; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir CancelButton PB_CANCEL 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( 59 , 184 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 176*cdf0e10cSrcweir TabStop = TRUE ; 177*cdf0e10cSrcweir }; 178*cdf0e10cSrcweir HelpButton PB_HELP 179*cdf0e10cSrcweir { 180*cdf0e10cSrcweir Pos = MAP_APPFONT ( 115 , 184 ) ; 181*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 182*cdf0e10cSrcweir TabStop = TRUE ; 183*cdf0e10cSrcweir }; 184*cdf0e10cSrcweir 185*cdf0e10cSrcweir}; 186*cdf0e10cSrcweir 187