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