update dev300-m58
[ooovba.git] / sw / source / ui / inc / mailconfigpage.hxx
blob4e9d20ec069e8d57fd87f3a3dbf86ed2cb85bc91
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: mailconfigpage.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _MAILCONFIGPAGE_HXX
31 #define _MAILCONFIGPAGE_HXX
33 #include <sfx2/tabdlg.hxx>
34 #ifndef _BUTTON_HXX
35 #include <vcl/button.hxx>
36 #endif
37 #ifndef _LSTBOX_HXX
38 #include <vcl/lstbox.hxx>
39 #endif
40 #ifndef _FIELD_HXX
41 #include <vcl/field.hxx>
42 #endif
43 #ifndef _FIXED_HXX
44 #include <vcl/fixed.hxx>
45 #endif
46 #include <sfx2/basedlgs.hxx>
48 class SwTestAccountSettingsDialog;
49 class SwMailMergeConfigItem;
50 /*-- 05.05.2004 16:45:45---------------------------------------------------
52 -----------------------------------------------------------------------*/
53 class SwMailConfigPage : public SfxTabPage
55 friend class SwTestAccountSettingsDialog;
57 FixedLine m_aIdentityFL;
59 FixedText m_aDisplayNameFT;
60 Edit m_aDisplayNameED;
61 FixedText m_aAddressFT;
62 Edit m_aAddressED;
64 CheckBox m_aReplyToCB;
65 FixedText m_aReplyToFT;
66 Edit m_aReplyToED;
68 FixedLine m_aSMTPFL;
70 FixedText m_aServerFT;
71 Edit m_aServerED;
72 FixedText m_aPortFT;
73 NumericField m_aPortNF;
75 CheckBox m_aSecureCB;
77 PushButton m_aServerAuthenticationPB;
79 FixedLine m_aSeparatorFL;
80 PushButton m_aTestPB;
82 SwMailMergeConfigItem* m_pConfigItem;
84 DECL_LINK(ReplyToHdl, CheckBox*);
85 DECL_LINK(AuthenticationHdl, PushButton*);
86 DECL_LINK(TestHdl, PushButton*);
89 public:
90 SwMailConfigPage( Window* pParent, const SfxItemSet& rSet );
91 ~SwMailConfigPage();
93 static SfxTabPage* Create( Window* pParent,
94 const SfxItemSet& rAttrSet);
96 virtual BOOL FillItemSet( SfxItemSet& rSet );
97 virtual void Reset( const SfxItemSet& rSet );
101 /*-- 18.08.2004 12:02:02---------------------------------------------------
103 -----------------------------------------------------------------------*/
104 class SwMailConfigDlg : public SfxSingleTabDialog
106 public:
108 SwMailConfigDlg( Window* pParent, SfxItemSet& rSet );
109 ~SwMailConfigDlg();
112 #endif