xref: /aoo41x/main/sw/source/ui/ribbar/inputwin.src (revision 8660f102)
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/* HelpID ressource file */
24/* HelpID ressource file */
25
26#include "cmdid.h"
27#include "helpid.h"
28#include "globals.hrc"
29#include "ribbar.hrc"
30#include "inputwin.hrc"
31ToolBox RID_TBX_FORMULA
32{
33	Pos = MAP_APPFONT ( 0 , 0 ) ;
34	Size = MAP_APPFONT ( 600 , 14 ) ;
35	HelpID = HID_CALC_TOOLBOX ;
36	SVLook = TRUE ;
37	Border = TRUE ;
38	ItemList =
39	{
40		ToolBoxItem
41		{
42			Identifier = FN_FORMULA_CALC ;
43			HelpId = HID_TBX_FORMULA_CALC ;
44			DropDown = TRUE ;
45			Text [ en-US ] = "Formula" ;
46			/* ### ACHTUNG: Neuer Text in Resource? Formel ausw�hlen : Formel ausw�hlen */
47		};
48		ToolBoxItem
49		{
50			Identifier = FN_FORMULA_CANCEL ;
51			HelpId = HID_TBX_FORMULA_CANCEL ;
52			Text [ en-US ] = "Cancel" ;
53			/* ### ACHTUNG: Neuer Text in Resource? Formel nicht �benehmen : Formel nicht �benehmen */
54		};
55		ToolBoxItem
56		{
57			Identifier = FN_FORMULA_APPLY ;
58			HelpId = HID_TBX_FORMULA_APPLY ;
59			/* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */
60			Text [ en-US ] = "Apply" ;
61			/* ### ACHTUNG: Neuer Text in Resource? Formel einf�gen : Formel einf�gen */
62		};
63	};
64	Edit ED_POS
65	{
66		Border = TRUE ;
67		Size = MAP_APPFONT ( 45 , 11 ) ;
68		ReadOnly = TRUE ;
69		SVLook = TRUE ;
70		Center = TRUE ;
71	};
72	Edit ED_FORMULA
73	{
74		Border = TRUE ;
75		TabStop = TRUE ;
76		Size = MAP_APPFONT ( 500 , 11 ) ;
77		SVLook = TRUE ;
78	};
79};
80Menu MN_CALC_POPUP
81{
82	ItemList =
83	{
84		MenuItem
85		{
86			Identifier = MN_CALC_SUM ;
87			HelpID = HID_MN_CALC_SUM ;
88			Text [ en-US ] = "Sum" ;
89		};
90		MenuItem
91		{
92			Identifier = MN_CALC_ROUND ;
93			HelpID = HID_MN_CALC_ROUND ;
94			Text [ en-US ] = "Round" ;
95		};
96		MenuItem
97		{
98			Identifier = MN_CALC_PHD ;
99			HelpID = HID_MN_CALC_PHD ;
100			Text [ en-US ] = "Percent" ;
101		};
102		MenuItem
103		{
104			Identifier = MN_CALC_SQRT ;
105			HelpID = HID_MN_CALC_SQRT ;
106			Text [ en-US ] = "Square Root" ;
107		};
108		MenuItem
109		{
110			Identifier = MN_CALC_POW ;
111			HelpID = HID_MN_CALC_POW ;
112			Text [ en-US ] = "Power" ;
113		};
114		MenuItem
115		{
116			Identifier = MN_POP_OPS ;
117			HelpID = HID_MN_POP_OPS ;
118			Text [ en-US ] = "Operators" ;
119			SubMenu = Menu
120			{
121				ItemList =
122				{
123					MenuItem
124					{
125						Identifier = MN_CALC_LISTSEP ;
126						HelpID = HID_MN_CALC_LISTSEP ;
127						Text [ en-US ] = "List Separator" ;
128					};
129					MenuItem
130					{
131						Identifier = MN_CALC_EQ ;
132						HelpID = HID_MN_CALC_EQ ;
133						Text [ en-US ] = "Equal" ;
134					};
135					MenuItem
136					{
137						Identifier = MN_CALC_NEQ ;
138						HelpID = HID_MN_CALC_NEQ ;
139						Text [ en-US ] = "Not Equal" ;
140					};
141					MenuItem
142					{
143						Identifier = MN_CALC_LEQ ;
144						HelpID = HID_MN_CALC_LEQ ;
145						Text [ en-US ] = "Less Than or Equal" ;
146					};
147					MenuItem
148					{
149						Identifier = MN_CALC_GEQ ;
150						HelpID = HID_MN_CALC_GEQ ;
151						/* ### ACHTUNG: Neuer Text in Resource? Gr~��er Gleich : Gr~��er Gleich */
152						Text [ en-US ] = "Greater Than or Equal" ;
153					};
154					MenuItem
155					{
156						Identifier = MN_CALC_LES ;
157						HelpID = HID_MN_CALC_LES ;
158						Text [ en-US ] = "Less" ;
159					};
160					MenuItem
161					{
162						Identifier = MN_CALC_GRE ;
163						HelpID = HID_MN_CALC_GRE ;
164						/* ### ACHTUNG: Neuer Text in Resource? G~r��er : G~r��er */
165						Text [ en-US ] = "Greater" ;
166					};
167					MenuItem
168					{
169						Separator = TRUE ;
170					};
171					MenuItem
172					{
173						Identifier = MN_CALC_OR ;
174						HelpID = HID_MN_CALC_OR ;
175						Text [ en-US ] = "Boolean Or" ;
176					};
177					MenuItem
178					{
179						Identifier = MN_CALC_XOR ;
180						HelpID = HID_MN_CALC_XOR ;
181						Text [ en-US ] = "Boolean Xor" ;
182					};
183					MenuItem
184					{
185						Identifier = MN_CALC_AND ;
186						HelpID = HID_MN_CALC_AND ;
187						Text [ en-US ] = "Boolean And" ;
188					};
189					MenuItem
190					{
191						Identifier = MN_CALC_NOT ;
192						HelpID = HID_MN_CALC_NOT ;
193						Text [ en-US ] = "Boolean Not" ;
194					};
195				};
196			};
197		};
198		MenuItem
199		{
200			Identifier = MN_POP_STATISTICS ;
201			HelpID = HID_MN_POP_STATISTICS ;
202			Text [ en-US ] = "Statistical Functions" ;
203			SubMenu = Menu
204			{
205				ItemList =
206				{
207					MenuItem
208					{
209						Identifier = MN_CALC_MEAN ;
210						HelpID = HID_MN_CALC_MEAN ;
211						Text [ en-US ] = "Mean" ;
212					};
213					MenuItem
214					{
215						Identifier = MN_CALC_MIN ;
216						HelpID = HID_MN_CALC_MIN ;
217						Text [ en-US ] = "Minimum" ;
218					};
219					MenuItem
220					{
221						Identifier = MN_CALC_MAX ;
222						HelpID = HID_MN_CALC_MAX ;
223						Text [ en-US ] = "Maximum" ;
224					};
225				};
226			};
227		};
228		MenuItem
229		{
230			Identifier = MN_POP_FUNC ;
231			HelpID = HID_MN_POP_FUNC ;
232			Text [ en-US ] = "Functions" ;
233			SubMenu = Menu
234			{
235				ItemList =
236				{
237					MenuItem
238					{
239						Identifier = MN_CALC_SIN ;
240						HelpID = HID_MN_CALC_SIN ;
241						Text [ en-US ] = "Sine" ;
242					};
243					MenuItem
244					{
245						Identifier = MN_CALC_COS ;
246						HelpID = HID_MN_CALC_COS ;
247						Text [ en-US ] = "Cosine" ;
248					};
249					MenuItem
250					{
251						Identifier = MN_CALC_TAN ;
252						HelpID = HID_MN_CALC_TAN ;
253						Text [ en-US ] = "Tangent" ;
254					};
255					MenuItem
256					{
257						Identifier = MN_CALC_ASIN ;
258						HelpID = HID_MN_CALC_ASIN ;
259						Text [ en-US ] = "Arcsine" ;
260					};
261					MenuItem
262					{
263						Identifier = MN_CALC_ACOS ;
264						HelpID = HID_MN_CALC_ACOS ;
265						Text [ en-US ] = "Arccosine" ;
266					};
267					MenuItem
268					{
269						Identifier = MN_CALC_ATAN ;
270						HelpID = HID_MN_CALC_ATAN ;
271						Text [ en-US ] = "Arctangent" ;
272					};
273				};
274			};
275		};
276	};
277};
278String STR_TBL_FORMULA
279{
280	Text [ en-US ] = "Text formula" ;
281};
282#define TB_INPUT  \
283    ToolBoxItem\
284    {\
285        Identifier = FN_FORMULA_CALC ; \
286        HelpID = HID_TBX_FORMULA_CALC ; \
287        Text [ en-US ] = "Formula" ; \
288        /* ### ACHTUNG: Neuer Text in Resource? Formel ausw�hlen : Formel ausw�hlen */\
289	};\
290    ToolBoxItem\
291    {\
292        Identifier = FN_FORMULA_CANCEL ; \
293        HelpId = HID_TBX_FORMULA_CANCEL ; \
294        Text [ en-US ] = "Cancel" ; \
295        /* ### ACHTUNG: Neuer Text in Resource? Formel nicht �benehmen : Formel nicht �benehmen */\
296	};\
297    ToolBoxItem\
298    {\
299        Identifier = FN_FORMULA_APPLY ; \
300        HelpID = HID_TBX_FORMULA_APPLY ; \
301        /* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */\
302        Text [ en-US ] = "Apply" ; \
303        /* ### ACHTUNG: Neuer Text in Resource? Formel einf�gen : Formel einf�gen */\
304	};
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342