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*e7b79185Smseidel 24cdf0e10cSrcweir// include ------------------------------------------------------------------ 25cdf0e10cSrcweir#include "helpid.hrc" 26cdf0e10cSrcweir#include <cuires.hrc> 27cdf0e10cSrcweir#include "swpossizetabpage.hrc" 28cdf0e10cSrcweir#include <svx/dialogs.hrc> 29cdf0e10cSrcweir 30cdf0e10cSrcweir// RID_SVXPAGE_POSITION_SIZE ------------------------------------------------ 31cdf0e10cSrcweirTabPage RID_SVXPAGE_SWPOSSIZE 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpId = HID_SVXPAGE_SWPOSSIZE ; 34cdf0e10cSrcweir Hide = TRUE ; 35cdf0e10cSrcweir Text [ en-US ] = "Position and Size" ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( 260, 185 ) ; 37cdf0e10cSrcweir FixedLine FL_SIZE 38cdf0e10cSrcweir { 39cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 3 ) ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 104, 8 ) ; 41cdf0e10cSrcweir Text [ en-US ] = "Size" ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir FixedText FT_WIDTH 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 16 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 43, 8 ) ; 47cdf0e10cSrcweir Left = TRUE ; 48cdf0e10cSrcweir Text [ en-US ] = "~Width" ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir MetricField MF_WIDTH 51cdf0e10cSrcweir { 52cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_WIDTH" ; 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 59, 14 ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( 45, 12 ) ; 55cdf0e10cSrcweir Border = TRUE ; 56cdf0e10cSrcweir Text = "12,99" ; 57cdf0e10cSrcweir TabStop = TRUE ; 58cdf0e10cSrcweir Left = TRUE ; 59cdf0e10cSrcweir Repeat = TRUE ; 60cdf0e10cSrcweir Spin = TRUE ; 61cdf0e10cSrcweir Minimum = 5 ; 62cdf0e10cSrcweir Maximum = 9999 ; 63cdf0e10cSrcweir DecimalDigits = 2 ; 64cdf0e10cSrcweir Unit = FUNIT_CM ; 65cdf0e10cSrcweir First = 5 ; 66cdf0e10cSrcweir Last = 9999 ; 67cdf0e10cSrcweir SpinSize = 10 ; 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir FixedText FT_HEIGHT 70cdf0e10cSrcweir { 71cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 32 ) ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( 43, 8 ) ; 73cdf0e10cSrcweir Left = TRUE ; 74cdf0e10cSrcweir Text [ en-US ] = "H~eight" ; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir MetricField MF_HEIGHT 77cdf0e10cSrcweir { 78cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HEIGHT" ; 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 59, 30 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT ( 45, 12 ) ; 81cdf0e10cSrcweir Border = TRUE ; 82cdf0e10cSrcweir Text = "12,99" ; 83cdf0e10cSrcweir TabStop = TRUE ; 84cdf0e10cSrcweir Left = TRUE ; 85cdf0e10cSrcweir Repeat = TRUE ; 86cdf0e10cSrcweir Spin = TRUE ; 87cdf0e10cSrcweir Minimum = 5 ; 88cdf0e10cSrcweir Maximum = 9999 ; 89cdf0e10cSrcweir DecimalDigits = 2 ; 90cdf0e10cSrcweir Unit = FUNIT_CM ; 91cdf0e10cSrcweir First = 5 ; 92cdf0e10cSrcweir Last = 9999 ; 93cdf0e10cSrcweir SpinSize = 10 ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir CheckBox CB_KEEPRATIO 96cdf0e10cSrcweir { 97cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_KEEPRATIO" ; 98cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 45 ) ; 99cdf0e10cSrcweir Size = MAP_APPFONT ( 95, 10 ) ; 100cdf0e10cSrcweir TabStop = TRUE ; 101cdf0e10cSrcweir Text [ en-US ] = "~Keep ratio" ; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir FixedLine FL_SEPARATOR 104cdf0e10cSrcweir { 105cdf0e10cSrcweir Pos = MAP_APPFONT ( 111, 14 ) ; 106cdf0e10cSrcweir Size = MAP_APPFONT ( 4, 66 ) ; 107cdf0e10cSrcweir Vert = TRUE; 108cdf0e10cSrcweir }; 109cdf0e10cSrcweir FixedLine FL_ANCHOR 110cdf0e10cSrcweir { 111cdf0e10cSrcweir Pos = MAP_APPFONT ( 116, 3 ) ; 112cdf0e10cSrcweir Size = MAP_APPFONT ( 80, 8 ) ; 113cdf0e10cSrcweir Text [ en-US ] = "Anchor" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir RadioButton RB_TOPAGE 116cdf0e10cSrcweir { 117cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPAGE" ; 118cdf0e10cSrcweir Pos = MAP_APPFONT ( 122, 14 ) ; 119cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 120cdf0e10cSrcweir Text [ en-US ] = "To ~page" ; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir RadioButton RB_TOPARA 123cdf0e10cSrcweir { 124cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPARA" ; 125cdf0e10cSrcweir Pos = MAP_APPFONT ( 122, 28 ) ; 126cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 127cdf0e10cSrcweir Text [ en-US ] = "To paragrap~h" ; 128cdf0e10cSrcweir }; 129cdf0e10cSrcweir RadioButton RB_TOCHAR 130cdf0e10cSrcweir { 131cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOCHAR" ; 132cdf0e10cSrcweir Pos = MAP_APPFONT ( 122, 42 ) ; 133cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 134cdf0e10cSrcweir Text [ en-US ] = "To cha~racter" ; 135cdf0e10cSrcweir }; 136cdf0e10cSrcweir RadioButton RB_ASCHAR 137cdf0e10cSrcweir { 138cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_ASCHAR" ; 139cdf0e10cSrcweir Pos = MAP_APPFONT ( 122, 56 ) ; 140cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 141cdf0e10cSrcweir Text [ en-US ] = "~As character" ; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir RadioButton RB_TOFRAME 144cdf0e10cSrcweir { 145cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOFRAME" ; 146cdf0e10cSrcweir Hide = TRUE; 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 122, 70 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( 70, 10 ) ; 149cdf0e10cSrcweir Text [ en-US ] = "To ~frame" ; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir Window WN_EXAMPLE 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Pos = MAP_APPFONT ( 202, 14 ) ; 154cdf0e10cSrcweir Size = MAP_APPFONT ( 52, 66 ) ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir FixedLine FL_PROTECTION 157cdf0e10cSrcweir { 158cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 86 ) ; 159cdf0e10cSrcweir Size = MAP_APPFONT ( 248, 8 ) ; 160cdf0e10cSrcweir Text [ en-US ] = "Protect" ; 161cdf0e10cSrcweir }; 162cdf0e10cSrcweir TriStateBox CB_POSITION 163cdf0e10cSrcweir { 164cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_POSITION" ; 165cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 97 ) ; 166cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 167cdf0e10cSrcweir TabStop = TRUE ; 168cdf0e10cSrcweir Text [ en-US ] = "Position" ; 169cdf0e10cSrcweir }; 170cdf0e10cSrcweir TriStateBox CB_SIZE 171cdf0e10cSrcweir { 172cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_SIZE" ; 173cdf0e10cSrcweir Pos = MAP_APPFONT ( 122, 97 ) ; 174cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 175cdf0e10cSrcweir TabStop = TRUE ; 176cdf0e10cSrcweir Text [ en-US ] = "~Size" ; 177cdf0e10cSrcweir }; 178cdf0e10cSrcweir FixedLine FL_POSITION 179cdf0e10cSrcweir { 180cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 113 ) ; 181cdf0e10cSrcweir Size = MAP_APPFONT ( 248, 8 ) ; 182cdf0e10cSrcweir Text [ en-US ] = "Position" ; 183cdf0e10cSrcweir }; 184cdf0e10cSrcweir FixedText FT_HORI 185cdf0e10cSrcweir { 186cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 126 ) ; 187cdf0e10cSrcweir Size = MAP_APPFONT ( 35, 8 ) ; 188cdf0e10cSrcweir Left = TRUE ; 189cdf0e10cSrcweir Text [ en-US ] = "Hori~zontal" ; 190cdf0e10cSrcweir }; 191cdf0e10cSrcweir ListBox LB_HORI 192cdf0e10cSrcweir { 193cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORI" ; 194cdf0e10cSrcweir Pos = MAP_APPFONT ( 49, 124 ) ; 195cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 60 ) ; 196cdf0e10cSrcweir TabStop = TRUE ; 197cdf0e10cSrcweir DropDown = TRUE ; 198cdf0e10cSrcweir }; 199cdf0e10cSrcweir FixedText FT_HORIBY 200cdf0e10cSrcweir { 201cdf0e10cSrcweir Pos = MAP_APPFONT ( 101, 126 ) ; 202cdf0e10cSrcweir Size = MAP_APPFONT ( 20, 8 ) ; 203cdf0e10cSrcweir Center = TRUE ; 204cdf0e10cSrcweir Text [ en-US ] = "b~y" ; 205cdf0e10cSrcweir }; 206cdf0e10cSrcweir MetricField MF_HORIBY 207cdf0e10cSrcweir { 208cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HORIBY" ; 209cdf0e10cSrcweir Border = TRUE ; 210cdf0e10cSrcweir Pos = MAP_APPFONT ( 123, 124 ) ; 211cdf0e10cSrcweir Size = MAP_APPFONT ( 35, 12 ) ; 212cdf0e10cSrcweir TabStop = TRUE ; 213cdf0e10cSrcweir Left = TRUE ; 214cdf0e10cSrcweir Repeat = TRUE ; 215cdf0e10cSrcweir Spin = TRUE ; 216cdf0e10cSrcweir Minimum = -9999 ; 217cdf0e10cSrcweir Maximum = 9999 ; 218cdf0e10cSrcweir DecimalDigits = 2 ; 219cdf0e10cSrcweir Unit = FUNIT_CM ; 220cdf0e10cSrcweir First = -9999 ; 221cdf0e10cSrcweir Last = 9999 ; 222cdf0e10cSrcweir SpinSize = 10 ; 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir FixedText FT_HORITO 225cdf0e10cSrcweir { 226cdf0e10cSrcweir Pos = MAP_APPFONT ( 160, 126 ) ; 227cdf0e10cSrcweir Size = MAP_APPFONT ( 21, 8 ) ; 228cdf0e10cSrcweir Center = TRUE ; 229cdf0e10cSrcweir Text [ en-US ] = "~to" ; 230cdf0e10cSrcweir }; 231cdf0e10cSrcweir ListBox LB_HORITO 232cdf0e10cSrcweir { 233cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORITO" ; 234cdf0e10cSrcweir Pos = MAP_APPFONT ( 183, 124 ) ; 235cdf0e10cSrcweir Size = MAP_APPFONT ( 65, 60 ) ; 236cdf0e10cSrcweir TabStop = TRUE ; 237cdf0e10cSrcweir DropDown = TRUE ; 238cdf0e10cSrcweir }; 239cdf0e10cSrcweir CheckBox CB_HORIMIRROR 240cdf0e10cSrcweir { 241cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_HORIMIRROR" ; 242cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 139 ) ; 243cdf0e10cSrcweir Size = MAP_APPFONT ( 236, 10 ) ; 244cdf0e10cSrcweir TabStop = TRUE ; 245cdf0e10cSrcweir Text [ en-US ] = "~Mirror on even pages" ; 246cdf0e10cSrcweir }; 247cdf0e10cSrcweir FixedText FT_VERT 248cdf0e10cSrcweir { 249cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 155 ) ; 250cdf0e10cSrcweir Size = MAP_APPFONT ( 35, 8 ) ; 251cdf0e10cSrcweir Left = TRUE ; 252cdf0e10cSrcweir Text [ en-US ] = "~Vertical" ; 253cdf0e10cSrcweir }; 254cdf0e10cSrcweir ListBox LB_VERT 255cdf0e10cSrcweir { 256cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERT" ; 257cdf0e10cSrcweir Pos = MAP_APPFONT ( 49, 153 ) ; 258cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 60 ) ; 259cdf0e10cSrcweir TabStop = TRUE ; 260cdf0e10cSrcweir DropDown = TRUE ; 261cdf0e10cSrcweir }; 262cdf0e10cSrcweir FixedText FT_VERTBY 263cdf0e10cSrcweir { 264cdf0e10cSrcweir Pos = MAP_APPFONT ( 101, 155 ) ; 265cdf0e10cSrcweir Size = MAP_APPFONT ( 20, 8 ) ; 266cdf0e10cSrcweir Center = TRUE ; 267cdf0e10cSrcweir Text [ en-US ] = "by" ; 268cdf0e10cSrcweir }; 269cdf0e10cSrcweir MetricField MF_VERTBY 270cdf0e10cSrcweir { 271cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_VERTBY" ; 272cdf0e10cSrcweir Border = TRUE ; 273cdf0e10cSrcweir Pos = MAP_APPFONT ( 123, 153 ) ; 274cdf0e10cSrcweir Size = MAP_APPFONT ( 35, 12 ) ; 275cdf0e10cSrcweir TabStop = TRUE ; 276cdf0e10cSrcweir Left = TRUE ; 277cdf0e10cSrcweir Repeat = TRUE ; 278cdf0e10cSrcweir Spin = TRUE ; 279cdf0e10cSrcweir Minimum = -9999 ; 280cdf0e10cSrcweir Maximum = 9999 ; 281cdf0e10cSrcweir DecimalDigits = 2 ; 282cdf0e10cSrcweir Unit = FUNIT_CM ; 283cdf0e10cSrcweir First = -9999 ; 284cdf0e10cSrcweir Last = 9999 ; 285cdf0e10cSrcweir SpinSize = 10 ; 286cdf0e10cSrcweir }; 287cdf0e10cSrcweir FixedText FT_VERTTO 288cdf0e10cSrcweir { 289cdf0e10cSrcweir Pos = MAP_APPFONT ( 160, 155 ) ; 290cdf0e10cSrcweir Size = MAP_APPFONT ( 21, 8 ) ; 291cdf0e10cSrcweir Center = TRUE ; 292cdf0e10cSrcweir Text [ en-US ] = "t~o" ; 293cdf0e10cSrcweir }; 294cdf0e10cSrcweir ListBox LB_VERTTO 295cdf0e10cSrcweir { 296cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERTTO" ; 297cdf0e10cSrcweir Pos = MAP_APPFONT ( 183, 153 ) ; 298cdf0e10cSrcweir Size = MAP_APPFONT ( 65, 60 ) ; 299cdf0e10cSrcweir TabStop = TRUE ; 300cdf0e10cSrcweir DropDown = TRUE ; 301cdf0e10cSrcweir }; 302cdf0e10cSrcweir CheckBox CB_FOLLOW 303cdf0e10cSrcweir { 304cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_FOLLOW" ; 305cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 168 ) ; 306cdf0e10cSrcweir Size = MAP_APPFONT ( 113, 10 ) ; 307cdf0e10cSrcweir TabStop = TRUE ; 308cdf0e10cSrcweir Text [ en-US ] = "Follow text flow" ; 309cdf0e10cSrcweir }; 310cdf0e10cSrcweir}; 311*e7b79185Smseidel 312*e7b79185Smseidel// ********************************************************************** EOF 313