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