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