xref: /AOO41X/main/sc/source/ui/src/condfrmt.src (revision 82177cdbfc5fbca7e9a45fdfffbbaeb8a0d1d1a3)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "condfrmt.hrc"
25ModelessDialog RID_SCDLG_CONDFORMAT
26{
27    OutputSize = TRUE ;
28    SVLook = TRUE ;
29    Size = MAP_APPFONT ( 316 , 161 ) ;
30    Moveable = TRUE ;
31    Closeable = TRUE ;
32    HelpId = HID_SCDLG_CONDFORMAT ;
33    Hide = TRUE ;
34    CheckBox CBX_COND1
35    {
36        HelpID = "sc:CheckBox:RID_SCDLG_CONDFORMAT:CBX_COND1";
37        Pos = MAP_APPFONT ( 6 , 6 ) ;
38        Size = MAP_APPFONT ( 248 , 10 ) ;
39        TabStop = TRUE ;
40        Text [ en-US ] = "Condition ~1" ;
41    };
42    ListBox LB_COND1_1
43    {
44        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND1_1";
45        Border = TRUE ;
46        Pos = MAP_APPFONT ( 6 , 19 ) ;
47        Size = MAP_APPFONT ( 48 , 40 ) ;
48        TabStop = TRUE ;
49        DropDown = TRUE ;
50        StringList [ en-US ] =
51        {
52            < "Cell value is" ; Default ; > ;
53            < "Formula is" ; Default ; > ;
54        };
55    };
56    ListBox LB_COND1_2
57    {
58        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND1_2";
59        Border = TRUE ;
60        Pos = MAP_APPFONT ( 58 , 19 ) ;
61        Size = MAP_APPFONT ( 62 , 88 ) ;
62        TabStop = TRUE ;
63        DropDown = TRUE ;
64        StringList [ en-US ] =
65        {
66            < "equal to" ; Default ; > ;
67            < "less than" ; Default ; > ;
68            < "greater than" ; Default ; > ;
69            < "less than or equal to" ; Default ; > ;
70            < "greater than or equal to" ; Default ; > ;
71            < "not equal to" ; Default ; > ;
72            < "between" ; Default ; > ;
73            < "not between" ; Default ; > ;
74        };
75    };
76    Edit EDT_COND1_1
77    {
78        HelpID = "sc:Edit:RID_SCDLG_CONDFORMAT:EDT_COND1_1";
79        Border = TRUE ;
80        Pos = MAP_APPFONT ( 124 , 19 ) ;
81        Size = MAP_APPFONT ( 41 , 12 ) ;
82        TabStop = TRUE ;
83    };
84    ImageButton RB_COND1_1
85    {
86        HelpID = "sc:ImageButton:RID_SCDLG_CONDFORMAT:RB_COND1_1";
87        Pos = MAP_APPFONT ( 167 , 18 ) ;
88        Size = MAP_APPFONT ( 13 , 15 ) ;
89        TabStop = FALSE ;
90        QuickHelpText [ en-US ] = "Shrink" ;
91    };
92    FixedText FT_COND1_AND
93    {
94        Pos = MAP_APPFONT ( 181 , 21 ) ;
95        Size = MAP_APPFONT ( 16 , 8 ) ;
96        Center = TRUE ;
97        Text [ en-US ] = "and" ;
98    };
99    Edit EDT_COND1_2
100    {
101        HelpID = "sc:Edit:RID_SCDLG_CONDFORMAT:EDT_COND1_2";
102        Border = TRUE ;
103        Pos = MAP_APPFONT ( 199 , 19 ) ;
104        Size = MAP_APPFONT ( 41 , 12 ) ;
105        TabStop = TRUE ;
106    };
107    ImageButton RB_COND1_2
108    {
109        HelpID = "sc:ImageButton:RID_SCDLG_CONDFORMAT:RB_COND1_2";
110        Pos = MAP_APPFONT ( 242 , 18 ) ;
111        Size = MAP_APPFONT ( 13 , 15 ) ;
112        TabStop = FALSE ;
113        QuickHelpText [ en-US ] = "Shrink" ;
114    };
115    FixedText FT_COND1_TEMPLATE
116    {
117        Pos = MAP_APPFONT ( 6 , 37 ) ;
118        Size = MAP_APPFONT ( 46 , 8 ) ;
119        Right = TRUE ;
120        Text [ en-US ] = "~Cell Style" ;
121    };
122    ListBox LB_COND1_TEMPLATE
123    {
124        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND1_TEMPLATE";
125        Border = TRUE ;
126        Pos = MAP_APPFONT ( 58 , 35 ) ;
127        Size = MAP_APPFONT ( 62 , 80 ) ;
128        TabStop = TRUE ;
129        DropDown = TRUE ;
130        Sort = TRUE ;
131    };
132    PushButton BTN_COND1_NEW
133    {
134        HelpID = "sc:PushButton:RID_SCDLG_CONDFORMAT:BTN_COND1_NEW";
135        Pos = MAP_APPFONT ( 124 , 34 ) ;
136        Size = MAP_APPFONT ( 50 , 14 ) ;
137        TabStop = TRUE ;
138        Text [ en-US ] = "~New Style..." ;
139    };
140    FixedLine FL_SEP1
141    {
142        Pos = MAP_APPFONT ( 6 , 51 ) ;
143        Size = MAP_APPFONT ( 248 , 8 ) ;
144    };
145    CheckBox CBX_COND2
146    {
147        HelpID = "sc:CheckBox:RID_SCDLG_CONDFORMAT:CBX_COND2";
148        Pos = MAP_APPFONT ( 6 , 60 ) ;
149        Size = MAP_APPFONT ( 248 , 10 ) ;
150        TabStop = TRUE ;
151        Text [ en-US ] = "Condition ~2" ;
152    };
153    ListBox LB_COND2_1
154    {
155        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND2_1";
156        Border = TRUE ;
157        Pos = MAP_APPFONT ( 6 , 73 ) ;
158        Size = MAP_APPFONT ( 48 , 40 ) ;
159        TabStop = TRUE ;
160        DropDown = TRUE ;
161        StringList [ en-US ] =
162        {
163            < "Cell value is" ; Default ; > ;
164            < "Formula is" ; Default ; > ;
165        };
166    };
167    ListBox LB_COND2_2
168    {
169        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND2_2";
170        Border = TRUE ;
171        Pos = MAP_APPFONT ( 58 , 73 ) ;
172        Size = MAP_APPFONT ( 62 , 88 ) ;
173        TabStop = TRUE ;
174        DropDown = TRUE ;
175        StringList [ en-US ] =
176        {
177            < "equal to" ; Default ; > ;
178            < "less than" ; Default ; > ;
179            < "greater than" ; Default ; > ;
180            < "less than or equal to" ; Default ; > ;
181            < "greater than or equal to" ; Default ; > ;
182            < "not equal to" ; Default ; > ;
183            < "between" ; Default ; > ;
184            < "not between" ; Default ; > ;
185        };
186    };
187    Edit EDT_COND2_1
188    {
189        HelpID = "sc:Edit:RID_SCDLG_CONDFORMAT:EDT_COND2_1";
190        Border = TRUE ;
191        Pos = MAP_APPFONT ( 124 , 73 ) ;
192        Size = MAP_APPFONT ( 41 , 12 ) ;
193        TabStop = TRUE ;
194    };
195    ImageButton RB_COND2_1
196    {
197        HelpID = "sc:ImageButton:RID_SCDLG_CONDFORMAT:RB_COND2_1";
198        Pos = MAP_APPFONT ( 167 , 72 ) ;
199        Size = MAP_APPFONT ( 13 , 15 ) ;
200        TabStop = FALSE ;
201        QuickHelpText [ en-US ] = "Shrink" ;
202    };
203    FixedText FT_COND2_AND
204    {
205        Pos = MAP_APPFONT ( 181 , 75 ) ;
206        Size = MAP_APPFONT ( 16 , 8 ) ;
207        Center = TRUE ;
208        Text [ en-US ] = "and" ;
209    };
210    Edit EDT_COND2_2
211    {
212        HelpID = "sc:Edit:RID_SCDLG_CONDFORMAT:EDT_COND2_2";
213        Border = TRUE ;
214        Pos = MAP_APPFONT ( 199 , 73 ) ;
215        Size = MAP_APPFONT ( 41 , 12 ) ;
216        TabStop = TRUE ;
217    };
218    ImageButton RB_COND2_2
219    {
220        HelpID = "sc:ImageButton:RID_SCDLG_CONDFORMAT:RB_COND2_2";
221        Pos = MAP_APPFONT ( 242 , 72 ) ;
222        Size = MAP_APPFONT ( 13 , 15 ) ;
223        TabStop = FALSE ;
224        QuickHelpText [ en-US ] = "Shrink" ;
225    };
226    FixedText FT_COND2_TEMPLATE
227    {
228        Pos = MAP_APPFONT ( 6 , 91 ) ;
229        Size = MAP_APPFONT ( 46 , 8 ) ;
230        Right = TRUE ;
231        Text [ en-US ] = "C~ell Style" ;
232    };
233    ListBox LB_COND2_TEMPLATE
234    {
235        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND2_TEMPLATE";
236        Border = TRUE ;
237        Pos = MAP_APPFONT ( 58 , 89 ) ;
238        Size = MAP_APPFONT ( 62 , 80 ) ;
239        TabStop = TRUE ;
240        DropDown = TRUE ;
241        Sort = TRUE ;
242    };
243    PushButton BTN_COND2_NEW
244    {
245        HelpID = "sc:PushButton:RID_SCDLG_CONDFORMAT:BTN_COND2_NEW";
246        Pos = MAP_APPFONT ( 124 , 88 ) ;
247        Size = MAP_APPFONT ( 50 , 14 ) ;
248        TabStop = TRUE ;
249        Text [ en-US ] = "Ne~w Style..." ;
250    };
251    FixedLine FL_SEP2
252    {
253        Pos = MAP_APPFONT ( 6 , 105 ) ;
254        Size = MAP_APPFONT ( 248 , 8 ) ;
255    };
256    CheckBox CBX_COND3
257    {
258        HelpID = "sc:CheckBox:RID_SCDLG_CONDFORMAT:CBX_COND3";
259        Pos = MAP_APPFONT ( 6 , 114 ) ;
260        Size = MAP_APPFONT ( 248 , 10 ) ;
261        TabStop = TRUE ;
262        Text [ en-US ] = "Condition ~3" ;
263    };
264    ListBox LB_COND3_1
265    {
266        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND3_1";
267        Border = TRUE ;
268        Pos = MAP_APPFONT ( 6 , 127 ) ;
269        Size = MAP_APPFONT ( 48 , 40 ) ;
270        TabStop = TRUE ;
271        DropDown = TRUE ;
272        StringList [ en-US ] =
273        {
274            < "Cell value is" ; Default ; > ;
275            < "Formula is" ; Default ; > ;
276        };
277    };
278    ListBox LB_COND3_2
279    {
280        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND3_2";
281        Border = TRUE ;
282        Pos = MAP_APPFONT ( 58 , 127 ) ;
283        Size = MAP_APPFONT ( 62 , 88 ) ;
284        TabStop = TRUE ;
285        DropDown = TRUE ;
286        StringList [ en-US ] =
287        {
288            < "equal to" ; Default ; > ;
289            < "less than" ; Default ; > ;
290            < "greater than" ; Default ; > ;
291            < "less than or equal to" ; Default ; > ;
292            < "greater than or equal to" ; Default ; > ;
293            < "not equal to" ; Default ; > ;
294            < "between" ; Default ; > ;
295            < "not between" ; Default ; > ;
296        };
297    };
298    Edit EDT_COND3_1
299    {
300        HelpID = "sc:Edit:RID_SCDLG_CONDFORMAT:EDT_COND3_1";
301        Border = TRUE ;
302        Pos = MAP_APPFONT ( 124 , 127 ) ;
303        Size = MAP_APPFONT ( 41 , 12 ) ;
304        TabStop = TRUE ;
305    };
306    ImageButton RB_COND3_1
307    {
308        HelpID = "sc:ImageButton:RID_SCDLG_CONDFORMAT:RB_COND3_1";
309        Pos = MAP_APPFONT ( 167 , 126 ) ;
310        Size = MAP_APPFONT ( 13 , 15 ) ;
311        TabStop = FALSE ;
312        QuickHelpText [ en-US ] = "Shrink" ;
313    };
314    FixedText FT_COND3_AND
315    {
316        Pos = MAP_APPFONT ( 181 , 129 ) ;
317        Size = MAP_APPFONT ( 16 , 8 ) ;
318        Center = TRUE ;
319        Text [ en-US ] = "and" ;
320    };
321    Edit EDT_COND3_2
322    {
323        HelpID = "sc:Edit:RID_SCDLG_CONDFORMAT:EDT_COND3_2";
324        Border = TRUE ;
325        Pos = MAP_APPFONT ( 199 , 127 ) ;
326        Size = MAP_APPFONT ( 41 , 12 ) ;
327        TabStop = TRUE ;
328    };
329    ImageButton RB_COND3_2
330    {
331        HelpID = "sc:ImageButton:RID_SCDLG_CONDFORMAT:RB_COND3_2";
332        Pos = MAP_APPFONT ( 242 , 126 ) ;
333        Size = MAP_APPFONT ( 13 , 15 ) ;
334        TabStop = FALSE ;
335        QuickHelpText [ en-US ] = "Shrink" ;
336    };
337    FixedText FT_COND3_TEMPLATE
338    {
339        Pos = MAP_APPFONT ( 6 , 145 ) ;
340        Size = MAP_APPFONT ( 46 , 8 ) ;
341        Right = TRUE ;
342        Text [ en-US ] = "Ce~ll Style" ;
343    };
344    ListBox LB_COND3_TEMPLATE
345    {
346        HelpID = "sc:ListBox:RID_SCDLG_CONDFORMAT:LB_COND3_TEMPLATE";
347        Border = TRUE ;
348        Pos = MAP_APPFONT ( 58 , 143 ) ;
349        Size = MAP_APPFONT ( 62 , 80 ) ;
350        TabStop = TRUE ;
351        DropDown = TRUE ;
352        Sort = TRUE ;
353    };
354    PushButton BTN_COND3_NEW
355    {
356        HelpID = "sc:PushButton:RID_SCDLG_CONDFORMAT:BTN_COND3_NEW";
357        Pos = MAP_APPFONT ( 124 , 142 ) ;
358        Size = MAP_APPFONT ( 50 , 14 ) ;
359        TabStop = TRUE ;
360        Text [ en-US ] = "New ~Style..." ;
361    };
362    OKButton BTN_OK
363    {
364        Pos = MAP_APPFONT ( 260 , 6 ) ;
365        Size = MAP_APPFONT ( 50 , 14 ) ;
366        TabStop = TRUE ;
367        DefButton = TRUE ;
368    };
369    CancelButton BTN_CANCEL
370    {
371        Pos = MAP_APPFONT ( 260 , 23 ) ;
372        Size = MAP_APPFONT ( 50 , 14 ) ;
373        TabStop = TRUE ;
374    };
375    HelpButton BTN_HELP
376    {
377        Pos = MAP_APPFONT ( 260 , 43 ) ;
378        Size = MAP_APPFONT ( 50 , 14 ) ;
379        TabStop = TRUE ;
380    };
381    Text [ en-US ] = "Conditional Formatting" ;
382};
383
384String LABEL_FORMARTTING_CONDITIONS
385{
386    Text [ en-US ] = "Formatting Conditions" ;
387};
388String LABEL_CONDITIONS
389{
390    Text [ en-US ] = "Conditions" ;
391};
392String LABEL_CONDITION_VALUE
393{
394    Text [ en-US ] = "Condition Value" ;
395};
396
397