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 28 // include --------------------------------------------------------------- 29 30#include "sfx2/sfx.hrc" 31#include "helpid.hrc" 32#include "sfxlocal.hrc" 33#include "dinfdlg.hrc" 34#include "dialog.hrc" 35 36 // TP_DOCINFODESC -------------------------------------------------------- 37String STR_SFX_NEWOFFICEDOC 38{ 39 Text [ en-US ] = "%PRODUCTNAME document" ; 40}; 41 42TabPage TP_DOCINFODESC 43{ 44 HelpId = HID_DOCINFODESC ; 45 Hide = TRUE ; 46 Size = MAP_APPFONT ( 260 , 185 ) ; 47 FixedText FT_TITLE 48 { 49 Pos = MAP_APPFONT ( 6 , 7 ) ; 50 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 51 Left = TRUE ; 52 Text [ en-US ] = "~Title" ; 53 }; 54 Edit ED_TITLE 55 { 56 HelpID = "sfx2:Edit:TP_DOCINFODESC:ED_TITLE"; 57 Border = TRUE ; 58 Pos = MAP_APPFONT ( 70 , 6 ) ; 59 Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ; 60 TabStop = TRUE ; 61 Left = TRUE ; 62 }; 63 FixedText FT_THEMA 64 { 65 Pos = MAP_APPFONT ( 6 , 22 ) ; 66 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 67 Left = TRUE ; 68 Text [ en-US ] = "~Subject" ; 69 }; 70 Edit ED_THEMA 71 { 72 HelpID = "sfx2:Edit:TP_DOCINFODESC:ED_THEMA"; 73 Border = TRUE ; 74 Pos = MAP_APPFONT ( 70 , 21 ) ; 75 Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ; 76 TabStop = TRUE ; 77 Left = TRUE ; 78 }; 79 FixedText FT_KEYWORDS 80 { 81 Pos = MAP_APPFONT ( 6 , 37 ) ; 82 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 83 Left = TRUE ; 84 Text [ en-US ] = "~Keywords" ; 85 }; 86 Edit ED_KEYWORDS 87 { 88 HelpID = "sfx2:Edit:TP_DOCINFODESC:ED_KEYWORDS"; 89 Border = TRUE ; 90 Pos = MAP_APPFONT ( 70 , 36 ) ; 91 Size = MAP_APPFONT ( 184 , RSC_CD_TEXTBOX_HEIGHT ) ; 92 TabStop = TRUE ; 93 Left = TRUE ; 94 }; 95 FixedText FT_COMMENT 96 { 97 Pos = MAP_APPFONT ( 6 , 52 ) ; 98 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 99 Left = TRUE ; 100 Text [ en-US ] = "~Comments" ; 101 }; 102 MultiLineEdit ED_COMMENT 103 { 104 HelpID = "sfx2:MultiLineEdit:TP_DOCINFODESC:ED_COMMENT"; 105 Border = TRUE ; 106 Pos = MAP_APPFONT ( 70 , 51 ) ; 107 Size = MAP_APPFONT ( 184 , 128 ) ; 108 IgnoreTab = TRUE ; 109 Left = TRUE ; 110 VScroll = TRUE ; 111 }; 112}; 113 114 // TP_DOCINFODOC --------------------------------------------------------- 115 116TabPage TP_DOCINFODOC 117{ 118 HelpId = HID_DOCINFODOC ; 119 Hide = TRUE ; 120 Size = MAP_APPFONT ( 260 , 185 ) ; 121 FixedImage BMP_FILE_1 122 { 123 Pos = MAP_APPFONT ( 6 , 7 ) ; 124 Size = MAP_APPFONT ( 20 , 20 ) ; 125 }; 126 Edit ED_FILE_NAME 127 { 128 HelpID = "sfx2:Edit:TP_DOCINFODOC:ED_FILE_NAME"; 129 Pos = MAP_APPFONT ( 54 , 12 ) ; 130 Size = MAP_APPFONT ( 200 , RSC_CD_TEXTBOX_HEIGHT ) ; 131 Border = TRUE ; 132 }; 133 FixedLine FL_FILE_1 134 { 135 Pos = MAP_APPFONT ( 6 , 31 ) ; 136 Size = MAP_APPFONT ( 248 , 1 ) ; 137 }; 138 FixedText FT_FILE_TYP 139 { 140 Pos = MAP_APPFONT ( 6 , 37 ) ; 141 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 142 Text [ en-US ] = "Type:" ; 143 }; 144 Edit FT_FILE_SHOW_TYP 145 { 146 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_FILE_SHOW_TYP"; 147 Pos = MAP_APPFONT ( 78 , 37 ) ; 148 Size = MAP_APPFONT ( 106 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 149 }; 150 CheckBox CB_FILE_READONLY 151 { 152 HelpID = "sfx2:CheckBox:TP_DOCINFODOC:CB_FILE_READONLY"; 153 Pos = MAP_APPFONT ( 163 , 37 ) ; 154 Size = MAP_APPFONT ( 91 , RSC_CD_CHECKBOX_HEIGHT ) ; 155 Text [ en-US ] = "~Read-only" ; 156 }; 157 FixedText FT_FILE 158 { 159 Pos = MAP_APPFONT ( 6 , 49 ) ; 160 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 161 Text [ en-US ] = "Location:" ; 162 }; 163 Edit FT_FILE_VAL 164 { 165 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_FILE_VAL"; 166 Pos = MAP_APPFONT ( 78 , 49 ) ; 167 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 168 }; 169 FixedText FT_FILE_SIZE 170 { 171 Pos = MAP_APPFONT ( 6 , 61 ) ; 172 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 173 Text [ en-US ] = "Size:" ; 174 }; 175 Edit FT_FILE_SHOW_SIZE 176 { 177 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_FILE_SHOW_SIZE"; 178 Pos = MAP_APPFONT ( 78 , 61 ) ; 179 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 180 }; 181 FixedLine FL_FILE_2 182 { 183 Pos = MAP_APPFONT ( 6 , 74 ) ; 184 Size = MAP_APPFONT ( 248 , 1 ) ; 185 }; 186 FixedText FT_CREATE 187 { 188 Pos = MAP_APPFONT ( 6 , 80 ) ; 189 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 190 Text [ en-US ] = "Created:" ; 191 }; 192 Edit FT_CREATE_VAL 193 { 194 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_CREATE_VAL"; 195 Pos = MAP_APPFONT ( 78 , 80 ) ; 196 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 197 }; 198 FixedText FT_CHANGE 199 { 200 Pos = MAP_APPFONT ( 6 , 92 ) ; 201 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 202 Text [ en-US ] = "Modified:" ; 203 }; 204 Edit FT_CHANGE_VAL 205 { 206 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_CHANGE_VAL"; 207 Pos = MAP_APPFONT ( 78 , 92 ) ; 208 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 209 }; 210 FixedText FT_SIGNED 211 { 212 Pos = MAP_APPFONT ( 6 , 104 ) ; 213 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 214 Text [ en-US ] = "Digitally signed:" ; 215 }; 216 Edit FT_SIGNED_VAL 217 { 218 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_SIGNED_VAL"; 219 Pos = MAP_APPFONT ( 78 , 104 ) ; 220 Size = MAP_APPFONT ( 123 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 221 }; 222 PushButton BTN_SIGNATURE 223 { 224 HelpID = "sfx2:PushButton:TP_DOCINFODOC:BTN_SIGNATURE"; 225 Pos = MAP_APPFONT ( 204 , 101 ) ; 226 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 227 Text [ en-US ] = "Digital Signature..."; 228 }; 229 String STR_MULTSIGNED 230 { 231 Text [ en-US ] = "Multiply signed document" ; 232 }; 233 FixedText FT_PRINT 234 { 235 Pos = MAP_APPFONT ( 6 , 116 ) ; 236 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 237 Text [ en-US ] = "Last printed:" ; 238 }; 239 Edit FT_PRINT_VAL 240 { 241 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_PRINT_VAL"; 242 Pos = MAP_APPFONT ( 78 , 116 ) ; 243 Size = MAP_APPFONT ( 176 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 244 }; 245 FixedText FT_TIMELOG 246 { 247 Pos = MAP_APPFONT ( 6 , 128 ) ; 248 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 249 Text [ en-US ] = "Total editing time:" ; 250 }; 251 Edit FT_TIMELOG_VAL 252 { 253 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_TIMELOG_VAL"; 254 Pos = MAP_APPFONT ( 78 , 128 ) ; 255 Size = MAP_APPFONT ( 30 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 256 }; 257 FixedText FT_DOCNO 258 { 259 Pos = MAP_APPFONT ( 6 , 140 ) ; 260 Size = MAP_APPFONT ( 70 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 261 Text [ en-US ] = "Revision number:" ; 262 }; 263 Edit FT_DOCNO_VAL 264 { 265 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_DOCNO_VAL"; 266 Pos = MAP_APPFONT ( 78 , 140 ) ; 267 Size = MAP_APPFONT ( 30 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 268 }; 269 PushButton BTN_DELETE 270 { 271 HelpID = "sfx2:PushButton:TP_DOCINFODOC:BTN_DELETE"; 272 Pos = MAP_APPFONT ( 204 , 150 ) ; 273 Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 274 Hide = TRUE; 275 Text [ en-US ] = "Reset"; 276 }; 277 CheckBox CB_USE_USERDATA 278 { 279 HelpID = "sfx2:CheckBox:TP_DOCINFODOC:CB_USE_USERDATA"; 280 Pos = MAP_APPFONT ( 6 , 152 ) ; 281 Size = MAP_APPFONT ( 192 , RSC_CD_CHECKBOX_HEIGHT ) ; 282 Hide = TRUE; 283 Text [ en-US ] = "~Apply user data"; 284 }; 285 FixedLine FL_FILE_3 286 { 287 Pos = MAP_APPFONT ( 5 , 167 ) ; 288 Size = MAP_APPFONT ( 248 , 1 ) ; 289 }; 290 FixedText FT_TEMPL 291 { 292 Pos = MAP_APPFONT ( 5 , 172 ) ; 293 Size = MAP_APPFONT ( 45 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 294 Text [ en-US ] = "Template:" ; 295 }; 296 Edit FT_TEMPL_VAL 297 { 298 HelpID = "sfx2:Edit:TP_DOCINFODOC:FT_TEMPL_VAL"; 299 Pos = MAP_APPFONT ( 78 , 172 ) ; 300 Size = MAP_APPFONT ( 180 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 301 }; 302 String STR_UNKNOWNSIZE 303 { 304 Text [ en-US ] = "unknown" ; 305 }; 306 String EDIT_FILE_NAME 307 { 308 Text [ en-US ] = "File Name" ; 309 }; 310}; 311 312 // TP_DOCINFOUSER -------------------------------------------------------- 313 314TabPage TP_DOCINFOUSER 315{ 316 HelpId = HID_DOCINFOUSER ; 317 Hide = TRUE ; 318 Size = MAP_APPFONT ( 260 , 185 ) ; 319 FixedText FT_INFO1 320 { 321 Pos = MAP_APPFONT ( 6 , 6 ) ; 322 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 323 Left = TRUE ; 324 }; 325 Edit ED_INFO1 326 { 327 HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO1"; 328 Border = TRUE ; 329 Pos = MAP_APPFONT ( 6 , 17 ) ; 330 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ; 331 Left = TRUE ; 332 }; 333 FixedText FT_INFO2 334 { 335 Pos = MAP_APPFONT ( 6 , 32 ) ; 336 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 337 Left = TRUE ; 338 }; 339 Edit ED_INFO2 340 { 341 HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO2"; 342 Border = TRUE ; 343 Pos = MAP_APPFONT ( 6 , 43 ) ; 344 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ; 345 Left = TRUE ; 346 }; 347 FixedText FT_INFO3 348 { 349 Pos = MAP_APPFONT ( 6 , 58 ) ; 350 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 351 Left = TRUE ; 352 }; 353 Edit ED_INFO3 354 { 355 HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO3"; 356 Border = TRUE ; 357 Pos = MAP_APPFONT ( 6 , 69 ) ; 358 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ; 359 Left = TRUE ; 360 }; 361 FixedText FT_INFO4 362 { 363 Pos = MAP_APPFONT ( 6 , 84 ) ; 364 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 365 Left = TRUE ; 366 }; 367 Edit ED_INFO4 368 { 369 HelpID = "sfx2:Edit:TP_DOCINFOUSER:ED_INFO4"; 370 Border = TRUE ; 371 Pos = MAP_APPFONT ( 6 , 95 ) ; 372 Size = MAP_APPFONT ( 248 , RSC_CD_TEXTBOX_HEIGHT ) ; 373 Left = TRUE ; 374 }; 375 PushButton BTN_EDITLABEL 376 { 377 HelpID = "sfx2:PushButton:TP_DOCINFOUSER:BTN_EDITLABEL"; 378 Pos = MAP_APPFONT ( 194 , 165 ) ; 379 Size = MAP_APPFONT ( 60 , RSC_CD_PUSHBUTTON_HEIGHT ) ; 380 Text [ en-US ] = "~Info fields..." ; 381 }; 382}; 383 384 // TP_DOCINFOUSER -------------------------------------------------------- 385 386TabPage TP_DOCINFORELOAD 387{ 388 HelpId = HID_DOCINFORELOAD ; 389 Hide = TRUE ; 390 Size = MAP_APPFONT ( 260 , 185 ) ; 391 RadioButton RB_NOAUTOUPDATE 392 { 393 HelpID = "sfx2:RadioButton:TP_DOCINFORELOAD:RB_NOAUTOUPDATE"; 394 TabStop = TRUE ; 395 Pos = MAP_APPFONT( COL_0 , ROW_0 ) ; 396 Size = MAP_APPFONT( COL_7 - COL_1 , RSC_CD_RADIOBUTTON_HEIGHT ) ; 397 Text [ en-US ] = "Do not refresh automatically" ; 398 }; 399 400 RadioButton RB_RELOADUPDATE 401 { 402 HelpID = "sfx2:RadioButton:TP_DOCINFORELOAD:RB_RELOADUPDATE"; 403 TabStop = TRUE ; 404 Pos = MAP_APPFONT( COL_0, ROW_1 ) ; 405 Size = MAP_APPFONT( COL_7 - COL_1, RSC_CD_RADIOBUTTON_HEIGHT ) ; 406 Text [ en-US ] = "Refresh this document" ; 407 }; 408 FixedText FT_EVERY 409 { 410 Pos = MAP_APPFONT ( COL_1 , ROW_2 ) ; 411 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_RADIOBUTTON_HEIGHT ) ; 412 Text [ en-US ] = "every" ; 413 }; 414 NumericField ED_RELOAD 415 { 416 HelpID = "sfx2:NumericField:TP_DOCINFORELOAD:ED_RELOAD"; 417 Border = TRUE ; 418 Pos = MAP_APPFONT ( COL_2 , ROW_2 - ROWDIFF_FT_EDTFLD ) ; 419 Size = MAP_APPFONT ( WIDTH_2 , RSC_CD_TEXTBOX_HEIGHT ) ; 420 Repeat = TRUE ; 421 Spin = TRUE ; 422 Minimum = 1 ; 423 First = 1 ; 424 Last = 60 ; 425 SpinSize = 1 ; 426 Value = 60 ; 427 }; 428 FixedText FT_RELOADSECS 429 { 430 Pos = MAP_APPFONT ( COL_4 , ROW_2 ) ; 431 Size = MAP_APPFONT ( COL_7 - COL_4 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 432 Text [ en-US ] = "seconds" ; 433 }; 434 435 RadioButton RB_FORWARDUPDATE 436 { 437 HelpID = "sfx2:RadioButton:TP_DOCINFORELOAD:RB_FORWARDUPDATE"; 438 TabStop = TRUE ; 439 Pos = MAP_APPFONT( COL_0, ROW_3 ) ; 440 Size = MAP_APPFONT( COL_7 - COL_1, RSC_CD_RADIOBUTTON_HEIGHT ) ; 441 Text [ en-US ] = "Redirect from this document" ; 442 }; 443 FixedText FT_AFTER 444 { 445 Pos = MAP_APPFONT ( COL_1 , ROW_4 ) ; 446 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 447 Text [ en-US ] = "after" ; 448 }; 449 NumericField ED_FORWARD 450 { 451 HelpID = "sfx2:NumericField:TP_DOCINFORELOAD:ED_FORWARD"; 452 Border = TRUE ; 453 Pos = MAP_APPFONT ( COL_2 , ROW_4 - ROWDIFF_FT_EDTFLD ) ; 454 Size = MAP_APPFONT ( WIDTH_2 , RSC_CD_TEXTBOX_HEIGHT ) ; 455 Repeat = TRUE ; 456 Spin = TRUE ; 457 Minimum = 1 ; 458 First = 1 ; 459 Last = 60 ; 460 SpinSize = 1 ; 461 Value = 5 ; 462 }; 463 FixedText FT_FORWARDSECS 464 { 465 Pos = MAP_APPFONT ( COL_4 , ROW_4 ) ; 466 Size = MAP_APPFONT ( COL_7 - COL_4 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 467 Text [ en-US ] = "seconds" ; 468 }; 469 FixedText FT_URL 470 { 471 Pos = MAP_APPFONT ( COL_1 , ROW_5 ) ; 472 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 473 Text [ en-US ] = "to URL" ; 474 }; 475 Edit ED_URL 476 { 477 HelpID = "sfx2:Edit:TP_DOCINFORELOAD:ED_URL"; 478 Border = TRUE ; 479 Pos = MAP_APPFONT ( COL_2 , ROW_5 - ROWDIFF_FT_EDTFLD ) ; 480 Size = MAP_APPFONT ( COL_5 - COL_2 , RSC_CD_TEXTBOX_HEIGHT ) ; 481 }; 482 PushButton PB_BROWSEURL 483 { 484 HelpID = "sfx2:PushButton:TP_DOCINFORELOAD:PB_BROWSEURL"; 485 Pos = MAP_APPFONT ( COL_6 , ROW_5 - ROWDIFF_FT_EDTFLD ) ; 486 Size = MAP_APPFONT ( COL_7 - COL_6 , RSC_CD_PUSHBUTTON_HEIGHT ) ; 487 Text = "..." ; 488 }; 489 FixedText FT_FRAME 490 { 491 Pos = MAP_APPFONT ( COL_1 , ROW_6 ) ; 492 Size = MAP_APPFONT ( WIDTH_FT1 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 493 Text [ en-US ] = "to frame" ; 494 }; 495 ComboBox CB_FRAME 496 { 497 HelpID = "sfx2:ComboBox:TP_DOCINFORELOAD:CB_FRAME"; 498 Pos = MAP_APPFONT ( COL_2 , ROW_6 - ROWDIFF_FT_EDTFLD ) ; 499 Size = MAP_APPFONT ( COL_7 - COL_2 , RSC_CD_DROPDOWN_HEIGHT * 10 ) ; 500 DropDown = TRUE ; 501 }; 502 String STR_FORWARD_ERRMSSG 503 { 504 Text [ en-US ] = "If you select the option \"%PLACEHOLDER%\", you must enter a URL." ; 505 }; 506 507}; 508 509// TP_CUSTOMPROPERTIES --------------------------------------------------- 510 511TabPage TP_CUSTOMPROPERTIES 512{ 513 HelpId = HID_TP_CUSTOMPROPERTIES ; 514 Hide = TRUE ; 515 Size = MAP_APPFONT ( 260 , 185 ) ; 516 FixedText FT_PROPERTIES 517 { 518 Pos = MAP_APPFONT ( 6 , 7 ) ; 519 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 520 Left = TRUE ; 521 Text [ en-US ] = "~Properties" ; 522 }; 523 Control CTRL_PROPERTIES 524 { 525 HelpId = HID_CTRL_CUSTOMPROPERTIES; 526 Pos = MAP_APPFONT ( 6 , 18 ) ; 527 Size = MAP_APPFONT ( 248 , 141 ) ; 528 Border = TRUE; 529 DialogControl = TRUE; 530 //OutputSize = TRUE ; 531 Window WIN_PROPERTIES 532 { 533 OutputSize = TRUE ; 534 Pos = MAP_APPFONT ( 0 , 10 ) ; 535 Size = MAP_APPFONT ( 240 , 134 ) ; 536 DialogControl = TRUE; 537 }; 538 ScrollBar SB_VERTICAL 539 { 540 Pos = MAP_APPFONT ( 238 , 10 ) ; 541 Size = MAP_APPFONT ( 8 , 129 ) ; 542 VScroll = TRUE; 543 }; 544 String STR_HEADER_NAME 545 { 546 Text [ en-US ] = "Name" ; 547 }; 548 String STR_HEADER_TYPE 549 { 550 Text [ en-US ] = "Type" ; 551 }; 552 String STR_HEADER_VALUE 553 { 554 Text [ en-US ] = "Value" ; 555 }; 556 String STR_HEADER_ACTION 557 { 558 Text [ en-US ] = "" ; 559 }; 560 }; 561 PushButton BTN_ADD 562 { 563 HelpID = "sfx2:PushButton:TP_CUSTOMPROPERTIES:BTN_ADD"; 564 Pos = MAP_APPFONT( 204 , 165 ); 565 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 566 Text [ en-US ] = "~Add"; 567 }; 568}; 569 570ComboBox SFX_CB_PROPERTY_NAME 571{ 572 Pos = MAP_APPFONT ( 0 , 2 ) ; 573 Size = MAP_APPFONT ( 60 , 72 ) ; 574 TabStop = TRUE ; 575 DropDown = TRUE ; 576 AutoSize = TRUE ; 577 AutoHScroll = TRUE ; 578 DDExtraWidth = TRUE ; 579 QuickHelpText [ en-US ] = "Property Name" ; 580 StringList [ en-US ] = 581 { 582 "Checked by"; 583 "Client"; 584 "Date completed"; 585 "Department"; 586 "Destinations"; 587 "Disposition"; 588 "Division"; 589 "Document number"; 590 "Editor"; 591 "E-Mail"; 592 "Forward to"; 593 "Group"; 594 "Info"; 595 "Language"; 596 "Mailstop"; 597 "Matter"; 598 "Office"; 599 "Owner"; 600 "Project"; 601 "Publisher"; 602 "Purpose"; 603 "Received from"; 604 "Recorded by"; 605 "Recorded date"; 606 "Reference"; 607 "Source"; 608 "Status"; 609 "Telephone number"; 610 "Typist"; 611 "URL"; 612 }; 613}; 614ListBox SFX_LB_PROPERTY_TYPE 615{ 616 Pos = MAP_APPFONT ( 63 , 2 ) ; 617 Size = MAP_APPFONT ( 60 , 80 ) ; 618 DropDown = TRUE; 619 Border = TRUE; 620 CurPos = 0; 621 StringList [ en-US ] = 622 { 623 < "Text" ; CUSTOM_TYPE_TEXT ; > ; 624 < "DateTime" ; CUSTOM_TYPE_DATETIME ; > ; 625 < "Date" ; CUSTOM_TYPE_DATE ; > ; 626 < "Duration" ; CUSTOM_TYPE_DURATION ; > ; 627 < "Number" ; CUSTOM_TYPE_NUMBER ; > ; 628 < "Yes or no" ; CUSTOM_TYPE_BOOLEAN ; > ; 629 }; 630}; 631Edit SFX_ED_PROPERTY_VALUE 632{ 633 Border = TRUE ; 634 Pos = MAP_APPFONT ( 127 , 2 ) ; 635 Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ; 636 TabStop = TRUE ; 637 Left = TRUE ; 638}; 639DateField SFX_FLD_DATE 640{ 641 Border = TRUE ; 642 Pos = MAP_APPFONT ( 127 , 2 ) ; 643 Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ; 644 TabStop = TRUE ; 645 Left = TRUE ; 646 Spin = TRUE; 647}; 648TimeField SFX_FLD_TIME 649{ 650 Border = TRUE ; 651 Pos = MAP_APPFONT ( 159 , 2 ) ; 652 Size = MAP_APPFONT ( 29 , RSC_CD_TEXTBOX_HEIGHT ) ; 653 TabStop = TRUE ; 654 Left = TRUE ; 655 Spin = TRUE; 656}; 657 658Edit SFX_FLD_DURATION 659{ 660 Readonly = TRUE; 661 Border = TRUE ; 662 Pos = MAP_APPFONT ( 159 , 2 ) ; 663 Size = MAP_APPFONT ( 61 - RSC_CD_TEXTBOX_HEIGHT - 2, RSC_CD_TEXTBOX_HEIGHT ) ; 664 TabStop = TRUE ; 665}; 666PushButton SFX_PB_EDIT 667{ 668 Pos = MAP_APPFONT ( 159 , 2 ) ; 669 Size = MAP_APPFONT ( RSC_CD_TEXTBOX_HEIGHT , RSC_CD_TEXTBOX_HEIGHT ) ; 670 Text = "..."; 671}; 672String SFX_ST_DURATION_FORMAT 673{ 674 Text [en-US] = " Y: %1 M: %2 D: %3 H: %4 M: %5 S: %6"; 675}; 676 677Control SFX_WIN_PROPERTY_YESNO 678{ 679 HelpId = HID_CTRL_CUSTOMPROPS_YES_NO; 680 OutputSize = TRUE ; 681 Pos = MAP_APPFONT ( 127 , 2 ) ; 682 Size = MAP_APPFONT ( 61 , RSC_CD_TEXTBOX_HEIGHT ) ; 683 Border = TRUE ; 684 DialogControl = TRUE ; 685 RadioButton RB_PROPERTY_YES 686 { 687 TabStop = TRUE ; 688 Pos = MAP_APPFONT( 1 , 1 ) ; 689 Size = MAP_APPFONT( 28 , RSC_CD_RADIOBUTTON_HEIGHT ) ; 690 Text [ en-US ] = "Yes" ; 691 }; 692 RadioButton RB_PROPERTY_NO 693 { 694 TabStop = TRUE ; 695 Pos = MAP_APPFONT( 32 , 1 ) ; 696 Size = MAP_APPFONT( 29 , RSC_CD_RADIOBUTTON_HEIGHT ) ; 697 Text [ en-US ] = "No" ; 698 }; 699}; 700 701ImageButton SFX_PB_PROPERTY_REMOVE 702{ 703 Pos = MAP_APPFONT( 190 , 1 ); 704 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_HEIGHT, RSC_CD_PUSHBUTTON_HEIGHT ); 705 QuickHelpText [ en-US ] = "Remove Property" ; 706}; 707Image SFX_IMG_PROPERTY_REMOVE 708{ 709 ImageBitmap = Bitmap { File = "deleterow.bmp" ; }; 710 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; }; 711}; 712Image SFX_IMG_PROPERTY_REMOVE_HC 713{ 714 ImageBitmap = Bitmap { File = "deleterow_h.bmp" ; }; 715 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; }; 716}; 717 718QueryBox SFX_QB_WRONG_TYPE 719{ 720 Buttons = WB_OK_CANCEL ; 721 DefButton = WB_DEF_OK ; 722 Message [ en-US ] = "The value entered does not match the specified type.\nThe value will be stored as text." ; 723}; 724 725TabDialog SID_DOCINFO 726{ 727 OutputSize = TRUE ; 728 SVLook = TRUE ; 729 Moveable = TRUE ; 730 Text [ en-US ] = "Properties of " ; 731 TabControl 1 732 { 733 SVLook = TRUE ; 734 PageList = 735 { 736 PageItem 737 { 738 Identifier = TP_DOCINFODOC ; 739 Text [ en-US ] = "General" ; 740 }; 741 PageItem 742 { 743 Identifier = TP_DOCINFODESC ; 744 Text [ en-US ] = "Description" ; 745 }; 746 PageItem 747 { 748 Identifier = TP_CUSTOMPROPERTIES ; 749 Text [ en-US ] = "Custom Properties" ; 750 }; 751 PageItem 752 { 753 Identifier = TP_DOCINFORELOAD ; 754 Text [ en-US ] = "Internet" ; 755 }; 756 PageItem 757 { 758 Identifier = TP_DOCINFOSECURITY ; 759 Text [ en-US ] = "Security" ; 760 }; 761 }; 762 }; 763}; 764 765ModalDialog RID_EDIT_DURATIONS 766{ 767 HelpId = HID_DLG_CUSTOMPROPS_DURATION; 768 OutputSize = TRUE ; 769 Size = MAP_APPFONT ( 176 , 140 ) ; 770 Text [ en-US ] = "Edit Duration" ; 771 Moveable = TRUE ; 772 OKButton PB_OK 773 { 774 Pos = MAP_APPFONT ( 120 , 7 ) ; 775 Size = MAP_APPFONT ( 50 , 14 ) ; 776 DefButton = TRUE; 777 }; 778 CancelButton PB_CANCEL 779 { 780 Pos = MAP_APPFONT ( 120 , 24 ) ; 781 Size = MAP_APPFONT ( 50 , 14 ) ; 782 }; 783 HelpButton PB_HELP 784 { 785 Pos = MAP_APPFONT ( 120 , 48 ) ; 786 Size = MAP_APPFONT ( 50 , 14 ) ; 787 }; 788 FixedLine FL_DURATION 789 { 790 Pos = MAP_APPFONT ( 6 , 8 ) ; 791 Size = MAP_APPFONT ( 108 , 8 ) ; 792 Text [ en-US ] = "Duration" ; 793 }; 794 CheckBox CB_NEGATIVE 795 { 796 HelpID = "sfx2:CheckBox:RID_EDIT_DURATIONS:CB_NEGATIVE"; 797 Pos = MAP_APPFONT ( 6 , 21 ) ; 798 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 799 Text [ en-US ] = "~Negative" ; 800 }; 801 FixedText FT_YEAR 802 { 803 Pos = MAP_APPFONT ( 6 , 38 ) ; 804 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 805 Left = TRUE ; 806 Text [ en-US ] = "~Years" ; 807 }; 808 NumericField ED_YEAR 809 { 810 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_YEAR"; 811 Border = TRUE ; 812 Pos = MAP_APPFONT ( 70 , 36 ) ; 813 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 814 Repeat = TRUE ; 815 Spin = TRUE ; 816 Minimum = 0 ; 817 First = 1 ; 818 Last = 100 ; 819 SpinSize = 1 ; 820 Value = 0 ; 821 }; 822 FixedText FT_MONTH 823 { 824 Pos = MAP_APPFONT ( 6 , 52 ) ; 825 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 826 Left = TRUE ; 827 Text [ en-US ] = "~Months" ; 828 }; 829 NumericField ED_MONTH 830 { 831 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MONTH"; 832 Border = TRUE ; 833 Pos = MAP_APPFONT ( 70 , 50 ) ; 834 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 835 Repeat = TRUE ; 836 Spin = TRUE ; 837 Minimum = 0 ; 838 First = 1 ; 839 Last = 100 ; 840 SpinSize = 1 ; 841 Value = 0 ; 842 }; 843 FixedText FT_DAY 844 { 845 Pos = MAP_APPFONT ( 6 , 66 ) ; 846 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 847 Left = TRUE ; 848 Text [ en-US ] = "~Days" ; 849 }; 850 NumericField ED_DAY 851 { 852 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_DAY"; 853 Border = TRUE ; 854 Pos = MAP_APPFONT ( 70 , 64 ) ; 855 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 856 Repeat = TRUE ; 857 Spin = TRUE ; 858 Minimum = 0 ; 859 First = 1 ; 860 Last = 100 ; 861 SpinSize = 1 ; 862 Value = 0 ; 863 }; 864 FixedText FT_HOUR 865 { 866 Pos = MAP_APPFONT ( 6 , 80 ) ; 867 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 868 Left = TRUE ; 869 Text [ en-US ] = "H~ours" ; 870 }; 871 NumericField ED_HOUR 872 { 873 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_HOUR"; 874 Border = TRUE ; 875 Pos = MAP_APPFONT ( 70 , 78 ) ; 876 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 877 Repeat = TRUE ; 878 Spin = TRUE ; 879 Minimum = 0 ; 880 First = 1 ; 881 Last = 100 ; 882 SpinSize = 1 ; 883 Value = 0 ; 884 }; 885 FixedText FT_MINUTE 886 { 887 Pos = MAP_APPFONT ( 6 , 94 ) ; 888 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 889 Left = TRUE ; 890 Text [ en-US ] = "Min~utes" ; 891 }; 892 NumericField ED_MINUTE 893 { 894 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MINUTE"; 895 Border = TRUE ; 896 Pos = MAP_APPFONT ( 70, 92) ; 897 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 898 Repeat = TRUE ; 899 Spin = TRUE ; 900 Minimum = 0 ; 901 First = 1 ; 902 Last = 100 ; 903 SpinSize = 1 ; 904 Value = 0 ; 905 }; 906 FixedText FT_SECOND 907 { 908 Pos = MAP_APPFONT ( 6, 108 ) ; 909 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 910 Left = TRUE ; 911 Text [ en-US ] = "~Seconds" ; 912 }; 913 NumericField ED_SECOND 914 { 915 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_SECOND"; 916 Border = TRUE ; 917 Pos = MAP_APPFONT ( 70 , 106 ) ; 918 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 919 Repeat = TRUE ; 920 Spin = TRUE ; 921 Minimum = 0 ; 922 First = 1 ; 923 Last = 100 ; 924 SpinSize = 1 ; 925 Value = 0 ; 926 }; 927 FixedText FT_MSECOND 928 { 929 Pos = MAP_APPFONT ( 6 , 122 ) ; 930 Size = MAP_APPFONT ( 60 , RSC_CD_FIXEDTEXT_HEIGHT ) ; 931 Left = TRUE ; 932 Text [ en-US ] = "Millise~conds" ; 933 }; 934 NumericField ED_MSECOND 935 { 936 HelpID = "sfx2:NumericField:RID_EDIT_DURATIONS:ED_MSECOND"; 937 Border = TRUE ; 938 Pos = MAP_APPFONT ( 70 , 120 ) ; 939 Size = MAP_APPFONT ( 40, RSC_CD_TEXTBOX_HEIGHT ) ; 940 Repeat = TRUE ; 941 Spin = TRUE ; 942 Minimum = 0 ; 943 First = 1 ; 944 Last = 1000 ; 945 SpinSize = 1 ; 946 Value = 0 ; 947 }; 948 949 950 951}; 952