xref: /aoo41x/main/svx/source/dialog/hdft.src (revision 09a1d057)
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 <svx/dialogs.hrc>
26#include "hdft.hrc"
27 // pragma ----------------------------------------------------------------
28
29#define  _TEXT_FT_LMARGIN \
30        Text [ en-US ] = "~Left margin" ;                              \
31
32#define _TEXT_FT_RMARGIN \
33        Text [ en-US ] = "R~ight margin" ;                             \
34
35
36 // RID_SVXPAGE_HEADER ----------------------------------------------------
37TabPage RID_SVXPAGE_HEADER
38{
39	HelpId = HID_FORMAT_HEADER ;
40	Hide = TRUE ;
41	Text [ en-US ] = "Header" ;
42	Size = MAP_APPFONT ( 260 , 185 ) ;
43	CheckBox CB_TURNON
44	{
45	    HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_TURNON";
46        Pos = MAP_APPFONT ( 12 , 14 ) ;
47        Size = MAP_APPFONT ( 152 , 10 ) ;
48		Text [ en-US ] = "Hea~der on" ;
49	};
50	CheckBox CB_SHARED
51	{
52	    HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_SHARED";
53        Pos = MAP_APPFONT ( 12 , 30 ) ;
54        Size = MAP_APPFONT ( 152 , 10 ) ;
55		Text [ en-US ] = "Same ~content left/right" ;
56	};
57	FixedText FT_LMARGIN
58	{
59        Pos = MAP_APPFONT ( 12 , 48 ) ;
60		Size = MAP_APPFONT ( 102 , 8 ) ;
61        _TEXT_FT_LMARGIN
62        Left = TRUE ;
63    };
64	MetricField ED_LMARGIN
65	{
66	    HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_LMARGIN";
67		Border = TRUE ;
68        Pos = MAP_APPFONT ( 124 , 46 ) ;
69		Size = MAP_APPFONT ( 40 , 12 ) ;
70		Left = TRUE ;
71		Repeat = TRUE ;
72		Spin = TRUE ;
73		Maximum = 9999 ;
74		Minimum = 0 ;
75		DecimalDigits = 2 ;
76		Unit = FUNIT_CM ;
77		Last = 9999 ;
78		SpinSize = 10 ;
79	};
80	FixedText FT_RMARGIN
81	{
82        Pos = MAP_APPFONT ( 12 , 64 ) ;
83		Size = MAP_APPFONT ( 102 , 8 ) ;
84        _TEXT_FT_RMARGIN
85        Left = TRUE ;
86	};
87	MetricField ED_RMARGIN
88	{
89	    HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_RMARGIN";
90		Border = TRUE ;
91        Pos = MAP_APPFONT ( 124 , 62 ) ;
92		Size = MAP_APPFONT ( 40 , 12 ) ;
93		Left = TRUE ;
94		Repeat = TRUE ;
95		Spin = TRUE ;
96		Minimum = 0 ;
97		Maximum = 9999 ;
98		DecimalDigits = 2 ;
99		Unit = FUNIT_CM ;
100		Last = 9999 ;
101		SpinSize = 10 ;
102	};
103
104	FixedText FT_DIST
105	{
106        Pos = MAP_APPFONT ( 12 , 82 ) ;
107		Size = MAP_APPFONT ( 102 , 8 ) ;
108		Text [ en-US ] = "~Spacing" ;
109	};
110	MetricField ED_DIST
111	{
112	    HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_DIST";
113		Disable = TRUE ;
114		Border = TRUE ;
115        Pos = MAP_APPFONT ( 124 , 80 ) ;
116		Size = MAP_APPFONT ( 40 , 12 ) ;
117		Left = TRUE ;
118		Repeat = TRUE ;
119		Spin = TRUE ;
120		Maximum = 9999 ;
121		DecimalDigits = 2 ;
122		Unit = FUNIT_CM ;
123		Last = 9999 ;
124		SpinSize = 10 ;
125	};
126    CheckBox CB_DYNSPACING
127	{
128        HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_DYNSPACING";
129        Pos = MAP_APPFONT ( 12 , 96 ) ;
130        Size = MAP_APPFONT ( 152 , 10 ) ;
131        Hide = TRUE;
132        Text [ en-US ] = "Use d~ynamic spacing" ;
133	};
134    FixedText FT_HEIGHT
135	{
136        Pos = MAP_APPFONT ( 12 , 98 ) ;
137		Size = MAP_APPFONT ( 102 , 8 ) ;
138        Text [ en-US ] = "~Height" ;
139	};
140	MetricField ED_HEIGHT
141	{
142	    HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_HEIGHT";
143		Disable = TRUE ;
144		Border = TRUE ;
145        Pos = MAP_APPFONT ( 124 , 96 ) ;
146		Size = MAP_APPFONT ( 40 , 12 ) ;
147		Left = TRUE ;
148		Repeat = TRUE ;
149		Spin = TRUE ;
150        Minimum = 10 ;
151		Maximum = 9999 ;
152		DecimalDigits = 2 ;
153		Unit = FUNIT_CM ;
154		First = 50 ;
155		Last = 9999 ;
156		SpinSize = 10 ;
157	};
158	CheckBox CB_HEIGHT_DYN
159	{
160	    HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_HEIGHT_DYN";
161        Pos = MAP_APPFONT ( 12 , 112 ) ;
162        Size = MAP_APPFONT ( 152 , 10 ) ;
163		Text [ en-US ] = "~AutoFit height" ;
164	};
165	FixedLine FL_FRAME
166	{
167        Pos = MAP_APPFONT ( 6 , 3 ) ;
168        Size = MAP_APPFONT ( 164 , 8 ) ;
169		Text [ en-US ] = "Header" ;
170	};
171	Window WN_BSP
172	{
173        Pos = MAP_APPFONT ( 176 , 6 ) ;
174        Size = MAP_APPFONT ( 75 , 46 ) ;
175	};
176	PushButton BTN_EXTRAS
177	{
178	    HelpID = "svx:PushButton:RID_SVXPAGE_HEADER:BTN_EXTRAS";
179        Pos = MAP_APPFONT ( 12 , 130 ) ;
180		Size = MAP_APPFONT ( 50 , 14 ) ;
181		Text [ en-US ] = "~More..." ;
182	};
183};
184 // RID_SVXPAGE_FOOTER ----------------------------------------------------
185TabPage RID_SVXPAGE_FOOTER
186{
187	HelpId = HID_FORMAT_FOOTER ;
188	Hide = TRUE ;
189	Text [ en-US ] = "Footer" ;
190	Size = MAP_APPFONT ( 260 , 185 ) ;
191	CheckBox CB_TURNON
192	{
193	    HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_TURNON";
194        Pos = MAP_APPFONT ( 12 , 14 ) ;
195        Size = MAP_APPFONT ( 152 , 10 ) ;
196		Text [ en-US ] = "~Footer on" ;
197	};
198	CheckBox CB_SHARED
199	{
200	    HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_SHARED";
201        Pos = MAP_APPFONT ( 12 , 30 ) ;
202        Size = MAP_APPFONT ( 152 , 10 ) ;
203		Text [ en-US ] = "Same ~content left/right" ;
204	};
205	FixedText FT_LMARGIN
206	{
207        Pos = MAP_APPFONT ( 12 , 48 ) ;
208		Size = MAP_APPFONT ( 102 , 8 ) ;
209		Left = TRUE ;
210        _TEXT_FT_LMARGIN
211    };
212	MetricField ED_LMARGIN
213	{
214	    HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_LMARGIN";
215		Border = TRUE ;
216        Pos = MAP_APPFONT ( 124 , 46 ) ;
217		Size = MAP_APPFONT ( 40 , 12 ) ;
218		Left = TRUE ;
219		Repeat = TRUE ;
220		Spin = TRUE ;
221		Minimum = 0 ;
222		Maximum = 9999 ;
223		DecimalDigits = 2 ;
224		Unit = FUNIT_CM ;
225		Last = 9999 ;
226		SpinSize = 10 ;
227	};
228	FixedText FT_RMARGIN
229	{
230        Pos = MAP_APPFONT ( 12 , 64 ) ;
231		Size = MAP_APPFONT ( 102 , 8 ) ;
232        _TEXT_FT_RMARGIN
233		Left = TRUE ;
234	};
235	MetricField ED_RMARGIN
236	{
237	    HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_RMARGIN";
238		Border = TRUE ;
239        Pos = MAP_APPFONT ( 124 , 62 ) ;
240		Size = MAP_APPFONT ( 40 , 12 ) ;
241		Left = TRUE ;
242		Repeat = TRUE ;
243		Spin = TRUE ;
244		Minimum = 0 ;
245		Maximum = 9999 ;
246		DecimalDigits = 2 ;
247		Unit = FUNIT_CM ;
248		Last = 9999 ;
249		SpinSize = 10 ;
250	};
251	FixedText FT_DIST
252	{
253        Pos = MAP_APPFONT ( 12 , 82 ) ;
254		Size = MAP_APPFONT ( 102 , 8 ) ;
255		Text [ en-US ] = "~Spacing" ;
256	};
257	MetricField ED_DIST
258	{
259	    HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_DIST";
260		Disable = TRUE ;
261		Border = TRUE ;
262        Pos = MAP_APPFONT ( 124 , 80 ) ;
263		Size = MAP_APPFONT ( 40 , 12 ) ;
264		Left = TRUE ;
265		Repeat = TRUE ;
266		Spin = TRUE ;
267		Maximum = 9999 ;
268		DecimalDigits = 2 ;
269		Unit = FUNIT_CM ;
270		Last = 9999 ;
271		SpinSize = 10 ;
272	};
273    CheckBox CB_DYNSPACING
274	{
275        HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_DYNSPACING";
276        Pos = MAP_APPFONT ( 12 , 96 ) ;
277        Size = MAP_APPFONT ( 152 , 10 ) ;
278        Hide = TRUE;
279        Text [ en-US ] = "Use d~ynamic spacing" ;
280	};
281    FixedText FT_HEIGHT
282	{
283        Pos = MAP_APPFONT ( 12 , 98 ) ;
284		Size = MAP_APPFONT ( 102 , 8 ) ;
285		Disable = TRUE ;
286        Text [ en-US ] = "~Height" ;
287	};
288	MetricField ED_HEIGHT
289	{
290	    HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_HEIGHT";
291		Disable = TRUE ;
292		Border = TRUE ;
293        Pos = MAP_APPFONT ( 124 , 96 ) ;
294		Size = MAP_APPFONT ( 40 , 12 ) ;
295		Left = TRUE ;
296		Repeat = TRUE ;
297		Spin = TRUE ;
298        Minimum = 10 ;
299		Maximum = 9999 ;
300		DecimalDigits = 2 ;
301		Unit = FUNIT_CM ;
302		First = 50 ;
303		Last = 9999 ;
304		SpinSize = 10 ;
305	};
306	CheckBox CB_HEIGHT_DYN
307	{
308	    HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_HEIGHT_DYN";
309        Pos = MAP_APPFONT ( 12 , 112 ) ;
310        Size = MAP_APPFONT ( 152 , 10 ) ;
311		Text [ en-US ] = "~AutoFit height" ;
312	};
313
314	FixedLine FL_FRAME
315	{
316        Pos = MAP_APPFONT ( 6 , 3 ) ;
317        Size = MAP_APPFONT ( 164 , 8 ) ;
318		Text [ en-US ] = "Footer" ;
319	};
320	Window WN_BSP
321	{
322        Pos = MAP_APPFONT ( 176 , 6 ) ;
323        Size = MAP_APPFONT ( 75 , 46 ) ;
324	};
325	PushButton BTN_EXTRAS
326	{
327	    HelpID = "svx:PushButton:RID_SVXPAGE_FOOTER:BTN_EXTRAS";
328        Pos = MAP_APPFONT ( 12 , 130 ) ;
329		Size = MAP_APPFONT ( 50 , 14 ) ;
330		Text [ en-US ] = "~More..." ;
331	};
332};
333QueryBox RID_SVXQBX_DELETE_HEADFOOT
334{
335	Buttons = WB_YES_NO ;
336	DefButton = WB_DEF_NO ;
337	Message [ en-US ] = "Removing headers or footers deletes the contents.\nDo you want to delete this text?" ;
338};
339
340 // ********************************************************************** EOF
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380