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