diff options
Diffstat (limited to 'sw/source/ui/dbui/mmgreetingspage.hxx')
-rw-r--r-- | sw/source/ui/dbui/mmgreetingspage.hxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/sw/source/ui/dbui/mmgreetingspage.hxx b/sw/source/ui/dbui/mmgreetingspage.hxx index d0376ca72649..687f4afdf236 100644 --- a/sw/source/ui/dbui/mmgreetingspage.hxx +++ b/sw/source/ui/dbui/mmgreetingspage.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,12 +39,12 @@ class SwMailMergeWizard; -class SwGreetingsHandler +class SwGreetingsHandler { friend class SwMailBodyDialog; friend class SwMailMergeGreetingsPage; CheckBox* m_pGreetingLineCB; - + CheckBox* m_pPersonalizedCB; FixedText* m_pFemaleFT; @@ -60,30 +60,30 @@ class SwGreetingsHandler ListBox* m_pFemaleColumnLB; FixedText* m_pFemaleFieldFT; ComboBox* m_pFemaleFieldCB; - + FixedText* m_pNeutralFT; ComboBox* m_pNeutralCB; bool m_bIsTabPage; SwMailMergeWizard* m_pWizard; - + DECL_LINK(IndividualHdl_Impl, CheckBox*); DECL_LINK(GreetingHdl_Impl, PushButton*); - + void Contains(sal_Bool bContainsGreeting); virtual void UpdatePreview(); -}; +}; -class SwMailMergeGreetingsPage : public svt::OWizardPage, +class SwMailMergeGreetingsPage : public svt::OWizardPage, public SwGreetingsHandler { SwBoldFixedInfo m_aHeaderFI; - + CheckBox m_aGreetingLineCB; - + CheckBox m_aPersonalizedCB; - + FixedText m_aFemaleFT; ListBox m_aFemaleLB; PushButton m_aFemalePB; @@ -97,19 +97,19 @@ class SwMailMergeGreetingsPage : public svt::OWizardPage, ListBox m_aFemaleColumnLB; FixedText m_aFemaleFieldFT; ComboBox m_aFemaleFieldCB; - + FixedText m_aNeutralFT; ComboBox m_aNeutralCB; - + FixedInfo m_aPreviewFI; SwAddressPreview m_aPreviewWIN; PushButton m_aAssignPB; FixedInfo m_aDocumentIndexFI; ImageButton m_aPrevSetIB; ImageButton m_aNextSetIB; - + String m_sDocument; - + DECL_LINK(ContainsHdl_Impl, CheckBox*); DECL_LINK(InsertDataHdl_Impl, ImageButton*); DECL_LINK(GreetingSelectHdl_Impl, ListBox*); @@ -118,7 +118,7 @@ class SwMailMergeGreetingsPage : public svt::OWizardPage, virtual void UpdatePreview(); virtual void ActivatePage(); virtual sal_Bool commitPage( ::svt::WizardTypes::CommitPageReason _eReason ); -public: +public: SwMailMergeGreetingsPage( SwMailMergeWizard* _pParent); ~SwMailMergeGreetingsPage(); @@ -127,9 +127,9 @@ public: class SwMailBodyDialog : public SfxModalDialog, public SwGreetingsHandler { CheckBox m_aGreetingLineCB; - + CheckBox m_aPersonalizedCB; - + FixedText m_aFemaleFT; ListBox m_aFemaleLB; PushButton m_aFemalePB; @@ -143,10 +143,10 @@ class SwMailBodyDialog : public SfxModalDialog, public SwGreetingsHandler ListBox m_aFemaleColumnLB; FixedText m_aFemaleFieldFT; ComboBox m_aFemaleFieldCB; - + FixedText m_aNeutralFT; ComboBox m_aNeutralCB; - + FixedText m_aBodyFT; MultiLineEdit m_aBodyMLE; FixedLine m_aSeparatorFL; @@ -157,7 +157,7 @@ class SwMailBodyDialog : public SfxModalDialog, public SwGreetingsHandler DECL_LINK(ContainsHdl_Impl, CheckBox*); DECL_LINK(OKHdl, PushButton*); -public: +public: SwMailBodyDialog(Window* pParent, SwMailMergeWizard* pWizard); ~SwMailBodyDialog(); |