1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir/* HelpID ressource file */ 28*cdf0e10cSrcweir/* HelpID ressource file */ 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#include "cmdid.h" 31*cdf0e10cSrcweir#include "helpid.h" 32*cdf0e10cSrcweir#include "globals.hrc" 33*cdf0e10cSrcweir#include "ribbar.hrc" 34*cdf0e10cSrcweir#include "inputwin.hrc" 35*cdf0e10cSrcweirToolBox RID_TBX_FORMULA 36*cdf0e10cSrcweir{ 37*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 38*cdf0e10cSrcweir Size = MAP_APPFONT ( 600 , 14 ) ; 39*cdf0e10cSrcweir HelpID = HID_CALC_TOOLBOX ; 40*cdf0e10cSrcweir SVLook = TRUE ; 41*cdf0e10cSrcweir Border = TRUE ; 42*cdf0e10cSrcweir ItemList = 43*cdf0e10cSrcweir { 44*cdf0e10cSrcweir ToolBoxItem 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir Identifier = FN_FORMULA_CALC ; 47*cdf0e10cSrcweir HelpId = HID_TBX_FORMULA_CALC ; 48*cdf0e10cSrcweir DropDown = TRUE ; 49*cdf0e10cSrcweir Text [ en-US ] = "Formula" ; 50*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Formel ausw�hlen : Formel ausw�hlen */ 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir ToolBoxItem 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir Identifier = FN_FORMULA_CANCEL ; 55*cdf0e10cSrcweir HelpId = HID_TBX_FORMULA_CANCEL ; 56*cdf0e10cSrcweir Text [ en-US ] = "Cancel" ; 57*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Formel nicht �benehmen : Formel nicht �benehmen */ 58*cdf0e10cSrcweir }; 59*cdf0e10cSrcweir ToolBoxItem 60*cdf0e10cSrcweir { 61*cdf0e10cSrcweir Identifier = FN_FORMULA_APPLY ; 62*cdf0e10cSrcweir HelpId = HID_TBX_FORMULA_APPLY ; 63*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */ 64*cdf0e10cSrcweir Text [ en-US ] = "Apply" ; 65*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Formel einf�gen : Formel einf�gen */ 66*cdf0e10cSrcweir }; 67*cdf0e10cSrcweir }; 68*cdf0e10cSrcweir Edit ED_POS 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Border = TRUE ; 71*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 11 ) ; 72*cdf0e10cSrcweir ReadOnly = TRUE ; 73*cdf0e10cSrcweir SVLook = TRUE ; 74*cdf0e10cSrcweir Center = TRUE ; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir Edit ED_FORMULA 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Border = TRUE ; 79*cdf0e10cSrcweir TabStop = TRUE ; 80*cdf0e10cSrcweir Size = MAP_APPFONT ( 500 , 11 ) ; 81*cdf0e10cSrcweir SVLook = TRUE ; 82*cdf0e10cSrcweir }; 83*cdf0e10cSrcweir}; 84*cdf0e10cSrcweirMenu MN_CALC_POPUP 85*cdf0e10cSrcweir{ 86*cdf0e10cSrcweir ItemList = 87*cdf0e10cSrcweir { 88*cdf0e10cSrcweir MenuItem 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir Identifier = MN_CALC_SUM ; 91*cdf0e10cSrcweir HelpID = HID_MN_CALC_SUM ; 92*cdf0e10cSrcweir Text [ en-US ] = "Sum" ; 93*cdf0e10cSrcweir }; 94*cdf0e10cSrcweir MenuItem 95*cdf0e10cSrcweir { 96*cdf0e10cSrcweir Identifier = MN_CALC_ROUND ; 97*cdf0e10cSrcweir HelpID = HID_MN_CALC_ROUND ; 98*cdf0e10cSrcweir Text [ en-US ] = "Round" ; 99*cdf0e10cSrcweir }; 100*cdf0e10cSrcweir MenuItem 101*cdf0e10cSrcweir { 102*cdf0e10cSrcweir Identifier = MN_CALC_PHD ; 103*cdf0e10cSrcweir HelpID = HID_MN_CALC_PHD ; 104*cdf0e10cSrcweir Text [ en-US ] = "Percent" ; 105*cdf0e10cSrcweir }; 106*cdf0e10cSrcweir MenuItem 107*cdf0e10cSrcweir { 108*cdf0e10cSrcweir Identifier = MN_CALC_SQRT ; 109*cdf0e10cSrcweir HelpID = HID_MN_CALC_SQRT ; 110*cdf0e10cSrcweir Text [ en-US ] = "Square Root" ; 111*cdf0e10cSrcweir }; 112*cdf0e10cSrcweir MenuItem 113*cdf0e10cSrcweir { 114*cdf0e10cSrcweir Identifier = MN_CALC_POW ; 115*cdf0e10cSrcweir HelpID = HID_MN_CALC_POW ; 116*cdf0e10cSrcweir Text [ en-US ] = "Power" ; 117*cdf0e10cSrcweir }; 118*cdf0e10cSrcweir MenuItem 119*cdf0e10cSrcweir { 120*cdf0e10cSrcweir Identifier = MN_POP_OPS ; 121*cdf0e10cSrcweir HelpID = HID_MN_POP_OPS ; 122*cdf0e10cSrcweir Text [ en-US ] = "Operators" ; 123*cdf0e10cSrcweir SubMenu = Menu 124*cdf0e10cSrcweir { 125*cdf0e10cSrcweir ItemList = 126*cdf0e10cSrcweir { 127*cdf0e10cSrcweir MenuItem 128*cdf0e10cSrcweir { 129*cdf0e10cSrcweir Identifier = MN_CALC_LISTSEP ; 130*cdf0e10cSrcweir HelpID = HID_MN_CALC_LISTSEP ; 131*cdf0e10cSrcweir Text [ en-US ] = "List Separator" ; 132*cdf0e10cSrcweir }; 133*cdf0e10cSrcweir MenuItem 134*cdf0e10cSrcweir { 135*cdf0e10cSrcweir Identifier = MN_CALC_EQ ; 136*cdf0e10cSrcweir HelpID = HID_MN_CALC_EQ ; 137*cdf0e10cSrcweir Text [ en-US ] = "Equal" ; 138*cdf0e10cSrcweir }; 139*cdf0e10cSrcweir MenuItem 140*cdf0e10cSrcweir { 141*cdf0e10cSrcweir Identifier = MN_CALC_NEQ ; 142*cdf0e10cSrcweir HelpID = HID_MN_CALC_NEQ ; 143*cdf0e10cSrcweir Text [ en-US ] = "Not Equal" ; 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir MenuItem 146*cdf0e10cSrcweir { 147*cdf0e10cSrcweir Identifier = MN_CALC_LEQ ; 148*cdf0e10cSrcweir HelpID = HID_MN_CALC_LEQ ; 149*cdf0e10cSrcweir Text [ en-US ] = "Less Than or Equal" ; 150*cdf0e10cSrcweir }; 151*cdf0e10cSrcweir MenuItem 152*cdf0e10cSrcweir { 153*cdf0e10cSrcweir Identifier = MN_CALC_GEQ ; 154*cdf0e10cSrcweir HelpID = HID_MN_CALC_GEQ ; 155*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Gr~��er Gleich : Gr~��er Gleich */ 156*cdf0e10cSrcweir Text [ en-US ] = "Greater Than or Equal" ; 157*cdf0e10cSrcweir }; 158*cdf0e10cSrcweir MenuItem 159*cdf0e10cSrcweir { 160*cdf0e10cSrcweir Identifier = MN_CALC_LES ; 161*cdf0e10cSrcweir HelpID = HID_MN_CALC_LES ; 162*cdf0e10cSrcweir Text [ en-US ] = "Less" ; 163*cdf0e10cSrcweir }; 164*cdf0e10cSrcweir MenuItem 165*cdf0e10cSrcweir { 166*cdf0e10cSrcweir Identifier = MN_CALC_GRE ; 167*cdf0e10cSrcweir HelpID = HID_MN_CALC_GRE ; 168*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? G~r��er : G~r��er */ 169*cdf0e10cSrcweir Text [ en-US ] = "Greater" ; 170*cdf0e10cSrcweir }; 171*cdf0e10cSrcweir MenuItem 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir Separator = TRUE ; 174*cdf0e10cSrcweir }; 175*cdf0e10cSrcweir MenuItem 176*cdf0e10cSrcweir { 177*cdf0e10cSrcweir Identifier = MN_CALC_OR ; 178*cdf0e10cSrcweir HelpID = HID_MN_CALC_OR ; 179*cdf0e10cSrcweir Text [ en-US ] = "Boolean Or" ; 180*cdf0e10cSrcweir }; 181*cdf0e10cSrcweir MenuItem 182*cdf0e10cSrcweir { 183*cdf0e10cSrcweir Identifier = MN_CALC_XOR ; 184*cdf0e10cSrcweir HelpID = HID_MN_CALC_XOR ; 185*cdf0e10cSrcweir Text [ en-US ] = "Boolean Xor" ; 186*cdf0e10cSrcweir }; 187*cdf0e10cSrcweir MenuItem 188*cdf0e10cSrcweir { 189*cdf0e10cSrcweir Identifier = MN_CALC_AND ; 190*cdf0e10cSrcweir HelpID = HID_MN_CALC_AND ; 191*cdf0e10cSrcweir Text [ en-US ] = "Boolean And" ; 192*cdf0e10cSrcweir }; 193*cdf0e10cSrcweir MenuItem 194*cdf0e10cSrcweir { 195*cdf0e10cSrcweir Identifier = MN_CALC_NOT ; 196*cdf0e10cSrcweir HelpID = HID_MN_CALC_NOT ; 197*cdf0e10cSrcweir Text [ en-US ] = "Boolean Not" ; 198*cdf0e10cSrcweir }; 199*cdf0e10cSrcweir }; 200*cdf0e10cSrcweir }; 201*cdf0e10cSrcweir }; 202*cdf0e10cSrcweir MenuItem 203*cdf0e10cSrcweir { 204*cdf0e10cSrcweir Identifier = MN_POP_STATISTICS ; 205*cdf0e10cSrcweir HelpID = HID_MN_POP_STATISTICS ; 206*cdf0e10cSrcweir Text [ en-US ] = "Statistical Functions" ; 207*cdf0e10cSrcweir SubMenu = Menu 208*cdf0e10cSrcweir { 209*cdf0e10cSrcweir ItemList = 210*cdf0e10cSrcweir { 211*cdf0e10cSrcweir MenuItem 212*cdf0e10cSrcweir { 213*cdf0e10cSrcweir Identifier = MN_CALC_MEAN ; 214*cdf0e10cSrcweir HelpID = HID_MN_CALC_MEAN ; 215*cdf0e10cSrcweir Text [ en-US ] = "Mean" ; 216*cdf0e10cSrcweir }; 217*cdf0e10cSrcweir MenuItem 218*cdf0e10cSrcweir { 219*cdf0e10cSrcweir Identifier = MN_CALC_MIN ; 220*cdf0e10cSrcweir HelpID = HID_MN_CALC_MIN ; 221*cdf0e10cSrcweir Text [ en-US ] = "Minimum" ; 222*cdf0e10cSrcweir }; 223*cdf0e10cSrcweir MenuItem 224*cdf0e10cSrcweir { 225*cdf0e10cSrcweir Identifier = MN_CALC_MAX ; 226*cdf0e10cSrcweir HelpID = HID_MN_CALC_MAX ; 227*cdf0e10cSrcweir Text [ en-US ] = "Maximum" ; 228*cdf0e10cSrcweir }; 229*cdf0e10cSrcweir }; 230*cdf0e10cSrcweir }; 231*cdf0e10cSrcweir }; 232*cdf0e10cSrcweir MenuItem 233*cdf0e10cSrcweir { 234*cdf0e10cSrcweir Identifier = MN_POP_FUNC ; 235*cdf0e10cSrcweir HelpID = HID_MN_POP_FUNC ; 236*cdf0e10cSrcweir Text [ en-US ] = "Functions" ; 237*cdf0e10cSrcweir SubMenu = Menu 238*cdf0e10cSrcweir { 239*cdf0e10cSrcweir ItemList = 240*cdf0e10cSrcweir { 241*cdf0e10cSrcweir MenuItem 242*cdf0e10cSrcweir { 243*cdf0e10cSrcweir Identifier = MN_CALC_SIN ; 244*cdf0e10cSrcweir HelpID = HID_MN_CALC_SIN ; 245*cdf0e10cSrcweir Text [ en-US ] = "Sine" ; 246*cdf0e10cSrcweir }; 247*cdf0e10cSrcweir MenuItem 248*cdf0e10cSrcweir { 249*cdf0e10cSrcweir Identifier = MN_CALC_COS ; 250*cdf0e10cSrcweir HelpID = HID_MN_CALC_COS ; 251*cdf0e10cSrcweir Text [ en-US ] = "Cosine" ; 252*cdf0e10cSrcweir }; 253*cdf0e10cSrcweir MenuItem 254*cdf0e10cSrcweir { 255*cdf0e10cSrcweir Identifier = MN_CALC_TAN ; 256*cdf0e10cSrcweir HelpID = HID_MN_CALC_TAN ; 257*cdf0e10cSrcweir Text [ en-US ] = "Tangent" ; 258*cdf0e10cSrcweir }; 259*cdf0e10cSrcweir MenuItem 260*cdf0e10cSrcweir { 261*cdf0e10cSrcweir Identifier = MN_CALC_ASIN ; 262*cdf0e10cSrcweir HelpID = HID_MN_CALC_ASIN ; 263*cdf0e10cSrcweir Text [ en-US ] = "Arcsine" ; 264*cdf0e10cSrcweir }; 265*cdf0e10cSrcweir MenuItem 266*cdf0e10cSrcweir { 267*cdf0e10cSrcweir Identifier = MN_CALC_ACOS ; 268*cdf0e10cSrcweir HelpID = HID_MN_CALC_ACOS ; 269*cdf0e10cSrcweir Text [ en-US ] = "Arccosine" ; 270*cdf0e10cSrcweir }; 271*cdf0e10cSrcweir MenuItem 272*cdf0e10cSrcweir { 273*cdf0e10cSrcweir Identifier = MN_CALC_ATAN ; 274*cdf0e10cSrcweir HelpID = HID_MN_CALC_ATAN ; 275*cdf0e10cSrcweir Text [ en-US ] = "Arctangent" ; 276*cdf0e10cSrcweir }; 277*cdf0e10cSrcweir }; 278*cdf0e10cSrcweir }; 279*cdf0e10cSrcweir }; 280*cdf0e10cSrcweir }; 281*cdf0e10cSrcweir}; 282*cdf0e10cSrcweirString STR_TBL_FORMULA 283*cdf0e10cSrcweir{ 284*cdf0e10cSrcweir Text [ en-US ] = "Text formula" ; 285*cdf0e10cSrcweir}; 286*cdf0e10cSrcweir#define TB_INPUT \ 287*cdf0e10cSrcweir ToolBoxItem\ 288*cdf0e10cSrcweir {\ 289*cdf0e10cSrcweir Identifier = FN_FORMULA_CALC ; \ 290*cdf0e10cSrcweir HelpID = HID_TBX_FORMULA_CALC ; \ 291*cdf0e10cSrcweir Text [ en-US ] = "Formula" ; \ 292*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Formel ausw�hlen : Formel ausw�hlen */\ 293*cdf0e10cSrcweir };\ 294*cdf0e10cSrcweir ToolBoxItem\ 295*cdf0e10cSrcweir {\ 296*cdf0e10cSrcweir Identifier = FN_FORMULA_CANCEL ; \ 297*cdf0e10cSrcweir HelpId = HID_TBX_FORMULA_CANCEL ; \ 298*cdf0e10cSrcweir Text [ en-US ] = "Cancel" ; \ 299*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Formel nicht �benehmen : Formel nicht �benehmen */\ 300*cdf0e10cSrcweir };\ 301*cdf0e10cSrcweir ToolBoxItem\ 302*cdf0e10cSrcweir {\ 303*cdf0e10cSrcweir Identifier = FN_FORMULA_APPLY ; \ 304*cdf0e10cSrcweir HelpID = HID_TBX_FORMULA_APPLY ; \ 305*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */\ 306*cdf0e10cSrcweir Text [ en-US ] = "Apply" ; \ 307*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Formel einf�gen : Formel einf�gen */\ 308*cdf0e10cSrcweir }; 309*cdf0e10cSrcweir 310*cdf0e10cSrcweir 311*cdf0e10cSrcweir 312*cdf0e10cSrcweir 313*cdf0e10cSrcweir 314*cdf0e10cSrcweir 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir 317*cdf0e10cSrcweir 318*cdf0e10cSrcweir 319*cdf0e10cSrcweir 320*cdf0e10cSrcweir 321*cdf0e10cSrcweir 322*cdf0e10cSrcweir 323*cdf0e10cSrcweir 324*cdf0e10cSrcweir 325*cdf0e10cSrcweir 326*cdf0e10cSrcweir 327*cdf0e10cSrcweir 328*cdf0e10cSrcweir 329*cdf0e10cSrcweir 330*cdf0e10cSrcweir 331*cdf0e10cSrcweir 332*cdf0e10cSrcweir 333*cdf0e10cSrcweir 334*cdf0e10cSrcweir 335*cdf0e10cSrcweir 336*cdf0e10cSrcweir 337*cdf0e10cSrcweir 338*cdf0e10cSrcweir 339*cdf0e10cSrcweir 340*cdf0e10cSrcweir 341*cdf0e10cSrcweir 342*cdf0e10cSrcweir 343*cdf0e10cSrcweir 344*cdf0e10cSrcweir 345*cdf0e10cSrcweir 346