1*81d089aeSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*81d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*81d089aeSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*81d089aeSAndrew Rist * distributed with this work for additional information 6*81d089aeSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*81d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*81d089aeSAndrew Rist * "License"); you may not use this file except in compliance 9*81d089aeSAndrew Rist * with the License. You may obtain a copy of the License at 10*81d089aeSAndrew Rist * 11*81d089aeSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*81d089aeSAndrew Rist * 13*81d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*81d089aeSAndrew Rist * software distributed under the License is distributed on an 15*81d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*81d089aeSAndrew Rist * KIND, either express or implied. See the License for the 17*81d089aeSAndrew Rist * specific language governing permissions and limitations 18*81d089aeSAndrew Rist * under the License. 19*81d089aeSAndrew Rist * 20*81d089aeSAndrew Rist *************************************************************/ 21*81d089aeSAndrew Rist 22*81d089aeSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef DBAUI_DLGSIZE_HRC 25cdf0e10cSrcweir#include "dlgsize.hrc" 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir#ifndef _DBA_DBACCESS_HELPID_HRC_ 28cdf0e10cSrcweir#include "dbaccess_helpid.hrc" 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 31cdf0e10cSrcweir#include "dbu_dlg.hrc" 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweirModalDialog DLG_ROWHEIGHT 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir OutputSize = TRUE ; 37cdf0e10cSrcweir SVLook = TRUE ; 38cdf0e10cSrcweir HelpId = HID_DLG_ROWHEIGHT ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 159 , 59 ) ; 40cdf0e10cSrcweir Moveable = TRUE ; 41cdf0e10cSrcweir Closeable = TRUE ; 42cdf0e10cSrcweir FixedText FT_VALUE 43cdf0e10cSrcweir { 44cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 45cdf0e10cSrcweir Size = MAP_APPFONT ( 23 , 10 ) ; 46cdf0e10cSrcweir Text [ en-US ] = "~Height" ; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir MetricField MF_VALUE 49cdf0e10cSrcweir { 50cdf0e10cSrcweir HelpID = "dbaccess:MetricField:DLG_ROWHEIGHT:MF_VALUE"; 51cdf0e10cSrcweir Border = TRUE ; 52cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 6 ) ; 53cdf0e10cSrcweir Size = MAP_APPFONT ( 63 , 12 ) ; 54cdf0e10cSrcweir TabStop = TRUE ; 55cdf0e10cSrcweir Spin = TRUE ; 56cdf0e10cSrcweir Minimum = 10 ; 57cdf0e10cSrcweir Maximum = 1600 ; 58cdf0e10cSrcweir DecimalDigits = 2 ; 59cdf0e10cSrcweir Unit = FUNIT_CM ; 60cdf0e10cSrcweir Repeat = TRUE ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir CheckBox CB_STANDARD 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "dbaccess:CheckBox:DLG_ROWHEIGHT:CB_STANDARD"; 65cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 25 ) ; 66cdf0e10cSrcweir Size = MAP_APPFONT ( 62 , 12 ) ; 67cdf0e10cSrcweir TabStop = TRUE ; 68cdf0e10cSrcweir Text [ en-US ] = "~Automatic"; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir OKButton PB_OK 71cdf0e10cSrcweir { 72cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 6 ) ; 73cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 74cdf0e10cSrcweir TabStop = TRUE ; 75cdf0e10cSrcweir DefButton = TRUE ; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir CancelButton PB_CANCEL 78cdf0e10cSrcweir { 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 23 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 81cdf0e10cSrcweir TabStop = TRUE ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir HelpButton PB_HELP 84cdf0e10cSrcweir { 85cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 42 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 87cdf0e10cSrcweir TabStop = TRUE ; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir Text [ en-US ] = "Row Height" ; 90cdf0e10cSrcweir}; 91cdf0e10cSrcweirModalDialog DLG_COLWIDTH 92cdf0e10cSrcweir{ 93cdf0e10cSrcweir OutputSize = TRUE ; 94cdf0e10cSrcweir SVLook = TRUE ; 95cdf0e10cSrcweir HelpId = HID_DLG_COLWIDTH ; 96cdf0e10cSrcweir Size = MAP_APPFONT ( 159 , 59 ) ; 97cdf0e10cSrcweir Moveable = TRUE ; 98cdf0e10cSrcweir Closeable = TRUE ; 99cdf0e10cSrcweir FixedText FT_VALUE 100cdf0e10cSrcweir { 101cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 102cdf0e10cSrcweir Size = MAP_APPFONT ( 23 , 10 ) ; 103cdf0e10cSrcweir Text [ en-US ] = "~Width" ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir MetricField MF_VALUE 106cdf0e10cSrcweir { 107cdf0e10cSrcweir HelpID = "dbaccess:MetricField:DLG_COLWIDTH:MF_VALUE"; 108cdf0e10cSrcweir Border = TRUE ; 109cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 6 ) ; 110cdf0e10cSrcweir Size = MAP_APPFONT ( 63 , 12 ) ; 111cdf0e10cSrcweir TabStop = TRUE ; 112cdf0e10cSrcweir Spin = TRUE ; 113cdf0e10cSrcweir Minimum = 10 ; 114cdf0e10cSrcweir Maximum = 20000 ; 115cdf0e10cSrcweir DecimalDigits = 2 ; 116cdf0e10cSrcweir Unit = FUNIT_CM ; 117cdf0e10cSrcweir Repeat = TRUE ; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir CheckBox CB_STANDARD 120cdf0e10cSrcweir { 121cdf0e10cSrcweir HelpID = "dbaccess:CheckBox:DLG_COLWIDTH:CB_STANDARD"; 122cdf0e10cSrcweir Pos = MAP_APPFONT ( 36 , 25 ) ; 123cdf0e10cSrcweir Size = MAP_APPFONT ( 62 , 12 ) ; 124cdf0e10cSrcweir TabStop = TRUE ; 125cdf0e10cSrcweir Text [ en-US ] = "~Automatic"; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir OKButton PB_OK 128cdf0e10cSrcweir { 129cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 6 ) ; 130cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 131cdf0e10cSrcweir TabStop = TRUE ; 132cdf0e10cSrcweir DefButton = TRUE ; 133cdf0e10cSrcweir }; 134cdf0e10cSrcweir CancelButton PB_CANCEL 135cdf0e10cSrcweir { 136cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 23 ) ; 137cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 138cdf0e10cSrcweir TabStop = TRUE ; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir HelpButton PB_HELP 141cdf0e10cSrcweir { 142cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 42 ) ; 143cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 144cdf0e10cSrcweir TabStop = TRUE ; 145cdf0e10cSrcweir }; 146cdf0e10cSrcweir Text [ en-US ] = "Column Width" ; 147cdf0e10cSrcweir}; 148cdf0e10cSrcweir 149cdf0e10cSrcweir 150cdf0e10cSrcweir 151cdf0e10cSrcweir 152cdf0e10cSrcweir 153cdf0e10cSrcweir 154cdf0e10cSrcweir 155cdf0e10cSrcweir 156cdf0e10cSrcweir 157cdf0e10cSrcweir 158cdf0e10cSrcweir 159cdf0e10cSrcweir 160cdf0e10cSrcweir 161cdf0e10cSrcweir 162cdf0e10cSrcweir 163cdf0e10cSrcweir 164cdf0e10cSrcweir 165cdf0e10cSrcweir 166cdf0e10cSrcweir 167cdf0e10cSrcweir 168cdf0e10cSrcweir 169cdf0e10cSrcweir 170cdf0e10cSrcweir 171cdf0e10cSrcweir 172cdf0e10cSrcweir 173cdf0e10cSrcweir 174cdf0e10cSrcweir 175cdf0e10cSrcweir 176cdf0e10cSrcweir 177cdf0e10cSrcweir 178cdf0e10cSrcweir 179