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