summaryrefslogtreecommitdiff
path: root/starmath/source/smres.src
blob: d03c15ba1a162f39bd1331fbe243ed68dee05f15 (plain)
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
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


#include <sfx2/sfx.hrc>
#include <sfx2/tabpage.hrc>
#include <svx/globlmn.hrc>
#include "starmath.hrc"
#include "dialog.hrc"
#include "toolbox.hrc"
#include "ElementsDockingWindow.hrc"
#include "smcommands.h"

#define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }

ModalDialog RID_FONTDIALOG
{
    HelpID = "starmath:ModalDialog:RID_FONTDIALOG";
    Moveable = TRUE ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 183 , 150 ) ;
    Text [ en-US ] = "Fonts" ;
    FixedText 1
    {
        Left = TRUE ;
        Pos = MAP_APPFONT ( 6 , 6 ) ;
        Size = MAP_APPFONT ( 40 , 8 ) ;
        Text [ en-US ] = "~Font";
    };
    ComboBox 1
    {
        HelpID = "starmath:ComboBox:RID_FONTDIALOG:1";
        Pos = MAP_APPFONT ( 6 , 17 ) ;
        Size = MAP_APPFONT ( 111 , 60 ) ;
        TabStop = TRUE ;
        Sort = TRUE ;
        VScroll = TRUE ;
    };
    CheckBox 1
    {
        HelpID = "starmath:CheckBox:RID_FONTDIALOG:1";
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( 60 , 84 ) ;
        Size = MAP_APPFONT ( 33 , 10 ) ;
        Text [ en-US ] = "~Bold" ;
    };
    CheckBox 2
    {
        HelpID = "starmath:CheckBox:RID_FONTDIALOG:2";
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( 60 , 97 ) ;
        Size = MAP_APPFONT ( 33 , 10 ) ;
        Text [ en-US ] = "~Italic" ;
    };
    HelpButton 1
    {
        Pos = MAP_APPFONT ( 126 , 42 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
    HelpID = "starmath:HelpButton:RID_FONTDIALOG:1";
    Text [ en-US ] = "~Help" ;
    };
    OKButton 1
    {
        Pos = MAP_APPFONT ( 126 , 6 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
        DefButton = TRUE ;
    };
    CancelButton 1
    {
        Pos = MAP_APPFONT ( 126 , 24 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
    };
    Control 1
    {
        Disable = TRUE ;
        Border = TRUE;
        Pos = MAP_APPFONT ( 6 , 113 ) ;
        Size = MAP_APPFONT ( 111 , 31 ) ;
    };
    FixedText 2
    {
        Pos = MAP_APPFONT ( 6 , 85 ) ;
        Size = MAP_APPFONT ( 42 , 8 ) ;
        Text [ en-US ] = "Attributes" ;
    };
};


ModalDialog RID_SYMDEFINEDIALOG
{
    HelpID = "starmath:ModalDialog:RID_SYMDEFINEDIALOG";
    Moveable = TRUE ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 365 , 215 ) ;
    Text [ en-US ] = "Edit Symbols" ;
    FixedText 1
    {
        Pos = MAP_APPFONT ( 6 , 8 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Left = TRUE ;
        Text [ en-US ] = "~Old symbol";
    };
    ComboBox 1
    {
        HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:1";
        Pos = MAP_APPFONT ( 59 , 6 ) ;
        Size = MAP_APPFONT ( 80 , 100 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        Sort = TRUE ;
    };
    FixedText 2
    {
        Pos = MAP_APPFONT ( 145 , 8 ) ;
        Size = MAP_APPFONT ( 60 , 8 ) ;
        Left = TRUE ;
        Text [ en-US ] = "O~ld symbol set";
    };
    ComboBox 2
    {
        HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:2";
        Pos = MAP_APPFONT ( 210 , 6 ) ;
        Size = MAP_APPFONT ( 80 , 100 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        Sort = TRUE ;
    };
    Control 1
    {
        HelpID = HID_SMA_CONTROL_FONTCHAR_VIEW ;
        Border = TRUE ;
        Pos = MAP_APPFONT ( 6 , 24 ) ;
        Size = MAP_APPFONT ( 295 , 87 ) ;
        TabStop = TRUE ;
        Group = TRUE ;
    };
    FixedText 9
    {
        Pos = MAP_APPFONT ( 6 , 118 ) ;
        Size = MAP_APPFONT ( 71 , 8 ) ;
        Left = TRUE ;
        Text [ en-US ] = "~Symbol";
    };
    ComboBox 4
    {
        HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:4";
        Pos = MAP_APPFONT ( 80 , 115 ) ;
        Size = MAP_APPFONT ( 100 , 100 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        Sort = TRUE ;
    };
    FixedText 10
    {
        Left = TRUE ;
        Pos = MAP_APPFONT ( 6 , 133 ) ;
        Size = MAP_APPFONT ( 71 , 8 ) ;
        Text [ en-US ] = "Symbol s~et";
    };
    ComboBox 5
    {
        HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:5";
        Pos = MAP_APPFONT ( 80 , 130 ) ;
        Size = MAP_APPFONT ( 100 , 100 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        Sort = TRUE ;
    };
    FixedText 3
    {
        Left = TRUE ;
        Pos = MAP_APPFONT ( 6 , 148 ) ;
        Size = MAP_APPFONT ( 71 , 8 ) ;
        Text [ en-US ] = "~Font";
    };
    ListBox 1
    {
        HelpID = "starmath:ListBox:RID_SYMDEFINEDIALOG:1";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 80 , 145 ) ;
        Size = MAP_APPFONT ( 100 , 100 ) ;
        TabStop = TRUE ;
        Sort = TRUE ;
        DropDown = TRUE ;
    };
    FixedText FT_FONTS_SUBSET
    {
        Left = TRUE ;
        Pos = MAP_APPFONT ( 6 , 163 ) ;
        Size = MAP_APPFONT ( 71 , 8 ) ;
        Text [ en-US ] = "~Subset";
    };
    ListBox LB_FONTS_SUBSET
    {
        HelpID = "starmath:ListBox:RID_SYMDEFINEDIALOG:LB_FONTS_SUBSET";
        Border = TRUE ;
        Pos = MAP_APPFONT ( 80 , 160 ) ;
        Size = MAP_APPFONT ( 100 , 100 ) ;
        TabStop = TRUE ;
        Sort = FALSE ;
        DropDown = TRUE ;
    };
    FixedText 4
    {
        Left = TRUE ;
        Pos = MAP_APPFONT ( 6 , 178 ) ;
        Size = MAP_APPFONT ( 71 , 8 ) ;
        Text [ en-US ] = "~Typeface";
    };
    ComboBox 3
    {
        HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:3";
        Border = TRUE;
        Pos = MAP_APPFONT ( 80 , 175 ) ;
        Size = MAP_APPFONT ( 100 , 100 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        Sort = FALSE ;
    };
    FixedText 5
    {
        Center = TRUE ;
        Pos  = MAP_APPFONT ( 303 , 130 ) ;
        Size = MAP_APPFONT ( 54 , 8 ) ;
    };
    Control 2
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 310 , 140 ) ;
        Size = MAP_APPFONT ( 40 , 40 ) ;
    };
    FixedText 6
    {
        Center = TRUE ;
        Pos  = MAP_APPFONT ( 303 , 182 ) ;
        Size = MAP_APPFONT ( 54 , 8 ) ;
    };
    Image 1
    {
        ImageBitmap = Bitmap { File = "ar_right.bmp" ; };
        MaskColor = IMAGE_STDBTN_COLOR ;
    };
    FixedImage BMP_ARROW_RIGHT
    {
        Pos  = MAP_APPFONT ( 252 , 142 ) ;
        Size = MAP_APPFONT ( 36 , 36 ) ;

        Fixed = Image
        {
            ImageBitmap = Bitmap { File = "ar_right.bmp" ; };
            MaskColor = IMAGE_STDBTN_COLOR ;
        };
    };
    FixedText 7
    {
        Center = TRUE ;
        Pos  = MAP_APPFONT ( 183 , 130 ) ;
        Size = MAP_APPFONT ( 54 , 9 ) ;
    };
    Control 3
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 190 , 140 ) ;
        Size = MAP_APPFONT ( 40 , 40 ) ;
    };
    FixedText 8
    {
        Center = TRUE ;
        Pos  = MAP_APPFONT ( 183 , 182 ) ;
        Size = MAP_APPFONT ( 54 , 8 ) ;
    };
    PushButton 1
    {
        HelpID = "starmath:PushButton:RID_SYMDEFINEDIALOG:1";
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( 305 , 195 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Add" ;
    };
    PushButton 2
    {
        HelpID = "starmath:PushButton:RID_SYMDEFINEDIALOG:2";
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( 245 , 195 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Modify" ;
    };
    PushButton 3
    {
        HelpID = "starmath:PushButton:RID_SYMDEFINEDIALOG:3";
        TabStop = TRUE ;
        Pos = MAP_APPFONT ( 185 , 195 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Delete" ;
    };
    HelpButton 1
    {
        Pos = MAP_APPFONT ( 310 , 42 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
    HelpID = "starmath:HelpButton:RID_SYMDEFINEDIALOG:1";
    Text [ en-US ] = "~Help" ;
    };
    OKButton 1
    {
        Pos = MAP_APPFONT ( 310 , 6 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
        DefButton = TRUE ;
    };
    CancelButton 1
    {
        Pos = MAP_APPFONT ( 310 , 24 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
    };
};

WarningBox RID_NOMATHTYPEFACEWARNING
{
    Message [ en-US ] = "The 'StarMath' font has not been installed.\nWithout this font %PRODUCTNAME Math cannot function correctly.\nPlease install this font and restart %PRODUCTNAME Math." ;
};

String RID_FONTREGULAR
{
    Text [ en-US ] = "Standard" ;
};
String RID_FONTITALIC
{
    Text [ en-US ] = "Italic" ;
};
String RID_FONTBOLD
{
    Text [ en-US ] = "Bold" ;
};
String RID_APPLICATION
{
    Text = "StarMath" ;
};
String RID_OBJECTNAME
{
    Text = "SMath3" ;
};
String RID_UNDOEDITNAME
{
    Text = "Edit" ;
};
String RID_UNDOFORMATNAME
{
    Text = "Format" ;
};
String GID_MATH
{
    Text = "StarMath" ;
};
Menu RID_VIEWMENU
{
    ItemList =
    {
        MenuItem
        {
            Identifier = SID_ZOOM_50_PERCENT;
            HelpId = CMD_SID_VIEW050 ;
            Text [ en-US ] = "~View 50%" ;
        };
        MenuItem
        {
            Identifier = SID_ZOOM_100_PERCENT ;
            HelpId = CMD_SID_VIEW100 ;
            Text [ en-US ] = "View ~100%" ;
        };
        MenuItem
        {
            Identifier = SID_ZOOM_200_PERCENT ;
            HelpId = CMD_SID_VIEW200 ;
            Text [ en-US ] = "View ~200%" ;
        };
        MenuItem
        {
            Identifier = SID_ZOOMIN ;
            HelpId = CMD_SID_ZOOMIN ;
            Text [ en-US ] = "~Zoom In" ;
        };
        MenuItem
        {
            Identifier = SID_ZOOMOUT ;
            HelpId = CMD_SID_ZOOMOUT ;
            Text [ en-US ] = "Zoom ~Out" ;
        };
        MenuItem
        {
            Identifier = SID_ZOOM_OPTIMAL ;
            HelpId = CMD_SID_ADJUST ;
            Text [ en-US ] = "~Display All" ;
        };
        MenuItem
        {
            Separator = TRUE ;
        };
        MenuItem
        {
            Identifier = SID_DRAW ;
            HelpId = CMD_SID_DRAW ;
            Text [ en-US ] = "U~pdate" ;
        };
    };
};

#define CMDBOXWINDOW_TEXT           \
    Text [ en-US ] = "Commands" ;              \

DockingWindow RID_CMDBOXWINDOW\
{
    HelpId = HID_SMA_COMMAND_WIN ;
    Moveable = TRUE ;
    Closeable = FALSE ;
    Sizeable = TRUE ;
    OutputSize = TRUE ;
    HideWhenDeactivate = FALSE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 292 , 94 ) ;
    Dockable = TRUE ;
    CMDBOXWINDOW_TEXT
};

DockingWindow RID_ELEMENTSDOCKINGWINDOW
{
    OutputSize = TRUE ;
    Hide = FALSE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 300 , 300 ) ;
    Sizeable = TRUE ;
    Moveable = TRUE ;
    Closeable = TRUE ;
    Zoomable = TRUE ;
    Dockable = TRUE ;

    Control 1
    {
        Border = FALSE ;
    };

    ListBox 1
    {
        Border = TRUE ;
        TabStop = TRUE ;
        Sort = FALSE ;
        DropDown = TRUE ;
        VScroll = TRUE ;
    };

    Text [ en-US ] = "Elements Dock" ;

    String STR_BLACK
    {
        Text [ en-US ] = "black" ;
    };
    String STR_BLUE
    {
        Text [ en-US ] = "blue" ;
    };
    String STR_GREEN
    {
        Text [ en-US ] = "green" ;
    };
    String STR_RED
    {
        Text [ en-US ] = "red" ;
    };
    String STR_CYAN
    {
        Text [ en-US ] = "cyan" ;
    };
    String STR_MAGENTA
    {
        Text [ en-US ] = "magenta" ;
    };
    String STR_YELLOW
    {
        Text [ en-US ] = "yellow" ;
    };
    String STR_HIDE
    {
        Text [ en-US ] = "hide" ;
    };
    String STR_SIZE
    {
        Text [ en-US ] = "size" ;
    };
    String STR_FONT
    {
        Text [ en-US ] = "font" ;
    };
};


String STR_CMDBOXWINDOW
{
    CMDBOXWINDOW_TEXT
};

String RID_DOCUMENTSTR
{
    Text [ en-US ] = "Formula" ;
};

String STR_STATSTR_READING
{
    Text [ en-US ] = "Loading document..." ;
};

String STR_STATSTR_WRITING
{
    Text [ en-US ] = "Saving document..." ;
};


String STR_MATH_DOCUMENT_FULLTYPE_CURRENT
{
    Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Formula";
};

String RID_SYMBOLFILESSTR
{
    Text [ en-US ] = "Symbol files (*.sms)" ;
};

String RID_ALLFILESSTR
{
    Text [ en-US ] = "All files" ;
};

String RID_ERR_IDENT
{
    Text [ en-US ] = "ERROR : " ;
};

String RID_ERR_UNKNOWN
{
    Text [ en-US ] = "Unknown error occurred" ;
};

String RID_ERR_UNEXPECTEDCHARACTER
{
    Text [ en-US ] = "Unexpected character" ;
};

String RID_ERR_OVERFLOW
{
    Text [ en-US ] = "Formula entry too complex" ;
};

String RID_ERR_LGROUPEXPECTED
{
    Text [ en-US ] = "'{' expected" ;
};

String RID_ERR_RGROUPEXPECTED
{
    Text [ en-US ] = "'}' expected" ;
};

String RID_ERR_LBRACEEXPECTED
{
    Text [ en-US ] = "'(' expected" ;
};

String RID_ERR_RBRACEEXPECTED
{
    Text [ en-US ] = "')' expected" ;
};

String RID_ERR_FUNCEXPECTED
{
    Text [ en-US ] = "Function expected" ;
};

String RID_ERR_UNOPEREXPECTED
{
    Text [ en-US ] = "Unary operator expected" ;
};

String RID_ERR_BINOPEREXPECTED
{
    Text [ en-US ] = "Binary operator expected" ;
};

String RID_ERR_SYMBOLEXPECTED
{
    Text [ en-US ] = "Symbol expected" ;
};

String RID_ERR_IDENTEXPECTED
{
    Text [ en-US ] = "Identifier expected" ;
};

String RID_ERR_POUNDEXPECTED
{
    Text [ en-US ] = "'#' expected" ;
};

String RID_ERR_COLOREXPECTED
{
    Text [ en-US ] = "Color required" ;
};

String RID_ERR_LPARENTEXPECTED
{
    Text [ en-US ] = "Left limit expected" ;
};

String RID_ERR_RPARENTEXPECTED
{
    Text [ en-US ] = "Right limit expected" ;
};

String RID_ERR_RIGHTEXPECTED
{
    Text [ en-US ] = "'RIGHT' expected" ;
};

String RID_MATH_TOOLBOX
{
    Text [ en-US ] = "Main Toolbar" ;
};

StringArray RID_PRINTUIOPTIONS
{
    ItemList [en-US] =
    {
        < "%PRODUCTNAME %s"; >;
        < "Contents"; >;
        < "~Title"; >;
        < "~Formula text"; >;
        < "B~orders"; >;
        < "Size"; >;
        < "O~riginal size"; >;
        < "Fit to ~page"; >;
        < "~Scaling"; >;
    };
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */