1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
29 #include <svx/dialogs.hrc>
32 #define _TEXT_FT_LMARGIN \
33 Text [ en-US ] = "~Left margin" ; \
35 #define _TEXT_FT_RMARGIN \
36 Text [ en-US ] = "R~ight margin" ; \
39 // RID_SVXPAGE_HEADER ----------------------------------------------------
40 TabPage RID_SVXPAGE_HEADER
42 HelpId = HID_FORMAT_HEADER ;
44 Text [ en-US ] = "Header" ;
45 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
48 HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_TURNON";
49 Pos = MAP_APPFONT ( 12 , 14 ) ;
50 Size = MAP_APPFONT ( 152 , 10 ) ;
51 Text [ en-US ] = "Hea~der on" ;
55 HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_SHARED";
56 Pos = MAP_APPFONT ( 12 , 30 ) ;
57 Size = MAP_APPFONT ( 152 , 10 ) ;
58 Text [ en-US ] = "Same ~content left/right" ;
62 Pos = MAP_APPFONT ( 12 , 48 ) ;
63 Size = MAP_APPFONT ( 102 , 8 ) ;
67 MetricField ED_LMARGIN
69 HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_LMARGIN";
71 Pos = MAP_APPFONT ( 124 , 46 ) ;
72 Size = MAP_APPFONT ( 40 , 12 ) ;
85 Pos = MAP_APPFONT ( 12 , 64 ) ;
86 Size = MAP_APPFONT ( 102 , 8 ) ;
90 MetricField ED_RMARGIN
92 HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_RMARGIN";
94 Pos = MAP_APPFONT ( 124 , 62 ) ;
95 Size = MAP_APPFONT ( 40 , 12 ) ;
109 Pos = MAP_APPFONT ( 12 , 82 ) ;
110 Size = MAP_APPFONT ( 102 , 8 ) ;
111 Text [ en-US ] = "~Spacing" ;
115 HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_DIST";
118 Pos = MAP_APPFONT ( 124 , 80 ) ;
119 Size = MAP_APPFONT ( 40 , 12 ) ;
129 CheckBox CB_DYNSPACING
131 HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_DYNSPACING";
132 Pos = MAP_APPFONT ( 12 , 96 ) ;
133 Size = MAP_APPFONT ( 152 , 10 ) ;
135 Text [ en-US ] = "Use d~ynamic spacing" ;
139 Pos = MAP_APPFONT ( 12 , 98 ) ;
140 Size = MAP_APPFONT ( 102 , 8 ) ;
141 Text [ en-US ] = "~Height" ;
143 MetricField ED_HEIGHT
145 HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_HEIGHT";
148 Pos = MAP_APPFONT ( 124 , 96 ) ;
149 Size = MAP_APPFONT ( 40 , 12 ) ;
161 CheckBox CB_HEIGHT_DYN
163 HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_HEIGHT_DYN";
164 Pos = MAP_APPFONT ( 12 , 112 ) ;
165 Size = MAP_APPFONT ( 152 , 10 ) ;
166 Text [ en-US ] = "~AutoFit height" ;
170 Pos = MAP_APPFONT ( 6 , 3 ) ;
171 Size = MAP_APPFONT ( 164 , 8 ) ;
172 Text [ en-US ] = "Header" ;
176 Pos = MAP_APPFONT ( 176 , 6 ) ;
177 Size = MAP_APPFONT ( 75 , 46 ) ;
179 PushButton BTN_EXTRAS
181 HelpID = "svx:PushButton:RID_SVXPAGE_HEADER:BTN_EXTRAS";
182 Pos = MAP_APPFONT ( 12 , 130 ) ;
183 Size = MAP_APPFONT ( 50 , 14 ) ;
184 Text [ en-US ] = "~More..." ;
187 // RID_SVXPAGE_FOOTER ----------------------------------------------------
188 TabPage RID_SVXPAGE_FOOTER
190 HelpId = HID_FORMAT_FOOTER ;
192 Text [ en-US ] = "Footer" ;
193 Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
196 HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_TURNON";
197 Pos = MAP_APPFONT ( 12 , 14 ) ;
198 Size = MAP_APPFONT ( 152 , 10 ) ;
199 Text [ en-US ] = "~Footer on" ;
203 HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_SHARED";
204 Pos = MAP_APPFONT ( 12 , 30 ) ;
205 Size = MAP_APPFONT ( 152 , 10 ) ;
206 Text [ en-US ] = "Same ~content left/right" ;
210 Pos = MAP_APPFONT ( 12 , 48 ) ;
211 Size = MAP_APPFONT ( 102 , 8 ) ;
215 MetricField ED_LMARGIN
217 HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_LMARGIN";
219 Pos = MAP_APPFONT ( 124 , 46 ) ;
220 Size = MAP_APPFONT ( 40 , 12 ) ;
233 Pos = MAP_APPFONT ( 12 , 64 ) ;
234 Size = MAP_APPFONT ( 102 , 8 ) ;
238 MetricField ED_RMARGIN
240 HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_RMARGIN";
242 Pos = MAP_APPFONT ( 124 , 62 ) ;
243 Size = MAP_APPFONT ( 40 , 12 ) ;
256 Pos = MAP_APPFONT ( 12 , 82 ) ;
257 Size = MAP_APPFONT ( 102 , 8 ) ;
258 Text [ en-US ] = "~Spacing" ;
262 HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_DIST";
265 Pos = MAP_APPFONT ( 124 , 80 ) ;
266 Size = MAP_APPFONT ( 40 , 12 ) ;
276 CheckBox CB_DYNSPACING
278 HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_DYNSPACING";
279 Pos = MAP_APPFONT ( 12 , 96 ) ;
280 Size = MAP_APPFONT ( 152 , 10 ) ;
282 Text [ en-US ] = "Use d~ynamic spacing" ;
286 Pos = MAP_APPFONT ( 12 , 98 ) ;
287 Size = MAP_APPFONT ( 102 , 8 ) ;
289 Text [ en-US ] = "~Height" ;
291 MetricField ED_HEIGHT
293 HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_HEIGHT";
296 Pos = MAP_APPFONT ( 124 , 96 ) ;
297 Size = MAP_APPFONT ( 40 , 12 ) ;
309 CheckBox CB_HEIGHT_DYN
311 HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_HEIGHT_DYN";
312 Pos = MAP_APPFONT ( 12 , 112 ) ;
313 Size = MAP_APPFONT ( 152 , 10 ) ;
314 Text [ en-US ] = "~AutoFit height" ;
319 Pos = MAP_APPFONT ( 6 , 3 ) ;
320 Size = MAP_APPFONT ( 164 , 8 ) ;
321 Text [ en-US ] = "Footer" ;
325 Pos = MAP_APPFONT ( 176 , 6 ) ;
326 Size = MAP_APPFONT ( 75 , 46 ) ;
328 PushButton BTN_EXTRAS
330 HelpID = "svx:PushButton:RID_SVXPAGE_FOOTER:BTN_EXTRAS";
331 Pos = MAP_APPFONT ( 12 , 130 ) ;
332 Size = MAP_APPFONT ( 50 , 14 ) ;
333 Text [ en-US ] = "~More..." ;
336 QueryBox RID_SVXQBX_DELETE_HEADFOOT
338 Buttons = WB_YES_NO ;
339 DefButton = WB_DEF_NO ;
340 Message [ en-US ] = "Removing headers or footers deletes the contents.\nDo you want to delete this text?" ;
343 // ********************************************************************** EOF