1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: hdft.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 // include ---------------------------------------------------------------
32 #include <svx/dialogs.hrc>
34 // pragma ----------------------------------------------------------------
36 #define _TEXT_FT_LMARGIN \
37 Text [ en-US ] = "~Left margin" ; \
39 #define _TEXT_FT_RMARGIN \
40 Text [ en-US ] = "R~ight margin" ; \
43 // RID_SVXPAGE_HEADER ----------------------------------------------------
44 TabPage RID_SVXPAGE_HEADER
46 HelpId = HID_FORMAT_HEADER ;
48 Text [ en-US ] = "Header" ;
49 Size = MAP_APPFONT ( 260 , 185 ) ;
52 Pos = MAP_APPFONT ( 12 , 14 ) ;
53 Size = MAP_APPFONT ( 152 , 10 ) ;
54 Text [ en-US ] = "Hea~der on" ;
58 Pos = MAP_APPFONT ( 12 , 30 ) ;
59 Size = MAP_APPFONT ( 152 , 10 ) ;
60 Text [ en-US ] = "Same ~content left/right" ;
64 Pos = MAP_APPFONT ( 12 , 48 ) ;
65 Size = MAP_APPFONT ( 102 , 8 ) ;
69 MetricField ED_LMARGIN
72 Pos = MAP_APPFONT ( 124 , 46 ) ;
73 Size = MAP_APPFONT ( 40 , 12 ) ;
86 Pos = MAP_APPFONT ( 12 , 64 ) ;
87 Size = MAP_APPFONT ( 102 , 8 ) ;
91 MetricField 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" ;
117 Pos = MAP_APPFONT ( 124 , 80 ) ;
118 Size = MAP_APPFONT ( 40 , 12 ) ;
128 CheckBox CB_DYNSPACING
130 Pos = MAP_APPFONT ( 12 , 96 ) ;
131 Size = MAP_APPFONT ( 152 , 10 ) ;
133 Text [ en-US ] = "Use d~ynamic spacing" ;
137 Pos = MAP_APPFONT ( 12 , 98 ) ;
138 Size = MAP_APPFONT ( 102 , 8 ) ;
139 Text [ en-US ] = "~Height" ;
141 MetricField ED_HEIGHT
145 Pos = MAP_APPFONT ( 124 , 96 ) ;
146 Size = MAP_APPFONT ( 40 , 12 ) ;
158 CheckBox CB_HEIGHT_DYN
160 Pos = MAP_APPFONT ( 12 , 112 ) ;
161 Size = MAP_APPFONT ( 152 , 10 ) ;
162 Text [ en-US ] = "~AutoFit height" ;
166 Pos = MAP_APPFONT ( 6 , 3 ) ;
167 Size = MAP_APPFONT ( 164 , 8 ) ;
168 Text [ en-US ] = "Header" ;
172 Pos = MAP_APPFONT ( 176 , 6 ) ;
173 Size = MAP_APPFONT ( 75 , 46 ) ;
175 PushButton BTN_EXTRAS
177 Pos = MAP_APPFONT ( 12 , 130 ) ;
178 Size = MAP_APPFONT ( 50 , 14 ) ;
179 Text [ en-US ] = "~More..." ;
182 // RID_SVXPAGE_FOOTER ----------------------------------------------------
183 TabPage RID_SVXPAGE_FOOTER
185 HelpId = HID_FORMAT_FOOTER ;
187 Text [ en-US ] = "Footer" ;
188 Size = MAP_APPFONT ( 260 , 185 ) ;
191 Pos = MAP_APPFONT ( 12 , 14 ) ;
192 Size = MAP_APPFONT ( 152 , 10 ) ;
193 Text [ en-US ] = "~Footer on" ;
197 Pos = MAP_APPFONT ( 12 , 30 ) ;
198 Size = MAP_APPFONT ( 152 , 10 ) ;
199 Text [ en-US ] = "Same ~content left/right" ;
203 Pos = MAP_APPFONT ( 12 , 48 ) ;
204 Size = MAP_APPFONT ( 102 , 8 ) ;
208 MetricField ED_LMARGIN
211 Pos = MAP_APPFONT ( 124 , 46 ) ;
212 Size = MAP_APPFONT ( 40 , 12 ) ;
225 Pos = MAP_APPFONT ( 12 , 64 ) ;
226 Size = MAP_APPFONT ( 102 , 8 ) ;
230 MetricField ED_RMARGIN
233 Pos = MAP_APPFONT ( 124 , 62 ) ;
234 Size = MAP_APPFONT ( 40 , 12 ) ;
247 Pos = MAP_APPFONT ( 12 , 82 ) ;
248 Size = MAP_APPFONT ( 102 , 8 ) ;
249 Text [ en-US ] = "~Spacing" ;
255 Pos = MAP_APPFONT ( 124 , 80 ) ;
256 Size = MAP_APPFONT ( 40 , 12 ) ;
266 CheckBox CB_DYNSPACING
268 Pos = MAP_APPFONT ( 12 , 96 ) ;
269 Size = MAP_APPFONT ( 152 , 10 ) ;
271 Text [ en-US ] = "Use d~ynamic spacing" ;
275 Pos = MAP_APPFONT ( 12 , 98 ) ;
276 Size = MAP_APPFONT ( 102 , 8 ) ;
278 Text [ en-US ] = "~Height" ;
280 MetricField ED_HEIGHT
284 Pos = MAP_APPFONT ( 124 , 96 ) ;
285 Size = MAP_APPFONT ( 40 , 12 ) ;
297 CheckBox CB_HEIGHT_DYN
299 Pos = MAP_APPFONT ( 12 , 112 ) ;
300 Size = MAP_APPFONT ( 152 , 10 ) ;
301 Text [ en-US ] = "~AutoFit height" ;
306 Pos = MAP_APPFONT ( 6 , 3 ) ;
307 Size = MAP_APPFONT ( 164 , 8 ) ;
308 Text [ en-US ] = "Footer" ;
312 Pos = MAP_APPFONT ( 176 , 6 ) ;
313 Size = MAP_APPFONT ( 75 , 46 ) ;
315 PushButton BTN_EXTRAS
317 Pos = MAP_APPFONT ( 12 , 130 ) ;
318 Size = MAP_APPFONT ( 50 , 14 ) ;
319 Text [ en-US ] = "~More..." ;
322 QueryBox RID_SVXQBX_DELETE_HEADFOOT
324 Buttons = WB_YES_NO ;
325 DefButton = WB_DEF_NO ;
326 Message [ en-US ] = "Removing headers or footers deletes the contents.\nDo you want to delete this text?" ;
329 // ********************************************************************** EOF