summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/paragraph/ParaPropertyPanel.src
blob: 677ade565745f7258dab3631c3ec62da8b84ead0 (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
/* -*- 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 "ParaPropertyPanel.hrc"
#include <sfx2/sidebar/ResourceDefinitions.hrc>
#include "helpid.hrc"

#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };

#define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST \
    IdList =               \
    {                      \
        IID_BULLET ;       \
        IID_NUMBER ;       \
    };                     \
    IdCount = { 2 ; };

//add by wj for sym2_7380
#define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL \
    IdList =               \
    {                      \
        IID_BULLET ;       \
        IID_NUMBER ;       \
    };                     \
    IdCount = { 2 ; };

Image IMG_SPACE3
{
    ImageBitmap = Bitmap{File = "symphony/spacing3.png";};
};
Image IMG_INDENT_HANG
{
    ImageBitmap = Bitmap{File = "symphony/Indent_Hanging.png";};
};
ImageList IL_NUM_BULLET
{
    Prefix = "symphony/para_numbullet";
    MaskColor = STD_MASKCOLOR ;
    SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST
};
ImageList IL_NUM_BULLET_RTL
{
    Prefix = "symphony/para_numbullet_rtl";
    MaskColor = STD_MASKCOLOR ;
    SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL
};

//===========================================Back color page==============================
Control RID_POPUPPANEL_PARAPAGE_BACK_COLOR
{
    OutputSize = TRUE;
    DialogControl = TRUE;
    Border = FALSE;
    Size = MAP_APPFONT(  POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT  );

    Control VS_FONT_COLOR
    {
        HelpID = HID_PPROPERTYPANEL_PARA_BACK_COLOR_VS ;
        Hide = TRUE ;
        Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
        Size = MAP_APPFONT (  POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
        TabStop = TRUE ;
        Text = "Color Picker";
    };
    String STR_NOFILL
    {
        Text [ en-US ] = "No Color";
    };
};

//===========================================Bullet popup page==============================
Control RID_POPUPPANEL_PARAPAGE_BULLETS
{
    DialogControl = TRUE;
    OutputSize = TRUE;
    Border = FALSE;

    Size = MAP_APPFONT ( POPUP_WIDTH_BULLET , POPUP_HEIGHT_BULLET) ;
    Control VS_VALUES
    {
        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB , POPUPPANEL_MARGIN_NB ) ;
        Size = MAP_APPFONT ( VS_WIDTH_BULLET ,  VS_HEIGHT_BULLET) ;
        HelpID = HID_POPUP_BULLET_VS_VALUES ;
        TabStop = TRUE ;
        Text = "Bullet";
    };
    PushButton CB_BULLET_MORE
    {
        Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 2 ) ;
        Size = MAP_APPFONT (POPUP_WIDTH_BULLET - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
        HelpID = HID_POPUP_BULLET_CB_BULLET_MORE ;
        TabStop = TRUE ;
        Text [ en-US ] = "~More Options";
    };
    Bitmap  BMP_BULLET_MORE
    {
        File = "symphony/__morebutton.bmp";
    };
};

String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0
{
    Text [en-US] = "large square bullets";
};

String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1
{
    Text [en-US] = "graphic bullets";
};

String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2
{
    Text [en-US] = "graphic bullets";
};

String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3
{
    Text [en-US] = "graphic bullets";
};

String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4
{
    Text [en-US] = "graphic bullets";
};

//===========================================Numbering popup page==============================
Control RID_POPUPPANEL_PARAPAGE_NUMBERING
{
    SVLook = TRUE ;
    DialogControl = TRUE;
    OutputSize = TRUE;
    Border = FALSE;

    Size = MAP_APPFONT ( POPUP_WIDTH_NUM , POPUP_HEIGHT_NUM) ;
    Control VS_NUMBERING
    {
        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ;
        Size = MAP_APPFONT ( VS_WIDTH_NUM ,  VS_HEIGHT_NUM) ;
        HelpID = HID_POPUP_NUM_VS_NUMBERING ;
        TabStop = TRUE ;
        Text = "Numbering";
    };
    PushButton CB_NUMBERING_MORE
    {
        Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB,  VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ;
        Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
        HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ;
        TabStop = TRUE ;
        Text [ en-US ] = "~More Options";
    };
    Bitmap  BMP_NUMERING_MORE
    {
        File = "symphony/__morebutton.bmp";
    };
};

//===========================================Line Space popup page==============================

Image IMG_SPACING1
{
    ImageBitmap = Bitmap{File = "symphony/lpspacing-1.png";};
};
Image IMG_SPACING115
{
    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_15.png";};
};
Image IMG_SPACING15
{
    ImageBitmap = Bitmap{File = "symphony/lpspacing-1_5.png";};
};
Image IMG_SPACING2
{
    ImageBitmap = Bitmap{File = "symphony/lpspacing-2.png";};
};
Image IMG_SEL_SPACING1
{
    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1.png";};
};
Image IMG_SEL_SPACING115
{
    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_15.png";};
};
Image IMG_SEL_SPACING15
{
    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_5.png";};
};
Image IMG_SEL_SPACING2
{
    ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-2.png";};
};
Image IMG_PARA_CUSTOM
{
    ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
};
Image IMG_PARA_CUSTOM_GRAY
{
    ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
};

Control RID_POPUPPANEL_PARAPAGE_LINESPACING
{
    OutputSize = TRUE;
    DialogControl = TRUE;
    Border = FALSE;

    Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT );

    Control LINE_SPACING
    {
        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 17 * 5);
        TabStop = TRUE ;
        Text = "Line Spacing";
    };

    FixedText FT_CUSTOM
    {
        Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y );
        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50 , _FIXED_TEXT_HEIGHT) ;
        Text [ en-US ] = "Custom:";
    };
    FixedText FT_LINE_SPACING
    {
        Pos = MAP_APPFONT ( FT_1_X, FT_1_Y );
        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ;
        Text [ en-US ] = "~Line Spacing:";
    };

    FixedText FT_OF
    {
        Pos = MAP_APPFONT ( FT_2_X, FT_2_Y );
        Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH , _FIXED_TEXT_HEIGHT) ;
        Text [ en-US ] = "~Of:";
    };

    ListBox LB_LINE_SPACING
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y );
        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
        HelpID = HID_POPUP_LS_LB_LINE_SPACING ;
        StringList [ en-US ] =
        {
            < "Single" ; Default ; > ;
            < "1.5 Lines" ; Default ; > ;
            < "Double" ; Default ; > ;
            < "Proportional" ; Default ; > ;
            < "At least" ; Default ; > ;
            < "Leading" ; Default ; > ;
            < "Fixed" ; Default ; > ;
        };
    };
    MetricField ED_SBINDE_LINEDISTPERCENT
    {
        Disable = TRUE;
        Border = TRUE;
        Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ;
        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ;
        Repeat = TRUE;
        Spin = TRUE;
        Minimum = 50;
        Maximum = 200;
        Value = 100;
        StrictFormat = TRUE;
        Unit = FUNIT_PERCENT ;
        First = 50;
        Last = 200;
        SpinSize = 1;
    };
    MetricField ED_SBINDE_LINEDISTPOINT
    {
        Disable = TRUE;
        Border = TRUE;
        Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
        Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
        HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ;
        Repeat = TRUE;
        Spin = TRUE;
        Maximum = 9999;
        DecimalDigits = 2;
        StrictFormat = TRUE ;
        Unit = FUNIT_INCH;
        Last = 9999;
        SpinSize = 2;
    };

    String STR_LS_SINGLE
    {
        Text [ en-US ] = "Line spacing: Single";
    };
    String STR_LS_115
    {
        Text [ en-US ] = "Line spacing: 1.15 Lines";
    };
    String STR_LS_15
    {
        Text [ en-US ] = "Line spacing: 1.5 Lines";
    };
    String STR_LS_DOUBLE
    {
        Text [ en-US ] = "Line spacing: Double";
    };
    String STR_LSPACING
    {
        Text [ en-US ] = "Line spacing:";
    };
    String STR_LS_OF
    {
        Text [ en-US ] = "of:";
    };
    String STR_SPACING1
    {
        Text [ en-US ] = "Spacing: 1";
    };
    String STR_SPACING115
    {
        Text [ en-US ] = "Spacing: 1.15";
    };
    String STR_SPACING15
    {
        Text [ en-US ] = "Spacing: 1.5";
    };
    String STR_SPACING2
    {
        Text [ en-US ] = "Spacing: 2";
    };
    String STR_LCVALUE
    {
        Text [ en-US ] = "Last Custom Value";
    };
};

String RID_SVXSTR_NUMBULLET_NONE
{
    Text [en-US] = "None";
};

//i122118, Seems the bullets graphic order and count is changed in the gallary,
//Following descriptions should be changed accordingly.

String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
{
    Text [en-US] = "Black Pearl";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
{
    Text [en-US] = "Blue Arrow 1";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
{
    Text [en-US] = "Blue Ball";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
{
    Text [en-US] = "Blue Diamond";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
{
    Text [en-US] = "Blue Red";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
{
    Text [en-US] = "Blue Square";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
{
    Text [en-US] = "Blue Star";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
{
    Text [en-US] = "Dark Red Circle";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
{
    Text [en-US] = "Blue Circle";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
{
    Text [en-US] = "Green Circle";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
{
    Text [en-US] = "Black Square";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
{
    Text [en-US] = "Orange Square";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
{
    Text [en-US] = "Purple Square";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
{
    Text [en-US] = "Blue Diamond";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
{
    Text [en-US] = "Light Blue Diamond";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
{
    Text [en-US] = "Red Diamond";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
{
    Text [en-US] = "Yellow Star";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
{
    Text [en-US] = "Blue Star";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
{
    Text [en-US] = "Blue Triangle";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
{
    Text [en-US] = "Dark Green Triangle";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
{
    Text [en-US] = "Red Arrow";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
{
    Text [en-US] = "Blue Arrow 2";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
{
    Text [en-US] = "Blue Box";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
{
    Text [en-US] = "Red Box";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
{
    Text [en-US] = "Light Blue Asterisk";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
{
    Text [en-US] = "Red Leaves";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
{
    Text [en-US] = "Blue Target";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
{
    Text [en-US] = "Blue Arrow 3";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
{
    Text [en-US] = "Dark Blue Arrow";
};
String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
{
    Text [en-US] = "Brown Arrow";
};
//i122118

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