summaryrefslogtreecommitdiff
path: root/sc/source/ui/src/condformatdlg.src
blob: 8e3132b3acd70bcd95c54dedfa7d02ad638db781 (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
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * Version: MPL 1.1 / GPLv3+ / LGPLv3+
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License or as specified alternatively below. You may obtain a copy of
 * the License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * Major Contributor(s):
 * Copyright (C) 2012 Markus Mohrhard <markus.mohrhard@googlemail.com> (initial developer)
 *
 * All Rights Reserved.
 *
 * For minor contributions see the git repository.
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
 * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
 * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
 * instead of those above.
 */

#include "condformatdlg.hrc"

ModalDialog RID_SCDLG_CONDFORMAT
{
    OutputSize = TRUE;
    Hide = TRUE;
    Size = MAP_APPFONT ( 300, 300 );
    Text [ en-US ] = "Conditional Formatting for";
    Moveable = TRUE;
    Closeable = TRUE;
    OkButton BTN_OK
    {
        Pos = MAP_APPFONT ( 190, 280 );
        Size = MAP_APPFONT ( 50, 14 );
        TabStop = TRUE;
    };
    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT ( 245, 280 );
        Size = MAP_APPFONT ( 50, 14 );
        TabStop = TRUE;
    };
    PushButton BTN_ADD
    {
        Pos = MAP_APPFONT( 5, 245 );
        Size = MAP_APPFONT( 50, 14 );
        Text [ en-US ] = "Add";
        TabStop = TRUE;
    };
    PushButton BTN_REMOVE
    {
        Pos = MAP_APPFONT( 60, 245 );
        Size = MAP_APPFONT( 50, 14 );
        Text [ en-US ] = "Remove";
        TabStop = TRUE;
    };
    Control CTRL_LIST
    {
        Pos = MAP_APPFONT( 5, 20 );
        Size = MAP_APPFONT( 290, 220 );
        Border = TRUE;
    };
    FixedText FT_RANGE
    {
        Pos = MAP_APPFONT( 5, 262 );
        Size = MAP_APPFONT( 50, 16 );
        Text [ en-US ] = "Range:";
    };
    Edit ED_RANGE
    {
        Pos = MAP_APPFONT( 60, 262 );
        Size = MAP_APPFONT( 182, 14 );
        Border = TRUE;
    };
    ImageButton RB_RANGE
    {
        Pos = MAP_APPFONT( 245, 262 );
        Size = MAP_APPFONT( 14, 14 );
        Border = TRUE;
    };
};

