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_DLGSIZE_HRC 29*cdf0e10cSrcweir#include "dlgsize.hrc" 30*cdf0e10cSrcweir#endif 31*cdf0e10cSrcweir#ifndef _DBA_DBACCESS_HELPID_HRC_ 32*cdf0e10cSrcweir#include "dbaccess_helpid.hrc" 33*cdf0e10cSrcweir#endif 34*cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 35*cdf0e10cSrcweir#include "dbu_dlg.hrc" 36*cdf0e10cSrcweir#endif 37*cdf0e10cSrcweir 38*cdf0e10cSrcweirModalDialog DLG_ROWHEIGHT 39*cdf0e10cSrcweir{ 40*cdf0e10cSrcweir OutputSize = TRUE ; 41*cdf0e10cSrcweir SVLook = TRUE ; 42*cdf0e10cSrcweir HelpId = HID_DLG_ROWHEIGHT ; 43*cdf0e10cSrcweir Size = MAP_APPFONT ( 159 , 59 ) ; 44*cdf0e10cSrcweir Moveable = TRUE ; 45*cdf0e10cSrcweir Closeable = TRUE ; 46*cdf0e10cSrcweir FixedText FT_VALUE 47*cdf0e10cSrcweir { 48*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 49*cdf0e10cSrcweir Size = MAP_APPFONT ( 23 , 10 ) ; 50*cdf0e10cSrcweir Text [ en-US ] = "~Height" ; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir MetricField MF_VALUE 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir HelpID = "dbaccess:MetricField:DLG_ROWHEIGHT:MF_VALUE"; 55*cdf0e10cSrcweir Border = TRUE ; 56*cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 6 ) ; 57*cdf0e10cSrcweir Size = MAP_APPFONT ( 63 , 12 ) ; 58*cdf0e10cSrcweir TabStop = TRUE ; 59*cdf0e10cSrcweir Spin = TRUE ; 60*cdf0e10cSrcweir Minimum = 10 ; 61*cdf0e10cSrcweir Maximum = 1600 ; 62*cdf0e10cSrcweir DecimalDigits = 2 ; 63*cdf0e10cSrcweir Unit = FUNIT_CM ; 64*cdf0e10cSrcweir Repeat = TRUE ; 65*cdf0e10cSrcweir }; 66*cdf0e10cSrcweir CheckBox CB_STANDARD 67*cdf0e10cSrcweir { 68*cdf0e10cSrcweir HelpID = "dbaccess:CheckBox:DLG_ROWHEIGHT:CB_STANDARD"; 69*cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 25 ) ; 70*cdf0e10cSrcweir Size = MAP_APPFONT ( 62 , 12 ) ; 71*cdf0e10cSrcweir TabStop = TRUE ; 72*cdf0e10cSrcweir Text [ en-US ] = "~Automatic"; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir OKButton PB_OK 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 6 ) ; 77*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 78*cdf0e10cSrcweir TabStop = TRUE ; 79*cdf0e10cSrcweir DefButton = TRUE ; 80*cdf0e10cSrcweir }; 81*cdf0e10cSrcweir CancelButton PB_CANCEL 82*cdf0e10cSrcweir { 83*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 23 ) ; 84*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 85*cdf0e10cSrcweir TabStop = TRUE ; 86*cdf0e10cSrcweir }; 87*cdf0e10cSrcweir HelpButton PB_HELP 88*cdf0e10cSrcweir { 89*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 42 ) ; 90*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 91*cdf0e10cSrcweir TabStop = TRUE ; 92*cdf0e10cSrcweir }; 93*cdf0e10cSrcweir Text [ en-US ] = "Row Height" ; 94*cdf0e10cSrcweir}; 95*cdf0e10cSrcweirModalDialog DLG_COLWIDTH 96*cdf0e10cSrcweir{ 97*cdf0e10cSrcweir OutputSize = TRUE ; 98*cdf0e10cSrcweir SVLook = TRUE ; 99*cdf0e10cSrcweir HelpId = HID_DLG_COLWIDTH ; 100*cdf0e10cSrcweir Size = MAP_APPFONT ( 159 , 59 ) ; 101*cdf0e10cSrcweir Moveable = TRUE ; 102*cdf0e10cSrcweir Closeable = TRUE ; 103*cdf0e10cSrcweir FixedText FT_VALUE 104*cdf0e10cSrcweir { 105*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 106*cdf0e10cSrcweir Size = MAP_APPFONT ( 23 , 10 ) ; 107*cdf0e10cSrcweir Text [ en-US ] = "~Width" ; 108*cdf0e10cSrcweir }; 109*cdf0e10cSrcweir MetricField MF_VALUE 110*cdf0e10cSrcweir { 111*cdf0e10cSrcweir HelpID = "dbaccess:MetricField:DLG_COLWIDTH:MF_VALUE"; 112*cdf0e10cSrcweir Border = TRUE ; 113*cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 6 ) ; 114*cdf0e10cSrcweir Size = MAP_APPFONT ( 63 , 12 ) ; 115*cdf0e10cSrcweir TabStop = TRUE ; 116*cdf0e10cSrcweir Spin = TRUE ; 117*cdf0e10cSrcweir Minimum = 10 ; 118*cdf0e10cSrcweir Maximum = 20000 ; 119*cdf0e10cSrcweir DecimalDigits = 2 ; 120*cdf0e10cSrcweir Unit = FUNIT_CM ; 121*cdf0e10cSrcweir Repeat = TRUE ; 122*cdf0e10cSrcweir }; 123*cdf0e10cSrcweir CheckBox CB_STANDARD 124*cdf0e10cSrcweir { 125*cdf0e10cSrcweir HelpID = "dbaccess:CheckBox:DLG_COLWIDTH:CB_STANDARD"; 126*cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 25 ) ; 127*cdf0e10cSrcweir Size = MAP_APPFONT ( 62 , 12 ) ; 128*cdf0e10cSrcweir TabStop = TRUE ; 129*cdf0e10cSrcweir Text [ en-US ] = "~Automatic"; 130*cdf0e10cSrcweir }; 131*cdf0e10cSrcweir OKButton PB_OK 132*cdf0e10cSrcweir { 133*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 6 ) ; 134*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 135*cdf0e10cSrcweir TabStop = TRUE ; 136*cdf0e10cSrcweir DefButton = TRUE ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir CancelButton PB_CANCEL 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 23 ) ; 141*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 142*cdf0e10cSrcweir TabStop = TRUE ; 143*cdf0e10cSrcweir }; 144*cdf0e10cSrcweir HelpButton PB_HELP 145*cdf0e10cSrcweir { 146*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 42 ) ; 147*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 148*cdf0e10cSrcweir TabStop = TRUE ; 149*cdf0e10cSrcweir }; 150*cdf0e10cSrcweir Text [ en-US ] = "Column Width" ; 151*cdf0e10cSrcweir}; 152*cdf0e10cSrcweir 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir 158*cdf0e10cSrcweir 159*cdf0e10cSrcweir 160*cdf0e10cSrcweir 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir 171*cdf0e10cSrcweir 172*cdf0e10cSrcweir 173*cdf0e10cSrcweir 174*cdf0e10cSrcweir 175*cdf0e10cSrcweir 176*cdf0e10cSrcweir 177*cdf0e10cSrcweir 178*cdf0e10cSrcweir 179*cdf0e10cSrcweir 180*cdf0e10cSrcweir 181*cdf0e10cSrcweir 182*cdf0e10cSrcweir 183