1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: mailconfigpage.hxx,v $
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>
35 #include <vcl/button.hxx>
38 #include <vcl/lstbox.hxx>
41 #include <vcl/field.hxx>
44 #include <vcl/fixed.hxx>
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
;
64 CheckBox m_aReplyToCB
;
65 FixedText m_aReplyToFT
;
70 FixedText m_aServerFT
;
73 NumericField m_aPortNF
;
77 PushButton m_aServerAuthenticationPB
;
79 FixedLine m_aSeparatorFL
;
82 SwMailMergeConfigItem
* m_pConfigItem
;
84 DECL_LINK(ReplyToHdl
, CheckBox
*);
85 DECL_LINK(AuthenticationHdl
, PushButton
*);
86 DECL_LINK(TestHdl
, PushButton
*);
90 SwMailConfigPage( Window
* pParent
, const SfxItemSet
& rSet
);
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
108 SwMailConfigDlg( Window
* pParent
, SfxItemSet
& rSet
);