Control RID_COND_ENTRY
{
    Pos = MAP_APPFONT( 0, 0 );
    Size = MAP_APPFONT( 290, 40 );
    Border = TRUE;

    FixedText FT_COND_NR
    {
        Pos = MAP_APPFONT( 2, 2 );
        Size = MAP_APPFONT( 50, 10 );
    };
    String STR_CONDITION
    {
        Text [ en-US ] = "Condition ";
    };

    FixedText FT_CONDITION
    {
        Pos = MAP_APPFONT( 60, 2 );
        Size = MAP_APPFONT( 120, 10 );
    };

    ListBox LB_TYPE
    {
        Pos = MAP_APPFONT( 5, 15 );
        Size = MAP_APPFONT( 80, 60 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
        StringList [ en-US ] =
        {
            "All Cells";
            "Cell value is";
            "Formula is";
            "Date is";
        };
    };
    ListBox LB_CELLIS_TYPE
    {
        Pos = MAP_APPFONT( 90, 15 );
        Size = MAP_APPFONT( 80, 80 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
        StringList [ en-US ] =
        {
            "equal to";
            "less than";
            "greater than";
            "less than or equal to";
            "greater than or equal to";
            "not equal to";
            "between";
            "not between";
            "duplicate";
            "not duplicate";
            "top 10 elements";
            "bottom 10 elements";
            "top 10 percent";
            "bottom 10 percent";
            "above average";
            "below average";
            "above or equal average";
            "below or equal average";
            "Error";
            "No Error";
            "Begins with";
            "Ends with";
            "Contains";
            "Not Contains";
        };
    };
    Edit ED_VAL1
    {
        Pos = MAP_APPFONT( 175, 15 );
        Size = MAP_APPFONT( 50, 12 );
        Border = TRUE;
    };
    Edit ED_FORMULA
    {
        Pos = MAP_APPFONT( 90, 15 );
        Size = MAP_APPFONT( 135, 12 );
        Border = TRUE;
    };
    Edit ED_VAL2
    {
        Pos = MAP_APPFONT( 230, 15 );
        Size = MAP_APPFONT( 50, 12 );
        Border = TRUE;
    };
    ListBox LB_COLOR_FORMAT
    {
        Pos = MAP_APPFONT( 100, 15 );
        Size = MAP_APPFONT( 80, 60);
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
        StringList [ en-US ] =
        {
            "Color Scale (2 Entries)";
            "Color Scale (3 Entries)";
            "Data Bar";
            "Icon Set";
        };
    };
    FixedText FT_STYLE
    {
        Pos = MAP_APPFONT( 5, 32 );
        Size = MAP_APPFONT( 50, 14 );
        Text [ en-US ] = "Apply Style";
    };
    ListBox LB_STYLE
    {
        Pos = MAP_APPFONT( 90, 32 );
        Size = MAP_APPFONT( 80, 80 );
        Border = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            "New Style...";
        };
    };
    ListBox LB_TYPE_COL_SCALE_MIN
    {
        Pos = MAP_APPFONT( 5, 32 );
        Size = MAP_APPFONT( 80, 60 );
        Border = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            "Automatic";
            "Min";
            "Max";
            "Percentile";
            "Value";
            "Percent";
            "Formula";
        };
    };
    ListBox LB_TYPE_COL_SCALE_MIDDLE
    {
        Pos = MAP_APPFONT( 100, 32 );
        Size = MAP_APPFONT( 80, 60 );
        Border = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            "Automatic";
            "Min";
            "Max";
            "Percentile";
            "Value";
            "Percent";
            "Formula";
        };
    };
    ListBox LB_TYPE_COL_SCALE_MAX
    {
        Pos = MAP_APPFONT( 195, 32 );
        Size = MAP_APPFONT( 80, 60 );
        Border = TRUE;
        DropDown = TRUE;
        StringList [ en-US ] =
        {
            "Automatic";
            "Min";
            "Max";
            "Percentile";
            "Value";
            "Percent";
            "Formula";
        };
    };
    Window WD_PREVIEW
    {
        Pos = MAP_APPFONT( 175, 32 );
        Size = MAP_APPFONT( 105, 14 );
        Text [ en-US ] = "Example";
        Border = TRUE;
    };
    Edit ED_COL_SCALE_MIN
    {
        Pos = MAP_APPFONT( 5, 48 );
        Size = MAP_APPFONT( 80, 12 );
        Border = TRUE;
    };
    Edit ED_COL_SCALE_MIDDLE
    {
        Pos = MAP_APPFONT( 100, 48 );
        Size = MAP_APPFONT( 80, 12 );
        Border = TRUE;
    };
    Edit ED_COL_SCALE_MAX
    {
        Pos = MAP_APPFONT( 195, 48 );
        Size = MAP_APPFONT( 80, 12 );
        Border = TRUE;
    };
    ListBox LB_COL_MIN
    {
        Pos = MAP_APPFONT( 5, 62 );
        Size = MAP_APPFONT( 80, 40 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
    };
    ListBox LB_COL_MIDDLE
    {
        Pos = MAP_APPFONT( 100, 62 );
        Size = MAP_APPFONT( 80, 40 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
    };
    ListBox LB_COL_MAX
    {
        Pos = MAP_APPFONT( 195, 62 );
        Size = MAP_APPFONT( 80, 40 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
    };
    PushButton BTN_OPTIONS
    {
        Pos = MAP_APPFONT( 120, 62 );
        Size = MAP_APPFONT( 60, 14 );
        Text [ en-US ] = "More options ...";
    };
    ListBox LB_DATE_TYPE
    {
        Pos = MAP_APPFONT( 100, 15 );
        Size = MAP_APPFONT( 100, 60 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
        StringList [ en-US ] =
        {
            "Today";
            "Yesterday";
            "Tomorrow";
            "Last 7 days";
            "This week";
            "Last week";
            "Next week";
            "This month";
            "Last month";
            "Next month";
            "This year";
            "Last year";
            "Next year";
        };
    };
    ListBox LB_ICONSET_TYPE
    {
        Pos = MAP_APPFONT( 200, 15 );
        Size = MAP_APPFONT( 80, 50 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
        StringList [ en-US ] =
        {
            "3 Arrows";
            "3 Gray Arrows";
            "3 Flags";
            "3 Traffic Lights 1";
            "3 Traffic Lights 2";
            "3 Signs";
            "3 Symbols 1";
            "3 Symbols 2";
            "4 Arrows";
            "4 Gray Arrows";
            "4 Circles Red to Black";
            "4 Ratings";
            "4 Traffic Lights";
            "5 Arrows";
            "5 Gray Arrows";
            "5 Ratings";
            "5 Quarters";
        };
    };
};

Control RID_ICON_SET_ENTRY
{
    Pos = MAP_APPFONT( 0, 35 );
    Size = MAP_APPFONT(300, 16);
    // Picture of the Icon
    FixedImage IMG_ICON
    {
        Pos = MAP_APPFONT( 5, 0 );
        Size = MAP_APPFONT( 16, 16 );
    };
    FixedText FT_ICON_SET_ENTRY_TEXT
    {
        Pos = MAP_APPFONT( 40, 0 );
        Size = MAP_APPFONT(40, 14);
        Text [en-US] = " >= ";
    };
    Edit ED_ICON_SET_ENTRY_VALUE
    {
        Pos = MAP_APPFONT( 90, 0 );
        Size = MAP_APPFONT( 40, 14 );
        Border = TRUE;
    };
    ListBox LB_ICON_SET_ENTRY_TYPE
    {
        Pos = MAP_APPFONT( 140, 0 );
        Size = MAP_APPFONT( 60, 40 );
        Border = TRUE;
        DropDown = TRUE;
        DDExtraWidth = TRUE;
        StringList [ en-US ] =
        {
            "Value";
            "Percent";
            "Percentile";
            "Formula";
        };
    };
};

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