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