xref: /aoo42x/main/sw/source/ui/ribbar/inputwin.src (revision ca62e2c2)
18660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
108660f102SAndrew Rist *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
128660f102SAndrew Rist *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
198660f102SAndrew Rist *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir/* HelpID ressource file */
24cdf0e10cSrcweir/* HelpID ressource file */
25cdf0e10cSrcweir
26cdf0e10cSrcweir#include "cmdid.h"
27cdf0e10cSrcweir#include "helpid.h"
28cdf0e10cSrcweir#include "globals.hrc"
29cdf0e10cSrcweir#include "ribbar.hrc"
30cdf0e10cSrcweir#include "inputwin.hrc"
31*ca62e2c2SSteve Yin#include "access.hrc"
32*ca62e2c2SSteve Yin
33cdf0e10cSrcweirToolBox RID_TBX_FORMULA
34cdf0e10cSrcweir{
35cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
36cdf0e10cSrcweir	Size = MAP_APPFONT ( 600 , 14 ) ;
37cdf0e10cSrcweir	HelpID = HID_CALC_TOOLBOX ;
38cdf0e10cSrcweir	SVLook = TRUE ;
39cdf0e10cSrcweir	Border = TRUE ;
40cdf0e10cSrcweir	ItemList =
41cdf0e10cSrcweir	{
42cdf0e10cSrcweir		ToolBoxItem
43cdf0e10cSrcweir		{
44cdf0e10cSrcweir			Identifier = FN_FORMULA_CALC ;
45cdf0e10cSrcweir			HelpId = HID_TBX_FORMULA_CALC ;
46cdf0e10cSrcweir			DropDown = TRUE ;
47cdf0e10cSrcweir			Text [ en-US ] = "Formula" ;
48cdf0e10cSrcweir			/* ### ACHTUNG: Neuer Text in Resource? Formel ausw�hlen : Formel ausw�hlen */
49cdf0e10cSrcweir		};
50cdf0e10cSrcweir		ToolBoxItem
51cdf0e10cSrcweir		{
52cdf0e10cSrcweir			Identifier = FN_FORMULA_CANCEL ;
53cdf0e10cSrcweir			HelpId = HID_TBX_FORMULA_CANCEL ;
54cdf0e10cSrcweir			Text [ en-US ] = "Cancel" ;
55cdf0e10cSrcweir			/* ### ACHTUNG: Neuer Text in Resource? Formel nicht �benehmen : Formel nicht �benehmen */
56cdf0e10cSrcweir		};
57cdf0e10cSrcweir		ToolBoxItem
58cdf0e10cSrcweir		{
59cdf0e10cSrcweir			Identifier = FN_FORMULA_APPLY ;
60cdf0e10cSrcweir			HelpId = HID_TBX_FORMULA_APPLY ;
61cdf0e10cSrcweir			/* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */
62cdf0e10cSrcweir			Text [ en-US ] = "Apply" ;
63cdf0e10cSrcweir			/* ### ACHTUNG: Neuer Text in Resource? Formel einf�gen : Formel einf�gen */
64cdf0e10cSrcweir		};
65cdf0e10cSrcweir	};
66cdf0e10cSrcweir	Edit ED_POS
67cdf0e10cSrcweir	{
68cdf0e10cSrcweir		Border = TRUE ;
69cdf0e10cSrcweir		Size = MAP_APPFONT ( 45 , 11 ) ;
70cdf0e10cSrcweir		ReadOnly = TRUE ;
71cdf0e10cSrcweir		SVLook = TRUE ;
72cdf0e10cSrcweir		Center = TRUE ;
73cdf0e10cSrcweir	};
74cdf0e10cSrcweir	Edit ED_FORMULA
75cdf0e10cSrcweir	{
76cdf0e10cSrcweir		Border = TRUE ;
77cdf0e10cSrcweir		TabStop = TRUE ;
78cdf0e10cSrcweir		Size = MAP_APPFONT ( 500 , 11 ) ;
79cdf0e10cSrcweir		SVLook = TRUE ;
80cdf0e10cSrcweir	};
81cdf0e10cSrcweir};
82cdf0e10cSrcweirMenu MN_CALC_POPUP
83cdf0e10cSrcweir{
84cdf0e10cSrcweir	ItemList =
85cdf0e10cSrcweir	{
86cdf0e10cSrcweir		MenuItem
87cdf0e10cSrcweir		{
88cdf0e10cSrcweir			Identifier = MN_CALC_SUM ;
89cdf0e10cSrcweir			HelpID = HID_MN_CALC_SUM ;
90cdf0e10cSrcweir			Text [ en-US ] = "Sum" ;
91cdf0e10cSrcweir		};
92cdf0e10cSrcweir		MenuItem
93cdf0e10cSrcweir		{
94cdf0e10cSrcweir			Identifier = MN_CALC_ROUND ;
95cdf0e10cSrcweir			HelpID = HID_MN_CALC_ROUND ;
96cdf0e10cSrcweir			Text [ en-US ] = "Round" ;
97cdf0e10cSrcweir		};
98cdf0e10cSrcweir		MenuItem
99cdf0e10cSrcweir		{
100cdf0e10cSrcweir			Identifier = MN_CALC_PHD ;
101cdf0e10cSrcweir			HelpID = HID_MN_CALC_PHD ;
102cdf0e10cSrcweir			Text [ en-US ] = "Percent" ;
103cdf0e10cSrcweir		};
104cdf0e10cSrcweir		MenuItem
105cdf0e10cSrcweir		{
106cdf0e10cSrcweir			Identifier = MN_CALC_SQRT ;
107cdf0e10cSrcweir			HelpID = HID_MN_CALC_SQRT ;
108cdf0e10cSrcweir			Text [ en-US ] = "Square Root" ;
109cdf0e10cSrcweir		};
110cdf0e10cSrcweir		MenuItem
111cdf0e10cSrcweir		{
112cdf0e10cSrcweir			Identifier = MN_CALC_POW ;
113cdf0e10cSrcweir			HelpID = HID_MN_CALC_POW ;
114cdf0e10cSrcweir			Text [ en-US ] = "Power" ;
115cdf0e10cSrcweir		};
116cdf0e10cSrcweir		MenuItem
117cdf0e10cSrcweir		{
118cdf0e10cSrcweir			Identifier = MN_POP_OPS ;
119cdf0e10cSrcweir			HelpID = HID_MN_POP_OPS ;
120cdf0e10cSrcweir			Text [ en-US ] = "Operators" ;
121cdf0e10cSrcweir			SubMenu = Menu
122cdf0e10cSrcweir			{
123cdf0e10cSrcweir				ItemList =
124cdf0e10cSrcweir				{
125cdf0e10cSrcweir					MenuItem
126cdf0e10cSrcweir					{
127cdf0e10cSrcweir						Identifier = MN_CALC_LISTSEP ;
128cdf0e10cSrcweir						HelpID = HID_MN_CALC_LISTSEP ;
129cdf0e10cSrcweir						Text [ en-US ] = "List Separator" ;
130cdf0e10cSrcweir					};
131cdf0e10cSrcweir					MenuItem
132cdf0e10cSrcweir					{
133cdf0e10cSrcweir						Identifier = MN_CALC_EQ ;
134cdf0e10cSrcweir						HelpID = HID_MN_CALC_EQ ;
135cdf0e10cSrcweir						Text [ en-US ] = "Equal" ;
136cdf0e10cSrcweir					};
137cdf0e10cSrcweir					MenuItem
138cdf0e10cSrcweir					{
139cdf0e10cSrcweir						Identifier = MN_CALC_NEQ ;
140cdf0e10cSrcweir						HelpID = HID_MN_CALC_NEQ ;
141cdf0e10cSrcweir						Text [ en-US ] = "Not Equal" ;
142cdf0e10cSrcweir					};
143cdf0e10cSrcweir					MenuItem
144cdf0e10cSrcweir					{
145cdf0e10cSrcweir						Identifier = MN_CALC_LEQ ;
146cdf0e10cSrcweir						HelpID = HID_MN_CALC_LEQ ;
147cdf0e10cSrcweir						Text [ en-US ] = "Less Than or Equal" ;
148cdf0e10cSrcweir					};
149cdf0e10cSrcweir					MenuItem
150cdf0e10cSrcweir					{
151cdf0e10cSrcweir						Identifier = MN_CALC_GEQ ;
152cdf0e10cSrcweir						HelpID = HID_MN_CALC_GEQ ;
153cdf0e10cSrcweir						/* ### ACHTUNG: Neuer Text in Resource? Gr~��er Gleich : Gr~��er Gleich */
154cdf0e10cSrcweir						Text [ en-US ] = "Greater Than or Equal" ;
155cdf0e10cSrcweir					};
156cdf0e10cSrcweir					MenuItem
157cdf0e10cSrcweir					{
158cdf0e10cSrcweir						Identifier = MN_CALC_LES ;
159cdf0e10cSrcweir						HelpID = HID_MN_CALC_LES ;
160cdf0e10cSrcweir						Text [ en-US ] = "Less" ;
161cdf0e10cSrcweir					};
162cdf0e10cSrcweir					MenuItem
163cdf0e10cSrcweir					{
164cdf0e10cSrcweir						Identifier = MN_CALC_GRE ;
165cdf0e10cSrcweir						HelpID = HID_MN_CALC_GRE ;
166cdf0e10cSrcweir						/* ### ACHTUNG: Neuer Text in Resource? G~r��er : G~r��er */
167cdf0e10cSrcweir						Text [ en-US ] = "Greater" ;
168cdf0e10cSrcweir					};
169cdf0e10cSrcweir					MenuItem
170cdf0e10cSrcweir					{
171cdf0e10cSrcweir						Separator = TRUE ;
172cdf0e10cSrcweir					};
173cdf0e10cSrcweir					MenuItem
174cdf0e10cSrcweir					{
175cdf0e10cSrcweir						Identifier = MN_CALC_OR ;
176cdf0e10cSrcweir						HelpID = HID_MN_CALC_OR ;
177cdf0e10cSrcweir						Text [ en-US ] = "Boolean Or" ;
178cdf0e10cSrcweir					};
179cdf0e10cSrcweir					MenuItem
180cdf0e10cSrcweir					{
181cdf0e10cSrcweir						Identifier = MN_CALC_XOR ;
182cdf0e10cSrcweir						HelpID = HID_MN_CALC_XOR ;
183cdf0e10cSrcweir						Text [ en-US ] = "Boolean Xor" ;
184cdf0e10cSrcweir					};
185cdf0e10cSrcweir					MenuItem
186cdf0e10cSrcweir					{
187cdf0e10cSrcweir						Identifier = MN_CALC_AND ;
188cdf0e10cSrcweir						HelpID = HID_MN_CALC_AND ;
189cdf0e10cSrcweir						Text [ en-US ] = "Boolean And" ;
190cdf0e10cSrcweir					};
191cdf0e10cSrcweir					MenuItem
192cdf0e10cSrcweir					{
193cdf0e10cSrcweir						Identifier = MN_CALC_NOT ;
194cdf0e10cSrcweir						HelpID = HID_MN_CALC_NOT ;
195cdf0e10cSrcweir						Text [ en-US ] = "Boolean Not" ;
196cdf0e10cSrcweir					};
197cdf0e10cSrcweir				};
198cdf0e10cSrcweir			};
199cdf0e10cSrcweir		};
200cdf0e10cSrcweir		MenuItem
201cdf0e10cSrcweir		{
202cdf0e10cSrcweir			Identifier = MN_POP_STATISTICS ;
203cdf0e10cSrcweir			HelpID = HID_MN_POP_STATISTICS ;
204cdf0e10cSrcweir			Text [ en-US ] = "Statistical Functions" ;
205cdf0e10cSrcweir			SubMenu = Menu
206cdf0e10cSrcweir			{
207cdf0e10cSrcweir				ItemList =
208cdf0e10cSrcweir				{
209cdf0e10cSrcweir					MenuItem
210cdf0e10cSrcweir					{
211cdf0e10cSrcweir						Identifier = MN_CALC_MEAN ;
212cdf0e10cSrcweir						HelpID = HID_MN_CALC_MEAN ;
213cdf0e10cSrcweir						Text [ en-US ] = "Mean" ;
214cdf0e10cSrcweir					};
215cdf0e10cSrcweir					MenuItem
216cdf0e10cSrcweir					{
217cdf0e10cSrcweir						Identifier = MN_CALC_MIN ;
218cdf0e10cSrcweir						HelpID = HID_MN_CALC_MIN ;
219cdf0e10cSrcweir						Text [ en-US ] = "Minimum" ;
220cdf0e10cSrcweir					};
221cdf0e10cSrcweir					MenuItem
222cdf0e10cSrcweir					{
223cdf0e10cSrcweir						Identifier = MN_CALC_MAX ;
224cdf0e10cSrcweir						HelpID = HID_MN_CALC_MAX ;
225cdf0e10cSrcweir						Text [ en-US ] = "Maximum" ;
226cdf0e10cSrcweir					};
227cdf0e10cSrcweir				};
228cdf0e10cSrcweir			};
229cdf0e10cSrcweir		};
230cdf0e10cSrcweir		MenuItem
231cdf0e10cSrcweir		{
232cdf0e10cSrcweir			Identifier = MN_POP_FUNC ;
233cdf0e10cSrcweir			HelpID = HID_MN_POP_FUNC ;
234cdf0e10cSrcweir			Text [ en-US ] = "Functions" ;
235cdf0e10cSrcweir			SubMenu = Menu
236cdf0e10cSrcweir			{
237cdf0e10cSrcweir				ItemList =
238cdf0e10cSrcweir				{
239cdf0e10cSrcweir					MenuItem
240cdf0e10cSrcweir					{
241cdf0e10cSrcweir						Identifier = MN_CALC_SIN ;
242cdf0e10cSrcweir						HelpID = HID_MN_CALC_SIN ;
243cdf0e10cSrcweir						Text [ en-US ] = "Sine" ;
244cdf0e10cSrcweir					};
245cdf0e10cSrcweir					MenuItem
246cdf0e10cSrcweir					{
247cdf0e10cSrcweir						Identifier = MN_CALC_COS ;
248cdf0e10cSrcweir						HelpID = HID_MN_CALC_COS ;
249cdf0e10cSrcweir						Text [ en-US ] = "Cosine" ;
250cdf0e10cSrcweir					};
251cdf0e10cSrcweir					MenuItem
252cdf0e10cSrcweir					{
253cdf0e10cSrcweir						Identifier = MN_CALC_TAN ;
254cdf0e10cSrcweir						HelpID = HID_MN_CALC_TAN ;
255cdf0e10cSrcweir						Text [ en-US ] = "Tangent" ;
256cdf0e10cSrcweir					};
257cdf0e10cSrcweir					MenuItem
258cdf0e10cSrcweir					{
259cdf0e10cSrcweir						Identifier = MN_CALC_ASIN ;
260cdf0e10cSrcweir						HelpID = HID_MN_CALC_ASIN ;
261cdf0e10cSrcweir						Text [ en-US ] = "Arcsine" ;
262cdf0e10cSrcweir					};
263cdf0e10cSrcweir					MenuItem
264cdf0e10cSrcweir					{
265cdf0e10cSrcweir						Identifier = MN_CALC_ACOS ;
266cdf0e10cSrcweir						HelpID = HID_MN_CALC_ACOS ;
267cdf0e10cSrcweir						Text [ en-US ] = "Arccosine" ;
268cdf0e10cSrcweir					};
269cdf0e10cSrcweir					MenuItem
270cdf0e10cSrcweir					{
271cdf0e10cSrcweir						Identifier = MN_CALC_ATAN ;
272cdf0e10cSrcweir						HelpID = HID_MN_CALC_ATAN ;
273cdf0e10cSrcweir						Text [ en-US ] = "Arctangent" ;
274cdf0e10cSrcweir					};
275cdf0e10cSrcweir				};
276cdf0e10cSrcweir			};
277cdf0e10cSrcweir		};
278cdf0e10cSrcweir	};
279cdf0e10cSrcweir};
280cdf0e10cSrcweirString STR_TBL_FORMULA
281cdf0e10cSrcweir{
282cdf0e10cSrcweir	Text [ en-US ] = "Text formula" ;
283cdf0e10cSrcweir};
284*ca62e2c2SSteve Yin//IAccessibility2 Impplementaton 2009-----
285*ca62e2c2SSteve YinString STR_ACCESS_FORMULA_TOOLBAR
286*ca62e2c2SSteve Yin{
287*ca62e2c2SSteve Yin	Text [ en-US ] = "Formula Tool Bar" ;
288*ca62e2c2SSteve Yin};
289*ca62e2c2SSteve YinString STR_ACCESS_FORMULA_TYPE
290*ca62e2c2SSteve Yin{
291*ca62e2c2SSteve Yin	Text [ en-US ] = "Formula Type" ;
292*ca62e2c2SSteve Yin};
293*ca62e2c2SSteve YinString STR_ACCESS_FORMULA_TEXT
294*ca62e2c2SSteve Yin{
295*ca62e2c2SSteve Yin	Text [ en-US ] = "Formula Text" ;
296*ca62e2c2SSteve Yin};
297*ca62e2c2SSteve Yin//-----IAccessibility2 Impplementaton 2009
298cdf0e10cSrcweir#define TB_INPUT  \
299cdf0e10cSrcweir    ToolBoxItem\
300cdf0e10cSrcweir    {\
301cdf0e10cSrcweir        Identifier = FN_FORMULA_CALC ; \
302cdf0e10cSrcweir        HelpID = HID_TBX_FORMULA_CALC ; \
303cdf0e10cSrcweir        Text [ en-US ] = "Formula" ; \
304cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Formel ausw�hlen : Formel ausw�hlen */\
305cdf0e10cSrcweir	};\
306cdf0e10cSrcweir    ToolBoxItem\
307cdf0e10cSrcweir    {\
308cdf0e10cSrcweir        Identifier = FN_FORMULA_CANCEL ; \
309cdf0e10cSrcweir        HelpId = HID_TBX_FORMULA_CANCEL ; \
310cdf0e10cSrcweir        Text [ en-US ] = "Cancel" ; \
311cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Formel nicht �benehmen : Formel nicht �benehmen */\
312cdf0e10cSrcweir	};\
313cdf0e10cSrcweir    ToolBoxItem\
314cdf0e10cSrcweir    {\
315cdf0e10cSrcweir        Identifier = FN_FORMULA_APPLY ; \
316cdf0e10cSrcweir        HelpID = HID_TBX_FORMULA_APPLY ; \
317cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */\
318cdf0e10cSrcweir        Text [ en-US ] = "Apply" ; \
319cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Formel einf�gen : Formel einf�gen */\
320cdf0e10cSrcweir	};
321cdf0e10cSrcweir
322cdf0e10cSrcweir
323cdf0e10cSrcweir
324cdf0e10cSrcweir
325cdf0e10cSrcweir
326cdf0e10cSrcweir
327cdf0e10cSrcweir
328cdf0e10cSrcweir
329cdf0e10cSrcweir
330cdf0e10cSrcweir
331cdf0e10cSrcweir
332cdf0e10cSrcweir
333cdf0e10cSrcweir
334cdf0e10cSrcweir
335cdf0e10cSrcweir
336cdf0e10cSrcweir
337cdf0e10cSrcweir
338cdf0e10cSrcweir
339cdf0e10cSrcweir
340cdf0e10cSrcweir
341cdf0e10cSrcweir
342cdf0e10cSrcweir
343cdf0e10cSrcweir
344cdf0e10cSrcweir
345cdf0e10cSrcweir
346cdf0e10cSrcweir
347cdf0e10cSrcweir
348cdf0e10cSrcweir
349cdf0e10cSrcweir
350cdf0e10cSrcweir
351cdf0e10cSrcweir
352cdf0e10cSrcweir
353cdf0e10cSrcweir
354cdf0e10cSrcweir
355cdf0e10cSrcweir
356cdf0e10cSrcweir
357cdf0e10cSrcweir
358