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