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