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 "parawin.hrc" 23#include "ForResId.hrc" 24#include "helpids.hrc" 25 26 //--------------------------------------------------------------------------- 27 28#define FT_ARGBLOCK( y ) \ 29 Pos = MAP_APPFONT (6, y ) ; \ 30 Size = MAP_APPFONT ( 74, 8 ) ; \ 31 Right = TRUE ; 32 33#define FXBUTTONBLOCK( y ) \ 34 Pos = MAP_APPFONT (83, y-1 ) ; \ 35 Size = MAP_APPFONT ( 13, 15 ) ; \ 36 TabStop = TRUE ; \ 37 ButtonImage = Image \ 38 {\ 39 ImageBitmap = Bitmap \ 40 {\ 41 File = "fx.png" ; \ 42 };\ 43 }; 44 45#define ED_ARGBLOCK( y ) \ 46 Border = TRUE ; \ 47 Pos = MAP_APPFONT ( 98, y ) ; \ 48 Size = MAP_APPFONT ( 66, 12 ) ; \ 49 TabStop = TRUE ; 50 51#define RB_ARGBLOCK( y ) \ 52 Pos = MAP_APPFONT ( 166, y-1 ) ; \ 53 Size = MAP_APPFONT ( 13, 15 ) ; \ 54 TabStop = FALSE ; \ 55 QuickHelpText [ en-US ] = "Select" ; \ 56 57 //--------------------------------------------------------------------------- 58 59 // now everything together 60 61TabPage RID_FORMULATAB_PARAMETER 62{ 63 HelpID = "formula:TabPage:RID_FORMULATAB_PARAMETER" ; 64 Border = FALSE ; 65 Size = MAP_APPFONT ( 203, 128 ) ; 66 DialogControl = TRUE ; 67 SVLook = TRUE ; 68 69 FixedText FT_EDITDESC 70 { 71 Pos = MAP_APPFONT ( 3, 6 ) ; 72 Size = MAP_APPFONT ( 198, 20 ) ; 73 WordBreak = TRUE ; 74 Text [ en-US ] = "Function not known" ; 75 }; 76 77 FixedText FT_PARNAME 78 { 79 Pos = MAP_APPFONT ( 3, 29) ; 80 Size = MAP_APPFONT ( 198, 10 ) ; 81 }; 82 FixedText FT_PARDESC 83 { 84 Pos = MAP_APPFONT ( 3, 42 ) ; 85 Size = MAP_APPFONT ( 198, 20 ) ; 86 WordBreak = TRUE ; 87 }; 88 89 FixedText FT_ARG1 { FT_ARGBLOCK ( 66 ) } ; 90 FixedText FT_ARG2 { FT_ARGBLOCK ( 81 ) } ; 91 FixedText FT_ARG3 { FT_ARGBLOCK ( 96 ) } ; 92 FixedText FT_ARG4 { FT_ARGBLOCK ( 111 ) } ; 93 94 ImageButton BTN_FX1 95 { 96 HelpId=HID_FORMULA_FAP_BTN_FX1 ; 97 FXBUTTONBLOCK ( 64 ) 98 }; 99 ImageButton BTN_FX2 100 { 101 HelpId=HID_FORMULA_FAP_BTN_FX2 ; 102 FXBUTTONBLOCK ( 79 ) 103 }; 104 105 ImageButton BTN_FX3 106 { 107 HelpId=HID_FORMULA_FAP_BTN_FX3 ; 108 FXBUTTONBLOCK ( 94 ) 109 }; 110 ImageButton BTN_FX4 111 { 112 HelpId=HID_FORMULA_FAP_BTN_FX4 ; 113 FXBUTTONBLOCK ( 109 ) 114 }; 115 Edit ED_ARG1 { ED_ARGBLOCK ( 64 ) 116 HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG1" ; 117 }; 118 Edit ED_ARG2 { ED_ARGBLOCK ( 79 ) 119 HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG2" ; 120 }; 121 Edit ED_ARG3 { ED_ARGBLOCK ( 94 ) 122 HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG3" ; 123 }; 124 Edit ED_ARG4 { ED_ARGBLOCK ( 109 ) 125 HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG4" ; 126 }; 127 128 ImageButton RB_ARG1 129 { 130 HelpId=HID_FORMULA_FAP_BTN_REF1 ; 131 RB_ARGBLOCK ( 64 ) 132 }; 133 134 ImageButton RB_ARG2 135 { 136 HelpId=HID_FORMULA_FAP_BTN_REF2 ; 137 RB_ARGBLOCK ( 79 ) 138 }; 139 ImageButton RB_ARG3 140 { 141 HelpId=HID_FORMULA_FAP_BTN_REF3 ; 142 RB_ARGBLOCK ( 94 ) 143 }; 144 ImageButton RB_ARG4 145 { 146 HelpId=HID_FORMULA_FAP_BTN_REF4 ; 147 RB_ARGBLOCK ( 109 ) 148 }; 149 150 ScrollBar WND_SLIDER 151 { 152 Pos = MAP_APPFONT ( 183, 63 ) ; 153 Size = MAP_APPFONT ( 8, 59 ) ; 154 VScroll = TRUE ; 155 }; 156 157 String STR_OPTIONAL 158 { 159 Text [ en-US ] = "(optional)" ; 160 }; 161 String STR_REQUIRED 162 { 163 Text [ en-US ] = "(required)" ; 164 }; 165 166 Image IMG_FX_H 167 { 168 ImageBitmap = Bitmap { File = "fx_h.png" ; }; 169 }; 170}; 171 172// ********************************************************************** EOF 173