| /************************************************************** |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| *************************************************************/ |
| |
| |
| // include ------------------------------------------------------------------ |
| #include "helpid.hrc" |
| #include <cuires.hrc> |
| #include "swpossizetabpage.hrc" |
| #include <svx/dialogs.hrc> |
| |
| // RID_SVXPAGE_POSITION_SIZE ------------------------------------------------ |
| TabPage RID_SVXPAGE_SWPOSSIZE |
| { |
| HelpId = HID_SVXPAGE_SWPOSSIZE; |
| Hide = TRUE ; |
| Text[ en-US ] = "Position and Size" ; |
| Size = MAP_APPFONT ( 260 , 185 ) ; |
| FixedLine FL_SIZE |
| { |
| Pos = MAP_APPFONT ( 6 , 3 ) ; |
| Size = MAP_APPFONT ( 104 , 8 ) ; |
| Text [ en-US ] = "Size" ; |
| }; |
| FixedText FT_WIDTH |
| { |
| Pos = MAP_APPFONT ( 12 , 16 ) ; |
| Size = MAP_APPFONT ( 43 , 8 ) ; |
| Left = TRUE ; |
| Text [ en-US ] = "~Width" ; |
| }; |
| MetricField MF_WIDTH |
| { |
| HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_WIDTH"; |
| Pos = MAP_APPFONT ( 59 , 14 ) ; |
| Size = MAP_APPFONT ( 45 , 12 ) ; |
| Border = TRUE ; |
| Text = "12,99" ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Minimum = 5 ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| First = 5 ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedText FT_HEIGHT |
| { |
| Pos = MAP_APPFONT ( 12 , 32 ) ; |
| Size = MAP_APPFONT ( 43 , 8 ) ; |
| Left = TRUE ; |
| Text [ en-US ] = "H~eight" ; |
| }; |
| MetricField MF_HEIGHT |
| { |
| HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HEIGHT"; |
| Pos = MAP_APPFONT ( 59 , 30 ) ; |
| Size = MAP_APPFONT ( 45 , 12 ) ; |
| Border = TRUE ; |
| Text = "12,99" ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Minimum = 5 ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| First = 5 ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| CheckBox CB_KEEPRATIO |
| { |
| HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_KEEPRATIO"; |
| Pos = MAP_APPFONT ( 12 , 45 ) ; |
| Size = MAP_APPFONT ( 95 , 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~Keep ratio" ; |
| }; |
| FixedLine FL_SEPARATOR |
| { |
| Pos = MAP_APPFONT ( 111 , 14 ) ; |
| Size = MAP_APPFONT ( 4 , 66 ) ; |
| Vert = TRUE; |
| }; |
| FixedLine FL_ANCHOR |
| { |
| Pos = MAP_APPFONT ( 116 , 3 ) ; |
| Size = MAP_APPFONT ( 80 , 8 ) ; |
| Text [ en-US ] = "Anchor" ; |
| }; |
| RadioButton RB_TOPAGE |
| { |
| HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPAGE"; |
| Pos = MAP_APPFONT ( 122 , 14 ) ; |
| Size = MAP_APPFONT ( 70 , 10 ) ; |
| Text [ en-US ] = "To ~page"; |
| }; |
| RadioButton RB_TOPARA |
| { |
| HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOPARA"; |
| Pos = MAP_APPFONT ( 122 , 28 ) ; |
| Size = MAP_APPFONT ( 70 , 10 ) ; |
| Text [ en-US ] = "To paragrap~h"; |
| }; |
| RadioButton RB_TOCHAR |
| { |
| HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOCHAR"; |
| Pos = MAP_APPFONT ( 122 , 42 ) ; |
| Size = MAP_APPFONT ( 70 , 10 ) ; |
| Text [ en-US ] = "To cha~racter"; |
| }; |
| RadioButton RB_ASCHAR |
| { |
| HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_ASCHAR"; |
| Pos = MAP_APPFONT ( 122 , 56 ) ; |
| Size = MAP_APPFONT ( 70 , 10 ) ; |
| Text [ en-US ] = "~As character" ; |
| }; |
| RadioButton RB_TOFRAME |
| { |
| HelpID = "cui:RadioButton:RID_SVXPAGE_SWPOSSIZE:RB_TOFRAME"; |
| Hide = TRUE; |
| Pos = MAP_APPFONT ( 122 , 70 ) ; |
| Size = MAP_APPFONT ( 70 , 10 ) ; |
| Text [ en-US ] = "To ~frame"; |
| }; |
| Window WN_EXAMPLE |
| { |
| Pos = MAP_APPFONT ( 202 , 14 ) ; |
| Size = MAP_APPFONT ( 52 , 66 ) ; |
| }; |
| FixedLine FL_PROTECTION |
| { |
| Pos = MAP_APPFONT ( 6 , 86 ) ; |
| Size = MAP_APPFONT ( 248 , 8 ) ; |
| Text [ en-US ] = "Protect" ; |
| }; |
| TriStateBox CB_POSITION |
| { |
| HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_POSITION"; |
| Pos = MAP_APPFONT ( 12 , 97 ) ; |
| Size = MAP_APPFONT ( 113 , 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "Position" ; |
| }; |
| TriStateBox CB_SIZE |
| { |
| HelpID = "cui:TriStateBox:RID_SVXPAGE_SWPOSSIZE:CB_SIZE"; |
| Pos = MAP_APPFONT ( 122 , 97 ) ; |
| Size = MAP_APPFONT ( 113 , 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~Size" ; |
| }; |
| FixedLine FL_POSITION |
| { |
| Pos = MAP_APPFONT ( 6 , 113 ) ; |
| Size = MAP_APPFONT ( 248 , 8 ) ; |
| Text [ en-US ] = "Position" ; |
| }; |
| FixedText FT_HORI |
| { |
| Pos = MAP_APPFONT ( 12 , 126 ) ; |
| Size = MAP_APPFONT ( 35 , 8 ) ; |
| Left = TRUE ; |
| Text [ en-US ] = "Hori~zontal" ; |
| }; |
| ListBox LB_HORI |
| { |
| HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORI"; |
| Pos = MAP_APPFONT ( 49 , 124 ) ; |
| Size = MAP_APPFONT ( 50 , 60 ) ; |
| TabStop = TRUE ; |
| DropDown = TRUE ; |
| }; |
| FixedText FT_HORIBY |
| { |
| Pos = MAP_APPFONT ( 101 , 126 ) ; |
| Size = MAP_APPFONT ( 20 , 8 ) ; |
| Center = TRUE ; |
| Text [ en-US ] = "b~y" ; |
| }; |
| MetricField MF_HORIBY |
| { |
| HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_HORIBY"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 123 , 124 ) ; |
| Size = MAP_APPFONT ( 35 , 12 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Minimum = -9999 ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| First = -9999 ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedText FT_HORITO |
| { |
| Pos = MAP_APPFONT ( 160 , 126 ) ; |
| Size = MAP_APPFONT ( 21 , 8 ) ; |
| Center = TRUE ; |
| Text [ en-US ] = "~to" ; |
| }; |
| ListBox LB_HORITO |
| { |
| HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_HORITO"; |
| Pos = MAP_APPFONT ( 183 , 124 ) ; |
| Size = MAP_APPFONT ( 65 , 60 ) ; |
| TabStop = TRUE ; |
| DropDown = TRUE ; |
| }; |
| CheckBox CB_HORIMIRROR |
| { |
| HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_HORIMIRROR"; |
| Pos = MAP_APPFONT ( 12 , 139 ) ; |
| Size = MAP_APPFONT ( 236 , 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~Mirror on even pages" ; |
| }; |
| FixedText FT_VERT |
| { |
| Pos = MAP_APPFONT ( 12 , 155 ) ; |
| Size = MAP_APPFONT ( 35 , 8 ) ; |
| Left = TRUE ; |
| Text [ en-US ] = "~Vertical" ; |
| }; |
| ListBox LB_VERT |
| { |
| HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERT"; |
| Pos = MAP_APPFONT ( 49 , 153 ) ; |
| Size = MAP_APPFONT ( 50 , 60 ) ; |
| TabStop = TRUE ; |
| DropDown = TRUE ; |
| }; |
| FixedText FT_VERTBY |
| { |
| Pos = MAP_APPFONT ( 101 , 155 ) ; |
| Size = MAP_APPFONT ( 20 , 8 ) ; |
| Center = TRUE ; |
| Text [ en-US ] = "by" ; |
| }; |
| MetricField MF_VERTBY |
| { |
| HelpID = "cui:MetricField:RID_SVXPAGE_SWPOSSIZE:MF_VERTBY"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 123 , 153 ) ; |
| Size = MAP_APPFONT ( 35 , 12 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Minimum = -9999 ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| First = -9999 ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedText FT_VERTTO |
| { |
| Pos = MAP_APPFONT ( 160 , 155 ) ; |
| Size = MAP_APPFONT ( 21 , 8 ) ; |
| Center = TRUE ; |
| Text [ en-US ] = "t~o" ; |
| }; |
| ListBox LB_VERTTO |
| { |
| HelpID = "cui:ListBox:RID_SVXPAGE_SWPOSSIZE:LB_VERTTO"; |
| Pos = MAP_APPFONT ( 183 , 153 ) ; |
| Size = MAP_APPFONT ( 65 , 60 ) ; |
| TabStop = TRUE ; |
| DropDown = TRUE ; |
| }; |
| CheckBox CB_FOLLOW |
| { |
| HelpID = "cui:CheckBox:RID_SVXPAGE_SWPOSSIZE:CB_FOLLOW"; |
| Pos = MAP_APPFONT ( 12 , 168 ) ; |
| Size = MAP_APPFONT ( 113 , 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "Follow text flow" ; |
| }; |
| }; |