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 25 26#include <svl/style.hrc> 27#include <sfx2/sfx.hrc> 28#include <svx/dialogs.hrc> 29#include <svx/globlmn.hrc> 30#include "cmdid.h" 31#include "globals.hrc" 32#include "app.hrc" 33#include "statstr.hrc" 34#include "swstyle.h" 35#include "comcore.hrc" 36#include "shells.hrc" 37#include "helpid.h" 38 39String RID_SW_NAME 40{ 41 Text = "StarWriter" ; 42}; 43 44String STR_PRINT_MERGE_MACRO 45{ 46 Text [ en-US ] = "Print form letters" ; 47}; 48 49String STR_PAGE_COUNT_MACRO 50{ 51 Text [ en-US ] = "Changing the page count" ; 52}; 53 54 // Image-Liste ---------------------------------------------------------------- 55 // Don't use this image list for normal toolbar images. We have now our commandimagelist 56 // folder in default_images. This list is now only used for special toolboxes that are 57 // used in floating windows. 58 59#define IMAGELIST_AND_COUNT \ 60 IdList = { \ 61 FN_FORMULA_CALC ;\ 62 FN_FORMULA_CANCEL ;\ 63 FN_FORMULA_APPLY ;\ 64 }; \ 65 IdCount = { \ 66 3; \ 67 }; 68 69ImageList RID_DEFAULTIMAGELIST_SC 70{ 71 Prefix = "sc"; 72 MaskColor = IMAGE_MASK_COLOR ; 73 IMAGELIST_AND_COUNT 74}; 75ImageList RID_DEFAULTIMAGELIST_LC 76{ 77 Prefix = "lc"; 78 MaskColor = IMAGE_MASK_COLOR ; 79 IMAGELIST_AND_COUNT 80}; 81 82ImageList RID_DEFAULTIMAGELIST_SCH 83{ 84 Prefix = "sch"; 85 MaskColor = IMAGE_MASK_COLOR ; 86 IMAGELIST_AND_COUNT 87}; 88ImageList RID_DEFAULTIMAGELIST_LCH 89{ 90 Prefix = "lch"; 91 MaskColor = IMAGE_MASK_COLOR ; 92 IMAGELIST_AND_COUNT 93}; 94 95// Vorlagen 96#define STYLE_IMAGE_LISTEF \ 97 MaskColor = IMAGE_MASK_COLOR ; \ 98 IdList = \ 99 { \ 100 1; 2; 3; 4; 5; \ 101 }; \ 102 IdCount = 5; 103 104SfxStyleFamilies DLG_STYLE_DESIGNER 105{ 106 StyleFamilyList = 107 { 108 SfxStyleFamilyItem 109 { 110 StyleFamily = SFX_STYLE_FAMILY_PARA ; 111 Text [ en-US ] = "Paragraph Styles" ; 112 FilterList [ en-US ] = 113 { 114 < "All Styles" ; SFXSTYLEBIT_ALL ; > ; 115 < "Applied Styles" ; SFXSTYLEBIT_USED ; > ; 116 < "Custom Styles" ; SFXSTYLEBIT_USERDEF ; > ; 117 < "Automatic" ; SFXSTYLEBIT_AUTO ; > ; 118 < "Text Styles" ; SWSTYLEBIT_TEXT ; > ; 119 < "Chapter Styles" ; SWSTYLEBIT_CHAPTER ; > ; 120 < "List Styles" ; SWSTYLEBIT_LIST ; > ; 121 < "Index Styles" ; SWSTYLEBIT_IDX ; > ; 122 < "Special Styles" ; SWSTYLEBIT_EXTRA ; > ; 123 < "HTML Styles" ; SWSTYLEBIT_HTML ; > ; 124 < "Conditional Styles" ; SWSTYLEBIT_CONDCOLL ; > ; 125 }; 126 }; 127 SfxStyleFamilyItem 128 { 129 StyleFamily = SFX_STYLE_FAMILY_CHAR ; 130 Text [ en-US ] = "Character Styles" ; 131 FilterList [ en-US ] = 132 { 133 < "All" ; SFXSTYLEBIT_ALL ; > ; 134 < "Applied Styles" ; SFXSTYLEBIT_USED ; > ; 135 < "Custom Styles" ; SFXSTYLEBIT_USERDEF ; > ; 136 }; 137 }; 138 SfxStyleFamilyItem 139 { 140 StyleFamily = SFX_STYLE_FAMILY_FRAME ; 141 Text [ en-US ] = "Frame Styles" ; 142 FilterList [ en-US ] = 143 { 144 < "All" ; SFXSTYLEBIT_ALL ; > ; 145 < "Applied Styles" ; SFXSTYLEBIT_USED ; > ; 146 < "Custom Styles" ; SFXSTYLEBIT_USERDEF ; > ; 147 }; 148 }; 149 SfxStyleFamilyItem 150 { 151 StyleFamily = SFX_STYLE_FAMILY_PAGE ; 152 Text [ en-US ] = "Page Styles" ; 153 FilterList [ en-US ] = 154 { 155 < "All" ; SFXSTYLEBIT_ALL ; > ; 156 < "Applied Styles" ; SFXSTYLEBIT_USED ; > ; 157 < "Custom Styles" ; SFXSTYLEBIT_USERDEF ; > ; 158 }; 159 }; 160 SfxStyleFamilyItem 161 { 162 StyleFamily = SFX_STYLE_FAMILY_PSEUDO ; 163 Text [ en-US ] = "List Styles" ; 164 FilterList [ en-US ] = 165 { 166 < "All" ; SFXSTYLEBIT_ALL ; > ; 167 < "Applied Styles" ; SFXSTYLEBIT_USED ; > ; 168 < "Custom Styles" ; SFXSTYLEBIT_USERDEF ; > ; 169 }; 170 }; 171 }; 172 173 ImageList 1 // == BMP_COLOR_NORMAL + 1 174 { 175 Prefix = "sf"; 176 STYLE_IMAGE_LISTEF 177 }; 178 ImageList 2 // == BMP_COLOR_HIGHCONTRAST + 1 179 { 180 Prefix = "sfh"; 181 STYLE_IMAGE_LISTEF 182 }; 183}; 184 185 186 187 // Default Bitmap fuer Toolbox 188BITMAP BMP_FEHLT { FILE = "x.png" ; }; 189 // Bitmap fuer die NumerierungsVorlagen im Organizer 190Bitmap BMP_STYLES_FAMILY_NUM { File = "styfamnu.png" ; }; 191Bitmap BMP_STYLES_FAMILY_NUM_HC { File = "styfamnu_h.png" ; }; 192 193String STR_ENV_TITLE 194{ 195 Text [ en-US ] = "Envelope" ; 196}; 197 198String STR_LAB_TITLE 199{ 200 Text [ en-US ] = "Labels" ; 201}; 202 203 // ShortName!!! 204String STR_HUMAN_SWDOC_NAME 205{ 206 Text [ en-US ] = "Text" ; 207}; 208 209String STR_WRITER_DOCUMENT_FULLTYPE 210{ 211 Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Text Document"; 212}; 213 214 215String STR_CANTOPEN 216{ 217 Text [ en-US ] = "Cannot open document." ; 218}; 219 220String STR_CANTCREATE 221{ 222 Text [ en-US ] = "Can't create document."; 223}; 224String STR_DLLNOTFOUND 225{ 226 Text [ en-US ] = "Filter not found." ; 227}; 228 229 230String STR_UNBENANNT 231{ 232 Text [ en-US ] = "Untitled" ; 233}; 234 235 236String STR_LOAD_GLOBAL_DOC 237{ 238 Text [ en-US ] = "Name and Path of Master Document" ; 239}; 240 241String STR_LOAD_HTML_DOC 242{ 243 Text [ en-US ] = "Name and Path of the HTML Document" ; 244}; 245 246InfoBox MSG_ERROR_SEND_MAIL 247{ 248 BUTTONS = WB_OK ; 249 DEFBUTTON = WB_DEF_OK ; 250 Message [ en-US ] = "Error sending mail." ; 251}; 252InfoBox MSG_ERROR_PASSWD 253{ 254 BUTTONS = WB_OK ; 255 DEFBUTTON = WB_DEF_OK ; 256 Message [ en-US ] = "Invalid password" ; 257}; 258 259/* 260 * auskommentiert, da die Toolbox z. Zt. nicht aus der Resource 261 * geladen werden kann 262Window WIN_TOOLBOX { 263 "Bearbeitung von Text, Rahmen, Grafik, Tabellen oder " 264 "Numerierungen."; 265HelpText [ en-US ] = "The objectbar contains, depending on your current " 266 "working context, buttons for the editing of text, " 267 "frames, graphics, tables or numberings."; 268 OUTPUTSIZE = TRUE; 269 BORDER = TRUE; 270 Size = (28,27); 271}; 272 */ 273 274String STR_FMT_STD 275{ 276 Text [ en-US ] = "(none)" ; 277}; 278 279String STR_DOC_STAT 280{ 281 Text [ en-US ] = "Statistics" ; 282}; 283 284 // ---------------------------- 285 // Statusleisten-Ueberschriften 286 // ---------------------------- 287 288String STR_STATSTR_W4WREAD 289{ 290 Text [ en-US ] = "Importing document..." ; 291}; 292 293String STR_STATSTR_W4WWRITE 294{ 295 Text [ en-US ] = "Exporting document..." ; 296}; 297 298String STR_STATSTR_SWGREAD 299{ 300 Text [ en-US ] = "Loading document..." ; 301}; 302 303String STR_STATSTR_SWGWRITE 304{ 305 Text [ en-US ] = "Saving document..." ; 306}; 307 308String STR_STATSTR_REFORMAT 309{ 310 Text [ en-US ] = "Repagination..." ; 311}; 312 313String STR_STATSTR_AUTOFORMAT 314{ 315 Text [ en-US ] = "Formatting document automatically..." ; 316}; 317 318String STR_STATSTR_IMPGRF 319{ 320 Text [ en-US ] = "Importing graphics..." ; 321}; 322 323String STR_STATSTR_SEARCH 324{ 325 Text [ en-US ] = "Search..." ; 326}; 327 328String STR_STATSTR_FORMAT 329{ 330 Text [ en-US ] = "Formatting..." ; 331}; 332 333String STR_STATSTR_PRINT 334{ 335 Text [ en-US ] = "Printing..." ; 336}; 337 338String STR_STATSTR_LAYOUTINIT 339{ 340 Text [ en-US ] = "Converting..." ; 341}; 342 343String STR_STATSTR_LETTER 344{ 345 Text [ en-US ] = "Letter" ; 346}; 347 348String STR_STATSTR_SPELL 349{ 350 Text [ en-US ] = "Spellcheck..." ; 351}; 352 353String STR_STATSTR_HYPHEN 354{ 355 Text [ en-US ] = "Hyphenation..." ; 356}; 357 358String STR_STATSTR_TOX_INSERT 359{ 360 Text [ en-US ] = "Inserting Index..." ; 361}; 362 363String STR_STATSTR_TOX_UPDATE 364{ 365 Text [ en-US ] = "Updating Index..." ; 366}; 367 368String STR_STATSTR_SUMMARY 369{ 370 Text [ en-US ] = "Creating abstract..." ; 371}; 372 373String STR_STATSTR_SWGPRTOLENOTIFY 374{ 375 Text [ en-US ] = "Adapt Objects..."; 376}; 377 378 379QueryBox MSG_COMCORE_ASKSEARCH 380{ 381 Buttons = WB_YES_NO_CANCEL ; 382 DefButton = WB_DEF_YES ; 383 Message [ en-US ] = "To proceed with this action, you must first turn off the \"undo\" function. Do you want to turn off the \"undo\" function?" ; 384}; 385 386Bitmap RID_GRAPHIC_REPLACEBMP 387{ 388 File = "grafikei.png" ; 389}; 390 391Bitmap RID_GRAPHIC_ERRORBMP 392{ 393 File = "grafikde.png" ; 394}; 395 396Bitmap RID_GRAPHIC_REPLACEBMP_HC 397{ 398 File = "grafikei_h.png" ; 399}; 400 401Bitmap RID_GRAPHIC_ERRORBMP_HC 402{ 403 File = "grafikde_h.png" ; 404}; 405 406String STR_TABLE_DEFNAME 407{ 408 Text [ en-US ] = "Table" ; 409}; 410 411String STR_GRAPHIC_DEFNAME 412{ 413 Text[ en-US ] = "graphics" ; 414}; 415 416String STR_OBJECT_DEFNAME 417{ 418 Text [ en-US ] = "Object" ; 419}; 420 421String STR_FRAME_DEFNAME 422{ 423 Text [ en-US ] = "Frame" ; 424}; 425String STR_REGION_DEFNAME 426{ 427 Text [ en-US ] = "Section" ; 428}; 429String STR_NUMRULE_DEFNAME 430{ 431 Text [ en-US ] = "Numbering" ; 432}; 433String STR_EMPTYPAGE 434{ 435 Text [ en-US ] = "blank page" ; 436}; 437 438QueryBox MSG_CLPBRD_CLEAR 439{ 440 BUTTONS = WB_YES_NO ; 441 DEFBUTTON = WB_DEF_NO ; 442 Message [ en-US ] = "You have a large amount of data saved in the clipboard.\nShould the clipboard contents remain available for other applications?" ; 443}; 444 445QueryBox MSG_SAVE_HTML_QUERY 446{ 447 BUTTONS = WB_YES_NO_CANCEL ; 448 DEFBUTTON = WB_DEF_YES ; 449 Message [ en-US ] = "Conversion into HTML format \nmay cause information loss. \nDo you want to save the document?" ; 450}; 451QueryBox MSG_SAVEAS_HTML_QUERY 452{ 453 BUTTONS = WB_YES_NO; 454 DEFBUTTON = WB_DEF_NO ; 455 Message [ en-US ] = "The source code can only be displayed if the document is saved in HTML format.\nWould you like to save the document as HTML?"; 456}; 457String STR_ABSTRACT_TITLE 458{ 459 Text [ en-US ] = "Abstract: " ; 460}; 461 462String STR_FDLG_TEMPLATE_BUTTON 463{ 464 Text [ en-US ] = "Style" ; 465}; 466 467String STR_FDLG_TEMPLATE_NAME 468{ 469 //Text [ en-US ] = "Styles: " ; //#outline level,removed by zhaojianwei 470 Text [ en-US ] = "separated by: " ; //<-end,add by zhaojianwei 471}; 472//#outline level,add by zhaojianwei 473String STR_FDLG_OUTLINE_LEVEL 474{ 475 Text [ en-US ] = "Outline: Level "; 476}; 477 478String STR_FDLG_STYLE 479{ 480 Text [ en-US ] = "Style: "; 481}; 482//<-end 483 484 485String STR_PAGEOFFSET 486{ 487 Text [ en-US ] = "Page number: " ; 488}; 489String STR_PAGEBREAK 490{ 491 Text [ en-US ] = "Break before new page" ; 492}; 493String STR_WESTERN_FONT 494{ 495 Text [ en-US ] = "Western text: "; 496}; 497String STR_CJK_FONT 498{ 499 Text [ en-US ] = "Asian text: "; 500}; 501String STR_REDLINE_UNKNOWN_AUTHOR 502{ 503 Text [ en-US ] = "Unknown Author"; 504}; 505 506WarningBox MSG_DISABLE_UNDO_QUESTION 507{ 508 BUTTONS = WB_YES_NO_CANCEL; 509 DEFBUTTON = WB_DEF_YES ; 510 Message [ en-US ] = "This action deletes the list of actions that can be undone. Previous changes made to the document are still valid, but cannot be undone. Do you want to continue formatting?"; 511}; 512/*QueryBox MSG_INS_MERGE_FIELDS 513{ 514 HelpId = HID_MAIL_MERGE_INSERT_FIELDS; 515 Buttons = WB_OK_CANCEL ; 516 DefButton = WB_DEF_YES ; 517 Message [ en-US ] = "Do you want to use names and addresses from a database?"; 518}; 519*/ 520QueryBox MSG_PRINT_AS_MERGE 521{ 522 HelpId = HID_PRINT_AS_MERGE; 523 Buttons = WB_YES_NO ; 524 DefButton = WB_DEF_YES ; 525 Message [ en-US ] = "Your document contains address database fields. Do you want to print a form letter?"; 526}; 527ModalDialog DLG_MERGE_SOURCE_UNAVAILABLE 528{ 529 HelpId = HID_MERGE_SOURCE_UNAVAILABLE; 530 OutputSize = TRUE ; 531 SVLook = TRUE ; 532 Size = MAP_APPFONT ( 202 , 72 ) ; 533 Moveable = TRUE ; 534 535 FixedImage IMG_MERGE 536 { 537 Pos = MAP_APPFONT ( 12 , 14 ) ; 538 Size = MAP_APPFONT ( 103 , 32 ) ; 539 }; 540 FixedText ST_MERGE_SOURCE_UNAVAILABLE 541 { 542 Pos = MAP_APPFONT ( 12 , 6 ) ; 543 Size = MAP_APPFONT ( 178 , 40 ) ; 544 WordBreak = TRUE; 545 Text [ en-US ] = "The data source \'%1\' was not found. Thus the connection to the data source could not be established.\n\nPlease check the connections settings."; 546 }; 547 OKButton PB_MERGE_OK 548 { 549 Pos = MAP_APPFONT ( 12 , 52 ) ; 550 Size = MAP_APPFONT ( 125 , 14 ) ; 551 Text [ en-US ] = "Check Connection Settings..."; 552 }; 553 CancelButton PB_MERGE_CANCEL 554 { 555 Pos = MAP_APPFONT ( 140 , 52 ) ; 556 Size = MAP_APPFONT ( 50 , 14 ) ; 557 }; 558}; 559WarningBox MSG_DATA_SOURCES_UNAVAILABLE 560{ 561 HelpId = HID_DATA_SOURCES_UNAVAILABLE; 562 Buttons = WB_OK_CANCEL; 563 Message [ en-US ] = "No data source has been set up yet. You need a data source, such as a database, to supply data (for example, names and addresses) for the fields."; 564}; 565 566String RID_MODULE_TOOLBOX 567{ 568 Text [ en-US ] = "Function Bar (viewing mode)" ; 569}; 570String STR_DONT_ASK_AGAIN 571{ 572 Text [ en-US ] = "~Do not show warning again" ; 573}; 574// --> OD 2008-04-14 #outlinelevel# 575String STR_OUTLINE_NUMBERING 576{ 577 Text [ en-US ] = "Outline Numbering"; 578}; 579ToolBox RID_MODULE_TOOLBOX 580{ 581 HelpID = HID_MODULE_TOOLBOX ; 582 Border = TRUE ; 583 SVLook = TRUE ; 584 Dockable = TRUE ; 585 Moveable = TRUE ; 586 Sizeable = TRUE ; 587 Closeable = TRUE ; 588 Zoomable = TRUE ; 589 HideWhenDeactivate = TRUE ; 590 LineSpacing = TRUE ; 591 Customize = TRUE ; 592 MenuStrings = TRUE ; 593 Hide = TRUE ; 594 ItemList = 595 { 596 ToolBoxItem 597 { 598 Identifier = SID_SAVEASDOC ; 599 }; 600 ToolBoxItem 601 { 602 Type = TOOLBOXITEM_SEPARATOR ; 603 }; 604 ToolBoxItem 605 { 606 Identifier = SID_EDITDOC ; 607 }; 608 ToolBoxItem 609 { 610 Identifier = SID_MAIL_SENDDOC ; 611 }; 612 ToolBoxItem 613 { 614 Type = TOOLBOXITEM_SEPARATOR ; 615 }; 616 ToolBoxItem 617 { 618 Identifier = SID_DIRECTEXPORTDOCASPDF ; 619 }; 620 ToolBoxItem 621 { 622 Identifier = SID_PRINTDOCDIRECT ; 623 }; 624 ToolBoxItem 625 { 626 Type = TOOLBOXITEM_SEPARATOR ; 627 }; 628 ToolBoxItem 629 { 630 Identifier = SID_COPY ; 631 }; 632 ToolBoxItem 633 { 634 Type = TOOLBOXITEM_SEPARATOR ; 635 }; 636 ToolBoxItem 637 { 638 Identifier = SID_SEARCH_DLG ; 639 }; 640 ToolBoxItem 641 { 642 Identifier = SID_NAVIGATOR ; 643 }; 644 ToolBoxItem 645 { 646 Type = TOOLBOXITEM_SEPARATOR ; 647 }; 648 ToolBoxItem 649 { 650 Identifier = SID_ATTR_ZOOM ; 651 }; 652 }; 653 Scroll = TRUE ; 654}; 655 656WarningBox MSG_DISABLE_READLINE_QUESTION 657{ 658 BUTTONS = WB_YES_NO; 659 DEFBUTTON = WB_DEF_YES ; 660 Message [ en-US ] = "In the current document, changes are being recorded but not shown as such. In large documents, delays can occur when the document is edited. Do you want to show the changes to avoid delays?"; 661}; 662