1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#include "globals.hrc" 29#include "fldtdlg.hrc" 30#include "helpid.h" 31TabPage TP_FLD_FUNC 32{ 33 HelpID = HID_FLD_FUNC ; 34 SVLook = TRUE ; 35 Hide = TRUE ; 36 Size = MAP_APPFONT ( 260 , 185 ) ; 37 FixedText FT_FUNCTYPE 38 { 39 Pos = MAP_APPFONT ( 6 , 3 ) ; 40 Size = MAP_APPFONT ( 76 , 8 ) ; 41 Text [ en-US ] = "~Type" ; 42 Left = TRUE ; 43 }; 44 ListBox LB_FUNCTYPE 45 { 46 HelpID = "sw:ListBox:TP_FLD_FUNC:LB_FUNCTYPE"; 47 Border = TRUE ; 48 Pos = MAP_APPFONT ( 6 , 14 ) ; 49 Size = MAP_APPFONT ( 76 , 165 ) ; 50 TabStop = TRUE ; 51 Sort = FALSE ; 52 AutoHScroll = TRUE ; 53 }; 54 FixedText FT_FUNCSELECTION 55 { 56 Pos = MAP_APPFONT ( 88 , 3 ) ; 57 Size = MAP_APPFONT ( 76 , 8 ) ; 58 Text [ en-US ] = "S~elect" ; 59 Hide = TRUE ; 60 Left = TRUE ; 61 }; 62 ListBox LB_FUNCSELECTION 63 { 64 HelpID = "sw:ListBox:TP_FLD_FUNC:LB_FUNCSELECTION"; 65 Border = TRUE ; 66 Pos = MAP_APPFONT ( 88 , 14 ) ; 67 Size = MAP_APPFONT ( 76 , 165 ) ; 68 TabStop = TRUE ; 69 Hide = TRUE ; 70 Sort = TRUE ; 71 AutoHScroll = TRUE ; 72 }; 73 FixedText FT_FUNCFORMAT 74 { 75 Pos = MAP_APPFONT ( 88 , 3 ) ; 76 Size = MAP_APPFONT ( 76 , 8 ) ; 77 Left = TRUE ; 78 Text [ en-US ] = "F~ormat" ; 79 }; 80 ListBox LB_FUNCFORMAT 81 { 82 HelpID = "sw:ListBox:TP_FLD_FUNC:LB_FUNCFORMAT"; 83 Border = TRUE ; 84 Pos = MAP_APPFONT ( 88 , 14 ) ; 85 Size = MAP_APPFONT ( 76 , 165 ) ; 86 TabStop = TRUE ; 87 }; 88 FixedText FT_FUNCNAME 89 { 90 Pos = MAP_APPFONT ( 170 , 3 ) ; 91 Size = MAP_APPFONT ( 84 , 8 ) ; 92 Left = TRUE ; 93 Text [ en-US ] = "Na~me" ; 94 }; 95 Edit ED_FUNCNAME 96 { 97 HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCNAME"; 98 Border = TRUE ; 99 Pos = MAP_APPFONT ( 170 , 14 ) ; 100 Size = MAP_APPFONT ( 84 , 12 ) ; 101 TabStop = TRUE ; 102 Left = TRUE ; 103 }; 104 FixedText FT_FUNCVALUE 105 { 106 Pos = MAP_APPFONT ( 170 , 30 ) ; 107 Size = MAP_APPFONT ( 84 , 8 ) ; 108 Text [ en-US ] = "~Value" ; 109 Left = TRUE ; 110 }; 111 Edit ED_FUNCVALUE 112 { 113 HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCVALUE"; 114 Border = TRUE ; 115 Pos = MAP_APPFONT ( 170 , 41 ) ; 116 Size = MAP_APPFONT ( 84 , 12 ) ; 117 TabStop = TRUE ; 118 Left = TRUE ; 119 }; 120 FixedText FT_FUNCCOND1 121 { 122 Pos = MAP_APPFONT ( 170 , 30 ) ; 123 Size = MAP_APPFONT ( 84 , 8 ) ; 124 Left = TRUE ; 125 Hide = TRUE ; 126 Text [ en-US ] = "Then" ; 127 }; 128 Edit ED_FUNCCOND1 129 { 130 HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCCOND1"; 131 Border = TRUE ; 132 Pos = MAP_APPFONT ( 170 , 41 ) ; 133 Size = MAP_APPFONT ( 84 , 12 ) ; 134 TabStop = TRUE ; 135 Left = TRUE ; 136 Hide = TRUE ; 137 }; 138 FixedText FT_FUNCCOND2 139 { 140 Pos = MAP_APPFONT ( 170 , 57 ) ; 141 Size = MAP_APPFONT ( 84 , 8 ) ; 142 Left = TRUE ; 143 Hide = TRUE ; 144 Text [ en-US ] = "Else" ; 145 }; 146 Edit ED_FUNCCOND2 147 { 148 HelpID = "sw:Edit:TP_FLD_FUNC:ED_FUNCCOND2"; 149 Border = TRUE ; 150 Pos = MAP_APPFONT ( 170 , 68 ) ; 151 Size = MAP_APPFONT ( 84 , 12 ) ; 152 TabStop = TRUE ; 153 Left = TRUE ; 154 Hide = TRUE ; 155 }; 156 PushButton BT_FUNCMACRO 157 { 158 HelpID = "sw:PushButton:TP_FLD_FUNC:BT_FUNCMACRO"; 159 Pos = MAP_APPFONT ( 204 , 165 ) ; 160 Size = MAP_APPFONT ( 50 , 14 ) ; 161 Text [ en-US ] = "~Macro..." ; 162 Disable = TRUE ; 163 TabStop = TRUE ; 164 }; 165 FixedText FT_LISTITEM 166 { 167 Pos = MAP_APPFONT ( 170 , 3 ) ; 168 Size = MAP_APPFONT ( 84 , 8 ) ; 169 Hide = TRUE; 170 Text [ en-US ] = "Ite~m" ; 171 }; 172 Edit ED_LISTITEM 173 { 174 HelpID = "sw:Edit:TP_FLD_FUNC:ED_LISTITEM"; 175 Border = TRUE ; 176 Pos = MAP_APPFONT ( 170 , 14 ) ; 177 Size = MAP_APPFONT ( 84 , 12 ) ; 178 TabStop = TRUE ; 179 Left = TRUE ; 180 Hide = TRUE; 181 }; 182 PushButton PB_LISTADD 183 { 184 HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTADD"; 185 Pos = MAP_APPFONT ( 170 , 29 ) ; 186 Size = MAP_APPFONT ( 50 , 14 ) ; 187 Hide = TRUE; 188 Text [ en-US ] = "~Add" ; 189 }; 190 FixedText FT_LISTITEMS 191 { 192 Pos = MAP_APPFONT ( 170 , 46 ) ; 193 Size = MAP_APPFONT ( 84 , 8 ) ; 194 Hide = TRUE; 195 Text [ en-US ] = "Items on ~list" ; 196 }; 197 ListBox LB_LISTITEMS 198 { 199 HelpID = "sw:ListBox:TP_FLD_FUNC:LB_LISTITEMS"; 200 Border = TRUE ; 201 Pos = MAP_APPFONT ( 170 , 57 ) ; 202 Size = MAP_APPFONT ( 83 , 44 ) ; 203 TabStop = TRUE ; 204 Sort = FALSE ; 205 AutoHScroll = TRUE ; 206 }; 207 PushButton PB_LISTREMOVE 208 { 209 HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTREMOVE"; 210 Pos = MAP_APPFONT ( 203 , 104 ) ; 211 Size = MAP_APPFONT ( 50 , 14 ) ; 212 Hide = TRUE; 213 Text [ en-US ] = "~Remove" ; 214 }; 215 PushButton PB_LISTUP 216 { 217 HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTUP"; 218 Pos = MAP_APPFONT ( 203 , 121 ) ; 219 Size = MAP_APPFONT ( 50 , 14 ) ; 220 Hide = TRUE; 221 Text [ en-US ] = "Move ~Up" ; 222 }; 223 PushButton PB_LISTDOWN 224 { 225 HelpID = "sw:PushButton:TP_FLD_FUNC:PB_LISTDOWN"; 226 Pos = MAP_APPFONT ( 203 , 138 ) ; 227 Size = MAP_APPFONT ( 50 , 14 ) ; 228 Hide = TRUE; 229 Text [ en-US ] = "Move Do~wn" ; 230 }; 231 FixedText FT_LISTNAME 232 { 233 Pos = MAP_APPFONT ( 170 , 156 ) ; 234 Size = MAP_APPFONT ( 84 , 8 ) ; 235 Hide = TRUE; 236 Text [ en-US ] = "Na~me" ; 237 }; 238 Edit ED_LISTNAME 239 { 240 HelpID = "sw:Edit:TP_FLD_FUNC:ED_LISTNAME"; 241 Border = TRUE ; 242 Pos = MAP_APPFONT ( 170 , 167 ) ; 243 Size = MAP_APPFONT ( 84 , 12 ) ; 244 TabStop = TRUE ; 245 Left = TRUE ; 246 Hide = TRUE; 247 }; 248 Text [ en-US ] = "Functions" ; 249}; 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285