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 28*cdf0e10cSrcweir#include "globals.hrc" 29*cdf0e10cSrcweir#include "fldtdlg.hrc" 30*cdf0e10cSrcweir#include "helpid.h" 31*cdf0e10cSrcweirTabPage TP_FLD_FUNC 32*cdf0e10cSrcweir{ 33*cdf0e10cSrcweir HelpID = HID_FLD_FUNC ; 34*cdf0e10cSrcweir SVLook = TRUE ; 35*cdf0e10cSrcweir Hide = TRUE ; 36*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 37*cdf0e10cSrcweir FixedText FT_FUNCTYPE 38*cdf0e10cSrcweir { 39*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 40*cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 41*cdf0e10cSrcweir Text [ en-US ] = "~Type" ; 42*cdf0e10cSrcweir Left = TRUE ; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir ListBox LB_FUNCTYPE 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_FUNC:LB_FUNCTYPE"; 47*cdf0e10cSrcweir Border = TRUE ; 48*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 14 ) ; 49*cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 165 ) ; 50*cdf0e10cSrcweir TabStop = TRUE ; 51*cdf0e10cSrcweir Sort = FALSE ; 52*cdf0e10cSrcweir AutoHScroll = TRUE ; 53*cdf0e10cSrcweir }; 54*cdf0e10cSrcweir FixedText FT_FUNCSELECTION 55*cdf0e10cSrcweir { 56*cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 3 ) ; 57*cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 58*cdf0e10cSrcweir Text [ en-US ] = "S~elect" ; 59*cdf0e10cSrcweir Hide = TRUE ; 60*cdf0e10cSrcweir Left = TRUE ; 61*cdf0e10cSrcweir }; 62*cdf0e10cSrcweir ListBox LB_FUNCSELECTION 63*cdf0e10cSrcweir { 64*cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_FUNC:LB_FUNCSELECTION"; 65*cdf0e10cSrcweir Border = TRUE ; 66*cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 14 ) ; 67*cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 165 ) ; 68*cdf0e10cSrcweir TabStop = TRUE ; 69*cdf0e10cSrcweir Hide = TRUE ; 70*cdf0e10cSrcweir Sort = TRUE ; 71*cdf0e10cSrcweir AutoHScroll = TRUE ; 72*cdf0e10cSrcweir }; 73*cdf0e10cSrcweir FixedText FT_FUNCFORMAT 74*cdf0e10cSrcweir { 75*cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 3 ) ; 76*cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 77*cdf0e10cSrcweir Left = TRUE ; 78*cdf0e10cSrcweir Text [ en-US ] = "F~ormat" ; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir ListBox LB_FUNCFORMAT 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_FUNC:LB_FUNCFORMAT"; 83*cdf0e10cSrcweir Border = TRUE ; 84*cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 14 ) ; 85*cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 165 ) ; 86*cdf0e10cSrcweir TabStop = TRUE ; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir FixedText FT_FUNCNAME 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 3 ) ; 91*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 92*cdf0e10cSrcweir Left = TRUE ; 93*cdf0e10cSrcweir Text [ en-US ] = "Na~me" ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir Edit ED_FUNCNAME 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCNAME"; 98*cdf0e10cSrcweir Border = TRUE ; 99*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 14 ) ; 100*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 101*cdf0e10cSrcweir TabStop = TRUE ; 102*cdf0e10cSrcweir Left = TRUE ; 103*cdf0e10cSrcweir }; 104*cdf0e10cSrcweir FixedText FT_FUNCVALUE 105*cdf0e10cSrcweir { 106*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 30 ) ; 107*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 108*cdf0e10cSrcweir Text [ en-US ] = "~Value" ; 109*cdf0e10cSrcweir Left = TRUE ; 110*cdf0e10cSrcweir }; 111*cdf0e10cSrcweir Edit ED_FUNCVALUE 112*cdf0e10cSrcweir { 113*cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCVALUE"; 114*cdf0e10cSrcweir Border = TRUE ; 115*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 41 ) ; 116*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 117*cdf0e10cSrcweir TabStop = TRUE ; 118*cdf0e10cSrcweir Left = TRUE ; 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir FixedText FT_FUNCCOND1 121*cdf0e10cSrcweir { 122*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 30 ) ; 123*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 124*cdf0e10cSrcweir Left = TRUE ; 125*cdf0e10cSrcweir Hide = TRUE ; 126*cdf0e10cSrcweir Text [ en-US ] = "Then" ; 127*cdf0e10cSrcweir }; 128*cdf0e10cSrcweir Edit ED_FUNCCOND1 129*cdf0e10cSrcweir { 130*cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCCOND1"; 131*cdf0e10cSrcweir Border = TRUE ; 132*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 41 ) ; 133*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 134*cdf0e10cSrcweir TabStop = TRUE ; 135*cdf0e10cSrcweir Left = TRUE ; 136*cdf0e10cSrcweir Hide = TRUE ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir FixedText FT_FUNCCOND2 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 57 ) ; 141*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 142*cdf0e10cSrcweir Left = TRUE ; 143*cdf0e10cSrcweir Hide = TRUE ; 144*cdf0e10cSrcweir Text [ en-US ] = "Else" ; 145*cdf0e10cSrcweir }; 146*cdf0e10cSrcweir Edit ED_FUNCCOND2 147*cdf0e10cSrcweir { 148*cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCCOND2"; 149*cdf0e10cSrcweir Border = TRUE ; 150*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 68 ) ; 151*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 152*cdf0e10cSrcweir TabStop = TRUE ; 153*cdf0e10cSrcweir Left = TRUE ; 154*cdf0e10cSrcweir Hide = TRUE ; 155*cdf0e10cSrcweir }; 156*cdf0e10cSrcweir PushButton BT_FUNCMACRO 157*cdf0e10cSrcweir { 158*cdf0e10cSrcweir HelpID = "sw:PushButton:TP_FLD_FUNC:BT_FUNCMACRO"; 159*cdf0e10cSrcweir Pos = MAP_APPFONT ( 204 , 165 ) ; 160*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 161*cdf0e10cSrcweir Text [ en-US ] = "~Macro..." ; 162*cdf0e10cSrcweir Disable = TRUE ; 163*cdf0e10cSrcweir TabStop = TRUE ; 164*cdf0e10cSrcweir }; 165*cdf0e10cSrcweir FixedText FT_LISTITEM 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 3 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 169*cdf0e10cSrcweir Hide = TRUE; 170*cdf0e10cSrcweir Text [ en-US ] = "Ite~m" ; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir Edit ED_LISTITEM 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_FUNC:ED_LISTITEM"; 175*cdf0e10cSrcweir Border = TRUE ; 176*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 14 ) ; 177*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 178*cdf0e10cSrcweir TabStop = TRUE ; 179*cdf0e10cSrcweir Left = TRUE ; 180*cdf0e10cSrcweir Hide = TRUE; 181*cdf0e10cSrcweir }; 182*cdf0e10cSrcweir PushButton PB_LISTADD 183*cdf0e10cSrcweir { 184*cdf0e10cSrcweir HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTADD"; 185*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 29 ) ; 186*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 187*cdf0e10cSrcweir Hide = TRUE; 188*cdf0e10cSrcweir Text [ en-US ] = "~Add" ; 189*cdf0e10cSrcweir }; 190*cdf0e10cSrcweir FixedText FT_LISTITEMS 191*cdf0e10cSrcweir { 192*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 46 ) ; 193*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 194*cdf0e10cSrcweir Hide = TRUE; 195*cdf0e10cSrcweir Text [ en-US ] = "Items on ~list" ; 196*cdf0e10cSrcweir }; 197*cdf0e10cSrcweir ListBox LB_LISTITEMS 198*cdf0e10cSrcweir { 199*cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_FUNC:LB_LISTITEMS"; 200*cdf0e10cSrcweir Border = TRUE ; 201*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 57 ) ; 202*cdf0e10cSrcweir Size = MAP_APPFONT ( 83 , 44 ) ; 203*cdf0e10cSrcweir TabStop = TRUE ; 204*cdf0e10cSrcweir Sort = FALSE ; 205*cdf0e10cSrcweir AutoHScroll = TRUE ; 206*cdf0e10cSrcweir }; 207*cdf0e10cSrcweir PushButton PB_LISTREMOVE 208*cdf0e10cSrcweir { 209*cdf0e10cSrcweir HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTREMOVE"; 210*cdf0e10cSrcweir Pos = MAP_APPFONT ( 203 , 104 ) ; 211*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 212*cdf0e10cSrcweir Hide = TRUE; 213*cdf0e10cSrcweir Text [ en-US ] = "~Remove" ; 214*cdf0e10cSrcweir }; 215*cdf0e10cSrcweir PushButton PB_LISTUP 216*cdf0e10cSrcweir { 217*cdf0e10cSrcweir HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTUP"; 218*cdf0e10cSrcweir Pos = MAP_APPFONT ( 203 , 121 ) ; 219*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 220*cdf0e10cSrcweir Hide = TRUE; 221*cdf0e10cSrcweir Text [ en-US ] = "Move ~Up" ; 222*cdf0e10cSrcweir }; 223*cdf0e10cSrcweir PushButton PB_LISTDOWN 224*cdf0e10cSrcweir { 225*cdf0e10cSrcweir HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTDOWN"; 226*cdf0e10cSrcweir Pos = MAP_APPFONT ( 203 , 138 ) ; 227*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 228*cdf0e10cSrcweir Hide = TRUE; 229*cdf0e10cSrcweir Text [ en-US ] = "Move Do~wn" ; 230*cdf0e10cSrcweir }; 231*cdf0e10cSrcweir FixedText FT_LISTNAME 232*cdf0e10cSrcweir { 233*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 156 ) ; 234*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 235*cdf0e10cSrcweir Hide = TRUE; 236*cdf0e10cSrcweir Text [ en-US ] = "Na~me" ; 237*cdf0e10cSrcweir }; 238*cdf0e10cSrcweir Edit ED_LISTNAME 239*cdf0e10cSrcweir { 240*cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_FUNC:ED_LISTNAME"; 241*cdf0e10cSrcweir Border = TRUE ; 242*cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 167 ) ; 243*cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 244*cdf0e10cSrcweir TabStop = TRUE ; 245*cdf0e10cSrcweir Left = TRUE ; 246*cdf0e10cSrcweir Hide = TRUE; 247*cdf0e10cSrcweir }; 248*cdf0e10cSrcweir Text [ en-US ] = "Functions" ; 249*cdf0e10cSrcweir}; 250*cdf0e10cSrcweir 251*cdf0e10cSrcweir 252*cdf0e10cSrcweir 253*cdf0e10cSrcweir 254*cdf0e10cSrcweir 255*cdf0e10cSrcweir 256*cdf0e10cSrcweir 257*cdf0e10cSrcweir 258*cdf0e10cSrcweir 259*cdf0e10cSrcweir 260*cdf0e10cSrcweir 261*cdf0e10cSrcweir 262*cdf0e10cSrcweir 263*cdf0e10cSrcweir 264*cdf0e10cSrcweir 265*cdf0e10cSrcweir 266*cdf0e10cSrcweir 267*cdf0e10cSrcweir 268*cdf0e10cSrcweir 269*cdf0e10cSrcweir 270*cdf0e10cSrcweir 271*cdf0e10cSrcweir 272*cdf0e10cSrcweir 273*cdf0e10cSrcweir 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir 276*cdf0e10cSrcweir 277*cdf0e10cSrcweir 278*cdf0e10cSrcweir 279*cdf0e10cSrcweir 280*cdf0e10cSrcweir 281*cdf0e10cSrcweir 282*cdf0e10cSrcweir 283*cdf0e10cSrcweir 284*cdf0e10cSrcweir 285