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 <svtools/controldims.hrc> 25cdf0e10cSrcweir#include "helpid.hrc" 26cdf0e10cSrcweir#include <cuires.hrc> 27cdf0e10cSrcweir#include "transfrm.hrc" 28cdf0e10cSrcweir#include <svx/dialogs.hrc> 29cdf0e10cSrcweir 30cdf0e10cSrcweir#define MA_TABPAGE_HEIGHT 185 31cdf0e10cSrcweir 32cdf0e10cSrcweir // RID_SVXPAGE_POSITION_SIZE ------------------------------------------------ 33cdf0e10cSrcweirTabPage RID_SVXPAGE_POSITION_SIZE 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir HelpId = HID_TRANS_POSITION_SIZE ; 36cdf0e10cSrcweir Hide = TRUE ; 37cdf0e10cSrcweir Text [ en-US ] = "Position and Size" ; 38cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ; 39cdf0e10cSrcweir 40cdf0e10cSrcweir FixedLine FL_POSITION 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 43cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 44cdf0e10cSrcweir Text [ en-US ] = "Position" ; 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir FixedText FT_POS_X 47cdf0e10cSrcweir { 48cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 + 8 ) ; 49cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 50cdf0e10cSrcweir Text [ en-US ] = "Position ~X" ; 51cdf0e10cSrcweir }; 52cdf0e10cSrcweir FixedText FT_POS_Y 53cdf0e10cSrcweir { 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 32 + 8 ) ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 56cdf0e10cSrcweir Text [ en-US ] = "Position ~Y" ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir MetricField MTR_FLD_POS_X 59cdf0e10cSrcweir { 60cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_POS_X"; 61cdf0e10cSrcweir Border = TRUE ; 62cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 14 + 8 ) ; 63cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 64cdf0e10cSrcweir TabStop = TRUE ; 65cdf0e10cSrcweir Repeat = TRUE ; 66cdf0e10cSrcweir Spin = TRUE ; 67cdf0e10cSrcweir Minimum = -120000 ; 68cdf0e10cSrcweir Maximum = 240000 ; 69cdf0e10cSrcweir StrictFormat = TRUE ; 70cdf0e10cSrcweir DecimalDigits = 2 ; 71cdf0e10cSrcweir Unit = FUNIT_MM ; 72cdf0e10cSrcweir SpinSize = 10 ; 73cdf0e10cSrcweir }; 74cdf0e10cSrcweir MetricField MTR_FLD_POS_Y 75cdf0e10cSrcweir { 76cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_POS_Y"; 77cdf0e10cSrcweir Border = TRUE ; 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 30 + 8 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 80cdf0e10cSrcweir TabStop = TRUE ; 81cdf0e10cSrcweir Repeat = TRUE ; 82cdf0e10cSrcweir Spin = TRUE ; 83cdf0e10cSrcweir Minimum = -120000 ; 84cdf0e10cSrcweir Maximum = 240000 ; 85cdf0e10cSrcweir StrictFormat = TRUE ; 86cdf0e10cSrcweir DecimalDigits = 2 ; 87cdf0e10cSrcweir Unit = FUNIT_MM ; 88cdf0e10cSrcweir SpinSize = 10 ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir FixedText FT_POSREFERENCE 91cdf0e10cSrcweir { 92cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 2 + 8 ) ; 93cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 10 ) ; 94cdf0e10cSrcweir Text [ en-US ] = "Base point"; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir Control CTL_POSRECT 97cdf0e10cSrcweir { 98cdf0e10cSrcweir HelpId = HID_TPPOSITION_CTRL ; 99cdf0e10cSrcweir Border = TRUE ; 100cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 12 + 8 ) ; 101cdf0e10cSrcweir Size = MAP_APPFONT ( 48 , 34 ) ; 102cdf0e10cSrcweir TabStop = TRUE ; 103cdf0e10cSrcweir QuickHelpText [ en-US ] = "Base point" ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir 106cdf0e10cSrcweir // size 107cdf0e10cSrcweir 108cdf0e10cSrcweir FixedLine FL_SIZE 109cdf0e10cSrcweir { 110cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 56 ) ; 111cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 112cdf0e10cSrcweir Text [ en-US ] = "Size" ; 113cdf0e10cSrcweir }; 114cdf0e10cSrcweir FixedText FT_WIDTH 115cdf0e10cSrcweir { 116cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 + 61 ) ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 118cdf0e10cSrcweir Text [ en-US ] = "Wi~dth" ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir FixedText FT_HEIGHT 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 32 + 61 ) ; 123cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 124cdf0e10cSrcweir Text [ en-US ] = "H~eight" ; 125cdf0e10cSrcweir }; 126cdf0e10cSrcweir MetricField MTR_FLD_WIDTH 127cdf0e10cSrcweir { 128cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_WIDTH"; 129cdf0e10cSrcweir Border = TRUE ; 130cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 14 + 61 ) ; 131cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 132cdf0e10cSrcweir TabStop = TRUE ; 133cdf0e10cSrcweir Repeat = TRUE ; 134cdf0e10cSrcweir Spin = TRUE ; 135cdf0e10cSrcweir Minimum = 1 ; 136cdf0e10cSrcweir Maximum = 120000 ; 137cdf0e10cSrcweir StrictFormat = TRUE ; 138cdf0e10cSrcweir DecimalDigits = 2 ; 139cdf0e10cSrcweir Unit = FUNIT_MM ; 140cdf0e10cSrcweir SpinSize = 10 ; 141cdf0e10cSrcweir }; 142cdf0e10cSrcweir MetricField MTR_FLD_HEIGHT 143cdf0e10cSrcweir { 144cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_HEIGHT"; 145cdf0e10cSrcweir Border = TRUE ; 146cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 30 + 61 ) ; 147cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 148cdf0e10cSrcweir TabStop = TRUE ; 149cdf0e10cSrcweir Repeat = TRUE ; 150cdf0e10cSrcweir Spin = TRUE ; 151cdf0e10cSrcweir Minimum = 1 ; 152cdf0e10cSrcweir Maximum = 120000 ; 153cdf0e10cSrcweir StrictFormat = TRUE ; 154cdf0e10cSrcweir DecimalDigits = 2 ; 155cdf0e10cSrcweir Unit = FUNIT_MM ; 156cdf0e10cSrcweir SpinSize = 10 ; 157cdf0e10cSrcweir }; 158cdf0e10cSrcweir FixedText FT_SIZEREFERENCE 159cdf0e10cSrcweir { 160cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 2 + 61 ) ; 161cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 10 ) ; 162cdf0e10cSrcweir Text [ en-US ] = "Base point"; 163cdf0e10cSrcweir }; 164cdf0e10cSrcweir Control CTL_SIZERECT 165cdf0e10cSrcweir { 166cdf0e10cSrcweir HelpId = HID_TPSIZE_CTRL ; 167cdf0e10cSrcweir Border = TRUE ; 168cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 12 + 61 ) ; 169cdf0e10cSrcweir Size = MAP_APPFONT ( 48 , 34 ) ; 170cdf0e10cSrcweir TabStop = TRUE ; 171cdf0e10cSrcweir QuickHelpText [ en-US ] = "Base point" ; 172cdf0e10cSrcweir }; 173cdf0e10cSrcweir CheckBox CBX_SCALE 174cdf0e10cSrcweir { 175cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXPAGE_POSITION_SIZE:CBX_SCALE"; 176cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 47 + 61 ) ; 177cdf0e10cSrcweir Size = MAP_APPFONT ( 162 , 10 ) ; 178cdf0e10cSrcweir TabStop = TRUE ; 179cdf0e10cSrcweir Text [ en-US ] = "~Keep ratio" ; 180cdf0e10cSrcweir }; 181cdf0e10cSrcweir 182cdf0e10cSrcweir // Protect 183cdf0e10cSrcweir 184cdf0e10cSrcweir FixedLine FL_PROTECT 185cdf0e10cSrcweir { 186cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 120 ) ; 187cdf0e10cSrcweir Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ; 188cdf0e10cSrcweir Text [ en-US ] = "Protect" ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir 191cdf0e10cSrcweir TriStateBox TSB_POSPROTECT 192cdf0e10cSrcweir { 193cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_POSPROTECT"; 194cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 10 + 120 ) ; 195cdf0e10cSrcweir Size = MAP_APPFONT ( 113 , 10 ) ; 196cdf0e10cSrcweir Text [ en-US ] = "Position" ; 197cdf0e10cSrcweir TabStop = TRUE ; 198cdf0e10cSrcweir }; 199cdf0e10cSrcweir 200cdf0e10cSrcweir TriStateBox TSB_SIZEPROTECT 201cdf0e10cSrcweir { 202cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_SIZEPROTECT"; 203cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 24 + 120 ) ; 204cdf0e10cSrcweir Size = MAP_APPFONT ( 113 , 10 ) ; 205cdf0e10cSrcweir Text [ en-US ] = "~Size" ; 206cdf0e10cSrcweir TabStop = TRUE ; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir 209cdf0e10cSrcweir // Adjust 210cdf0e10cSrcweir 211cdf0e10cSrcweir FixedLine FL_ADJUST 212cdf0e10cSrcweir { 213cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ; 214cdf0e10cSrcweir Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ; 215cdf0e10cSrcweir Text [ en-US ] = "Adapt" ; 216cdf0e10cSrcweir }; 217cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_WIDTH 218cdf0e10cSrcweir { 219cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_AUTOGROW_WIDTH"; 220cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ; 221cdf0e10cSrcweir Size = MAP_APPFONT ( 113 , 10 ) ; 222cdf0e10cSrcweir Text [ en-US ] = "~Fit width to text" ; 223cdf0e10cSrcweir TabStop = TRUE ; 224cdf0e10cSrcweir }; 225cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_HEIGHT 226cdf0e10cSrcweir { 227cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_AUTOGROW_HEIGHT"; 228cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ; 229cdf0e10cSrcweir Size = MAP_APPFONT ( 113 , 10 ) ; 230cdf0e10cSrcweir Text [ en-US ] = "Fit ~height to text" ; 231cdf0e10cSrcweir TabStop = TRUE ; 232cdf0e10cSrcweir }; 233cdf0e10cSrcweir 234cdf0e10cSrcweir FixedLine FL_DIVIDER 235cdf0e10cSrcweir { 236cdf0e10cSrcweir Pos = MAP_APPFONT( 6 + 119 + 5, 128 ); 237cdf0e10cSrcweir Size = MAP_APPFONT( RSC_CD_FIXEDLINE_WIDTH, 26 ); 238cdf0e10cSrcweir Vert = True; 239cdf0e10cSrcweir }; 240cdf0e10cSrcweir 241cdf0e10cSrcweir // Anchor 242cdf0e10cSrcweir 243cdf0e10cSrcweir FixedLine FL_ANCHOR 244cdf0e10cSrcweir { 245cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 + 123 + 6 , 120 ) ; 246cdf0e10cSrcweir Size = MAP_APPFONT ( 119 , RSC_CD_FIXEDLINE_HEIGHT ) ; 247cdf0e10cSrcweir Hide = TRUE ; 248cdf0e10cSrcweir Text [ en-US ] = "Anchor" ; 249cdf0e10cSrcweir }; 250cdf0e10cSrcweir FixedText FT_ANCHOR 251cdf0e10cSrcweir { 252cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ; 253cdf0e10cSrcweir Size = MAP_APPFONT ( 37 , 10 ) ; 254cdf0e10cSrcweir Hide = TRUE ; 255cdf0e10cSrcweir Text [ en-US ] = "~Anchor" ; 256cdf0e10cSrcweir }; 257cdf0e10cSrcweir ListBox LB_ANCHOR 258cdf0e10cSrcweir { 259cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_POSITION_SIZE:LB_ANCHOR"; 260cdf0e10cSrcweir Pos = MAP_APPFONT ( 46 + 121 + 16 , 8 + 120 ) ; 261cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 60 ) ; 262cdf0e10cSrcweir Hide = TRUE ; 263cdf0e10cSrcweir DropDown = TRUE ; 264cdf0e10cSrcweir StringList [ en-US ] = 265cdf0e10cSrcweir { 266cdf0e10cSrcweir < "To paragraph" ; > ; 267cdf0e10cSrcweir < "As character" ; > ; 268cdf0e10cSrcweir < "To page" ; > ; 269cdf0e10cSrcweir < "To frame" ; > ; 270cdf0e10cSrcweir }; 271cdf0e10cSrcweir }; 272cdf0e10cSrcweir FixedText FT_ORIENT 273cdf0e10cSrcweir { 274cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ; 275cdf0e10cSrcweir Size = MAP_APPFONT ( 37 , 10 ) ; 276cdf0e10cSrcweir Hide = TRUE ; 277cdf0e10cSrcweir Text [ en-US ] = "P~osition"; 278cdf0e10cSrcweir }; 279cdf0e10cSrcweir ListBox LB_ORIENT 280cdf0e10cSrcweir { 281cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_POSITION_SIZE:LB_ORIENT"; 282cdf0e10cSrcweir Pos = MAP_APPFONT ( 46 + 121 + 16 , 22 + 120 ); 283cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 60 ) ; 284cdf0e10cSrcweir Hide = TRUE ; 285cdf0e10cSrcweir DropDown = TRUE ; 286cdf0e10cSrcweir StringList [ en-US ] = 287cdf0e10cSrcweir { 288cdf0e10cSrcweir < "From top" ; > ; 289cdf0e10cSrcweir < "Above" ; > ; 290cdf0e10cSrcweir < "Centered" ; > ; 291cdf0e10cSrcweir < "Below" ; > ; 292cdf0e10cSrcweir < "Top of character" ; > ; 293cdf0e10cSrcweir < "Center of character" ; > ; 294cdf0e10cSrcweir < "Bottom of character" ; > ; 295cdf0e10cSrcweir < "Top of line" ; > ; 296cdf0e10cSrcweir < "Center of line" ; > ; 297cdf0e10cSrcweir < "Bottom of line" ; > ; 298cdf0e10cSrcweir }; 299cdf0e10cSrcweir }; 300cdf0e10cSrcweir}; 301cdf0e10cSrcweir 302cdf0e10cSrcweir // RID_SVXPAGE_ANGLE -------------------------------------------------------- 303cdf0e10cSrcweirTabPage RID_SVXPAGE_ANGLE 304cdf0e10cSrcweir{ 305cdf0e10cSrcweir HelpId = HID_TRANS_ANGLE ; 306cdf0e10cSrcweir Hide = TRUE ; 307cdf0e10cSrcweir Text [ en-US ] = "Angle" ; 308cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ; 309cdf0e10cSrcweir FixedLine FL_POSITION 310cdf0e10cSrcweir { 311cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 312cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 313cdf0e10cSrcweir Text [ en-US ] = "Pivot point" ; 314cdf0e10cSrcweir }; 315cdf0e10cSrcweir FixedText FT_POS_X 316cdf0e10cSrcweir { 317cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 + 11 ) ; 318cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 319cdf0e10cSrcweir Text [ en-US ] = "Position ~X" ; 320cdf0e10cSrcweir }; 321cdf0e10cSrcweir FixedText FT_POS_Y 322cdf0e10cSrcweir { 323cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 32 + 11 ) ; 324cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 325cdf0e10cSrcweir Text [ en-US ] = "Position ~Y" ; 326cdf0e10cSrcweir }; 327cdf0e10cSrcweir MetricField MTR_FLD_POS_X 328cdf0e10cSrcweir { 329cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_POS_X"; 330cdf0e10cSrcweir Border = TRUE ; 331cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 14 + 11 ) ; 332cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 333cdf0e10cSrcweir TabStop = TRUE ; 334cdf0e10cSrcweir Repeat = TRUE ; 335cdf0e10cSrcweir Spin = TRUE ; 336cdf0e10cSrcweir Minimum = -500000 ; 337cdf0e10cSrcweir Maximum = 500000 ; 338cdf0e10cSrcweir StrictFormat = TRUE ; 339cdf0e10cSrcweir DecimalDigits = 2 ; 340cdf0e10cSrcweir Unit = FUNIT_MM ; 341cdf0e10cSrcweir SpinSize = 10 ; 342cdf0e10cSrcweir }; 343cdf0e10cSrcweir MetricField MTR_FLD_POS_Y 344cdf0e10cSrcweir { 345cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_POS_Y"; 346cdf0e10cSrcweir Border = TRUE ; 347cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 30 + 11 ) ; 348cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 349cdf0e10cSrcweir TabStop = TRUE ; 350cdf0e10cSrcweir Repeat = TRUE ; 351cdf0e10cSrcweir Spin = TRUE ; 352cdf0e10cSrcweir Minimum = -500000 ; 353cdf0e10cSrcweir Maximum = 500000 ; 354cdf0e10cSrcweir StrictFormat = TRUE ; 355cdf0e10cSrcweir DecimalDigits = 2 ; 356cdf0e10cSrcweir Unit = FUNIT_MM ; 357cdf0e10cSrcweir SpinSize = 10 ; 358cdf0e10cSrcweir }; 359cdf0e10cSrcweir FixedText FT_POSPRESETS 360cdf0e10cSrcweir { 361cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 14 ) ; 362cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 8 ) ; 363cdf0e10cSrcweir Text [ en-US ] = "Default settings"; 364cdf0e10cSrcweir }; 365cdf0e10cSrcweir Control CTL_RECT 366cdf0e10cSrcweir { 367cdf0e10cSrcweir HelpId = HID_TPROTATION_CTRL1 ; 368cdf0e10cSrcweir Border = TRUE ; 369cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 14 + 11 ) ; 370cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 48 ) ; 371cdf0e10cSrcweir TabStop = TRUE ; 372cdf0e10cSrcweir QuickHelpText [ en-US ] = "Rotation point" ; 373cdf0e10cSrcweir }; 374cdf0e10cSrcweir FixedLine FL_ANGLE 375cdf0e10cSrcweir { 376cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 71 + 11 ) ; 377cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 378cdf0e10cSrcweir Text [ en-US ] = "Rotation angle" ; 379cdf0e10cSrcweir }; 380cdf0e10cSrcweir FixedText FT_ANGLE 381cdf0e10cSrcweir { 382cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 84 + 22 ) ; 383cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 384cdf0e10cSrcweir Text [ en-US ] = "~Angle" ; 385cdf0e10cSrcweir }; 386cdf0e10cSrcweir MetricField MTR_FLD_ANGLE 387cdf0e10cSrcweir { 388cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_ANGLE"; 389cdf0e10cSrcweir Border = TRUE ; 390cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 82 + 22 ) ; 391cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 392cdf0e10cSrcweir TabStop = TRUE ; 393cdf0e10cSrcweir Repeat = TRUE ; 394cdf0e10cSrcweir Spin = TRUE ; 395cdf0e10cSrcweir Minimum = -500000 ; 396cdf0e10cSrcweir Maximum = 500000 ; 397cdf0e10cSrcweir StrictFormat = TRUE ; 398cdf0e10cSrcweir DecimalDigits = 2 ; 399cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 400cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 401cdf0e10cSrcweir SpinSize = 500 ; 402cdf0e10cSrcweir }; 403cdf0e10cSrcweir FixedText FT_ANGLEPRESETS 404cdf0e10cSrcweir { 405cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 82 + 11 ) ; 406cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 8 ) ; 407cdf0e10cSrcweir Text [ en-US ] = "Default settings"; 408cdf0e10cSrcweir }; 409cdf0e10cSrcweir Control CTL_ANGLE 410cdf0e10cSrcweir { 411cdf0e10cSrcweir HelpId = HID_TPROTATION_CTRL2 ; 412cdf0e10cSrcweir Border = TRUE ; 413cdf0e10cSrcweir Pos = MAP_APPFONT ( 178 , 82 + 22 ) ; 414cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 48 ) ; 415cdf0e10cSrcweir TabStop = TRUE ; 416cdf0e10cSrcweir QuickHelpText [ en-US ] = "Rotation Angle"; 417cdf0e10cSrcweir }; 418cdf0e10cSrcweir}; 419cdf0e10cSrcweir // RID_SVXPAGE_SLANT ----------------------------------------------------- 420cdf0e10cSrcweirTabPage RID_SVXPAGE_SLANT 421cdf0e10cSrcweir{ 422cdf0e10cSrcweir HelpId = HID_TRANS_SLANT ; 423cdf0e10cSrcweir Hide = TRUE ; 424cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ; 425cdf0e10cSrcweir Text [ en-US ] = "Slant & Corner Radius" ; 426cdf0e10cSrcweir FixedLine FL_RADIUS 427cdf0e10cSrcweir { 428cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 429cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 430cdf0e10cSrcweir Text [ en-US ] = "Corner radius" ; 431cdf0e10cSrcweir }; 432cdf0e10cSrcweir FixedText FT_RADIUS 433cdf0e10cSrcweir { 434cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 16 ) ; 435cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 436cdf0e10cSrcweir Text [ en-US ] = "~Radius" ; 437cdf0e10cSrcweir }; 438cdf0e10cSrcweir MetricField MTR_FLD_RADIUS 439cdf0e10cSrcweir { 440cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SLANT:MTR_FLD_RADIUS"; 441cdf0e10cSrcweir Border = TRUE ; 442cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 14 ) ; 443cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 444cdf0e10cSrcweir TabStop = TRUE ; 445cdf0e10cSrcweir Repeat = TRUE ; 446cdf0e10cSrcweir Spin = TRUE ; 447cdf0e10cSrcweir Minimum = 0 ; 448cdf0e10cSrcweir Maximum = 500000 ; 449cdf0e10cSrcweir StrictFormat = TRUE ; 450cdf0e10cSrcweir DecimalDigits = 2 ; 451cdf0e10cSrcweir Unit = FUNIT_MM ; 452cdf0e10cSrcweir SpinSize = 10 ; 453cdf0e10cSrcweir }; 454cdf0e10cSrcweir FixedLine FL_SLANT 455cdf0e10cSrcweir { 456cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 35 ) ; 457cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ; 458cdf0e10cSrcweir Text [ en-US ] = "Slant" ; 459cdf0e10cSrcweir }; 460cdf0e10cSrcweir FixedText FT_ANGLE 461cdf0e10cSrcweir { 462cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 48 ) ; 463cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 464cdf0e10cSrcweir Text [ en-US ] = "~Angle" ; 465cdf0e10cSrcweir }; 466cdf0e10cSrcweir MetricField MTR_FLD_ANGLE 467cdf0e10cSrcweir { 468cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SLANT:MTR_FLD_ANGLE"; 469cdf0e10cSrcweir Border = TRUE ; 470cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 46 ) ; 471cdf0e10cSrcweir Size = MAP_APPFONT ( 54 , 12 ) ; 472cdf0e10cSrcweir TabStop = TRUE ; 473cdf0e10cSrcweir Repeat = TRUE ; 474cdf0e10cSrcweir Spin = TRUE ; 475cdf0e10cSrcweir Minimum = -8900 ; 476cdf0e10cSrcweir First = -8900 ; 477cdf0e10cSrcweir Maximum = 8900 ; 478cdf0e10cSrcweir Last = 8900 ; 479cdf0e10cSrcweir StrictFormat = TRUE ; 480cdf0e10cSrcweir DecimalDigits = 2 ; 481cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 482cdf0e10cSrcweir SpinSize = 500 ; 483cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 484cdf0e10cSrcweir }; 485cdf0e10cSrcweir}; 486cdf0e10cSrcweir // RID_SVXDLG_TRANSFORM ----------------------------------------------------- 487cdf0e10cSrcweir 488cdf0e10cSrcweir#define _POS_SIZE_TEXT \ 489cdf0e10cSrcweir Text [ en-US ] = "Position and Size" ; \ 490cdf0e10cSrcweir 491cdf0e10cSrcweir 492cdf0e10cSrcweirTabDialog RID_SVXDLG_TRANSFORM\ 493cdf0e10cSrcweir{ 494cdf0e10cSrcweir OutputSize = TRUE ; 495cdf0e10cSrcweir SvLook = TRUE ; 496cdf0e10cSrcweir Size = MAP_APPFONT ( 289 , MA_TABPAGE_HEIGHT + 41 ) ; 497cdf0e10cSrcweir Text [ en-US ] = "Position and Size" ;\ 498cdf0e10cSrcweir Moveable = TRUE ; 499cdf0e10cSrcweir TabControl TAB_CONTROL\ 500cdf0e10cSrcweir { 501cdf0e10cSrcweir OutputSize = TRUE ; 502cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 3 ) ; 503cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , MA_TABPAGE_HEIGHT ) ; 504cdf0e10cSrcweir PageList = 505cdf0e10cSrcweir { 506cdf0e10cSrcweir PageItem\ 507cdf0e10cSrcweir { 508cdf0e10cSrcweir Identifier = RID_SVXPAGE_POSITION_SIZE ; 509cdf0e10cSrcweir PageResID = RID_SVXPAGE_POSITION_SIZE ; 510cdf0e10cSrcweir _POS_SIZE_TEXT 511cdf0e10cSrcweir }; 512cdf0e10cSrcweir PageItem 513cdf0e10cSrcweir { 514cdf0e10cSrcweir Identifier = RID_SVXPAGE_SWPOSSIZE; 515cdf0e10cSrcweir PageResID = RID_SVXPAGE_SWPOSSIZE; 516cdf0e10cSrcweir _POS_SIZE_TEXT 517cdf0e10cSrcweir }; 518cdf0e10cSrcweir PageItem 519cdf0e10cSrcweir { 520cdf0e10cSrcweir Identifier = RID_SVXPAGE_ANGLE ; 521cdf0e10cSrcweir Text [ en-US ] = "Rotation" ; 522cdf0e10cSrcweir PageResID = RID_SVXPAGE_ANGLE ; 523cdf0e10cSrcweir }; 524cdf0e10cSrcweir PageItem 525cdf0e10cSrcweir { 526cdf0e10cSrcweir Identifier = RID_SVXPAGE_SLANT ; 527cdf0e10cSrcweir PageResID = RID_SVXPAGE_SLANT ; 528cdf0e10cSrcweir Text [ en-US ] = "Slant & Corner Radius" ; 529cdf0e10cSrcweir }; 530cdf0e10cSrcweir }; 531cdf0e10cSrcweir }; 532cdf0e10cSrcweir}; 533cdf0e10cSrcweir // ********************************************************************** EOF 534cdf0e10cSrcweir 535cdf0e10cSrcweir 536cdf0e10cSrcweir 537cdf0e10cSrcweir 538cdf0e10cSrcweir 539cdf0e10cSrcweir 540cdf0e10cSrcweir 541cdf0e10cSrcweir 542cdf0e10cSrcweir 543cdf0e10cSrcweir 544cdf0e10cSrcweir 545cdf0e10cSrcweir 546cdf0e10cSrcweir 547cdf0e10cSrcweir 548cdf0e10cSrcweir 549cdf0e10cSrcweir 550cdf0e10cSrcweir 551cdf0e10cSrcweir 552cdf0e10cSrcweir 553cdf0e10cSrcweir 554cdf0e10cSrcweir 555cdf0e10cSrcweir 556cdf0e10cSrcweir 557cdf0e10cSrcweir 558cdf0e10cSrcweir 559cdf0e10cSrcweir 560cdf0e10cSrcweir 561cdf0e10cSrcweir 562cdf0e10cSrcweir 563cdf0e10cSrcweir 564cdf0e10cSrcweir 565cdf0e10cSrcweir 566cdf0e10cSrcweir 567cdf0e10cSrcweir 568cdf0e10cSrcweir 569cdf0e10cSrcweir 570cdf0e10cSrcweir 571cdf0e10cSrcweir 572cdf0e10cSrcweir 573cdf0e10cSrcweir 574cdf0e10cSrcweir 575cdf0e10cSrcweir 576cdf0e10cSrcweir 577cdf0e10cSrcweir 578cdf0e10cSrcweir 579cdf0e10cSrcweir 580cdf0e10cSrcweir 581cdf0e10cSrcweir 582cdf0e10cSrcweir 583cdf0e10cSrcweir 584cdf0e10cSrcweir 585cdf0e10cSrcweir 586cdf0e10cSrcweir 587cdf0e10cSrcweir 588cdf0e10cSrcweir 589cdf0e10cSrcweir 590cdf0e10cSrcweir 591cdf0e10cSrcweir 592cdf0e10cSrcweir 593cdf0e10cSrcweir 594cdf0e10cSrcweir 595cdf0e10cSrcweir 596cdf0e10cSrcweir 597cdf0e10cSrcweir 598cdf0e10cSrcweir 599cdf0e10cSrcweir 600cdf0e10cSrcweir 601cdf0e10cSrcweir 602cdf0e10cSrcweir 603cdf0e10cSrcweir 604cdf0e10cSrcweir 605cdf0e10cSrcweir 606cdf0e10cSrcweir 607cdf0e10cSrcweir 608cdf0e10cSrcweir 609cdf0e10cSrcweir 610cdf0e10cSrcweir 611cdf0e10cSrcweir 612cdf0e10cSrcweir 613cdf0e10cSrcweir 614cdf0e10cSrcweir 615cdf0e10cSrcweir 616cdf0e10cSrcweir 617cdf0e10cSrcweir 618cdf0e10cSrcweir 619cdf0e10cSrcweir 620cdf0e10cSrcweir 621cdf0e10cSrcweir 622