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