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