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