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