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