10e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 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 10cdf0e10cSrcweir * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 220e2af6afSAndrew Rist 23*c91f27c4Smseidel 24cdf0e10cSrcweir// include ------------------------------------------------------------------ 25cdf0e10cSrcweir#include <svtools/controldims.hrc> 26cdf0e10cSrcweir#include "helpid.hrc" 27cdf0e10cSrcweir#include <cuires.hrc> 28cdf0e10cSrcweir#include "transfrm.hrc" 29cdf0e10cSrcweir#include <svx/dialogs.hrc> 30cdf0e10cSrcweir 31cdf0e10cSrcweir#define MA_TABPAGE_HEIGHT 185 32cdf0e10cSrcweir 33cdf0e10cSrcweir// 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" ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 260, MA_TABPAGE_HEIGHT ) ; 40cdf0e10cSrcweir 41cdf0e10cSrcweir FixedLine FL_POSITION 42cdf0e10cSrcweir { 43cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 3 ) ; 44cdf0e10cSrcweir Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; 45cdf0e10cSrcweir Text [ en-US ] = "Position" ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir FixedText FT_POS_X 48cdf0e10cSrcweir { 49cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 16 + 8 ) ; 50cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 51cdf0e10cSrcweir Text [ en-US ] = "Position ~X" ; 52cdf0e10cSrcweir }; 53cdf0e10cSrcweir FixedText FT_POS_Y 54cdf0e10cSrcweir { 55cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 32 + 8 ) ; 56cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 57cdf0e10cSrcweir Text [ en-US ] = "Position ~Y" ; 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir MetricField MTR_FLD_POS_X 60cdf0e10cSrcweir { 61cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_POS_X" ; 62cdf0e10cSrcweir Border = TRUE ; 63cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 14 + 8 ) ; 64cdf0e10cSrcweir 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 { 77cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_POS_Y" ; 78cdf0e10cSrcweir Border = TRUE ; 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 30 + 8 ) ; 80cdf0e10cSrcweir 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 { 93cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 2 + 8 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 95cdf0e10cSrcweir Text [ en-US ] = "Base point" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir Control CTL_POSRECT 98cdf0e10cSrcweir { 99cdf0e10cSrcweir HelpId = HID_TPPOSITION_CTRL ; 100cdf0e10cSrcweir Border = TRUE ; 101cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 12 + 8 ) ; 102cdf0e10cSrcweir Size = MAP_APPFONT ( 48, 34 ) ; 103cdf0e10cSrcweir TabStop = TRUE ; 104cdf0e10cSrcweir QuickHelpText [ en-US ] = "Base point" ; 105cdf0e10cSrcweir }; 106cdf0e10cSrcweir 107cdf0e10cSrcweir // size 108cdf0e10cSrcweir 109cdf0e10cSrcweir FixedLine FL_SIZE 110cdf0e10cSrcweir { 111cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 56 ) ; 112cdf0e10cSrcweir Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; 113cdf0e10cSrcweir Text [ en-US ] = "Size" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir FixedText FT_WIDTH 116cdf0e10cSrcweir { 117cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 16 + 61 ) ; 118cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 119cdf0e10cSrcweir Text [ en-US ] = "Wi~dth" ; 120cdf0e10cSrcweir }; 121cdf0e10cSrcweir FixedText FT_HEIGHT 122cdf0e10cSrcweir { 123cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 32 + 61 ) ; 124cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 125cdf0e10cSrcweir Text [ en-US ] = "H~eight" ; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir MetricField MTR_FLD_WIDTH 128cdf0e10cSrcweir { 129cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_WIDTH" ; 130cdf0e10cSrcweir Border = TRUE ; 131cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 14 + 61 ) ; 132cdf0e10cSrcweir 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 { 145cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_POSITION_SIZE:MTR_FLD_HEIGHT" ; 146cdf0e10cSrcweir Border = TRUE ; 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 30 + 61 ) ; 148cdf0e10cSrcweir 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 { 161cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 2 + 61 ) ; 162cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 163cdf0e10cSrcweir Text [ en-US ] = "Base point" ; 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir Control CTL_SIZERECT 166cdf0e10cSrcweir { 167cdf0e10cSrcweir HelpId = HID_TPSIZE_CTRL ; 168cdf0e10cSrcweir Border = TRUE ; 169cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 12 + 61 ) ; 170cdf0e10cSrcweir Size = MAP_APPFONT ( 48, 34 ) ; 171cdf0e10cSrcweir TabStop = TRUE ; 172cdf0e10cSrcweir QuickHelpText [ en-US ] = "Base point" ; 173cdf0e10cSrcweir }; 174cdf0e10cSrcweir CheckBox CBX_SCALE 175cdf0e10cSrcweir { 176cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXPAGE_POSITION_SIZE:CBX_SCALE" ; 177cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 47 + 61 ) ; 178cdf0e10cSrcweir Size = MAP_APPFONT ( 162, 10 ) ; 179cdf0e10cSrcweir TabStop = TRUE ; 180cdf0e10cSrcweir Text [ en-US ] = "~Keep ratio" ; 181cdf0e10cSrcweir }; 182cdf0e10cSrcweir 183cdf0e10cSrcweir // Protect 184cdf0e10cSrcweir 185cdf0e10cSrcweir FixedLine FL_PROTECT 186cdf0e10cSrcweir { 187cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 120 ) ; 188cdf0e10cSrcweir Size = MAP_APPFONT ( 119, RSC_CD_FIXEDLINE_HEIGHT ) ; 189cdf0e10cSrcweir Text [ en-US ] = "Protect" ; 190cdf0e10cSrcweir }; 191cdf0e10cSrcweir 192cdf0e10cSrcweir TriStateBox TSB_POSPROTECT 193cdf0e10cSrcweir { 194cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_POSPROTECT" ; 195cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 10 + 120 ) ; 196cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 197cdf0e10cSrcweir Text [ en-US ] = "Position" ; 198cdf0e10cSrcweir TabStop = TRUE ; 199cdf0e10cSrcweir }; 200cdf0e10cSrcweir 201cdf0e10cSrcweir TriStateBox TSB_SIZEPROTECT 202cdf0e10cSrcweir { 203cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_SIZEPROTECT" ; 204cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 24 + 120 ) ; 205cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 206cdf0e10cSrcweir Text [ en-US ] = "~Size" ; 207cdf0e10cSrcweir TabStop = TRUE ; 208cdf0e10cSrcweir }; 209cdf0e10cSrcweir 210cdf0e10cSrcweir // Adjust 211cdf0e10cSrcweir 212cdf0e10cSrcweir FixedLine FL_ADJUST 213cdf0e10cSrcweir { 214cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 + 123 + 6, 120 ) ; 215cdf0e10cSrcweir Size = MAP_APPFONT ( 119, RSC_CD_FIXEDLINE_HEIGHT ) ; 216cdf0e10cSrcweir Text [ en-US ] = "Adapt" ; 217cdf0e10cSrcweir }; 218cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_WIDTH 219cdf0e10cSrcweir { 220cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_AUTOGROW_WIDTH" ; 221cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 10 + 120 ) ; 222cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 223cdf0e10cSrcweir Text [ en-US ] = "~Fit width to text" ; 224cdf0e10cSrcweir TabStop = TRUE ; 225cdf0e10cSrcweir }; 226cdf0e10cSrcweir TriStateBox TSB_AUTOGROW_HEIGHT 227cdf0e10cSrcweir { 228cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_POSITION_SIZE:TSB_AUTOGROW_HEIGHT" ; 229cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ; 230cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 231cdf0e10cSrcweir Text [ en-US ] = "Fit ~height to text" ; 232cdf0e10cSrcweir TabStop = TRUE ; 233cdf0e10cSrcweir }; 234cdf0e10cSrcweir 235cdf0e10cSrcweir FixedLine FL_DIVIDER 236cdf0e10cSrcweir { 237cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 + 119 + 5, 128 ) ; 238cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH, 26 ) ; 239*c91f27c4Smseidel Vert = TRUE ; 240cdf0e10cSrcweir }; 241cdf0e10cSrcweir 242cdf0e10cSrcweir // Anchor 243cdf0e10cSrcweir 244cdf0e10cSrcweir FixedLine FL_ANCHOR 245cdf0e10cSrcweir { 246cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 + 123 + 6, 120 ) ; 247cdf0e10cSrcweir 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 ) ; 254cdf0e10cSrcweir Size = MAP_APPFONT ( 37, 10 ) ; 255cdf0e10cSrcweir Hide = TRUE ; 256cdf0e10cSrcweir Text [ en-US ] = "~Anchor" ; 257cdf0e10cSrcweir }; 258cdf0e10cSrcweir ListBox LB_ANCHOR 259cdf0e10cSrcweir { 260cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_POSITION_SIZE:LB_ANCHOR" ; 261cdf0e10cSrcweir Pos = MAP_APPFONT ( 46 + 121 + 16, 8 + 120 ) ; 262cdf0e10cSrcweir Size = MAP_APPFONT ( 54, 60 ) ; 263cdf0e10cSrcweir Hide = TRUE ; 264cdf0e10cSrcweir DropDown = TRUE ; 265cdf0e10cSrcweir StringList [ en-US ] = 266cdf0e10cSrcweir { 267cdf0e10cSrcweir < "To paragraph" ; > ; 268cdf0e10cSrcweir < "As character" ; > ; 269cdf0e10cSrcweir < "To page" ; > ; 270cdf0e10cSrcweir < "To frame" ; > ; 271cdf0e10cSrcweir }; 272cdf0e10cSrcweir }; 273cdf0e10cSrcweir FixedText FT_ORIENT 274cdf0e10cSrcweir { 275cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + 121 + 8, 24 + 120 ) ; 276cdf0e10cSrcweir Size = MAP_APPFONT ( 37, 10 ) ; 277cdf0e10cSrcweir Hide = TRUE ; 278cdf0e10cSrcweir Text [ en-US ] = "P~osition" ; 279cdf0e10cSrcweir }; 280cdf0e10cSrcweir ListBox LB_ORIENT 281cdf0e10cSrcweir { 282cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_POSITION_SIZE:LB_ORIENT" ; 283cdf0e10cSrcweir Pos = MAP_APPFONT ( 46 + 121 + 16, 22 + 120 ) ; 284cdf0e10cSrcweir Size = MAP_APPFONT ( 54, 60 ) ; 285cdf0e10cSrcweir Hide = TRUE ; 286cdf0e10cSrcweir DropDown = TRUE ; 287cdf0e10cSrcweir StringList [ en-US ] = 288cdf0e10cSrcweir { 289cdf0e10cSrcweir < "From top" ; > ; 290cdf0e10cSrcweir < "Above" ; > ; 291cdf0e10cSrcweir < "Centered" ; > ; 292cdf0e10cSrcweir < "Below" ; > ; 293cdf0e10cSrcweir < "Top of character" ; > ; 294cdf0e10cSrcweir < "Center of character" ; > ; 295cdf0e10cSrcweir < "Bottom of character" ; > ; 296cdf0e10cSrcweir < "Top of line" ; > ; 297cdf0e10cSrcweir < "Center of line" ; > ; 298cdf0e10cSrcweir < "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" ; 309cdf0e10cSrcweir Size = MAP_APPFONT ( 260, MA_TABPAGE_HEIGHT ) ; 310cdf0e10cSrcweir FixedLine FL_POSITION 311cdf0e10cSrcweir { 312cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 3 ) ; 313cdf0e10cSrcweir Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; 314cdf0e10cSrcweir Text [ en-US ] = "Pivot point" ; 315cdf0e10cSrcweir }; 316cdf0e10cSrcweir FixedText FT_POS_X 317cdf0e10cSrcweir { 318cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 16 + 11 ) ; 319cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 320cdf0e10cSrcweir Text [ en-US ] = "Position ~X" ; 321cdf0e10cSrcweir }; 322cdf0e10cSrcweir FixedText FT_POS_Y 323cdf0e10cSrcweir { 324cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 32 + 11 ) ; 325cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 326cdf0e10cSrcweir Text [ en-US ] = "Position ~Y" ; 327cdf0e10cSrcweir }; 328cdf0e10cSrcweir MetricField MTR_FLD_POS_X 329cdf0e10cSrcweir { 330cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_POS_X" ; 331cdf0e10cSrcweir Border = TRUE ; 332cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 14 + 11 ) ; 333cdf0e10cSrcweir 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 { 346cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_POS_Y" ; 347cdf0e10cSrcweir Border = TRUE ; 348cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 30 + 11 ) ; 349cdf0e10cSrcweir 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 { 362cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 14 ) ; 363cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 8 ) ; 364cdf0e10cSrcweir Text [ en-US ] = "Default settings" ; 365cdf0e10cSrcweir }; 366cdf0e10cSrcweir Control CTL_RECT 367cdf0e10cSrcweir { 368cdf0e10cSrcweir HelpId = HID_TPROTATION_CTRL1 ; 369cdf0e10cSrcweir Border = TRUE ; 370cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 14 + 11 ) ; 371cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 48 ) ; 372cdf0e10cSrcweir TabStop = TRUE ; 373cdf0e10cSrcweir QuickHelpText [ en-US ] = "Rotation point" ; 374cdf0e10cSrcweir }; 375cdf0e10cSrcweir FixedLine FL_ANGLE 376cdf0e10cSrcweir { 377cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 71 + 11 ) ; 378cdf0e10cSrcweir Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; 379cdf0e10cSrcweir Text [ en-US ] = "Rotation angle" ; 380cdf0e10cSrcweir }; 381cdf0e10cSrcweir FixedText FT_ANGLE 382cdf0e10cSrcweir { 383cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 84 + 22 ) ; 384cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 385cdf0e10cSrcweir Text [ en-US ] = "~Angle" ; 386cdf0e10cSrcweir }; 387cdf0e10cSrcweir MetricField MTR_FLD_ANGLE 388cdf0e10cSrcweir { 389cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_ANGLE:MTR_FLD_ANGLE" ; 390cdf0e10cSrcweir Border = TRUE ; 391cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 82 + 22 ) ; 392cdf0e10cSrcweir 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 { 406cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 82 + 11 ) ; 407cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 8 ) ; 408cdf0e10cSrcweir Text [ en-US ] = "Default settings" ; 409cdf0e10cSrcweir }; 410cdf0e10cSrcweir Control CTL_ANGLE 411cdf0e10cSrcweir { 412cdf0e10cSrcweir HelpId = HID_TPROTATION_CTRL2 ; 413cdf0e10cSrcweir Border = TRUE ; 414cdf0e10cSrcweir Pos = MAP_APPFONT ( 178, 82 + 22 ) ; 415cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 48 ) ; 416cdf0e10cSrcweir TabStop = TRUE ; 417cdf0e10cSrcweir QuickHelpText [ en-US ] = "Rotation Angle" ; 418cdf0e10cSrcweir }; 419cdf0e10cSrcweir}; 420cdf0e10cSrcweir // RID_SVXPAGE_SLANT ----------------------------------------------------- 421cdf0e10cSrcweirTabPage RID_SVXPAGE_SLANT 422cdf0e10cSrcweir{ 423cdf0e10cSrcweir HelpId = HID_TRANS_SLANT ; 424cdf0e10cSrcweir Hide = TRUE ; 425cdf0e10cSrcweir Size = MAP_APPFONT ( 260, MA_TABPAGE_HEIGHT ) ; 426cdf0e10cSrcweir Text [ en-US ] = "Slant & Corner Radius" ; 427cdf0e10cSrcweir FixedLine FL_RADIUS 428cdf0e10cSrcweir { 429cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 3 ) ; 430cdf0e10cSrcweir Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; 431cdf0e10cSrcweir Text [ en-US ] = "Corner radius" ; 432cdf0e10cSrcweir }; 433cdf0e10cSrcweir FixedText FT_RADIUS 434cdf0e10cSrcweir { 435cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 16 ) ; 436cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 437cdf0e10cSrcweir Text [ en-US ] = "~Radius" ; 438cdf0e10cSrcweir }; 439cdf0e10cSrcweir MetricField MTR_FLD_RADIUS 440cdf0e10cSrcweir { 441cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SLANT:MTR_FLD_RADIUS" ; 442cdf0e10cSrcweir Border = TRUE ; 443cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 14 ) ; 444cdf0e10cSrcweir 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 { 457cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 35 ) ; 458cdf0e10cSrcweir Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ; 459cdf0e10cSrcweir Text [ en-US ] = "Slant" ; 460cdf0e10cSrcweir }; 461cdf0e10cSrcweir FixedText FT_ANGLE 462cdf0e10cSrcweir { 463cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 48 ) ; 464cdf0e10cSrcweir Size = MAP_APPFONT ( 40, 10 ) ; 465cdf0e10cSrcweir Text [ en-US ] = "~Angle" ; 466cdf0e10cSrcweir }; 467cdf0e10cSrcweir MetricField MTR_FLD_ANGLE 468cdf0e10cSrcweir { 469cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SLANT:MTR_FLD_ANGLE" ; 470cdf0e10cSrcweir Border = TRUE ; 471cdf0e10cSrcweir Pos = MAP_APPFONT ( 56, 46 ) ; 472cdf0e10cSrcweir 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 \ 490cdf0e10cSrcweir Text [ en-US ] = "Position and Size" ; \ 491cdf0e10cSrcweir 492cdf0e10cSrcweir 493cdf0e10cSrcweirTabDialog RID_SVXDLG_TRANSFORM\ 494cdf0e10cSrcweir{ 495cdf0e10cSrcweir OutputSize = TRUE ; 496cdf0e10cSrcweir SvLook = TRUE ; 497cdf0e10cSrcweir Size = MAP_APPFONT ( 289, MA_TABPAGE_HEIGHT + 41 ) ; 498cdf0e10cSrcweir Text [ en-US ] = "Position and Size" ; \ 499cdf0e10cSrcweir Moveable = TRUE ; 500cdf0e10cSrcweir TabControl TAB_CONTROL\ 501cdf0e10cSrcweir { 502cdf0e10cSrcweir OutputSize = TRUE ; 503cdf0e10cSrcweir Pos = MAP_APPFONT ( 3, 3 ) ; 504cdf0e10cSrcweir 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 ; 511cdf0e10cSrcweir _POS_SIZE_TEXT 512cdf0e10cSrcweir }; 513cdf0e10cSrcweir PageItem 514cdf0e10cSrcweir { 515cdf0e10cSrcweir Identifier = RID_SVXPAGE_SWPOSSIZE ; 516cdf0e10cSrcweir PageResID = RID_SVXPAGE_SWPOSSIZE ; 517cdf0e10cSrcweir _POS_SIZE_TEXT 518cdf0e10cSrcweir }; 519cdf0e10cSrcweir 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}; 534*c91f27c4Smseidel 535cdf0e10cSrcweir// ********************************************************************** EOF 536