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