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