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