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