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// #pragma ****************************************************************** 23 24// #include ***************************************************************** 25#include "envfmt.hrc" 26#include "helpid.h" 27 28// TP_ENV_FMT --------------------------------------------------------------- 29TabPage TP_ENV_FMT 30{ 31 HelpID = HID_ENV_FMT ; 32 Size = MAP_APPFONT ( 260, 185 ) ; 33 Hide = TRUE ; 34 FixedLine FL_ADDRESSEE 35 { 36 Pos = MAP_APPFONT ( 6, 3 ) ; 37 Size = MAP_APPFONT ( 248, 8 ) ; 38 Text [ en-US ] = "Addressee" ; 39 }; 40 FixedText TXT_ADDR_POS 41 { 42 Pos = MAP_APPFONT ( 12, 14 ) ; 43 Size = MAP_APPFONT ( 40, 8 ) ; 44 Left = TRUE ; 45 Text [ en-US ] = "Position" ; 46 }; 47 FixedText TXT_ADDR_LEFT 48 { 49 Pos = MAP_APPFONT ( 18, 27 ) ; 50 Size = MAP_APPFONT ( 40, 8 ) ; 51 Left = TRUE ; 52 Text [ en-US ] = "from left" ; 53 }; 54 MetricField FLD_ADDR_LEFT 55 { 56 HelpID = "sw:MetricField:TP_ENV_FMT:FLD_ADDR_LEFT" ; 57 Border = TRUE ; 58 Pos = MAP_APPFONT ( 60, 25 ) ; 59 Size = MAP_APPFONT ( 40, 12 ) ; 60 TabStop = TRUE ; 61 Left = TRUE ; 62 Spin = TRUE ; 63 DecimalDigits = 2 ; 64 Unit = FUNIT_CM ; 65 Minimum = 0 ; 66 Maximum = 10000 ; 67 First = 0 ; 68 Last = 10000 ; 69 SpinSize = 10 ; 70 Repeat = TRUE ; 71 }; 72 FixedText TXT_ADDR_TOP 73 { 74 Pos = MAP_APPFONT ( 18, 43 ) ; 75 Size = MAP_APPFONT ( 40, 8 ) ; 76 Left = TRUE ; 77 Text [ en-US ] = "from top" ; 78 }; 79 MetricField FLD_ADDR_TOP 80 { 81 HelpID = "sw:MetricField:TP_ENV_FMT:FLD_ADDR_TOP" ; 82 Border = TRUE ; 83 Pos = MAP_APPFONT ( 60, 41 ) ; 84 Size = MAP_APPFONT ( 40, 12 ) ; 85 TabStop = TRUE ; 86 Left = TRUE ; 87 Spin = TRUE ; 88 DecimalDigits = 2 ; 89 Unit = FUNIT_CM ; 90 Minimum = 0 ; 91 Maximum = 10000 ; 92 First = 0 ; 93 Last = 10000 ; 94 SpinSize = 10 ; 95 Repeat = TRUE ; 96 }; 97 FixedText TXT_ADDR_FORMAT 98 { 99 Pos = MAP_APPFONT ( 149, 27 ) ; 100 Size = MAP_APPFONT ( 40, 8 ) ; 101 Left = TRUE ; 102 Text [ en-US ] = "Format" ; 103 }; 104 MenuButton BTN_ADDR_EDIT 105 { 106 HelpID = "sw:MenuButton:TP_ENV_FMT:BTN_ADDR_EDIT" ; 107 Pos = MAP_APPFONT ( 194, 24 ) ; 108 Size = MAP_APPFONT ( 50, 14 ) ; 109 TabStop = TRUE ; 110 Text [ en-US ] = "Edit" ; 111 }; 112 FixedLine FL_SENDER 113 { 114 Pos = MAP_APPFONT ( 6, 56 ) ; 115 Size = MAP_APPFONT ( 248, 8 ) ; 116 Text [ en-US ] = "Sender" ; 117 }; 118 FixedText TXT_SEND_POS 119 { 120 Pos = MAP_APPFONT ( 12, 67 ) ; 121 Size = MAP_APPFONT ( 40, 8 ) ; 122 Left = TRUE ; 123 Text [ en-US ] = "Position" ; 124 }; 125 FixedText TXT_SEND_LEFT 126 { 127 Pos = MAP_APPFONT ( 18, 80 ) ; 128 Size = MAP_APPFONT ( 40, 8 ) ; 129 Left = TRUE ; 130 Text [ en-US ] = "from left" ; 131 }; 132 MetricField FLD_SEND_LEFT 133 { 134 HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SEND_LEFT" ; 135 Border = TRUE ; 136 Pos = MAP_APPFONT ( 60, 78 ) ; 137 Size = MAP_APPFONT ( 40, 12 ) ; 138 TabStop = TRUE ; 139 Left = TRUE ; 140 Spin = TRUE ; 141 DecimalDigits = 2 ; 142 Unit = FUNIT_CM ; 143 Minimum = 0 ; 144 Maximum = 10000 ; 145 First = 0 ; 146 Last = 10000 ; 147 SpinSize = 10 ; 148 Repeat = TRUE ; 149 }; 150 FixedText TXT_SEND_TOP 151 { 152 Pos = MAP_APPFONT ( 18, 96 ) ; 153 Size = MAP_APPFONT ( 40, 8 ) ; 154 Left = TRUE ; 155 Text [ en-US ] = "from top" ; 156 }; 157 MetricField FLD_SEND_TOP 158 { 159 HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SEND_TOP" ; 160 Border = TRUE ; 161 Pos = MAP_APPFONT ( 60, 94 ) ; 162 Size = MAP_APPFONT ( 40, 12 ) ; 163 TabStop = TRUE ; 164 Left = TRUE ; 165 Spin = TRUE ; 166 DecimalDigits = 2 ; 167 Unit = FUNIT_CM ; 168 Minimum = 0 ; 169 Maximum = 10000 ; 170 First = 0 ; 171 Last = 10000 ; 172 SpinSize = 10 ; 173 Repeat = TRUE ; 174 }; 175 FixedText TXT_SEND_FORMAT 176 { 177 Pos = MAP_APPFONT ( 149, 80 ) ; 178 Size = MAP_APPFONT ( 40, 8 ) ; 179 Left = TRUE ; 180 Text [ en-US ] = "Format" ; 181 }; 182 MenuButton BTN_SEND_EDIT 183 { 184 HelpID = "sw:MenuButton:TP_ENV_FMT:BTN_SEND_EDIT" ; 185 Pos = MAP_APPFONT ( 194, 77 ) ; 186 Size = MAP_APPFONT ( 50, 14 ) ; 187 Text [ en-US ] = "Edit" ; 188 TabStop = TRUE ; 189 }; 190 FixedLine FL_SIZE 191 { 192 Pos = MAP_APPFONT ( 6, 109 ) ; 193 Size = MAP_APPFONT ( 148, 8 ) ; 194 Text [ en-US ] = "Size" ; 195 }; 196 FixedText TXT_SIZE_FORMAT 197 { 198 Pos = MAP_APPFONT ( 12, 122 ) ; 199 Size = MAP_APPFONT ( 40, 8 ) ; 200 Text [ en-US ] = "F~ormat" ; 201 Left = TRUE ; 202 }; 203 ListBox BOX_SIZE_FORMAT 204 { 205 HelpID = "sw:ListBox:TP_ENV_FMT:BOX_SIZE_FORMAT" ; 206 Border = TRUE ; 207 Pos = MAP_APPFONT ( 60, 120 ) ; 208 Size = MAP_APPFONT ( 40, 72 ) ; 209 TabStop = TRUE ; 210 DropDown = TRUE ; 211 }; 212 FixedText TXT_SIZE_WIDTH 213 { 214 Pos = MAP_APPFONT ( 12, 138 ) ; 215 Size = MAP_APPFONT ( 40, 8 ) ; 216 Text [ en-US ] = "~Width" ; 217 Left = TRUE ; 218 }; 219 MetricField FLD_SIZE_WIDTH 220 { 221 HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SIZE_WIDTH" ; 222 Border = TRUE ; 223 Pos = MAP_APPFONT ( 60, 136 ) ; 224 Size = MAP_APPFONT ( 40, 12 ) ; 225 TabStop = TRUE ; 226 Left = TRUE ; 227 Spin = TRUE ; 228 DecimalDigits = 2 ; 229 Unit = FUNIT_CM ; 230 Minimum = 500 ; 231 Maximum = 10000 ; 232 First = 500 ; 233 Last = 10000 ; 234 SpinSize = 10 ; 235 Repeat = TRUE ; 236 }; 237 FixedText TXT_SIZE_HEIGHT 238 { 239 Pos = MAP_APPFONT ( 12, 154 ) ; 240 Size = MAP_APPFONT ( 40, 8 ) ; 241 Left = TRUE ; 242 Text [ en-US ] = "~Height" ; 243 }; 244 MetricField FLD_SIZE_HEIGHT 245 { 246 HelpID = "sw:MetricField:TP_ENV_FMT:FLD_SIZE_HEIGHT" ; 247 Border = TRUE ; 248 Pos = MAP_APPFONT ( 60, 152 ) ; 249 Size = MAP_APPFONT ( 40, 12 ) ; 250 TabStop = TRUE ; 251 Left = TRUE ; 252 Spin = TRUE ; 253 DecimalDigits = 2 ; 254 Unit = FUNIT_CM ; 255 Minimum = 500 ; 256 Maximum = 10000 ; 257 First = 500 ; 258 Last = 10000 ; 259 SpinSize = 10 ; 260 Repeat = TRUE ; 261 }; 262 Window WIN_PREVIEW 263 { 264 Border = TRUE ; 265 Pos = MAP_APPFONT ( 160, 116 ) ; 266 Size = MAP_APPFONT ( 84, 63 ) ; 267 }; 268}; 269 270// Menu ********************************************************************* 271Menu MNU_EDIT 272{ 273 ItemList = 274 { 275 MenuItem 276 { 277 IDENTIFIER = MID_CHAR ; 278 Text [ en-US ] = "C~haracter..." ; 279 }; 280 MenuItem 281 { 282 IDENTIFIER = MID_PARA ; 283 Text [ en-US ] = "P~aragraph..." ; 284 }; 285 }; 286}; 287 288// ********************************************************************** EOF 289