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 "misc.hrc" 25#include "docfnote.hrc" 26#include "helpid.h" 27#include "cmdid.h" 28#include "frmui.hrc" 29TabDialog DLG_DOC_FOOTNOTE 30{ 31 OutputSize = TRUE ; 32 SVLook = TRUE ; 33 Text [ en-US ] = "Footnotes/Endnotes Settings" ; 34 Moveable = TRUE ; 35 TabControl 1 36 { 37 OutputSize = TRUE ; 38 PageList = 39 { 40 PageItem 41 { 42 Identifier = TP_FOOTNOTEOPTION ; 43 PageResID = TP_FOOTNOTEOPTION ; 44 Text [ en-US ] = "Footnotes" ; 45 }; 46 PageItem 47 { 48 Identifier = TP_ENDNOTEOPTION ; 49 PageResID = TP_ENDNOTEOPTION ; 50 Text [ en-US ] = "Endnotes" ; 51 }; 52 }; 53 }; 54}; 55TabPage TP_FOOTNOTEOPTION 56{ 57 SVLook = TRUE ; 58 Hide = TRUE ; 59 HelpID = HID_FOOTNOTE_OPTIONS ; 60 Pos = MAP_APPFONT ( 0, 0 ) ; 61 Size = MAP_APPFONT ( 260, 185 ) ; 62 FixedLine FL_NUM 63 { 64 Pos = MAP_APPFONT ( 6, 3 ) ; 65 Size = MAP_APPFONT ( 248, 8 ) ; 66 Text [ en-US ] = "AutoNumbering" ; 67 Group = TRUE ; 68 }; 69 FixedText FT_NUMTYPE 70 { 71 Pos = MAP_APPFONT ( 12, 16 ) ; 72 Size = MAP_APPFONT ( 51, 8 ) ; 73 Text [ en-US ] = "Num~bering" ; 74 }; 75 ListBox LB_NUMVIEW 76 { 77 HelpID = "sw:ListBox:TP_FOOTNOTEOPTION:LB_NUMVIEW" ; 78 Border = TRUE ; 79 Pos = MAP_APPFONT ( 65, 14 ) ; 80 Size = MAP_APPFONT ( 59, 72 ) ; 81 TabStop = TRUE ; 82 Group = TRUE ; 83 DropDown = TRUE ; 84 }; 85 FixedText FT_OFFSET 86 { 87 Pos = MAP_APPFONT ( 130, 16 ) ; 88 Size = MAP_APPFONT ( 50, 8 ) ; 89 Left = TRUE ; 90 Text [ en-US ] = "~Start at" ; 91 }; 92 NumericField FLD_OFFSET 93 { 94 HelpID = "sw:NumericField:TP_FOOTNOTEOPTION:FLD_OFFSET" ; 95 Pos = MAP_APPFONT ( 189, 14 ) ; 96 Size = MAP_APPFONT ( 30, 12 ) ; 97 Spin = TRUE ; 98 Minimum = 1 ; 99 First = 1 ; 100 Last = 9999 ; 101 Maximum = 9999 ; 102 TabStop = TRUE ; 103 Border = TRUE ; 104 }; 105 FixedText FT_NUMCOUNT 106 { 107 Pos = MAP_APPFONT ( 12, 31 ) ; 108 Size = MAP_APPFONT ( 51, 8 ) ; 109 Text [ en-US ] = "~Counting" ; 110 }; 111 ListBox LB_NUMCOUNT 112 { 113 HelpID = "sw:ListBox:TP_FOOTNOTEOPTION:LB_NUMCOUNT" ; 114 Border = TRUE ; 115 Pos = MAP_APPFONT ( 65, 29 ) ; 116 Size = MAP_APPFONT ( 59, 50 ) ; 117 TabStop = TRUE ; 118 Group = TRUE ; 119 DropDown = TRUE ; 120 CurPos = 0 ; 121 StringList [ en-US ] = 122 { 123 < "Per page" ; > ; 124 < "Per chapter" ; > ; 125 < "Per document" ; > ; 126 }; 127 }; 128 FixedText FT_PREFIX 129 { 130 Pos = MAP_APPFONT ( 12, 46 ) ; 131 Size = MAP_APPFONT ( 48, 8 ) ; 132 Text [ en-US ] = "~Before" ; 133 Left = TRUE ; 134 }; 135 Edit ED_PREFIX 136 { 137 HelpID = "sw:Edit:TP_FOOTNOTEOPTION:ED_PREFIX" ; 138 Border = TRUE ; 139 Pos = MAP_APPFONT ( 65, 44 ) ; 140 Size = MAP_APPFONT ( 59, 12 ) ; 141 TabStop = TRUE ; 142 Left = TRUE ; 143 MaxTextLength = 50 ; 144 }; 145 FixedText FT_SUFFIX 146 { 147 Pos = MAP_APPFONT ( 130, 46 ) ; 148 Size = MAP_APPFONT ( 48, 8 ) ; 149 Text [ en-US ] = "~After" ; 150 Left = TRUE ; 151 }; 152 Edit ED_SUFFIX 153 { 154 HelpID = "sw:Edit:TP_FOOTNOTEOPTION:ED_SUFFIX" ; 155 Border = TRUE ; 156 Pos = MAP_APPFONT ( 189, 44 ) ; 157 Size = MAP_APPFONT ( 59, 12 ) ; 158 TabStop = TRUE ; 159 Left = TRUE ; 160 MaxTextLength = 50 ; 161 }; 162 FixedText FT_POS 163 { 164 Pos = MAP_APPFONT ( 12, 63 ) ; 165 Size = MAP_APPFONT ( 36, 8 ) ; 166 Text [ en-US ] = "Position" ; 167 }; 168 RadioButton RB_POS_PAGE 169 { 170 HelpID = "sw:RadioButton:TP_FOOTNOTEOPTION:RB_POS_PAGE" ; 171 Pos = MAP_APPFONT ( 65, 62 ) ; 172 Size = MAP_APPFONT ( 150, 10 ) ; 173 Text [ en-US ] = "~End of page" ; 174 TabStop = TRUE ; 175 Group = TRUE ; 176 }; 177 RadioButton RB_POS_CHAPTER 178 { 179 HelpID = "sw:RadioButton:TP_FOOTNOTEOPTION:RB_POS_CHAPTER" ; 180 Pos = MAP_APPFONT ( 65, 75 ) ; 181 Size = MAP_APPFONT ( 150, 10 ) ; 182 Text [ en-US ] = "En~d of document" ; 183 }; 184 FixedLine FL_TEMPL 185 { 186 Pos = MAP_APPFONT ( 6, 89 ) ; 187 Size = MAP_APPFONT ( 103, 8 ) ; 188 Text [ en-US ] = "Styles" ; 189 }; 190 FixedText FT_PARA_TEMPL 191 { 192 Pos = MAP_APPFONT ( 12, 102 ) ; 193 Size = MAP_APPFONT ( 35, 8 ) ; 194 Text [ en-US ] = "Pa~ragraph" ; 195 Left = TRUE ; 196 }; 197 ListBox LB_PARA_TEMPL 198 { 199 HelpID = "sw:ListBox:TP_FOOTNOTEOPTION:LB_PARA_TEMPL" ; 200 Border = TRUE ; 201 Pos = MAP_APPFONT ( 48, 100 ) ; 202 Size = MAP_APPFONT ( 58, 80 ) ; 203 TabStop = TRUE ; 204 DropDown = TRUE ; 205 CurPos = 0 ; 206 Sort = TRUE ; 207 }; 208 FixedText FT_PAGE_TEMPL 209 { 210 Pos = MAP_APPFONT ( 12, 118 ) ; 211 Size = MAP_APPFONT ( 35, 8 ) ; 212 Text [ en-US ] = "~Page" ; 213 Left = TRUE ; 214 }; 215 ListBox LB_PAGE_TEMPL 216 { 217 HelpID = "sw:ListBox:TP_FOOTNOTEOPTION:LB_PAGE_TEMPL" ; 218 Border = TRUE ; 219 Pos = MAP_APPFONT ( 48, 116) ; 220 Size = MAP_APPFONT ( 58, 80 ) ; 221 TabStop = TRUE ; 222 DropDown = TRUE ; 223 }; 224 FixedLine FL_CHAR_TEMPL 225 { 226 Pos = MAP_APPFONT ( 113, 89 ) ; 227 Size = MAP_APPFONT ( 141, 8 ) ; 228 229 Text [ en-US ] = "Character Styles" ; 230 }; 231 FixedText FT_ANCHR_CHARFMT 232 { 233 Pos = MAP_APPFONT ( 117, 102 ) ; 234 Size = MAP_APPFONT ( 67, 8 ) ; 235 Left = TRUE ; 236 Text [ en-US ] = "Te~xt area" ; 237 }; 238 ListBox LB_ANCHR_CHARFMT 239 { 240 HelpID = "sw:ListBox:TP_FOOTNOTEOPTION:LB_ANCHR_CHARFMT" ; 241 Border = TRUE ; 242 Pos = MAP_APPFONT ( 186, 100 ) ; 243 Size = MAP_APPFONT ( 65, 72 ) ; 244 TabStop = TRUE ; 245 DropDown = TRUE ; 246 Sort = TRUE ; 247 }; 248 FixedText FT_TEXT_CHARFMT 249 { 250 Pos = MAP_APPFONT ( 117, 118 ) ; 251 Size = MAP_APPFONT ( 67, 8 ) ; 252 Left = TRUE ; 253 Text [ en-US ] = "~Footnote area" ; 254 }; 255 ListBox LB_TEXT_CHARFMT 256 { 257 HelpID = "sw:ListBox:TP_FOOTNOTEOPTION:LB_TEXT_CHARFMT" ; 258 Border = TRUE ; 259 Pos = MAP_APPFONT ( 186, 116 ) ; 260 Size = MAP_APPFONT ( 65, 72 ) ; 261 TabStop = TRUE ; 262 DropDown = TRUE ; 263 Sort = TRUE ; 264 }; 265 FixedLine FL_CONT 266 { 267 Pos = MAP_APPFONT ( 6, 134 ) ; 268 Size = MAP_APPFONT ( 248, 8 ) ; 269 Text [ en-US ] = "Continuation notice" ; 270 }; 271 FixedText FT_CONT 272 { 273 Pos = MAP_APPFONT ( 12, 148 ) ; 274 Size = MAP_APPFONT ( 73, 8 ) ; 275 Text [ en-US ] = "End ~of footnote" ; 276 Left = TRUE ; 277 }; 278 Edit ED_CONT 279 { 280 HelpID = "sw:Edit:TP_FOOTNOTEOPTION:ED_CONT" ; 281 Border = TRUE ; 282 Pos = MAP_APPFONT ( 88, 145 ) ; 283 Size = MAP_APPFONT ( 160, 12 ) ; 284 TabStop = TRUE ; 285 Left = TRUE ; 286 MaxTextLength = 30 ; 287 }; 288 FixedText FT_CONT_FROM 289 { 290 Pos = MAP_APPFONT ( 12, 163 ) ; 291 Size = MAP_APPFONT ( 73, 8 ) ; 292 Text [ en-US ] = "Star~t of next page" ; 293 Left = TRUE ; 294 }; 295 Edit ED_CONT_FROM 296 { 297 HelpID = "sw:Edit:TP_FOOTNOTEOPTION:ED_CONT_FROM" ; 298 Border = TRUE ; 299 Pos = MAP_APPFONT ( 88, 161 ) ; 300 Size = MAP_APPFONT ( 160, 12 ) ; 301 TabStop = TRUE ; 302 Left = TRUE ; 303 MaxTextLength = 30 ; 304 }; 305}; 306TabPage TP_ENDNOTEOPTION 307{ 308 SVLook = TRUE ; 309 Hide = TRUE ; 310 HelpID = HID_ENDNOTE_OPTIONS ; 311 Pos = MAP_APPFONT ( 0, 0 ) ; 312 Size = MAP_APPFONT ( 260, 185 ) ; 313 FixedLine FL_NUM 314 { 315 Pos = MAP_APPFONT ( 6, 2 ) ; 316 Size = MAP_APPFONT ( 248, 8 ) ; 317 Text [ en-US ] = "AutoNumbering" ; 318 Group = TRUE ; 319 }; 320 FixedText FT_NUMTYPE 321 { 322 Pos = MAP_APPFONT ( 12, 16 ) ; 323 Size = MAP_APPFONT ( 51, 8 ) ; 324 Text [ en-US ] = "~Numbering" ; 325 }; 326 ListBox LB_NUMVIEW 327 { 328 HelpID = "sw:ListBox:TP_ENDNOTEOPTION:LB_NUMVIEW" ; 329 Border = TRUE ; 330 Pos = MAP_APPFONT ( 65, 14 ) ; 331 Size = MAP_APPFONT ( 59, 72 ) ; 332 TabStop = TRUE ; 333 Group = TRUE ; 334 DropDown = TRUE ; 335 CurPos = 0 ; 336 StringList = 337 { 338 "A, B, C" ; 339 "a, b, c" ; 340 "I, II, III" ; 341 "i, ii, iii" ; 342 "1, 2, 3" ; 343 "A, .., AA, .., AAA" ; 344 "a, .., aa, .., aaa" ; 345 }; 346 }; 347 FixedText FT_OFFSET 348 { 349 Pos = MAP_APPFONT ( 130, 16 ) ; 350 Size = MAP_APPFONT ( 50, 8 ) ; 351 Left = TRUE ; 352 Text [ en-US ] = "~Start at" ; 353 }; 354 NumericField FLD_OFFSET 355 { 356 HelpID = "sw:NumericField:TP_ENDNOTEOPTION:FLD_OFFSET" ; 357 Pos = MAP_APPFONT ( 189, 14 ) ; 358 Size = MAP_APPFONT ( 30, 12 ) ; 359 Spin = TRUE ; 360 Minimum = 1 ; 361 First = 1 ; 362 Last = 9999 ; 363 Maximum = 9999 ; 364 TabStop = TRUE ; 365 Border = TRUE ; 366 }; 367 FixedText FT_NUMCOUNT 368 { 369 Pos = MAP_APPFONT ( 82, 14 ) ; 370 Size = MAP_APPFONT ( 36, 8 ) ; 371 Hide = TRUE; 372 }; 373 ListBox LB_NUMCOUNT 374 { 375 HelpID = "sw:ListBox:TP_ENDNOTEOPTION:LB_NUMCOUNT" ; 376 Border = TRUE ; 377 Pos = MAP_APPFONT ( 12, 27 ) ; 378 Size = MAP_APPFONT ( 62, 72 ) ; 379 Hide = TRUE ; 380 }; 381 FixedText FT_PREFIX 382 { 383 Pos = MAP_APPFONT ( 12, 32 ) ; 384 Size = MAP_APPFONT ( 48, 8 ) ; 385 386 Text [ en-US ] = "~Before" ; 387 Left = TRUE ; 388 }; 389 Edit ED_PREFIX 390 { 391 HelpID = "sw:Edit:TP_ENDNOTEOPTION:ED_PREFIX" ; 392 Pos = MAP_APPFONT ( 65, 30 ) ; 393 Size = MAP_APPFONT ( 59, 12 ) ; 394 Border = TRUE ; 395 TabStop = TRUE ; 396 Left = TRUE ; 397 MaxTextLength = 50 ; 398 }; 399 FixedText FT_SUFFIX 400 { 401 Pos = MAP_APPFONT ( 130, 32 ) ; 402 Size = MAP_APPFONT ( 48, 8 ) ; 403 Text [ en-US ] = "~After" ; 404 Left = TRUE ; 405 }; 406 Edit ED_SUFFIX 407 { 408 HelpID = "sw:Edit:TP_ENDNOTEOPTION:ED_SUFFIX" ; 409 Pos = MAP_APPFONT ( 189, 30 ) ; 410 Size = MAP_APPFONT ( 59, 12 ) ; 411 Border = TRUE ; 412 TabStop = TRUE ; 413 Left = TRUE ; 414 MaxTextLength = 50 ; 415 }; 416 FixedText FT_POS 417 { 418 Pos = MAP_APPFONT ( 82, 14 ) ; 419 Size = MAP_APPFONT ( 36, 8 ) ; 420 Hide = TRUE; 421 }; 422 RadioButton RB_POS_PAGE 423 { 424 HelpID = "sw:RadioButton:TP_ENDNOTEOPTION:RB_POS_PAGE" ; 425 Pos = MAP_APPFONT ( 12, 104 ) ; 426 Size = MAP_APPFONT ( 60, 10 ) ; 427 Text [ en-US ] = "End ~of page" ; 428 TabStop = TRUE ; 429 Group = TRUE ; 430 }; 431 RadioButton RB_POS_CHAPTER 432 { 433 HelpID = "sw:RadioButton:TP_ENDNOTEOPTION:RB_POS_CHAPTER" ; 434 Pos = MAP_APPFONT ( 12, 118 ) ; 435 Size = MAP_APPFONT ( 60, 10 ) ; 436 Text [ en-US ] = "End of ~document" ; 437 }; 438 FixedLine FL_TEMPL 439 { 440 Pos = MAP_APPFONT ( 6, 46 ) ; 441 Size = MAP_APPFONT ( 115, 8 ) ; 442 Text [ en-US ] = "Styles" ; 443 }; 444 FixedText FT_PARA_TEMPL 445 { 446 Pos = MAP_APPFONT ( 12, 58 ) ; 447 Size = MAP_APPFONT ( 38, 8 ) ; 448 Text [ en-US ] = "Pa~ragraph" ; 449 Left = TRUE ; 450 }; 451 ListBox LB_PARA_TEMPL 452 { 453 HelpID = "sw:ListBox:TP_ENDNOTEOPTION:LB_PARA_TEMPL" ; 454 Border = TRUE ; 455 Pos = MAP_APPFONT ( 51, 56 ) ; 456 Size = MAP_APPFONT ( 67, 72 ) ; 457 TabStop = TRUE ; 458 DropDown = TRUE ; 459 CurPos = 0 ; 460 Sort = TRUE ; 461 }; 462 FixedText FT_PAGE_TEMPL 463 { 464 Pos = MAP_APPFONT ( 12, 74 ) ; 465 Size = MAP_APPFONT ( 38, 8 ) ; 466 Text [ en-US ] = "~Page" ; 467 Left = TRUE ; 468 }; 469 ListBox LB_PAGE_TEMPL 470 { 471 HelpID = "sw:ListBox:TP_ENDNOTEOPTION:LB_PAGE_TEMPL" ; 472 Border = TRUE ; 473 Pos = MAP_APPFONT ( 51, 72 ) ; 474 Size = MAP_APPFONT ( 67, 72 ) ; 475 TabStop = TRUE ; 476 DropDown = TRUE ; 477 }; 478 FixedLine FL_CHAR_TEMPL 479 { 480 Pos = MAP_APPFONT ( 125, 46 ) ; 481 Size = MAP_APPFONT ( 129, 8 ) ; 482 Text [ en-US ] = "Character Styles" ; 483 }; 484 FixedText FT_ANCHR_CHARFMT 485 { 486 Pos = MAP_APPFONT ( 129, 58 ) ; 487 Size = MAP_APPFONT ( 55, 8 ) ; 488 Left = TRUE ; 489 Text [ en-US ] = "Te~xt area" ; 490 }; 491 ListBox LB_ANCHR_CHARFMT 492 { 493 HelpID = "sw:ListBox:TP_ENDNOTEOPTION:LB_ANCHR_CHARFMT" ; 494 Border = TRUE ; 495 Pos = MAP_APPFONT ( 186, 56 ) ; 496 Size = MAP_APPFONT ( 65, 72 ) ; 497 TabStop = TRUE ; 498 DropDown = TRUE ; 499 Sort = TRUE ; 500 }; 501 FixedText FT_TEXT_CHARFMT 502 { 503 Pos = MAP_APPFONT ( 129, 74 ) ; 504 Size = MAP_APPFONT ( 55, 8 ) ; 505 Left = TRUE ; 506 Text [ en-US ] = "~Endnote area" ; 507 }; 508 ListBox LB_TEXT_CHARFMT 509 { 510 HelpID = "sw:ListBox:TP_ENDNOTEOPTION:LB_TEXT_CHARFMT" ; 511 Border = TRUE ; 512 Pos = MAP_APPFONT ( 186, 72 ) ; 513 Size = MAP_APPFONT ( 65, 72 ) ; 514 TabStop = TRUE ; 515 DropDown = TRUE ; 516 Sort = TRUE ; 517 }; 518 FixedLine FL_CONT 519 { 520 Pos = MAP_APPFONT ( 80, 91 ) ; 521 Size = MAP_APPFONT ( 174, 8 ) ; 522 Text [ en-US ] = "Continuation notice" ; 523 }; 524 FixedText FT_CONT 525 { 526 Pos = MAP_APPFONT ( 86, 103 ) ; 527 Size = MAP_APPFONT ( 38, 8 ) ; 528 Text [ en-US ] = "~Following page" ; 529 Left = TRUE ; 530 }; 531 Edit ED_CONT 532 { 533 HelpID = "sw:Edit:TP_ENDNOTEOPTION:ED_CONT" ; 534 Border = TRUE ; 535 Pos = MAP_APPFONT ( 137, 101 ) ; 536 Size = MAP_APPFONT ( 114, 12 ) ; 537 TabStop = TRUE ; 538 Left = TRUE ; 539 MaxTextLength = 30 ; 540 }; 541 FixedText FT_CONT_FROM 542 { 543 Pos = MAP_APPFONT ( 86, 118 ) ; 544 Size = MAP_APPFONT ( 38, 8 ) ; 545 Text [ en-US ] = "~Start" ; 546 Left = TRUE ; 547 }; 548 Edit ED_CONT_FROM 549 { 550 HelpID = "sw:Edit:TP_ENDNOTEOPTION:ED_CONT_FROM" ; 551 Border = TRUE ; 552 Pos = MAP_APPFONT ( 137, 116 ) ; 553 Size = MAP_APPFONT ( 114, 12 ) ; 554 TabStop = TRUE ; 555 Left = TRUE ; 556 MaxTextLength = 30 ; 557 }; 558}; 559 560// ********************************************************************** EOF 561