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 _MAILMERGEPREPAREMERGEPAGE_HXX
24 #define _MAILMERGEPREPAREMERGEPAGE_HXX
25 
26 #include <svtools/wizardmachine.hxx>
27 #ifndef _SV_BUTTON_HXX
28 #include <vcl/button.hxx>
29 #endif
30 #include <vcl/field.hxx>
31 #include <svtools/stdctrl.hxx>
32 #include <mailmergehelper.hxx>
33 #include "actctrl.hxx"
34 
35 class SwMailMergeWizard;
36 /*-- 02.04.2004 09:21:06---------------------------------------------------
37 
38   -----------------------------------------------------------------------*/
39 class SwMailMergePrepareMergePage : public svt::OWizardPage
40 {
41     SwBoldFixedInfo m_aHeaderFI;
42     FixedInfo       m_aPreviewFI;
43     FixedText       m_aRecipientFT;
44     PushButton      m_aFirstPB;
45     PushButton      m_aPrevPB;
46     NumEditAction   m_aRecordED;
47     PushButton      m_aNextPB;
48     PushButton      m_aLastPB;
49     CheckBox        m_ExcludeCB;
50 
51     FixedLine       m_aNoteHeaderFL;
52     FixedInfo       m_aEditFI;
53     PushButton      m_aEditPB;
54 
55 
56     SwMailMergeWizard*  m_pWizard;
57 
58     DECL_LINK(EditDocumentHdl_Impl, PushButton*);
59     DECL_LINK(ExcludeHdl_Impl, CheckBox*);
60     DECL_LINK(MoveHdl_Impl, void*);
61 
62     virtual void        ActivatePage();
63     virtual sal_Bool    commitPage( ::svt::WizardTypes::CommitPageReason _eReason );
64 
65 public:
66         SwMailMergePrepareMergePage( SwMailMergeWizard* _pParent);
67         ~SwMailMergePrepareMergePage();
68 
69 };
70 
71 #endif
72 
73 
74