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