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 <mailconfigpage.hrc> 23#include <config.hrc> 24#include <helpid.h> 25#include <cmdid.h> 26#include <globals.hrc> 27 28TabPage TP_MAILCONFIG 29{ 30 HelpID = HID_TP_MAILCONFIG ; 31 Size = MAP_APPFONT ( 260, 185 ) ; 32 Hide = TRUE ; 33 Text [ en-US ] = "Mail Merge E-mail" ; 34 35 FixedLine FL_IDENTITY 36 { 37 Pos = MAP_APPFONT ( 6, 3 ) ; 38 Size = MAP_APPFONT ( 248, 8 ) ; 39 Text [ en-US ] = "User information" ; 40 }; 41 FixedText FT_DISPLAYNAME 42 { 43 Pos = MAP_APPFONT ( 12, 16 ) ; 44 Size = MAP_APPFONT ( 74, 8 ) ; 45 Text [ en-US ] = "~Your name" ; 46 }; 47 Edit ED_DISPLAYNAME 48 { 49 HelpID = "sw:Edit:TP_MAILCONFIG:ED_DISPLAYNAME" ; 50 Pos = MAP_APPFONT ( 88, 14 ) ; 51 Size = MAP_APPFONT ( 160, 12 ) ; 52 Border = TRUE ; 53 }; 54 FixedText FT_ADDRESS 55 { 56 Pos = MAP_APPFONT ( 12, 31 ) ; 57 Size = MAP_APPFONT ( 74, 8 ) ; 58 Text [ en-US ] = "~E-Mail address" ; 59 }; 60 Edit ED_ADDRESS 61 { 62 HelpID = "sw:Edit:TP_MAILCONFIG:ED_ADDRESS" ; 63 Pos = MAP_APPFONT ( 88, 29 ) ; 64 Size = MAP_APPFONT ( 160, 12 ) ; 65 Border = TRUE ; 66 }; 67 CheckBox CB_REPLYTO 68 { 69 HelpID = "sw:CheckBox:TP_MAILCONFIG:CB_REPLYTO" ; 70 Pos = MAP_APPFONT ( 12, 45 ) ; 71 Size = MAP_APPFONT ( 242, 10 ) ; 72 Text [ en-US ] = "Send replies to ~different e-mail address" ; 73 }; 74 FixedText FT_REPLYTO 75 { 76 Pos = MAP_APPFONT ( 18, 60 ) ; 77 Size = MAP_APPFONT ( 68, 8 ) ; 78 Text [ en-US ] = "~Reply address" ; 79 }; 80 Edit ED_REPLYTO 81 { 82 HelpID = "sw:Edit:TP_MAILCONFIG:ED_REPLYTO" ; 83 Pos = MAP_APPFONT ( 88, 58 ) ; 84 Size = MAP_APPFONT ( 160, 12 ) ; 85 Border = TRUE ; 86 }; 87 FixedLine FL_SMTP 88 { 89 Pos = MAP_APPFONT ( 6, 76 ) ; 90 Size = MAP_APPFONT ( 248, 8 ) ; 91 Text [ en-US ] = "Outgoing server (SMTP) Settings" ; 92 }; 93 FixedText FT_SERVER 94 { 95 Pos = MAP_APPFONT ( 12, 89 ) ; 96 Size = MAP_APPFONT ( 74, 8 ) ; 97 Text [ en-US ] = "~Server name" ; 98 }; 99 Edit ED_SERVER 100 { 101 HelpID = "sw:Edit:TP_MAILCONFIG:ED_SERVER" ; 102 Pos = MAP_APPFONT ( 88, 87 ) ; 103 Size = MAP_APPFONT ( 105, 12 ) ; 104 Border = TRUE ; 105 }; 106 FixedText FT_PORT 107 { 108 Pos = MAP_APPFONT ( 197, 89 ) ; 109 Size = MAP_APPFONT ( 24, 8 ) ; 110 Right = TRUE ; 111 Text [ en-US ] = "~Port" ; 112 }; 113 NumericField NF_PORT 114 { 115 HelpID = "sw:NumericField:TP_MAILCONFIG:NF_PORT" ; 116 Pos = MAP_APPFONT ( 223, 87 ) ; 117 Size = MAP_APPFONT ( 25, 12 ) ; 118 Border = TRUE ; 119 Left = TRUE ; 120 First = 1 ; 121 Minimum = 1 ; 122 Maximum = 65535 ; 123 Repeat = TRUE ; 124 Spin = FALSE ; 125 TabStop = TRUE ; 126 }; 127 CheckBox CB_SECURE 128 { 129 HelpID = "sw:CheckBox:TP_MAILCONFIG:CB_SECURE" ; 130 Pos = MAP_APPFONT ( 12, 104 ) ; 131 Size = MAP_APPFONT ( 242, 10 ) ; 132 Text [ en-US ] = "~Use secure connection (SSL)" ; 133 }; 134 PushButton PB_AUTHENTICATION 135 { 136 HelpID = "sw:PushButton:TP_MAILCONFIG:PB_AUTHENTICATION" ; 137 Pos = MAP_APPFONT ( 88, 118 ) ; 138 Size = MAP_APPFONT ( 105, 14 ) ; 139 Text [ en-US ] = "Server Au~thentication" ; 140 }; 141 FixedLine FL_SEPARATOR 142 { 143 Pos = MAP_APPFONT ( 6, 156 ) ; 144 Size = MAP_APPFONT ( 248, 8 ) ; 145 }; 146 PushButton PB_TEST 147 { 148 HelpID = "sw:PushButton:TP_MAILCONFIG:PB_TEST" ; 149 Pos = MAP_APPFONT ( 88, 164 ) ; 150 Size = MAP_APPFONT ( 105, 14 ) ; 151 Text [ en-US ] = "Test S~ettings..." ; 152 }; 153}; 154ModalDialog DLG_MM_TESTACCOUNTSETTINGS 155{ 156 OutputSize = TRUE ; 157 SVLook = TRUE ; 158 HelpID = HID_MM_TESTACCOUNTSETTINGS ; 159 Size = MAP_APPFONT ( 250, 176 ) ; 160 Moveable = TRUE ; 161 162 Text [ en-US ] = "Test Account Settings" ; 163 164 FixedText FI_INFO 165 { 166 Pos = MAP_APPFONT ( 6, 3 ) ; 167 Size = MAP_APPFONT ( 238, 8 ) ; 168 Text [ en-US ] = "%PRODUCTNAME is testing the e-mail account settings..." ; 169 }; 170 Control LB_STATUS 171 { 172 Pos = MAP_APPFONT ( 6, 14 ) ; 173 Size = MAP_APPFONT ( 238, 50 ) ; 174 Border = TRUE ; 175 }; 176 FixedText FI_ERROR 177 { 178 Pos = MAP_APPFONT ( 6, 68 ) ; 179 Size = MAP_APPFONT ( 238, 8 ) ; 180 Text [ en-US ] = "Errors" ; 181 }; 182 MultiLineEdit ED_ERROR 183 { 184 HelpID = "sw:MultiLineEdit:DLG_MM_TESTACCOUNTSETTINGS:ED_ERROR" ; 185 Pos = MAP_APPFONT ( 6, 79 ) ; 186 Size = MAP_APPFONT ( 238, 60 ) ; 187 Border = TRUE ; 188 Readonly = TRUE ; 189 }; 190 FixedLine FL_SEPAPARATOR 191 { 192 Pos = MAP_APPFONT ( 0, 145 ) ; 193 Size = MAP_APPFONT ( 250, 8 ) ; 194 }; 195 PushButton PB_STOP 196 { 197 HelpID = "sw:PushButton:DLG_MM_TESTACCOUNTSETTINGS:PB_STOP" ; 198 Pos = MAP_APPFONT ( 85, 156 ) ; 199 Size = MAP_APPFONT ( 50, 14 ) ; 200 Text [ en-US ] = "~Stop" ; 201 }; 202 CancelButton PB_CANCEL 203 { 204 Pos = MAP_APPFONT ( 138, 156 ) ; 205 Size = MAP_APPFONT ( 50, 14 ) ; 206 }; 207 HelpButton PB_HELP 208 { 209 Pos = MAP_APPFONT ( 194, 156 ) ; 210 Size = MAP_APPFONT ( 50, 14 ) ; 211 }; 212 #define IMGLIST_IDS\ 213 IdList = \ 214 { \ 215 FN_FORMULA_CANCEL ; \ 216 FN_FORMULA_APPLY ; \ 217 }; \ 218 IdCount = 2 219 ImageList ILIST 220 { 221 Prefix = "sc" ; 222 MaskColor = IMAGE_MASK_COLOR ; 223 IMGLIST_IDS ; 224 }; 225 ImageList ILIST_HC 226 { 227 Prefix = "sch" ; 228 MaskColor = IMAGE_MASK_COLOR ; 229 IMGLIST_IDS ; 230 }; 231 String ST_TASK 232 { 233 Text [ en-US ] = "Task" ; 234 }; 235 String ST_STATUS 236 { 237 Text [ en-US ] = "Status" ; 238 }; 239 String ST_ESTABLISH 240 { 241 Text [ en-US ] = "Establish network connection" ; 242 }; 243 String ST_FINDSERVER 244 { 245 Text [ en-US ] = "Find outgoing mail server" ; 246 }; 247 String ST_COMPLETED 248 { 249 Text [ en-US ] = "Successful" ; 250 }; 251 String ST_FAILED 252 { 253 Text [ en-US ] = "Failed" ; 254 }; 255 String ST_ERROR_SERVER 256 { 257 Text [ en-US ] = "%PRODUCTNAME could not connect to the outgoing mail server. Check your system's settings and the settings in %PRODUCTNAME. Check the server name, the port and the secure connections settings" ; 258 }; 259}; 260ModalDialog DLG_MM_SERVERAUTHENTICATION 261{ 262 OutputSize = TRUE ; 263 SVLook = TRUE ; 264 HelpID = HID_MM_SERVERAUTHENTICATION ; 265 Size = MAP_APPFONT ( 250, 211 ) ; 266 Moveable = TRUE ; 267 Text [ en-US ] = "Server Authentication" ; 268 269 CheckBox CB_AUTHENTICATION 270 { 271 HelpID = "sw:CheckBox:DLG_MM_SERVERAUTHENTICATION:CB_AUTHENTICATION" ; 272 Pos = MAP_APPFONT ( 6, 3 ) ; 273 Size = MAP_APPFONT ( 238, 10 ) ; 274 Text [ en-US ] = "The outgoing mail server (SMTP) requires au~thentication" ; 275 }; 276 RadioButton RB_SEP_AUTHENTICATION 277 { 278 HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_SEP_AUTHENTICATION" ; 279 Pos = MAP_APPFONT ( 12, 17 ) ; 280 Size = MAP_APPFONT ( 232, 10 ) ; 281 Text [ en-US ] = "The outgoing mail server (SMTP) requires ~separate authentication" ; 282 }; 283 FixedText FT_OUTGOINGSERVER 284 { 285 Pos = MAP_APPFONT ( 18, 31 ) ; 286 Size = MAP_APPFONT ( 200, 8 ) ; 287 Text [ en-US ] = "Outgoing mail server:" ; 288 }; 289 FixedText FT_USERNAME 290 { 291 Pos = MAP_APPFONT ( 18, 44 ) ; 292 Size = MAP_APPFONT ( 53, 8 ) ; 293 Text [ en-US ] = "~User name" ; 294 }; 295 Edit ED_USERNAME 296 { 297 HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_USERNAME" ; 298 Pos = MAP_APPFONT ( 78, 42 ) ; 299 Size = MAP_APPFONT ( 115, 12 ) ; 300 Border = TRUE ; 301 }; 302 FixedText FT_OUTPASSWORD 303 { 304 Pos = MAP_APPFONT ( 18, 59 ) ; 305 Size = MAP_APPFONT ( 53, 8 ) ; 306 Text [ en-US ] = "~Password" ; 307 }; 308 Edit ED_OUTPASSWORD 309 { 310 HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_OUTPASSWORD" ; 311 Pos = MAP_APPFONT ( 78, 57 ) ; 312 Size = MAP_APPFONT ( 115, 12 ) ; 313 Border = TRUE ; 314 PassWord = TRUE ; 315 }; 316 RadioButton RB_SMTPAFTERPOP 317 { 318 HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_SMTPAFTERPOP" ; 319 Pos = MAP_APPFONT ( 12, 73 ) ; 320 Size = MAP_APPFONT ( 232, 20 ) ; 321 WordBreak = TRUE ; 322 Text [ en-US ] = "The outgoing mail server uses the same authentication as the ~incoming mail server. Enter the settings of the incoming mail server." ; 323 }; 324 FixedText FT_INCOMINGSERVER 325 { 326 Pos = MAP_APPFONT ( 18, 97 ) ; 327 Size = MAP_APPFONT ( 230, 8 ) ; 328 Text [ en-US ] = "Incoming mail server:" ; 329 }; 330 FixedText FT_SERVER 331 { 332 Pos = MAP_APPFONT ( 18, 110 ) ; 333 Size = MAP_APPFONT ( 53, 8 ) ; 334 Text [ en-US ] = "Server ~name" ; 335 }; 336 Edit ED_SERVER 337 { 338 HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_SERVER" ; 339 Pos = MAP_APPFONT ( 78, 108 ) ; 340 Size = MAP_APPFONT ( 115, 12 ) ; 341 Border = TRUE ; 342 }; 343 FixedText FT_PORT 344 { 345 Pos = MAP_APPFONT ( 195, 110 ) ; 346 Size = MAP_APPFONT ( 20, 10 ) ; 347 Right = TRUE ; 348 Text [ en-US ] = "P~ort" ; 349 }; 350 NumericField NF_PORT 351 { 352 HelpID = "sw:NumericField:DLG_MM_SERVERAUTHENTICATION:NF_PORT" ; 353 Pos = MAP_APPFONT ( 219, 108 ) ; 354 Size = MAP_APPFONT ( 25, 12 ) ; 355 Border = TRUE ; 356 Left = TRUE ; 357 First = 1 ; 358 Minimum = 1 ; 359 Maximum = 65535 ; 360 Repeat = TRUE ; 361 Spin = FALSE ; 362 TabStop = TRUE ; 363 }; 364 FixedText FT_PROTOCOL 365 { 366 Pos = MAP_APPFONT ( 18, 126 ) ; 367 Size = MAP_APPFONT ( 53, 8 ) ; 368 Text [ en-US ] = "Type" ; 369 }; 370 RadioButton RB_POP3 371 { 372 HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_POP3" ; 373 Pos = MAP_APPFONT ( 78, 125 ) ; 374 Size = MAP_APPFONT ( 115, 10 ) ; 375 Text [ en-US ] = "~POP3" ; 376 }; 377 RadioButton RB_IMAP 378 { 379 HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_IMAP" ; 380 Pos = MAP_APPFONT ( 78, 138 ) ; 381 Size = MAP_APPFONT ( 115, 10 ) ; 382 Text [ en-US ] = "~IMAP" ; 383 }; 384 FixedText FT_INUSERNAME 385 { 386 Pos = MAP_APPFONT ( 18, 152 ) ; 387 Size = MAP_APPFONT ( 53, 8 ) ; 388 Text [ en-US ] = "Us~er name" ; 389 }; 390 Edit ED_INUSERNAME 391 { 392 HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_INUSERNAME" ; 393 Pos = MAP_APPFONT ( 78, 150 ) ; 394 Size = MAP_APPFONT ( 115, 12 ) ; 395 Border = TRUE ; 396 }; 397 FixedText FT_INPASSWORD 398 { 399 Pos = MAP_APPFONT ( 18, 167 ) ; 400 Size = MAP_APPFONT ( 53, 8 ) ; 401 Text [ en-US ] = "Pass~word" ; 402 }; 403 Edit ED_INPASSWORD 404 { 405 HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_INPASSWORD" ; 406 Pos = MAP_APPFONT ( 78, 165 ) ; 407 Size = MAP_APPFONT ( 115, 12 ) ; 408 Border = TRUE ; 409 PassWord = TRUE ; 410 }; 411 FixedLine FL_SEPARATOR 412 { 413 Pos = MAP_APPFONT ( 0, 183 ) ; 414 Size = MAP_APPFONT ( 250, 8 ) ; 415 }; 416 OKButton PB_OK 417 { 418 Pos = MAP_APPFONT ( 85, 191 ) ; 419 Size = MAP_APPFONT ( 50, 14 ) ; 420 }; 421 CancelButton PB_CANCEL 422 { 423 Pos = MAP_APPFONT ( 138, 191 ) ; 424 Size = MAP_APPFONT ( 50, 14 ) ; 425 }; 426 HelpButton PB_HELP 427 { 428 Pos = MAP_APPFONT ( 194, 191 ) ; 429 Size = MAP_APPFONT ( 50, 14 ) ; 430 }; 431}; 432 433// ********************************************************************** EOF 434