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 23 // include --------------------------------------------------------------- 24#include <cuires.hrc> 25#include "measure.hrc" 26#include "helpid.hrc" 27#include <svx/dialogs.hrc> 28 29#define DELTA 20 30 // pragma ---------------------------------------------------------------- 31 32 // RID_SVXPAGE_MEASURE --------------------------------------------------- 33TabPage RID_SVXPAGE_MEASURE 34{ 35 HelpId = HID_PAGE_MEASURE ; 36 Hide = TRUE ; 37 Size = MAP_APPFONT ( 260 , 185 ) ; 38 Text [ en-US ] = "Dimensioning" ; 39 40 FixedLine FL_LINE 41 { 42 Pos = MAP_APPFONT ( 6 , 3 ) ; 43 Size = MAP_APPFONT ( 120 , 8 ) ; 44 Text [ en-US ] = "Line"; 45 }; 46 FixedText FT_LINE_DIST 47 { 48 Pos = MAP_APPFONT ( 12 , 16 ) ; 49 Size = MAP_APPFONT ( 65 , 8 ) ; 50 Text [ en-US ] = "Line ~distance" ; 51 }; 52 MetricField MTR_LINE_DIST 53 { 54 HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_LINE_DIST"; 55 Border = TRUE ; 56 Pos = MAP_APPFONT ( 78 , 14 ) ; 57 Size = MAP_APPFONT ( 42 , 12 ) ; 58 TabStop = TRUE ; 59 Repeat = TRUE ; 60 Spin = TRUE ; 61 Unit = FUNIT_MM ; 62 DecimalDigits = 2 ; 63 Minimum = -10000 ; 64 First = -10000 ; 65 Maximum = 10000 ; 66 Last = 10000 ; 67 SpinSize = 10 ; 68 }; 69 FixedText FT_HELPLINE_OVERHANG 70 { 71 Pos = MAP_APPFONT ( 12 , 32 ) ; 72 Size = MAP_APPFONT ( 65 , 8 ) ; 73 Text [ en-US ] = "Guide ~overhang" ; 74 }; 75 MetricField MTR_FLD_HELPLINE_OVERHANG 76 { 77 HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_OVERHANG"; 78 Border = TRUE ; 79 Pos = MAP_APPFONT ( 78 , 30 ) ; 80 Size = MAP_APPFONT ( 42 , 12 ) ; 81 TabStop = TRUE ; 82 Repeat = TRUE ; 83 Spin = TRUE ; 84 Unit = FUNIT_MM ; 85 DecimalDigits = 2 ; 86 Minimum = -10000 ; 87 First = -10000 ; 88 Maximum = 10000 ; 89 Last = 10000 ; 90 SpinSize = 10 ; 91 }; 92 FixedText FT_HELPLINE_DIST 93 { 94 Pos = MAP_APPFONT ( 12 , 48 ) ; 95 Size = MAP_APPFONT ( 65 , 8 ) ; 96 Text [ en-US ] = "~Guide distance" ; 97 }; 98 MetricField MTR_FLD_HELPLINE_DIST 99 { 100 HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE_DIST"; 101 Border = TRUE ; 102 Pos = MAP_APPFONT ( 78 , 46 ) ; 103 Size = MAP_APPFONT ( 42 , 12 ) ; 104 TabStop = TRUE ; 105 Repeat = TRUE ; 106 Spin = TRUE ; 107 Unit = FUNIT_MM ; 108 DecimalDigits = 2 ; 109 Minimum = -10000 ; 110 First = -10000 ; 111 Maximum = 10000 ; 112 Last = 10000 ; 113 SpinSize = 10 ; 114 }; 115 FixedText FT_HELPLINE1_LEN 116 { 117 Pos = MAP_APPFONT ( 12 , 64 ) ; 118 Size = MAP_APPFONT ( 65 , 8 ) ; 119 Text [ en-US ] = "~Left guide" ; 120 }; 121 MetricField MTR_FLD_HELPLINE1_LEN 122 { 123 HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE1_LEN"; 124 Border = TRUE ; 125 Pos = MAP_APPFONT ( 78 , 62 ) ; 126 Size = MAP_APPFONT ( 42 , 12 ) ; 127 TabStop = TRUE ; 128 Repeat = TRUE ; 129 Spin = TRUE ; 130 Unit = FUNIT_MM ; 131 DecimalDigits = 2 ; 132 Minimum = -10000 ; 133 First = -10000 ; 134 Maximum = 10000 ; 135 Last = 10000 ; 136 SpinSize = 10 ; 137 }; 138 FixedText FT_HELPLINE2_LEN 139 { 140 Pos = MAP_APPFONT ( 12 , 80 ) ; 141 Size = MAP_APPFONT ( 65 , 8 ) ; 142 Text [ en-US ] = "~Right guide" ; 143 }; 144 MetricField MTR_FLD_HELPLINE2_LEN 145 { 146 HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_HELPLINE2_LEN"; 147 Border = TRUE ; 148 Pos = MAP_APPFONT ( 78 , 78 ) ; 149 Size = MAP_APPFONT ( 42 , 12 ) ; 150 TabStop = TRUE ; 151 Repeat = TRUE ; 152 Spin = TRUE ; 153 Unit = FUNIT_MM ; 154 DecimalDigits = 2 ; 155 Minimum = -10000 ; 156 First = -10000 ; 157 Maximum = 10000 ; 158 Last = 10000 ; 159 SpinSize = 10 ; 160 }; 161 TriStateBox TSB_BELOW_REF_EDGE 162 { 163 HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_BELOW_REF_EDGE"; 164 Pos = MAP_APPFONT ( 12 , 96 ) ; 165 Size = MAP_APPFONT ( 108 , 10 ) ; 166 TabStop = TRUE ; 167 Text [ en-US ] = "Measure ~below object"; 168 }; 169 FixedText FT_DECIMALPLACES 170 { 171 Pos = MAP_APPFONT ( 12 , 112 ) ; 172 Size = MAP_APPFONT ( 65 , 8 ) ; 173 174 Text [ en-US ] = "Decimal places" ; 175 }; 176 MetricField MTR_FLD_DECIMALPLACES 177 { 178 HelpID = "cui:MetricField:RID_SVXPAGE_MEASURE:MTR_FLD_DECIMALPLACES"; 179 Border = TRUE ; 180 Pos = MAP_APPFONT ( 78 , 110 ) ; 181 Size = MAP_APPFONT ( 42 , 12 ) ; 182 TabStop = TRUE ; 183 Right = TRUE ; 184 Repeat = TRUE ; 185 Spin = TRUE ; 186 Maximum = 99 ; 187 StrictFormat = TRUE ; 188 Last = 99 ; 189 SpinSize = 1 ; 190 }; 191 FixedLine FL_VERT 192 { 193 Pos = MAP_APPFONT ( 127 , 14 ) ; 194 Size = MAP_APPFONT ( 4 , 108 ) ; 195 Vert = TRUE ; 196 }; 197 FixedLine FL_LABEL 198 { 199 Pos = MAP_APPFONT ( 132 , 3 ) ; 200 Size = MAP_APPFONT ( 122 , 8 ) ; 201 Text [ en-US ] = "Legend"; 202 }; 203 FixedText FT_POSITION 204 { 205 Pos = MAP_APPFONT ( 138 , 14 ) ; 206 Size = MAP_APPFONT ( 110 , 8 ) ; 207 Text [ en-US ] = "~Text position" ; 208 }; 209 Control CTL_POSITION 210 { 211 HelpId = HID_MEASURE_CTL_POSITION ; 212 Border = TRUE ; 213 Pos = MAP_APPFONT ( 154 , 25 ) ; 214 Size = MAP_APPFONT ( 60 , 24 ) ; 215 TabStop = TRUE ; 216 }; 217 TriStateBox TSB_AUTOPOSV 218 { 219 HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSV"; 220 Pos = MAP_APPFONT ( 154 , 54 ) ; 221 Size = MAP_APPFONT ( 101 , 10 ) ; 222 TabStop = TRUE ; 223 Text [ en-US ] = "~AutoVertical" ; 224 }; 225 TriStateBox TSB_AUTOPOSH 226 { 227 HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_AUTOPOSH"; 228 Pos = MAP_APPFONT ( 154 , 68 ) ; 229 Size = MAP_APPFONT ( 101 , 10 ) ; 230 TabStop = TRUE ; 231 Text [ en-US ] = "A~utoHorizontal" ; 232 }; 233 TriStateBox TSB_PARALLEL 234 { 235 HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_PARALLEL"; 236 Pos = MAP_APPFONT ( 138 , 82 ) ; 237 Size = MAP_APPFONT ( 110 , 10 ) ; 238 TabStop = TRUE ; 239 Text [ en-US ] = "~Parallel to line"; 240 }; 241 TriStateBox TSB_SHOW_UNIT 242 { 243 HelpID = "cui:TriStateBox:RID_SVXPAGE_MEASURE:TSB_SHOW_UNIT"; 244 Pos = MAP_APPFONT ( 138 , 96 ) ; 245 Size = MAP_APPFONT ( 64+40 , 10 ) ; 246 TabStop = TRUE ; 247 Text [ en-US ] = "Show ~meas. units" ; 248 }; 249 ListBox LB_UNIT 250 { 251 HelpID = "cui:ListBox:RID_SVXPAGE_MEASURE:LB_UNIT"; 252 Border = TRUE ; 253 Pos = MAP_APPFONT ( 154 , 110 ) ; 254 Size = MAP_APPFONT ( 60 , 80+35 ) ; 255 TabStop = TRUE ; 256 DropDown = TRUE ; 257 DDExtraWidth = TRUE ; 258 }; 259 Control CTL_PREVIEW 260 { 261 HelpId = HID_MEASURE_CTL_PREVIEW ; 262 Border = TRUE ; 263 Pos = MAP_APPFONT ( 6 , 132 ) ; 264 Size = MAP_APPFONT ( 248 , 47 ) ; 265 }; 266 String STR_MEASURE_AUTOMATIC 267 { 268 Text [ en-US ] = "Automatic" ; 269 }; 270}; 271 // ********************************************************************** EOF 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318