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