summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/text/TextPropertyPanel.src
blob: 62811f617079b9493667aade713f5a7202e0e172 (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
/* -*- 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 "TextPropertyPanel.hrc"
#include <sfx2/sidebar/ResourceDefinitions.hrc>
#include "helpid.hrc"

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

    Size = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_UNDERLINE_WIDTH,  13+ VS_UNDERLINE_HEIGHT + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE);
    Control VS_UNDERLINE
    {
        HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS;
        Hide = TRUE ;
        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
        Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH  ,VS_UNDERLINE_HEIGHT);
        TabStop = TRUE ;
        Text = "Underline";
    };

    PushButton PB_OPTIONS
    {
        HelpID = HID_UNDERLINE_BTN;
        Pos = MAP_APPFONT (  POPUPPANEL_MARGIN_SMALL + OFFSET_X  , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT );
        Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 );
        TabStop = TRUE;
        Text [ en-US ] = "~More Options...";
    };

    Image IMG_SINGLE
    {
        ImageBitmap = Bitmap{File = "symphony/line1.bmp";};
    };
    Image IMG_DOUBLE
    {
        ImageBitmap = Bitmap{File = "symphony/line2.bmp";};
    };
    Image IMG_BOLD2
    {
        ImageBitmap = Bitmap{File = "symphony/line3.bmp";};
    };
    Image IMG_DOT
    {
        ImageBitmap = Bitmap{File = "symphony/line4.bmp";};
    };
    Image IMG_DOT_BOLD
    {
        ImageBitmap = Bitmap{File = "symphony/line5.bmp";};
    };
    Image IMG_DASH
    {
        ImageBitmap = Bitmap{File = "symphony/line6.bmp";};
    };
    Image IMG_DASH_LONG
    {
        ImageBitmap = Bitmap{File = "symphony/line7.bmp";};
    };
    Image IMG_DASH_DOT
    {
        ImageBitmap = Bitmap{File = "symphony/line8.bmp";};
    };
    Image IMG_DASH_DOT_DOT
    {
        ImageBitmap = Bitmap{File = "symphony/line9.bmp";};
    };
    Image IMG_WAVE
    {
        ImageBitmap = Bitmap{File = "symphony/line10.bmp";};
    };

    //image when selected
    Image IMG_SINGLE_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line1.bmp";};
    };
    Image IMG_DOUBLE_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line2.bmp";};
    };
    Image IMG_BOLD2_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line3.bmp";};
    };
    Image IMG_DOT_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line4.bmp";};
    };
    Image IMG_DOT_BOLD_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line5.bmp";};
    };
    Image IMG_DASH_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line6.bmp";};
    };
    Image IMG_DASH_LONG_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line7.bmp";};
    };
    Image IMG_DASH_DOT_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line8.bmp";};
    };
    Image IMG_DASH_DOT_DOT_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line9.bmp";};
    };
    Image IMG_WAVE_SEL
    {
        ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";};
    };

    String STR_WITHOUT
    {
        Text [ en-US ] = "(Without)";
    };

    //tips
    String STR_SINGLE
    {
        Text [ en-US ] = "Single";
    };
    String STR_DOUBLE
    {
        Text [ en-US ] = "Double";
    };
    String STR_BOLD
    {
        Text [ en-US ] = "Bold";
    };
    String STR_DOT
    {
        Text [ en-US ] = "Dotted";
    };
    String STR_DOT_BOLD
    {
        Text [ en-US ] = "Dotted (Bold)";
    };
    String STR_DASH
    {
        Text [ en-US ] = "Dash";
    };
    String STR_DASH_LONG
    {
        Text [ en-US ] = "Long Dash";
    };
    String STR_DASH_DOT
    {
        Text [ en-US ] = "Dot Dash";
    };
    String STR_DASH_DOT_DOT
    {
        Text [ en-US ] = "Dot Dot Dash";
    };
    String STR_WAVE
    {
        Text [ en-US ] = "Wave";
    };

};

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

    Size = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH , POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + CUSTOM_HEIGHT + TEXT_HEIGHT + POPUPPANEL_MARGIN_LARGE + POPUP_BORDER_WIDTH + 1);

    Control VS_SPACING
    {
        HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ;
        Hide = TRUE ;
        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
        Size = MAP_APPFONT ( VS_SPACING_WIDTH  , 15 * 6);
        TabStop = TRUE ;
        Text  = "Character Spacing";
    };

    FixedText FT_LASTCUSTOM
    {
        Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X ,POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6) ;
        Size = MAP_APPFONT ( CUSTOM_WIDTH , TEXT_HEIGHT );
        Left = TRUE ;
        Text [ en-US ] = "Custom:" ;
    };
    //custom area
    FixedText   FT_SPACING
    {
        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE);
        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
        Left = TRUE ;
        Text [ en-US ] = "~Character spacing: " ;
    };
    ListBox LB_KERNING
    {
        Border = TRUE;
        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL);//20
        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , 80 ) ;
        TabStop = TRUE;
        DropDown = TRUE ;
        HelpID = HID_SPACING_CB_KERN;
        StringList [ en-US ] =
        {
            < "Default" ; Default ; > ;
            < "Expanded" ; Default ; > ;
            < "Condensed" ; Default ; > ;
        };
    };
    FixedText   FT_BY
    {
        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT );
        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
        Left = TRUE ;
        Text [ en-US ] = "Change ~by: " ;
    };
    MetricField ED_KERNING
    {
        HelpID = HID_SPACING_MB_KERN;
        Border = TRUE;
        Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 + CBOX_HEIGHT);//60
        Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , MBOX_HEIGHT );
        TabStop = TRUE;
        Repeat = TRUE ;
        Spin = TRUE ;
        Maximum = 9999 ;
        DecimalDigits = 1 ;
        Unit = FUNIT_POINT ;
        SpinSize = 10 ;
    };

    Image IMG_NORMAL
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_normal.bmp" ;};//"spacing_normal.bmp"
    };
    Image IMG_VERY_TIGHT
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_very tight.bmp";};
    };
    Image IMG_TIGHT
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_tight.bmp";};
    };
    Image IMG_LOOSE
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_loose.bmp";};
    };
    Image IMG_VERY_LOOSE
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_very loose.bmp";};
    };

    Image IMG_NORMAL_S
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_normal_s.bmp";};
    };
    Image IMG_VERY_TIGHT_S
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_very tight_s.bmp";};
    };
    Image IMG_TIGHT_S
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_tight_s.bmp";};
    };
    Image IMG_LOOSE_S
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_loose_s.bmp";};
    };
    Image IMG_VERY_LOOSE_S
    {
        ImageBitmap = Bitmap{File = "symphony/spacing_very loose_s.bmp";};
    };

    Image IMG_CUSTOM
    {
        ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
    };
    Image IMG_CUSTOM_GRAY
    {
        ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
    };

    String STR_VERY_TIGHT
    {
        Text [ en-US ] = "Very Tight";
    };
    String STR_TIGHT
    {
        Text [ en-US ] = "Tight";
    };
    String STR_NORMAL
    {
        Text [ en-US ] = "Normal";
    };
    String STR_LOOSE
    {
        Text [ en-US ] = "Loose";
    };
    String STR_VERY_LOOSE
    {
        Text [ en-US ] = "Very Loose";
    };
    String STR_CUSTOM
    {
        Text [ en-US ] = "Last Custom Value";
    };

    String STR_VERY_TIGHT_TIP
    {
        Text [ en-US ] = " Spacing: Condensed By: 3 pt";
    };
    String STR_TIGHT_TIP
    {
        Text [ en-US ] = " Spacing: Condensed By: 1.5 pt";
    };
    String STR_NORMAL_TIP
    {
        Text [ en-US ] = " Spacing: Normal";
    };
    String STR_LOOSE_TIP
    {
        Text [ en-US ] = " Spacing: Expanded By: 3 pt";
    };
    String STR_VERY_LOOSE_TIP
    {
        Text [ en-US ] = " Spacing: Expanded By: 6 pt";
    };
    String STR_CUSTOM_C_TIP
    {
        Text [ en-US ] = " Spacing: Condensed By: ";
    };
    String STR_CUSTOM_E_TIP
    {
        Text [ en-US ] = " Spacing: Expanded By: ";
    };
    String STR_PT
    {
        Text[ en-US ] = "pt";
    };
};

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