xref: /trunk/main/formula/source/ui/dlg/formdlgs.src (revision 4d7c9de0)
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 "formdlgs.hrc"
25#include "ForResId.hrc"
26#include "helpids.hrc"
27
28
29#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
30 //---------------------------------------------------------------------------
31TabPage RID_FORMULATAB_FUNCTION
32{
33	Hide = TRUE ;
34	Size = MAP_APPFONT ( 96 , 180 ) ;
35    HelpId = HID_FORMULATAB_FUNCTION ;
36	 //	Titel wird dynamisch gesetzt (s.u.)
37	 //	1. Seite
38	ListBox LB_CATEGORY
39	{
40        HelpId = HID_FORMULA_LB_CATEGORY;
41		Border = TRUE ;
42        Pos = MAP_APPFONT ( 6 , 14 ) ;
43        Size = MAP_APPFONT ( 86 , 112 ) ;
44		DropDown = TRUE ;
45		StringList [ en-US ] =
46		{
47			< "Last Used" ; Default ; > ;
48			< "All" ; Default ; > ;
49        };
50		//	< "Database" ; Default ; > ;
51		//	< "Date&Time" ; Default ; > ;
52		//	< "Financial" ; Default ; > ;
53		//	< "Information" ; Default ; > ;
54		//	< "Logical" ; Default ; > ;
55		//	< "Mathematical" ; Default ; > ;
56		//	< "Array" ; Default ; > ;
57		//	< "Statistical" ; Default ; > ;
58		//	< "Spreadsheet" ; Default ; > ;
59		//	< "Text" ; Default ; > ;
60		//	< "Add-in" ; Default ; > ;
61		//};
62	};
63	ListBox LB_FUNCTION
64	{
65        HelpId = HID_FORMULA_LB_FUNCTION;
66		Border = TRUE ;
67        Pos = MAP_APPFONT ( 6 , 43 ) ;
68        Size = MAP_APPFONT ( 86 , 133 ) ;
69		Sort = TRUE;
70	};
71	FixedText FT_CATEGORY
72	{
73        Pos = MAP_APPFONT ( 6 , 3 ) ;
74        Size = MAP_APPFONT ( 84 , 8 ) ;
75		Text [ en-US ] = "~Category" ;
76	};
77	FixedText FT_FUNCTION
78	{
79        Pos = MAP_APPFONT ( 6 , 32 ) ;
80        Size = MAP_APPFONT ( 72 , 8 ) ;
81		Text [ en-US ] = "~Function" ;
82	};
83};
84TabPage RID_FORMULATAB_STRUCT
85{
86	Hide = TRUE ;
87	Size = MAP_APPFONT ( 96 , 180 ) ;
88    HelpId = HID_FORMULATAB_STRUCT ;
89	 //	Titel wird dynamisch gesetzt (s.u.)
90	 //	1. Seite
91	Control TLB_STRUCT
92	{
93		Border = TRUE ;
94		TabStop = TRUE ;
95        Pos = MAP_APPFONT ( 6 , 14 ) ;
96        Size = MAP_APPFONT ( 86 , 162 ) ;
97		HelpId = HID_FORMULA_FAP_STRUCT ;
98	};
99	FixedText FT_STRUCT
100	{
101        Pos = MAP_APPFONT ( 6 , 3 ) ;
102        Size = MAP_APPFONT ( 86 , 8 ) ;
103		Text [ en-US ] = "~Structure" ;
104	};
105    Image BMP_STR_CLOSE
106	{
107        ImageBitmap = Bitmap { File = "fapclose.bmp"; };
108        MaskColor = STD_MASKCOLOR;
109	};
110    Image BMP_STR_CLOSE_H
111    {
112        ImageBitmap = Bitmap { File = "fapclose_h.bmp"; };
113        MaskColor = STD_MASKCOLOR;
114    };
115    Image BMP_STR_OPEN
116	{
117        ImageBitmap = Bitmap { File = "fapopen.bmp"; };
118        MaskColor = STD_MASKCOLOR;
119	};
120    Image BMP_STR_OPEN_H
121    {
122        ImageBitmap = Bitmap { File = "fapopen_h.bmp"; };
123        MaskColor = STD_MASKCOLOR;
124    };
125    Image BMP_STR_END
126	{
127        ImageBitmap = Bitmap { File = "fapok.bmp"; };
128        MaskColor = STD_MASKCOLOR;
129	};
130    Image BMP_STR_END_H
131    {
132        ImageBitmap = Bitmap { File = "fapok_h.bmp"; };
133        MaskColor = STD_MASKCOLOR;
134    };
135    Image BMP_STR_ERROR
136	{
137        ImageBitmap = Bitmap { File = "faperror.bmp"; };
138        MaskColor = STD_MASKCOLOR;
139	};
140    Image BMP_STR_ERROR_H
141    {
142        ImageBitmap = Bitmap { File = "faperror_h.bmp"; };
143        MaskColor = STD_MASKCOLOR;
144    };
145	String STR_STRUCT_ERR1
146	{
147		Text [ en-US ] = "=?" ;
148	};
149	String STR_STRUCT_ERR2
150	{
151		Text [ en-US ] = "Error" ;
152	};
153};
154ModalDialog RID_FORMULADLG_FORMULA_MODAL
155{
156    SVLook = TRUE ;
157    Size = MAP_APPFONT ( 321 , 228 ) ;
158    HelpId = HID_FORMULADLG_FORMULA ;
159    Moveable = TRUE ;
160    TabControl TC_FUNCTION
161    {
162        HelpID = "formula:TabControl:RID_FORMULADLG_FORMULA_MODAL:TC_FUNCTION";
163	    Pos = MAP_APPFONT ( 6 , 5 ) ;
164	    Size = MAP_APPFONT ( 102 , 199 ) ;
165	    PageList =
166	    {
167		    PageItem
168		    {
169			    Identifier = TP_FUNCTION ;
170			    Text [ en-US ] = "Functions" ;
171		    };
172		    PageItem
173		    {
174			    Identifier = TP_STRUCT ;
175			    Text [ en-US ] = "Structure" ;
176		    };
177	    };
178    };
179    FixedText FT_HEADLINE
180    {
181	    Pos = MAP_APPFONT ( 115 , 24 ) ;
182        Size = MAP_APPFONT ( 194 , 8 ) ;
183	    WordBreak = TRUE ;
184    };
185    FixedText FT_FUNCNAME
186    {
187        Pos = MAP_APPFONT ( 115 , 38 ) ;
188        Size = MAP_APPFONT ( 194 , 24 ) ;
189	    WordBreak = TRUE ;
190    };
191    FixedText FT_FUNCDESC
192    {
193        Pos = MAP_APPFONT ( 115 , 68 ) ;
194        Size = MAP_APPFONT ( 194 , 64 ) ;
195	    WordBreak = TRUE ;
196    };
197    FixedText FT_EDITNAME
198    {
199	    Pos = MAP_APPFONT ( 113 , 6 ) ;
200	    Size = MAP_APPFONT ( 83 , 10 ) ;
201    };
202    GroupBox GB_EDIT
203    {
204	    Pos = MAP_APPFONT ( 112 , 18 ) ;
205	    Size = MAP_APPFONT ( 203 , 128 ) ;
206    };
207    FixedText FT_FORMULA
208    {
209	    Pos = MAP_APPFONT ( 112 , 151 ) ;
210	    Size = MAP_APPFONT ( 50 , 10 ) ;
211	    WordBreak = TRUE ;
212	    Text [ en-US ] = "For~mula" ;
213    };
214    Control ED_FORMULA
215    {
216	    Border = TRUE ;
217	    Pos = MAP_APPFONT ( 112 , 161 ) ;
218	    Size = MAP_APPFONT ( 203 , 43 ) ;
219	    HelpId = HID_FORMULA_FAP_FORMULA ;
220    };
221    FixedText FT_RESULT
222    {
223	    Pos = MAP_APPFONT ( 198 , 6 ) ;
224	    Size = MAP_APPFONT ( 55 , 10 ) ;
225	    Right = TRUE ;
226	    Text [ en-US ] = "Function result" ;
227    };
228    //Window WND_RESULT
229	FixedText WND_RESULT
230    {
231	    Border = TRUE ;
232	    Pos = MAP_APPFONT ( 255 , 4 ) ;
233	    Size = MAP_APPFONT ( 60 , 12 ) ;
234		Text [ en-US ] = "Function result" ;
235    };
236    FixedText FT_FORMULA_RESULT
237    {
238	    Pos = MAP_APPFONT ( 217 , 149 ) ;
239	    Size = MAP_APPFONT ( 35 , 10 ) ;
240	    Text [ en-US ] = "Result" ;
241	    Right = TRUE ;
242    };
243    Window WND_FORMULA_RESULT
244    {
245	    Border = TRUE ;
246	    Pos = MAP_APPFONT ( 255 , 147 ) ;
247	    Size = MAP_APPFONT ( 60 , 12 ) ;
248    };
249    CheckBox BTN_MATRIX
250    {
251        HelpID = "formula:CheckBox:RID_FORMULADLG_FORMULA_MODAL:BTN_MATRIX";
252	    Pos = MAP_APPFONT ( 6 , 208 ) ;
253	    Size = MAP_APPFONT ( 50 , 10 ) ;
254	    TabStop = TRUE ;
255	    Text [ en-US ] = "Array" ;
256    };
257    Edit ED_REF
258    {
259        HelpID = "formula:Edit:RID_FORMULADLG_FORMULA_MODAL:ED_REF";
260	    Border = TRUE ;
261	    Pos = MAP_APPFONT ( 76 , 205 ) ;
262	    Size = MAP_APPFONT ( 66 , 12 ) ;
263    };
264    ImageButton RB_REF
265    {
266        HelpID = "formula:ImageButton:RID_FORMULADLG_FORMULA_MODAL:RB_REF";
267	    Pos = MAP_APPFONT ( 144 , 205 ) ;
268	    Size = MAP_APPFONT ( 13 , 15 ) ;
269	    TabStop = FALSE ;
270	    QuickHelpText [ en-US ] = "Maximize" ;
271    };
272    HelpButton BTN_HELP
273    {
274	    Pos = MAP_APPFONT ( 72 , 208 ) ;
275	    Size = MAP_APPFONT ( 45 , 14 ) ;
276	    TabStop = TRUE ;
277    };
278    CancelButton BTN_CANCEL
279    {
280	    Pos = MAP_APPFONT ( 121 , 208 ) ;
281	    Size = MAP_APPFONT ( 45 , 14 ) ;
282	    TabStop = TRUE ;
283    };
284    PushButton BTN_BACKWARD
285    {
286        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA_MODAL:BTN_BACKWARD";
287	    Pos = MAP_APPFONT ( 171 , 208 ) ;
288	    Size = MAP_APPFONT ( 45 , 14 ) ;
289	    TabStop = TRUE ;
290	    Text [ en-US ] = "<< ~Back" ;
291    };
292    PushButton BTN_FORWARD
293    {
294        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA_MODAL:BTN_FORWARD";
295	    Pos = MAP_APPFONT ( 219 , 208 ) ;
296	    Size = MAP_APPFONT ( 45 , 14 ) ;
297	    TabStop = TRUE ;
298	    Text [ en-US ] = "~Next >>" ;
299    };
300    OKButton BTN_END
301    {
302	    Pos = MAP_APPFONT ( 270 , 208 ) ;
303	    Size = MAP_APPFONT ( 45 , 14 ) ;
304	    TabStop = TRUE ;
305	    DefButton = TRUE ;
306    };
307    String STR_TITLE1
308    {
309        Text [ en-US ] = "Function Wizard" ;
310    };
311    String STR_TITLE2
312    {
313        Text [ en-US ] = "Function Wizard  -" ;
314    };
315    String STR_END
316    {
317        Text [ en-US ] = "~End" ;
318    };
319
320};
321ModelessDialog RID_FORMULADLG_FORMULA
322{
323	// OutputSize = TRUE ;
324	Hide = TRUE ;
325    SVLook = TRUE ;
326    Size = MAP_APPFONT ( 321 , 228 ) ;
327    HelpId = HID_FORMULADLG_FORMULA ;
328    Moveable = TRUE ;
329    TabControl TC_FUNCTION
330    {
331        HelpID = "formula:TabControl:RID_FORMULADLG_FORMULA:TC_FUNCTION";
332	    Pos = MAP_APPFONT ( 6 , 5 ) ;
333	    Size = MAP_APPFONT ( 102 , 199 ) ;
334	    PageList =
335	    {
336		    PageItem
337		    {
338			    Identifier = TP_FUNCTION ;
339			    Text [ en-US ] = "Functions" ;
340		    };
341		    PageItem
342		    {
343			    Identifier = TP_STRUCT ;
344			    Text [ en-US ] = "Structure" ;
345		    };
346	    };
347    };
348    FixedText FT_HEADLINE
349    {
350	    Pos = MAP_APPFONT ( 115 , 24 ) ;
351        Size = MAP_APPFONT ( 194 , 8 ) ;
352	    WordBreak = TRUE ;
353    };
354    FixedText FT_FUNCNAME
355    {
356        Pos = MAP_APPFONT ( 115 , 38 ) ;
357        Size = MAP_APPFONT ( 194 , 24 ) ;
358	    WordBreak = TRUE ;
359    };
360    FixedText FT_FUNCDESC
361    {
362        Pos = MAP_APPFONT ( 115 , 68 ) ;
363        Size = MAP_APPFONT ( 194 , 64 ) ;
364	    WordBreak = TRUE ;
365    };
366    FixedText FT_EDITNAME
367    {
368	    Pos = MAP_APPFONT ( 113 , 6 ) ;
369	    Size = MAP_APPFONT ( 83 , 10 ) ;
370    };
371    GroupBox GB_EDIT
372    {
373	    Pos = MAP_APPFONT ( 112 , 18 ) ;
374	    Size = MAP_APPFONT ( 203 , 128 ) ;
375    };
376    FixedText FT_FORMULA
377    {
378	    Pos = MAP_APPFONT ( 112 , 151 ) ;
379	    Size = MAP_APPFONT ( 50 , 10 ) ;
380	    WordBreak = TRUE ;
381	    Text [ en-US ] = "For~mula" ;
382    };
383    Control ED_FORMULA
384    {
385	    Border = TRUE ;
386	    Pos = MAP_APPFONT ( 112 , 161 ) ;
387	    Size = MAP_APPFONT ( 203 , 43 ) ;
388	    HelpId = HID_FORMULA_FAP_FORMULA ;
389    };
390    FixedText FT_RESULT
391    {
392	    Pos = MAP_APPFONT ( 198 , 6 ) ;
393	    Size = MAP_APPFONT ( 55 , 10 ) ;
394	    Right = TRUE ;
395	    Text [ en-US ] = "Function result" ;
396    };
397    Window WND_RESULT
398    {
399	    Border = TRUE ;
400	    Pos = MAP_APPFONT ( 255 , 4 ) ;
401	    Size = MAP_APPFONT ( 60 , 12 ) ;
402    };
403    FixedText FT_FORMULA_RESULT
404    {
405	    Pos = MAP_APPFONT ( 217 , 149 ) ;
406	    Size = MAP_APPFONT ( 35 , 10 ) ;
407	    Text [ en-US ] = "Result" ;
408	    Right = TRUE ;
409    };
410    Window WND_FORMULA_RESULT
411    {
412	    Border = TRUE ;
413	    Pos = MAP_APPFONT ( 255 , 147 ) ;
414	    Size = MAP_APPFONT ( 60 , 12 ) ;
415    };
416    CheckBox BTN_MATRIX
417    {
418        HelpID = "formula:CheckBox:RID_FORMULADLG_FORMULA:BTN_MATRIX";
419	    Pos = MAP_APPFONT ( 6 , 208 ) ;
420	    Size = MAP_APPFONT ( 50 , 10 ) ;
421	    TabStop = TRUE ;
422	    Text [ en-US ] = "Array" ;
423    };
424    Edit ED_REF
425    {
426        HelpID = "formula:Edit:RID_FORMULADLG_FORMULA:ED_REF";
427	    Border = TRUE ;
428	    Pos = MAP_APPFONT ( 76 , 205 ) ;
429	    Size = MAP_APPFONT ( 66 , 12 ) ;
430    };
431    ImageButton RB_REF
432    {
433        HelpID = "formula:ImageButton:RID_FORMULADLG_FORMULA:RB_REF";
434	    Pos = MAP_APPFONT ( 144 , 205 ) ;
435	    Size = MAP_APPFONT ( 13 , 15 ) ;
436	    TabStop = FALSE ;
437	    QuickHelpText [ en-US ] = "Maximize" ;
438    };
439    HelpButton BTN_HELP
440    {
441	    Pos = MAP_APPFONT ( 72 , 208 ) ;
442	    Size = MAP_APPFONT ( 45 , 14 ) ;
443	    TabStop = TRUE ;
444    };
445    CancelButton BTN_CANCEL
446    {
447	    Pos = MAP_APPFONT ( 121 , 208 ) ;
448	    Size = MAP_APPFONT ( 45 , 14 ) ;
449	    TabStop = TRUE ;
450    };
451    PushButton BTN_BACKWARD
452    {
453        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA:BTN_BACKWARD";
454	    Pos = MAP_APPFONT ( 171 , 208 ) ;
455	    Size = MAP_APPFONT ( 45 , 14 ) ;
456	    TabStop = TRUE ;
457	    Text [ en-US ] = "<< ~Back" ;
458    };
459    PushButton BTN_FORWARD
460    {
461        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA:BTN_FORWARD";
462	    Pos = MAP_APPFONT ( 219 , 208 ) ;
463	    Size = MAP_APPFONT ( 45 , 14 ) ;
464	    TabStop = TRUE ;
465	    Text [ en-US ] = "~Next >>" ;
466    };
467    OKButton BTN_END
468    {
469	    Pos = MAP_APPFONT ( 270 , 208 ) ;
470	    Size = MAP_APPFONT ( 45 , 14 ) ;
471	    TabStop = TRUE ;
472	    DefButton = TRUE ;
473    };
474    String STR_TITLE1
475    {
476        Text [ en-US ] = "Function Wizard" ;
477    };
478    String STR_TITLE2
479    {
480        Text [ en-US ] = "Function Wizard  -" ;
481    };
482    String STR_END
483    {
484        Text [ en-US ] = "~End" ;
485    };
486};
487
488
489Image RID_BMP_REFBTN1
490{
491	ImageBitmap = Bitmap
492	{
493		File = "refinp1.bmp";
494	};
495    MaskColor = STD_MASKCOLOR;
496};
497
498Image RID_BMP_REFBTN1_H
499{
500	ImageBitmap = Bitmap
501	{
502        File = "refinp1_h.bmp";
503	};
504    MaskColor = STD_MASKCOLOR;
505};
506
507Image RID_BMP_REFBTN2
508{
509	ImageBitmap = Bitmap
510	{
511		File = "refinp2.bmp";
512	};
513    MaskColor = STD_MASKCOLOR;
514};
515
516Image RID_BMP_REFBTN2_H
517{
518	ImageBitmap = Bitmap
519	{
520        File = "refinp2_h.bmp";
521	};
522    MaskColor = STD_MASKCOLOR;
523};
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547