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