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