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 _MAILMERGEDOCSELECTPAGE_HXX 24 #define _MAILMERGEDOCSELECTPAGE_HXX 25 26 #include <svtools/wizardmachine.hxx> 27 #include <mailmergehelper.hxx> 28 #include <vcl/lstbox.hxx> 29 #ifndef _SV_BUTTON_HXX 30 #include <vcl/button.hxx> 31 #endif 32 #include <svtools/stdctrl.hxx> 33 class SwMailMergeWizard; 34 /*-- 02.04.2004 09:21:06--------------------------------------------------- 35 36 -----------------------------------------------------------------------*/ 37 class SwMailMergeDocSelectPage : public svt::OWizardPage 38 { 39 SwBoldFixedInfo m_aHeaderFI; 40 FixedInfo m_aHowToFT; 41 RadioButton m_aCurrentDocRB; 42 RadioButton m_aNewDocRB; 43 RadioButton m_aLoadDocRB; 44 RadioButton m_aLoadTemplateRB; 45 RadioButton m_aRecentDocRB; 46 47 PushButton m_aBrowseDocPB; 48 PushButton m_aBrowseTemplatePB; 49 50 ListBox m_aRecentDocLB; 51 52 String m_sLoadFileName; 53 String m_sLoadTemplateName; 54 55 SwMailMergeWizard* m_pWizard; 56 57 DECL_LINK(DocSelectHdl, RadioButton*); 58 DECL_LINK(FileSelectHdl, PushButton*); 59 60 virtual sal_Bool commitPage( ::svt::WizardTypes::CommitPageReason _eReason ); 61 62 public: 63 SwMailMergeDocSelectPage( SwMailMergeWizard* _pParent); 64 ~SwMailMergeDocSelectPage(); 65 66 }; 67 68 #endif 69 70 71