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