xref: /AOO41X/main/formula/source/ui/dlg/formdlgs.src (revision 5ff14ef2c455a7c2a39819566d74aed4bcc9528e)
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//IAccessibility2 Implementation 2009-----
229    //Window WND_RESULT
230	FixedText WND_RESULT
231//-----IAccessibility2 Implementation 2009
232    {
233	    Border = TRUE ;
234	    Pos = MAP_APPFONT ( 255 , 4 ) ;
235	    Size = MAP_APPFONT ( 60 , 12 ) ;
236//IAccessibility2 Implementation 2009-----
237		Text [ en-US ] = "Function result" ;
238//-----IAccessibility2 Implementation 2009
239    };
240    FixedText FT_FORMULA_RESULT
241    {
242	    Pos = MAP_APPFONT ( 217 , 149 ) ;
243	    Size = MAP_APPFONT ( 35 , 10 ) ;
244	    Text [ en-US ] = "Result" ;
245	    Right = TRUE ;
246    };
247    Window WND_FORMULA_RESULT
248    {
249	    Border = TRUE ;
250	    Pos = MAP_APPFONT ( 255 , 147 ) ;
251	    Size = MAP_APPFONT ( 60 , 12 ) ;
252    };
253    CheckBox BTN_MATRIX
254    {
255        HelpID = "formula:CheckBox:RID_FORMULADLG_FORMULA_MODAL:BTN_MATRIX";
256	    Pos = MAP_APPFONT ( 6 , 208 ) ;
257	    Size = MAP_APPFONT ( 50 , 10 ) ;
258	    TabStop = TRUE ;
259	    Text [ en-US ] = "Array" ;
260    };
261    Edit ED_REF
262    {
263        HelpID = "formula:Edit:RID_FORMULADLG_FORMULA_MODAL:ED_REF";
264	    Border = TRUE ;
265	    Pos = MAP_APPFONT ( 76 , 205 ) ;
266	    Size = MAP_APPFONT ( 66 , 12 ) ;
267    };
268    ImageButton RB_REF
269    {
270        HelpID = "formula:ImageButton:RID_FORMULADLG_FORMULA_MODAL:RB_REF";
271	    Pos = MAP_APPFONT ( 144 , 205 ) ;
272	    Size = MAP_APPFONT ( 13 , 15 ) ;
273	    TabStop = FALSE ;
274	    QuickHelpText [ en-US ] = "Maximize" ;
275    };
276    HelpButton BTN_HELP
277    {
278	    Pos = MAP_APPFONT ( 72 , 208 ) ;
279	    Size = MAP_APPFONT ( 45 , 14 ) ;
280	    TabStop = TRUE ;
281    };
282    CancelButton BTN_CANCEL
283    {
284	    Pos = MAP_APPFONT ( 121 , 208 ) ;
285	    Size = MAP_APPFONT ( 45 , 14 ) ;
286	    TabStop = TRUE ;
287    };
288    PushButton BTN_BACKWARD
289    {
290        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA_MODAL:BTN_BACKWARD";
291	    Pos = MAP_APPFONT ( 171 , 208 ) ;
292	    Size = MAP_APPFONT ( 45 , 14 ) ;
293	    TabStop = TRUE ;
294	    Text [ en-US ] = "<< ~Back" ;
295    };
296    PushButton BTN_FORWARD
297    {
298        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA_MODAL:BTN_FORWARD";
299	    Pos = MAP_APPFONT ( 219 , 208 ) ;
300	    Size = MAP_APPFONT ( 45 , 14 ) ;
301	    TabStop = TRUE ;
302	    Text [ en-US ] = "~Next >>" ;
303    };
304    OKButton BTN_END
305    {
306	    Pos = MAP_APPFONT ( 270 , 208 ) ;
307	    Size = MAP_APPFONT ( 45 , 14 ) ;
308	    TabStop = TRUE ;
309	    DefButton = TRUE ;
310    };
311    String STR_TITLE1
312    {
313        Text [ en-US ] = "Function Wizard" ;
314    };
315    String STR_TITLE2
316    {
317        Text [ en-US ] = "Function Wizard  -" ;
318    };
319    String STR_END
320    {
321        Text [ en-US ] = "~End" ;
322    };
323
324};
325ModelessDialog RID_FORMULADLG_FORMULA
326{
327	// OutputSize = TRUE ;
328	Hide = TRUE ;
329    SVLook = TRUE ;
330    Size = MAP_APPFONT ( 321 , 228 ) ;
331    HelpId = HID_FORMULADLG_FORMULA ;
332    Moveable = TRUE ;
333    TabControl TC_FUNCTION
334    {
335        HelpID = "formula:TabControl:RID_FORMULADLG_FORMULA:TC_FUNCTION";
336	    Pos = MAP_APPFONT ( 6 , 5 ) ;
337	    Size = MAP_APPFONT ( 102 , 199 ) ;
338	    PageList =
339	    {
340		    PageItem
341		    {
342			    Identifier = TP_FUNCTION ;
343			    Text [ en-US ] = "Functions" ;
344		    };
345		    PageItem
346		    {
347			    Identifier = TP_STRUCT ;
348			    Text [ en-US ] = "Structure" ;
349		    };
350	    };
351    };
352    FixedText FT_HEADLINE
353    {
354	    Pos = MAP_APPFONT ( 115 , 24 ) ;
355        Size = MAP_APPFONT ( 194 , 8 ) ;
356	    WordBreak = TRUE ;
357    };
358    FixedText FT_FUNCNAME
359    {
360        Pos = MAP_APPFONT ( 115 , 38 ) ;
361        Size = MAP_APPFONT ( 194 , 24 ) ;
362	    WordBreak = TRUE ;
363    };
364    FixedText FT_FUNCDESC
365    {
366        Pos = MAP_APPFONT ( 115 , 68 ) ;
367        Size = MAP_APPFONT ( 194 , 64 ) ;
368	    WordBreak = TRUE ;
369    };
370    FixedText FT_EDITNAME
371    {
372	    Pos = MAP_APPFONT ( 113 , 6 ) ;
373	    Size = MAP_APPFONT ( 83 , 10 ) ;
374    };
375    GroupBox GB_EDIT
376    {
377	    Pos = MAP_APPFONT ( 112 , 18 ) ;
378	    Size = MAP_APPFONT ( 203 , 128 ) ;
379    };
380    FixedText FT_FORMULA
381    {
382	    Pos = MAP_APPFONT ( 112 , 151 ) ;
383	    Size = MAP_APPFONT ( 50 , 10 ) ;
384	    WordBreak = TRUE ;
385	    Text [ en-US ] = "For~mula" ;
386    };
387    Control ED_FORMULA
388    {
389	    Border = TRUE ;
390	    Pos = MAP_APPFONT ( 112 , 161 ) ;
391	    Size = MAP_APPFONT ( 203 , 43 ) ;
392	    HelpId = HID_FORMULA_FAP_FORMULA ;
393    };
394    FixedText FT_RESULT
395    {
396	    Pos = MAP_APPFONT ( 198 , 6 ) ;
397	    Size = MAP_APPFONT ( 55 , 10 ) ;
398	    Right = TRUE ;
399	    Text [ en-US ] = "Function result" ;
400    };
401    Window WND_RESULT
402    {
403	    Border = TRUE ;
404	    Pos = MAP_APPFONT ( 255 , 4 ) ;
405	    Size = MAP_APPFONT ( 60 , 12 ) ;
406    };
407    FixedText FT_FORMULA_RESULT
408    {
409	    Pos = MAP_APPFONT ( 217 , 149 ) ;
410	    Size = MAP_APPFONT ( 35 , 10 ) ;
411	    Text [ en-US ] = "Result" ;
412	    Right = TRUE ;
413    };
414    Window WND_FORMULA_RESULT
415    {
416	    Border = TRUE ;
417	    Pos = MAP_APPFONT ( 255 , 147 ) ;
418	    Size = MAP_APPFONT ( 60 , 12 ) ;
419    };
420    CheckBox BTN_MATRIX
421    {
422        HelpID = "formula:CheckBox:RID_FORMULADLG_FORMULA:BTN_MATRIX";
423	    Pos = MAP_APPFONT ( 6 , 208 ) ;
424	    Size = MAP_APPFONT ( 50 , 10 ) ;
425	    TabStop = TRUE ;
426	    Text [ en-US ] = "Array" ;
427    };
428    Edit ED_REF
429    {
430        HelpID = "formula:Edit:RID_FORMULADLG_FORMULA:ED_REF";
431	    Border = TRUE ;
432	    Pos = MAP_APPFONT ( 76 , 205 ) ;
433	    Size = MAP_APPFONT ( 66 , 12 ) ;
434    };
435    ImageButton RB_REF
436    {
437        HelpID = "formula:ImageButton:RID_FORMULADLG_FORMULA:RB_REF";
438	    Pos = MAP_APPFONT ( 144 , 205 ) ;
439	    Size = MAP_APPFONT ( 13 , 15 ) ;
440	    TabStop = FALSE ;
441	    QuickHelpText [ en-US ] = "Maximize" ;
442    };
443    HelpButton BTN_HELP
444    {
445	    Pos = MAP_APPFONT ( 72 , 208 ) ;
446	    Size = MAP_APPFONT ( 45 , 14 ) ;
447	    TabStop = TRUE ;
448    };
449    CancelButton BTN_CANCEL
450    {
451	    Pos = MAP_APPFONT ( 121 , 208 ) ;
452	    Size = MAP_APPFONT ( 45 , 14 ) ;
453	    TabStop = TRUE ;
454    };
455    PushButton BTN_BACKWARD
456    {
457        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA:BTN_BACKWARD";
458	    Pos = MAP_APPFONT ( 171 , 208 ) ;
459	    Size = MAP_APPFONT ( 45 , 14 ) ;
460	    TabStop = TRUE ;
461	    Text [ en-US ] = "<< ~Back" ;
462    };
463    PushButton BTN_FORWARD
464    {
465        HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA:BTN_FORWARD";
466	    Pos = MAP_APPFONT ( 219 , 208 ) ;
467	    Size = MAP_APPFONT ( 45 , 14 ) ;
468	    TabStop = TRUE ;
469	    Text [ en-US ] = "~Next >>" ;
470    };
471    OKButton BTN_END
472    {
473	    Pos = MAP_APPFONT ( 270 , 208 ) ;
474	    Size = MAP_APPFONT ( 45 , 14 ) ;
475	    TabStop = TRUE ;
476	    DefButton = TRUE ;
477    };
478    String STR_TITLE1
479    {
480        Text [ en-US ] = "Function Wizard" ;
481    };
482    String STR_TITLE2
483    {
484        Text [ en-US ] = "Function Wizard  -" ;
485    };
486    String STR_END
487    {
488        Text [ en-US ] = "~End" ;
489    };
490};
491
492
493Image RID_BMP_REFBTN1
494{
495	ImageBitmap = Bitmap
496	{
497		File = "refinp1.bmp";
498	};
499    MaskColor = STD_MASKCOLOR;
500};
501
502Image RID_BMP_REFBTN1_H
503{
504	ImageBitmap = Bitmap
505	{
506        File = "refinp1_h.bmp";
507	};
508    MaskColor = STD_MASKCOLOR;
509};
510
511Image RID_BMP_REFBTN2
512{
513	ImageBitmap = Bitmap
514	{
515		File = "refinp2.bmp";
516	};
517    MaskColor = STD_MASKCOLOR;
518};
519
520Image RID_BMP_REFBTN2_H
521{
522	ImageBitmap = Bitmap
523	{
524        File = "refinp2_h.bmp";
525	};
526    MaskColor = STD_MASKCOLOR;
527};
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551