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