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 #ifndef _MAILCONFIGPAGE_HXX 28 #define _MAILCONFIGPAGE_HXX 29 30 #include <sfx2/tabdlg.hxx> 31 #ifndef _BUTTON_HXX 32 #include <vcl/button.hxx> 33 #endif 34 #ifndef _LSTBOX_HXX 35 #include <vcl/lstbox.hxx> 36 #endif 37 #ifndef _FIELD_HXX 38 #include <vcl/field.hxx> 39 #endif 40 #ifndef _FIXED_HXX 41 #include <vcl/fixed.hxx> 42 #endif 43 #include <sfx2/basedlgs.hxx> 44 45 class SwTestAccountSettingsDialog; 46 class SwMailMergeConfigItem; 47 /*-- 05.05.2004 16:45:45--------------------------------------------------- 48 49 -----------------------------------------------------------------------*/ 50 class SwMailConfigPage : public SfxTabPage 51 { 52 friend class SwTestAccountSettingsDialog; 53 54 FixedLine m_aIdentityFL; 55 56 FixedText m_aDisplayNameFT; 57 Edit m_aDisplayNameED; 58 FixedText m_aAddressFT; 59 Edit m_aAddressED; 60 61 CheckBox m_aReplyToCB; 62 FixedText m_aReplyToFT; 63 Edit m_aReplyToED; 64 65 FixedLine m_aSMTPFL; 66 67 FixedText m_aServerFT; 68 Edit m_aServerED; 69 FixedText m_aPortFT; 70 NumericField m_aPortNF; 71 72 CheckBox m_aSecureCB; 73 74 PushButton m_aServerAuthenticationPB; 75 76 FixedLine m_aSeparatorFL; 77 PushButton m_aTestPB; 78 79 SwMailMergeConfigItem* m_pConfigItem; 80 81 DECL_LINK(ReplyToHdl, CheckBox*); 82 DECL_LINK(AuthenticationHdl, PushButton*); 83 DECL_LINK(TestHdl, PushButton*); 84 85 86 public: 87 SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ); 88 ~SwMailConfigPage(); 89 90 static SfxTabPage* Create( Window* pParent, 91 const SfxItemSet& rAttrSet); 92 93 virtual sal_Bool FillItemSet( SfxItemSet& rSet ); 94 virtual void Reset( const SfxItemSet& rSet ); 95 96 }; 97 98 /*-- 18.08.2004 12:02:02--------------------------------------------------- 99 100 -----------------------------------------------------------------------*/ 101 class SwMailConfigDlg : public SfxSingleTabDialog 102 { 103 public: 104 105 SwMailConfigDlg( Window* pParent, SfxItemSet& rSet ); 106 ~SwMailConfigDlg(); 107 }; 108 109 #endif 110 111