1*09a1d057SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*09a1d057SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*09a1d057SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*09a1d057SAndrew Rist * distributed with this work for additional information 6*09a1d057SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*09a1d057SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*09a1d057SAndrew Rist * "License"); you may not use this file except in compliance 9*09a1d057SAndrew Rist * with the License. You may obtain a copy of the License at 10*09a1d057SAndrew Rist * 11*09a1d057SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*09a1d057SAndrew Rist * 13*09a1d057SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*09a1d057SAndrew Rist * software distributed under the License is distributed on an 15*09a1d057SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*09a1d057SAndrew Rist * KIND, either express or implied. See the License for the 17*09a1d057SAndrew Rist * specific language governing permissions and limitations 18*09a1d057SAndrew Rist * under the License. 19*09a1d057SAndrew Rist * 20*09a1d057SAndrew Rist *************************************************************/ 21*09a1d057SAndrew Rist 22*09a1d057SAndrew Rist 23cdf0e10cSrcweir // include --------------------------------------------------------------- 24cdf0e10cSrcweir#include <sfx2/sfx.hrc> 25cdf0e10cSrcweir#include "helpid.hrc" 26cdf0e10cSrcweir#include <svx/dialogs.hrc> 27cdf0e10cSrcweir#include "optgrid.hrc" 28cdf0e10cSrcweir // pragma ---------------------------------------------------------------- 29cdf0e10cSrcweir 30cdf0e10cSrcweirTabPage RID_SVXPAGE_GRID 31cdf0e10cSrcweir{ 32cdf0e10cSrcweir HelpId = HID_OPTIONS_GRID ; 33cdf0e10cSrcweir SVLook = TRUE ; 34cdf0e10cSrcweir Hide = TRUE ; 35cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 36cdf0e10cSrcweir FixedLine GRP_DRAWGRID 37cdf0e10cSrcweir { 38cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 40cdf0e10cSrcweir Text [ en-US ] = "Grid" ; 41cdf0e10cSrcweir }; 42cdf0e10cSrcweir CheckBox CBX_USE_GRIDSNAP 43cdf0e10cSrcweir { 44cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_USE_GRIDSNAP"; 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 204 , 10 ) ; 47cdf0e10cSrcweir TabStop = TRUE ; 48cdf0e10cSrcweir Text [ en-US ] = "Sn~ap to grid" ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir CheckBox CBX_GRID_VISIBLE 51cdf0e10cSrcweir { 52cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_GRID_VISIBLE"; 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 27 ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( 204 , 10 ) ; 55cdf0e10cSrcweir TabStop = TRUE ; 56cdf0e10cSrcweir Text [ en-US ] = "V~isible grid" ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir FixedLine FL_RESOLUTION 59cdf0e10cSrcweir { 60cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 45 ) ; 61cdf0e10cSrcweir Size = MAP_APPFONT ( 120 , 8 ) ; 62cdf0e10cSrcweir Text [ en-US ] = "Resolution" ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir FixedText FT_DRAW_X 65cdf0e10cSrcweir { 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 56 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 68cdf0e10cSrcweir Text [ en-US ] = "H~orizontal"; 69cdf0e10cSrcweir }; 70cdf0e10cSrcweir FixedText FT_DRAW_Y 71cdf0e10cSrcweir { 72cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 71 ) ; 73cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 74cdf0e10cSrcweir Text [ en-US ] = "~Vertical"; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir MetricField MTR_FLD_DRAW_X 77cdf0e10cSrcweir { 78cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_X"; 79cdf0e10cSrcweir Border = TRUE ; 80cdf0e10cSrcweir Pos = MAP_APPFONT ( 75 , 54 ) ; 81cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 82cdf0e10cSrcweir TabStop = TRUE ; 83cdf0e10cSrcweir Repeat = TRUE ; 84cdf0e10cSrcweir Spin = TRUE ; 85cdf0e10cSrcweir Minimum = 10 ; 86cdf0e10cSrcweir First = 10 ; 87cdf0e10cSrcweir Maximum = 10000 ; 88cdf0e10cSrcweir Last = 10000 ; 89cdf0e10cSrcweir StrictFormat = TRUE ; 90cdf0e10cSrcweir DecimalDigits = 2 ; 91cdf0e10cSrcweir Unit = FUNIT_MM ; 92cdf0e10cSrcweir SpinSize = 50 ; 93cdf0e10cSrcweir }; 94cdf0e10cSrcweir MetricField MTR_FLD_DRAW_Y 95cdf0e10cSrcweir { 96cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_DRAW_Y"; 97cdf0e10cSrcweir Border = TRUE ; 98cdf0e10cSrcweir Pos = MAP_APPFONT ( 75 , 69 ) ; 99cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 100cdf0e10cSrcweir TabStop = TRUE ; 101cdf0e10cSrcweir Repeat = TRUE ; 102cdf0e10cSrcweir Spin = TRUE ; 103cdf0e10cSrcweir Minimum = 10 ; 104cdf0e10cSrcweir First = 10 ; 105cdf0e10cSrcweir Maximum = 10000 ; 106cdf0e10cSrcweir Last = 10000 ; 107cdf0e10cSrcweir StrictFormat = TRUE ; 108cdf0e10cSrcweir DecimalDigits = 2 ; 109cdf0e10cSrcweir Unit = FUNIT_MM ; 110cdf0e10cSrcweir SpinSize = 50 ; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir FixedLine FL_DIVISION 113cdf0e10cSrcweir { 114cdf0e10cSrcweir Pos = MAP_APPFONT ( 130 , 45 ) ; 115cdf0e10cSrcweir Size = MAP_APPFONT ( 124 , 8 ) ; 116cdf0e10cSrcweir Text [ en-US ] = "Subdivision" ; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir FixedText FT_DIVISION_X 119cdf0e10cSrcweir { 120cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 56 ) ; 121cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 122cdf0e10cSrcweir Text [ en-US ] = "Horizont~al"; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir FixedText FT_DIVISION_Y 125cdf0e10cSrcweir { 126cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 71 ) ; 127cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 128cdf0e10cSrcweir Text [ en-US ] = "V~ertical"; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir NumericField NUM_FLD_DIVISION_X 131cdf0e10cSrcweir { 132cdf0e10cSrcweir HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_X"; 133cdf0e10cSrcweir Border = TRUE ; 134cdf0e10cSrcweir Pos = MAP_APPFONT ( 195 , 54 ) ; 135cdf0e10cSrcweir Size = MAP_APPFONT ( 25 , 12 ) ; 136cdf0e10cSrcweir TabStop = TRUE ; 137cdf0e10cSrcweir Repeat = TRUE ; 138cdf0e10cSrcweir Spin = TRUE ; 139cdf0e10cSrcweir Minimum = 1 ; 140cdf0e10cSrcweir Maximum = 99 ; 141cdf0e10cSrcweir Last = 99 ; 142cdf0e10cSrcweir StrictFormat = TRUE ; 143cdf0e10cSrcweir SpinSize = 1 ; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir FixedText FT_HORZ_POINTS 146cdf0e10cSrcweir { 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 223 , 56 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( 29 , 8 ) ; 149cdf0e10cSrcweir Text [ en-US ] = "space(s)" ; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir NumericField NUM_FLD_DIVISION_Y 152cdf0e10cSrcweir { 153cdf0e10cSrcweir HelpID = "svx:NumericField:RID_SVXPAGE_GRID:NUM_FLD_DIVISION_Y"; 154cdf0e10cSrcweir Border = TRUE ; 155cdf0e10cSrcweir Pos = MAP_APPFONT ( 195 , 69 ) ; 156cdf0e10cSrcweir Size = MAP_APPFONT ( 25 , 12 ) ; 157cdf0e10cSrcweir TabStop = TRUE ; 158cdf0e10cSrcweir Repeat = TRUE ; 159cdf0e10cSrcweir Spin = TRUE ; 160cdf0e10cSrcweir Minimum = 1 ; 161cdf0e10cSrcweir Maximum = 99 ; 162cdf0e10cSrcweir Last = 99 ; 163cdf0e10cSrcweir StrictFormat = TRUE ; 164cdf0e10cSrcweir SpinSize = 1 ; 165cdf0e10cSrcweir }; 166cdf0e10cSrcweir FixedText FT_VERT_POINTS 167cdf0e10cSrcweir { 168cdf0e10cSrcweir Pos = MAP_APPFONT ( 223 , 71 ) ; 169cdf0e10cSrcweir Size = MAP_APPFONT ( 29 , 8 ) ; 170cdf0e10cSrcweir 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir CheckBox CBX_SYNCHRONIZE 173cdf0e10cSrcweir { 174cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SYNCHRONIZE"; 175cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 84 ) ; 176cdf0e10cSrcweir Size = MAP_APPFONT ( 127 , 10 ) ; 177cdf0e10cSrcweir TabStop = TRUE ; 178cdf0e10cSrcweir Text [ en-US ] = "Synchronize a~xes" ; 179cdf0e10cSrcweir }; 180cdf0e10cSrcweir FixedLine GRP_SNAP 181cdf0e10cSrcweir { 182cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 100 ) ; 183cdf0e10cSrcweir Size = MAP_APPFONT ( 120 , 8 ) ; 184cdf0e10cSrcweir Hide = TRUE; 185cdf0e10cSrcweir Text [ en-US ] = "Snap" ; 186cdf0e10cSrcweir }; 187cdf0e10cSrcweir 188cdf0e10cSrcweir CheckBox CBX_SNAP_HELPLINES 189cdf0e10cSrcweir { 190cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_HELPLINES"; 191cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 111 ) ; 192cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 10 ) ; 193cdf0e10cSrcweir Hide = TRUE; 194cdf0e10cSrcweir TabStop = TRUE ; 195cdf0e10cSrcweir Text [ en-US ] = "To snap lines" ; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir CheckBox CBX_SNAP_BORDER 198cdf0e10cSrcweir { 199cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_BORDER"; 200cdf0e10cSrcweir Hide = TRUE; 201cdf0e10cSrcweir TabStop = TRUE ; 202cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 125 ) ; 203cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 10 ) ; 204cdf0e10cSrcweir Text [ en-US ] = "To the ~page margins" ; 205cdf0e10cSrcweir }; 206cdf0e10cSrcweir CheckBox CBX_SNAP_FRAME 207cdf0e10cSrcweir { 208cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_FRAME"; 209cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 139 ) ; 210cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 10 ) ; 211cdf0e10cSrcweir Hide = TRUE; 212cdf0e10cSrcweir TabStop = TRUE ; 213cdf0e10cSrcweir Text [ en-US ] = "To object ~frame" ; 214cdf0e10cSrcweir }; 215cdf0e10cSrcweir CheckBox CBX_SNAP_POINTS 216cdf0e10cSrcweir { 217cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_SNAP_POINTS"; 218cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 153 ) ; 219cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 10 ) ; 220cdf0e10cSrcweir Hide = TRUE; 221cdf0e10cSrcweir TabStop = TRUE ; 222cdf0e10cSrcweir Text [ en-US ] = "To obje~ct points" ; 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir FixedText FT_SNAP_AREA 225cdf0e10cSrcweir { 226cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 169 ) ; 227cdf0e10cSrcweir Size = MAP_APPFONT ( 69 , 10 ) ; 228cdf0e10cSrcweir Hide = TRUE; 229cdf0e10cSrcweir Text [ en-US ] = "~Snap range" ; 230cdf0e10cSrcweir }; 231cdf0e10cSrcweir MetricField MTR_FLD_SNAP_AREA 232cdf0e10cSrcweir { 233cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_SNAP_AREA"; 234cdf0e10cSrcweir Border = TRUE ; 235cdf0e10cSrcweir Pos = MAP_APPFONT ( 83 , 167 ) ; 236cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 237cdf0e10cSrcweir Hide = TRUE; 238cdf0e10cSrcweir TabStop = TRUE ; 239cdf0e10cSrcweir Repeat = TRUE ; 240cdf0e10cSrcweir Spin = TRUE ; 241cdf0e10cSrcweir Minimum = 1 ; 242cdf0e10cSrcweir Maximum = 50 ; 243cdf0e10cSrcweir StrictFormat = TRUE ; 244cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 245cdf0e10cSrcweir First = 1 ; 246cdf0e10cSrcweir Last = 999 ; 247cdf0e10cSrcweir CustomUnitText [ en-US ] = " Pixels" ; 248cdf0e10cSrcweir }; 249cdf0e10cSrcweir FixedLine FL_SEPARATOR 250cdf0e10cSrcweir { 251cdf0e10cSrcweir Pos = MAP_APPFONT ( 127 , 111 ) ; 252cdf0e10cSrcweir Size = MAP_APPFONT ( 4 , 68 ) ; 253cdf0e10cSrcweir Hide = TRUE; 254cdf0e10cSrcweir Vert = TRUE; 255cdf0e10cSrcweir }; 256cdf0e10cSrcweir FixedLine GRP_ORTHO 257cdf0e10cSrcweir { 258cdf0e10cSrcweir Pos = MAP_APPFONT ( 130 , 100 ) ; 259cdf0e10cSrcweir Size = MAP_APPFONT ( 124 , 8 ) ; 260cdf0e10cSrcweir Hide = TRUE; 261cdf0e10cSrcweir Text [ en-US ] = "Snap position" ; 262cdf0e10cSrcweir }; 263cdf0e10cSrcweir CheckBox CBX_ORTHO 264cdf0e10cSrcweir { 265cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ORTHO"; 266cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 111 ) ; 267cdf0e10cSrcweir Size = MAP_APPFONT ( 112 , 10 ) ; 268cdf0e10cSrcweir Hide = TRUE; 269cdf0e10cSrcweir TabStop = TRUE ; 270cdf0e10cSrcweir Text [ en-US ] = "~When creating or moving objects" ; 271cdf0e10cSrcweir }; 272cdf0e10cSrcweir CheckBox CBX_BIGORTHO 273cdf0e10cSrcweir { 274cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_BIGORTHO"; 275cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 125 ) ; 276cdf0e10cSrcweir Size = MAP_APPFONT ( 112 , 10 ) ; 277cdf0e10cSrcweir Hide = TRUE; 278cdf0e10cSrcweir TabStop = TRUE ; 279cdf0e10cSrcweir Text [ en-US ] = "~Extend edges" ; 280cdf0e10cSrcweir }; 281cdf0e10cSrcweir CheckBox CBX_ROTATE 282cdf0e10cSrcweir { 283cdf0e10cSrcweir HelpID = "svx:CheckBox:RID_SVXPAGE_GRID:CBX_ROTATE"; 284cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 139 ) ; 285cdf0e10cSrcweir // 136, 111 286cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 10 ) ; 287cdf0e10cSrcweir Hide = TRUE; 288cdf0e10cSrcweir TabStop = TRUE ; 289cdf0e10cSrcweir Text [ en-US ] = "When ro~tating" ; 290cdf0e10cSrcweir }; 291cdf0e10cSrcweir MetricField MTR_FLD_ANGLE 292cdf0e10cSrcweir { 293cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_ANGLE"; 294cdf0e10cSrcweir Border = TRUE ; 295cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 137 ) ; 296cdf0e10cSrcweir // 190, 111 297cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 298cdf0e10cSrcweir Hide = TRUE; 299cdf0e10cSrcweir TabStop = TRUE ; 300cdf0e10cSrcweir Repeat = TRUE ; 301cdf0e10cSrcweir Spin = TRUE ; 302cdf0e10cSrcweir Maximum = 18000 ; 303cdf0e10cSrcweir Last = 18000 ; 304cdf0e10cSrcweir DecimalDigits = 2 ; 305cdf0e10cSrcweir StrictFormat = TRUE ; 306cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 307cdf0e10cSrcweir SpinSize = 500 ; 308cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 309cdf0e10cSrcweir }; 310cdf0e10cSrcweir FixedText FT_BEZ_ANGLE 311cdf0e10cSrcweir { 312cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 156 ) ; 313cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 10 ) ; 314cdf0e10cSrcweir Hide = TRUE; 315cdf0e10cSrcweir Text [ en-US ] = "Point reducti~on" ; 316cdf0e10cSrcweir }; 317cdf0e10cSrcweir MetricField MTR_FLD_BEZ_ANGLE 318cdf0e10cSrcweir { 319cdf0e10cSrcweir HelpID = "svx:MetricField:RID_SVXPAGE_GRID:MTR_FLD_BEZ_ANGLE"; 320cdf0e10cSrcweir Border = TRUE ; 321cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 154 ) ; 322cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 323cdf0e10cSrcweir Hide = TRUE; 324cdf0e10cSrcweir TabStop = TRUE ; 325cdf0e10cSrcweir Repeat = TRUE ; 326cdf0e10cSrcweir Spin = TRUE ; 327cdf0e10cSrcweir Maximum = 9000 ; 328cdf0e10cSrcweir Last = 9000 ; 329cdf0e10cSrcweir DecimalDigits = 2 ; 330cdf0e10cSrcweir StrictFormat = TRUE ; 331cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 332cdf0e10cSrcweir SpinSize = 500 ; 333cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 334cdf0e10cSrcweir }; 335cdf0e10cSrcweir}; 336cdf0e10cSrcweir 337cdf0e10cSrcweir 338cdf0e10cSrcweir 339cdf0e10cSrcweir 340cdf0e10cSrcweir 341cdf0e10cSrcweir 342cdf0e10cSrcweir 343cdf0e10cSrcweir 344cdf0e10cSrcweir 345cdf0e10cSrcweir 346cdf0e10cSrcweir 347cdf0e10cSrcweir 348cdf0e10cSrcweir 349cdf0e10cSrcweir 350cdf0e10cSrcweir 351cdf0e10cSrcweir 352cdf0e10cSrcweir 353cdf0e10cSrcweir 354cdf0e10cSrcweir 355cdf0e10cSrcweir 356cdf0e10cSrcweir 357cdf0e10cSrcweir 358cdf0e10cSrcweir 359cdf0e10cSrcweir 360cdf0e10cSrcweir 361cdf0e10cSrcweir 362cdf0e10cSrcweir 363cdf0e10cSrcweir 364cdf0e10cSrcweir 365cdf0e10cSrcweir 366cdf0e10cSrcweir 367cdf0e10cSrcweir 368cdf0e10cSrcweir 369