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#include "formdlgs.hrc" 23#include "ForResId.hrc" 24#include "helpids.hrc" 25 26//--------------------------------------------------------------------------- 27TabPage RID_FORMULATAB_FUNCTION 28{ 29 Hide = TRUE ; 30 Size = MAP_APPFONT ( 96, 180 ) ; 31 HelpId = HID_FORMULATAB_FUNCTION ; 32 // Titel wird dynamisch gesetzt (s.u.) 33 // 1. page 34 ListBox LB_CATEGORY 35 { 36 HelpId = HID_FORMULA_LB_CATEGORY ; 37 Border = TRUE ; 38 Pos = MAP_APPFONT ( 6, 14 ) ; 39 Size = MAP_APPFONT ( 86, 112 ) ; 40 DropDown = TRUE ; 41 StringList [ en-US ] = 42 { 43 < "Last Used" ; Default ; > ; 44 < "All" ; Default ; > ; 45 }; 46 // < "Database" ; Default ; > ; 47 // < "Date&Time" ; Default ; > ; 48 // < "Financial" ; Default ; > ; 49 // < "Information" ; Default ; > ; 50 // < "Logical" ; Default ; > ; 51 // < "Mathematical" ; Default ; > ; 52 // < "Array" ; Default ; > ; 53 // < "Statistical" ; Default ; > ; 54 // < "Spreadsheet" ; Default ; > ; 55 // < "Text" ; Default ; > ; 56 // < "Add-in" ; Default ; > ; 57 //}; 58 }; 59 ListBox LB_FUNCTION 60 { 61 HelpId = HID_FORMULA_LB_FUNCTION ; 62 Border = TRUE ; 63 Pos = MAP_APPFONT ( 6, 43 ) ; 64 Size = MAP_APPFONT ( 86, 133 ) ; 65 Sort = TRUE ; 66 }; 67 FixedText FT_CATEGORY 68 { 69 Pos = MAP_APPFONT ( 6, 3 ) ; 70 Size = MAP_APPFONT ( 84, 8 ) ; 71 Text [ en-US ] = "~Category" ; 72 }; 73 FixedText FT_FUNCTION 74 { 75 Pos = MAP_APPFONT ( 6, 32 ) ; 76 Size = MAP_APPFONT ( 72, 8 ) ; 77 Text [ en-US ] = "~Function" ; 78 }; 79}; 80TabPage RID_FORMULATAB_STRUCT 81{ 82 Hide = TRUE ; 83 Size = MAP_APPFONT ( 96, 180 ) ; 84 HelpId = HID_FORMULATAB_STRUCT ; 85 // Titel wird dynamisch gesetzt (s.u.) 86 // 1. page 87 Control TLB_STRUCT 88 { 89 Border = TRUE ; 90 TabStop = TRUE ; 91 Pos = MAP_APPFONT ( 6, 14 ) ; 92 Size = MAP_APPFONT ( 86, 162 ) ; 93 HelpId = HID_FORMULA_FAP_STRUCT ; 94 }; 95 FixedText FT_STRUCT 96 { 97 Pos = MAP_APPFONT ( 6, 3 ) ; 98 Size = MAP_APPFONT ( 86, 8 ) ; 99 Text [ en-US ] = "~Structure" ; 100 }; 101 Image BMP_STR_CLOSE 102 { 103 ImageBitmap = Bitmap { File = "fapclose.png" ; }; 104 }; 105 Image BMP_STR_CLOSE_H 106 { 107 ImageBitmap = Bitmap { File = "fapclose_h.png" ; }; 108 }; 109 Image BMP_STR_OPEN 110 { 111 ImageBitmap = Bitmap { File = "fapopen.png" ; }; 112 }; 113 Image BMP_STR_OPEN_H 114 { 115 ImageBitmap = Bitmap { File = "fapopen_h.png" ; }; 116 }; 117 Image BMP_STR_END 118 { 119 ImageBitmap = Bitmap { File = "fapok.png" ; }; 120 }; 121 Image BMP_STR_END_H 122 { 123 ImageBitmap = Bitmap { File = "fapok_h.png" ; }; 124 }; 125 Image BMP_STR_ERROR 126 { 127 ImageBitmap = Bitmap { File = "faperror.png" ; }; 128 }; 129 Image BMP_STR_ERROR_H 130 { 131 ImageBitmap = Bitmap { File = "faperror_h.png" ; }; 132 }; 133 String STR_STRUCT_ERR1 134 { 135 Text [ en-US ] = "=?" ; 136 }; 137 String STR_STRUCT_ERR2 138 { 139 Text [ en-US ] = "Error" ; 140 }; 141}; 142ModalDialog RID_FORMULADLG_FORMULA_MODAL 143{ 144 SVLook = TRUE ; 145 Size = MAP_APPFONT ( 321, 228 ) ; 146 HelpId = HID_FORMULADLG_FORMULA ; 147 Moveable = TRUE ; 148 TabControl TC_FUNCTION 149 { 150 HelpID = "formula:TabControl:RID_FORMULADLG_FORMULA_MODAL:TC_FUNCTION" ; 151 Pos = MAP_APPFONT ( 6, 5 ) ; 152 Size = MAP_APPFONT ( 102, 199 ) ; 153 PageList = 154 { 155 PageItem 156 { 157 Identifier = TP_FUNCTION ; 158 Text [ en-US ] = "Functions" ; 159 }; 160 PageItem 161 { 162 Identifier = TP_STRUCT ; 163 Text [ en-US ] = "Structure" ; 164 }; 165 }; 166 }; 167 FixedText FT_HEADLINE 168 { 169 Pos = MAP_APPFONT ( 115, 24 ) ; 170 Size = MAP_APPFONT ( 194, 8 ) ; 171 WordBreak = TRUE ; 172 }; 173 FixedText FT_FUNCNAME 174 { 175 Pos = MAP_APPFONT ( 115, 38 ) ; 176 Size = MAP_APPFONT ( 194, 24 ) ; 177 WordBreak = TRUE ; 178 }; 179 FixedText FT_FUNCDESC 180 { 181 Pos = MAP_APPFONT ( 115, 68 ) ; 182 Size = MAP_APPFONT ( 194, 64 ) ; 183 WordBreak = TRUE ; 184 }; 185 FixedText FT_EDITNAME 186 { 187 Pos = MAP_APPFONT ( 113, 6 ) ; 188 Size = MAP_APPFONT ( 83, 10 ) ; 189 }; 190 GroupBox GB_EDIT 191 { 192 Pos = MAP_APPFONT ( 112, 18 ) ; 193 Size = MAP_APPFONT ( 203, 128 ) ; 194 }; 195 FixedText FT_FORMULA 196 { 197 Pos = MAP_APPFONT ( 112, 151 ) ; 198 Size = MAP_APPFONT ( 50, 10 ) ; 199 WordBreak = TRUE ; 200 Text [ en-US ] = "For~mula" ; 201 }; 202 Control ED_FORMULA 203 { 204 Border = TRUE ; 205 Pos = MAP_APPFONT ( 112, 161 ) ; 206 Size = MAP_APPFONT ( 203, 43 ) ; 207 HelpId = HID_FORMULA_FAP_FORMULA ; 208 }; 209 FixedText FT_RESULT 210 { 211 Pos = MAP_APPFONT ( 198, 6 ) ; 212 Size = MAP_APPFONT ( 55, 10 ) ; 213 Right = TRUE ; 214 Text [ en-US ] = "Function result" ; 215 }; 216 FixedText WND_RESULT 217 { 218 Border = TRUE ; 219 Pos = MAP_APPFONT ( 255, 4 ) ; 220 Size = MAP_APPFONT ( 60, 12 ) ; 221 Text [ en-US ] = "Function result" ; 222 }; 223 FixedText FT_FORMULA_RESULT 224 { 225 Pos = MAP_APPFONT ( 217, 149 ) ; 226 Size = MAP_APPFONT ( 35, 10 ) ; 227 Text [ en-US ] = "Result" ; 228 Right = TRUE ; 229 }; 230 Window WND_FORMULA_RESULT 231 { 232 Border = TRUE ; 233 Pos = MAP_APPFONT ( 255, 147 ) ; 234 Size = MAP_APPFONT ( 60, 12 ) ; 235 }; 236 CheckBox BTN_MATRIX 237 { 238 HelpID = "formula:CheckBox:RID_FORMULADLG_FORMULA_MODAL:BTN_MATRIX" ; 239 Pos = MAP_APPFONT ( 6, 208 ) ; 240 Size = MAP_APPFONT ( 50, 10 ) ; 241 TabStop = TRUE ; 242 Text [ en-US ] = "Array" ; 243 }; 244 Edit ED_REF 245 { 246 HelpID = "formula:Edit:RID_FORMULADLG_FORMULA_MODAL:ED_REF" ; 247 Border = TRUE ; 248 Pos = MAP_APPFONT ( 76, 205 ) ; 249 Size = MAP_APPFONT ( 66, 12 ) ; 250 }; 251 ImageButton RB_REF 252 { 253 HelpID = "formula:ImageButton:RID_FORMULADLG_FORMULA_MODAL:RB_REF" ; 254 Pos = MAP_APPFONT ( 144, 205 ) ; 255 Size = MAP_APPFONT ( 13, 15 ) ; 256 TabStop = FALSE ; 257 QuickHelpText [ en-US ] = "Maximize" ; 258 }; 259 HelpButton BTN_HELP 260 { 261 Pos = MAP_APPFONT ( 72, 208 ) ; 262 Size = MAP_APPFONT ( 45, 14 ) ; 263 TabStop = TRUE ; 264 }; 265 CancelButton BTN_CANCEL 266 { 267 Pos = MAP_APPFONT ( 121, 208 ) ; 268 Size = MAP_APPFONT ( 45, 14 ) ; 269 TabStop = TRUE ; 270 }; 271 PushButton BTN_BACKWARD 272 { 273 HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA_MODAL:BTN_BACKWARD" ; 274 Pos = MAP_APPFONT ( 171, 208 ) ; 275 Size = MAP_APPFONT ( 45, 14 ) ; 276 TabStop = TRUE ; 277 Text [ en-US ] = "< ~Back" ; 278 }; 279 PushButton BTN_FORWARD 280 { 281 HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA_MODAL:BTN_FORWARD" ; 282 Pos = MAP_APPFONT ( 219, 208 ) ; 283 Size = MAP_APPFONT ( 45, 14 ) ; 284 TabStop = TRUE ; 285 Text [ en-US ] = "~Next >" ; 286 }; 287 OKButton BTN_END 288 { 289 Pos = MAP_APPFONT ( 270, 208 ) ; 290 Size = MAP_APPFONT ( 45, 14 ) ; 291 TabStop = TRUE ; 292 DefButton = TRUE ; 293 }; 294 String STR_TITLE1 295 { 296 Text [ en-US ] = "Function Wizard" ; 297 }; 298 String STR_TITLE2 299 { 300 Text [ en-US ] = "Function Wizard -" ; 301 }; 302 String STR_END 303 { 304 Text [ en-US ] = "~End" ; 305 }; 306 307}; 308ModelessDialog RID_FORMULADLG_FORMULA 309{ 310 // OutputSize = TRUE ; 311 Hide = TRUE ; 312 SVLook = TRUE ; 313 Size = MAP_APPFONT ( 321, 228 ) ; 314 HelpId = HID_FORMULADLG_FORMULA ; 315 Moveable = TRUE ; 316 TabControl TC_FUNCTION 317 { 318 HelpID = "formula:TabControl:RID_FORMULADLG_FORMULA:TC_FUNCTION" ; 319 Pos = MAP_APPFONT ( 6, 5 ) ; 320 Size = MAP_APPFONT ( 102, 199 ) ; 321 PageList = 322 { 323 PageItem 324 { 325 Identifier = TP_FUNCTION ; 326 Text [ en-US ] = "Functions" ; 327 }; 328 PageItem 329 { 330 Identifier = TP_STRUCT ; 331 Text [ en-US ] = "Structure" ; 332 }; 333 }; 334 }; 335 FixedText FT_HEADLINE 336 { 337 Pos = MAP_APPFONT ( 115, 24 ) ; 338 Size = MAP_APPFONT ( 194, 8 ) ; 339 WordBreak = TRUE ; 340 }; 341 FixedText FT_FUNCNAME 342 { 343 Pos = MAP_APPFONT ( 115, 38 ) ; 344 Size = MAP_APPFONT ( 194, 24 ) ; 345 WordBreak = TRUE ; 346 }; 347 FixedText FT_FUNCDESC 348 { 349 Pos = MAP_APPFONT ( 115, 68 ) ; 350 Size = MAP_APPFONT ( 194, 64 ) ; 351 WordBreak = TRUE ; 352 }; 353 FixedText FT_EDITNAME 354 { 355 Pos = MAP_APPFONT ( 113, 6 ) ; 356 Size = MAP_APPFONT ( 83, 10 ) ; 357 }; 358 GroupBox GB_EDIT 359 { 360 Pos = MAP_APPFONT ( 112, 18 ) ; 361 Size = MAP_APPFONT ( 203, 128 ) ; 362 }; 363 FixedText FT_FORMULA 364 { 365 Pos = MAP_APPFONT ( 112, 151 ) ; 366 Size = MAP_APPFONT ( 50, 10 ) ; 367 WordBreak = TRUE ; 368 Text [ en-US ] = "For~mula" ; 369 }; 370 Control ED_FORMULA 371 { 372 Border = TRUE ; 373 Pos = MAP_APPFONT ( 112, 161 ) ; 374 Size = MAP_APPFONT ( 203, 43 ) ; 375 HelpId = HID_FORMULA_FAP_FORMULA ; 376 }; 377 FixedText FT_RESULT 378 { 379 Pos = MAP_APPFONT ( 198, 6 ) ; 380 Size = MAP_APPFONT ( 55, 10 ) ; 381 Right = TRUE ; 382 Text [ en-US ] = "Function result" ; 383 }; 384 Window WND_RESULT 385 { 386 Border = TRUE ; 387 Pos = MAP_APPFONT ( 255, 4 ) ; 388 Size = MAP_APPFONT ( 60, 12 ) ; 389 }; 390 FixedText FT_FORMULA_RESULT 391 { 392 Pos = MAP_APPFONT ( 217, 149 ) ; 393 Size = MAP_APPFONT ( 35, 10 ) ; 394 Text [ en-US ] = "Result" ; 395 Right = TRUE ; 396 }; 397 Window WND_FORMULA_RESULT 398 { 399 Border = TRUE ; 400 Pos = MAP_APPFONT ( 255, 147 ) ; 401 Size = MAP_APPFONT ( 60, 12 ) ; 402 }; 403 CheckBox BTN_MATRIX 404 { 405 HelpID = "formula:CheckBox:RID_FORMULADLG_FORMULA:BTN_MATRIX" ; 406 Pos = MAP_APPFONT ( 6, 208 ) ; 407 Size = MAP_APPFONT ( 50, 10 ) ; 408 TabStop = TRUE ; 409 Text [ en-US ] = "Array" ; 410 }; 411 Edit ED_REF 412 { 413 HelpID = "formula:Edit:RID_FORMULADLG_FORMULA:ED_REF" ; 414 Border = TRUE ; 415 Pos = MAP_APPFONT ( 76, 205 ) ; 416 Size = MAP_APPFONT ( 66, 12 ) ; 417 }; 418 ImageButton RB_REF 419 { 420 HelpID = "formula:ImageButton:RID_FORMULADLG_FORMULA:RB_REF" ; 421 Pos = MAP_APPFONT ( 144, 205 ) ; 422 Size = MAP_APPFONT ( 13, 15 ) ; 423 TabStop = FALSE ; 424 QuickHelpText [ en-US ] = "Maximize" ; 425 }; 426 HelpButton BTN_HELP 427 { 428 Pos = MAP_APPFONT ( 72, 208 ) ; 429 Size = MAP_APPFONT ( 45, 14 ) ; 430 TabStop = TRUE ; 431 }; 432 CancelButton BTN_CANCEL 433 { 434 Pos = MAP_APPFONT ( 121, 208 ) ; 435 Size = MAP_APPFONT ( 45, 14 ) ; 436 TabStop = TRUE ; 437 }; 438 PushButton BTN_BACKWARD 439 { 440 HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA:BTN_BACKWARD" ; 441 Pos = MAP_APPFONT ( 171, 208 ) ; 442 Size = MAP_APPFONT ( 45, 14 ) ; 443 TabStop = TRUE ; 444 Text [ en-US ] = "< ~Back" ; 445 }; 446 PushButton BTN_FORWARD 447 { 448 HelpID = "formula:PushButton:RID_FORMULADLG_FORMULA:BTN_FORWARD" ; 449 Pos = MAP_APPFONT ( 219, 208 ) ; 450 Size = MAP_APPFONT ( 45, 14 ) ; 451 TabStop = TRUE ; 452 Text [ en-US ] = "~Next >" ; 453 }; 454 OKButton BTN_END 455 { 456 Pos = MAP_APPFONT ( 270, 208 ) ; 457 Size = MAP_APPFONT ( 45, 14 ) ; 458 TabStop = TRUE ; 459 DefButton = TRUE ; 460 }; 461 String STR_TITLE1 462 { 463 Text [ en-US ] = "Function Wizard" ; 464 }; 465 String STR_TITLE2 466 { 467 Text [ en-US ] = "Function Wizard -" ; 468 }; 469 String STR_END 470 { 471 Text [ en-US ] = "~End" ; 472 }; 473}; 474 475 476Image RID_BMP_REFBTN1 477{ 478 ImageBitmap = Bitmap 479 { 480 File = "refinp1.png" ; 481 }; 482}; 483 484Image RID_BMP_REFBTN1_H 485{ 486 ImageBitmap = Bitmap 487 { 488 File = "refinp1_h.png" ; 489 }; 490}; 491 492Image RID_BMP_REFBTN2 493{ 494 ImageBitmap = Bitmap 495 { 496 File = "refinp2.png" ; 497 }; 498}; 499 500Image RID_BMP_REFBTN2_H 501{ 502 ImageBitmap = Bitmap 503 { 504 File = "refinp2_h.png" ; 505 }; 506}; 507 508// ********************************************************************** EOF 509