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