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