LibreOffice Module sw (master) 1
|
#include <mmgreetingspage.hxx>
Public Member Functions | |
SwMailMergeGreetingsPage (weld::Container *pPage, SwMailMergeWizard *pWizard) | |
virtual | ~SwMailMergeGreetingsPage () override |
Public Member Functions inherited from vcl::OWizardPage | |
OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual | ~OWizardPage () override |
virtual void | initializePage () override |
virtual bool | commitPage (WizardTypes::CommitPageReason _eReason) override |
virtual bool | canAdvance () const override |
Public Member Functions inherited from BuilderPage | |
BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false) | |
virtual | ~BuilderPage () COVERITY_NOEXCEPT_FALSE |
void | SetPageTitle (const OUString &rPageTitle) |
const OUString & | GetPageTitle () const |
virtual void | Activate () |
virtual void | Deactivate () |
void | SetHelpId (const OUString &rHelpId) |
OUString | GetHelpId () const |
Private Member Functions | |
DECL_LINK (ContainsHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (InsertDataHdl_Impl, weld::Button &, void) | |
DECL_LINK (GreetingSelectComboBoxHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (GreetingSelectListBoxHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (AssignHdl_Impl, weld::Button &, void) | |
virtual void | UpdatePreview () override |
virtual void | Activate () override |
virtual bool | commitPage (::vcl::WizardTypes::CommitPageReason _eReason) override |
Private Attributes | |
std::unique_ptr< SwAddressPreview > | m_xPreview |
std::unique_ptr< weld::Label > | m_xPreviewFI |
std::unique_ptr< weld::Button > | m_xAssignPB |
std::unique_ptr< weld::Label > | m_xDocumentIndexFI |
std::unique_ptr< weld::Button > | m_xPrevSetIB |
std::unique_ptr< weld::Button > | m_xNextSetIB |
std::unique_ptr< weld::CustomWeld > | m_xPreviewWIN |
OUString | m_sDocument |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::OWizardPage | |
virtual void | Activate () override |
void | updateDialogTravelUI () |
Protected Member Functions inherited from SwGreetingsHandler | |
SwGreetingsHandler (SwMailMergeConfigItem &rConfigItem, weld::Builder &rBuilder) | |
~SwGreetingsHandler () | |
DECL_LINK (IndividualHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (GreetingHdl_Impl, weld::Button &, void) | |
void | Contains (bool bContainsGreeting) |
virtual void | UpdatePreview () |
Protected Attributes inherited from BuilderPage | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Protected Attributes inherited from SwGreetingsHandler | |
SwMailMergeWizard * | m_pWizard |
SwMailMergeConfigItem & | m_rConfigItem |
The mail merge state, available even when m_pWizard is nullptr. More... | |
bool | m_bIsTabPage |
std::unique_ptr< weld::CheckButton > | m_xGreetingLineCB |
std::unique_ptr< weld::CheckButton > | m_xPersonalizedCB |
std::unique_ptr< weld::Label > | m_xFemaleFT |
std::unique_ptr< weld::ComboBox > | m_xFemaleLB |
std::unique_ptr< weld::Button > | m_xFemalePB |
std::unique_ptr< weld::Label > | m_xMaleFT |
std::unique_ptr< weld::ComboBox > | m_xMaleLB |
std::unique_ptr< weld::Button > | m_xMalePB |
std::unique_ptr< weld::Label > | m_xFemaleFI |
std::unique_ptr< weld::Label > | m_xFemaleColumnFT |
std::unique_ptr< weld::ComboBox > | m_xFemaleColumnLB |
std::unique_ptr< weld::Label > | m_xFemaleFieldFT |
std::unique_ptr< weld::ComboBox > | m_xFemaleFieldCB |
std::unique_ptr< weld::Label > | m_xNeutralFT |
std::unique_ptr< weld::ComboBox > | m_xNeutralCB |
Definition at line 86 of file mmgreetingspage.hxx.
SwMailMergeGreetingsPage::SwMailMergeGreetingsPage | ( | weld::Container * | pPage, |
SwMailMergeWizard * | pWizard | ||
) |
Definition at line 199 of file mmgreetingspage.cxx.
References Link< typename Arg, typename Ret >::Call(), SwMailMergeConfigItem::FEMALE, Size::Height(), SwMailMergeConfigItem::IsGreetingLine(), SwMailMergeConfigItem::IsIndividualGreeting(), lcl_FillGreetingsBox(), LINK, SwGreetingsHandler::m_bIsTabPage, SwGreetingsHandler::m_pWizard, SwGreetingsHandler::m_rConfigItem, m_sDocument, m_xAssignPB, m_xDocumentIndexFI, SwGreetingsHandler::m_xFemaleColumnLB, SwGreetingsHandler::m_xFemaleFieldCB, SwGreetingsHandler::m_xFemaleLB, SwGreetingsHandler::m_xFemalePB, SwGreetingsHandler::m_xGreetingLineCB, SwGreetingsHandler::m_xMaleLB, SwGreetingsHandler::m_xMalePB, SwGreetingsHandler::m_xNeutralCB, m_xNextSetIB, SwGreetingsHandler::m_xPersonalizedCB, m_xPreview, m_xPreviewWIN, m_xPrevSetIB, SwMailMergeConfigItem::MALE, SwMailMergeConfigItem::NEUTRAL, and Size::Width().
|
overridevirtual |
Definition at line 248 of file mmgreetingspage.cxx.
References m_xPreview, and m_xPreviewWIN.
|
overrideprivatevirtual |
Reimplemented from vcl::OWizardPage.
Definition at line 254 of file mmgreetingspage.cxx.
References vcl::WizardMachine::enableButtons(), SwMailMergeConfigItem::GetAssignedColumn(), SwMailMergeConfigItem::GetColumnsSupplier(), SwMailMergeConfigItem::GetFemaleGenderValue(), vcl::RoadmapWizardMachine::isStateEnabled(), SwGreetingsHandler::m_pWizard, SwGreetingsHandler::m_rConfigItem, SwGreetingsHandler::m_xFemaleColumnLB, SwGreetingsHandler::m_xFemaleFieldCB, MM_LAYOUTPAGE, and UpdatePreview().
|
overrideprivatevirtual |
Definition at line 277 of file mmgreetingspage.cxx.
References SwMailMergeConfigItem::FEMALE, SwMailMergeConfigItem::GetColumnAssignment(), SwMailMergeConfigItem::GetCurrentDBData(), lcl_StoreGreetingsBox(), SwGreetingsHandler::m_rConfigItem, SwGreetingsHandler::m_xFemaleColumnLB, SwGreetingsHandler::m_xFemaleFieldCB, SwGreetingsHandler::m_xFemaleLB, SwGreetingsHandler::m_xGreetingLineCB, SwGreetingsHandler::m_xMaleLB, SwGreetingsHandler::m_xNeutralCB, SwGreetingsHandler::m_xPersonalizedCB, SwMailMergeConfigItem::MALE, SwMailMergeConfigItem::NEUTRAL, SwMailMergeConfigItem::SetColumnAssignment(), SwMailMergeConfigItem::SetFemaleGenderValue(), SwMailMergeConfigItem::SetGreetingLine(), and SwMailMergeConfigItem::SetIndividualGreeting().
|
private |
|
private |
|
private |
|
private |
|
private |
|
overrideprivatevirtual |
Reimplemented from SwGreetingsHandler.
Definition at line 130 of file mmgreetingspage.cxx.
References Any, SwAddressPreview::FillData(), SwMailMergeConfigItem::GetAssignedColumn(), SwMailMergeConfigItem::GetResultSet(), SwGreetingsHandler::m_rConfigItem, SwGreetingsHandler::m_xFemaleColumnLB, SwGreetingsHandler::m_xFemaleFieldCB, SwGreetingsHandler::m_xFemaleLB, SwGreetingsHandler::m_xMaleLB, SwGreetingsHandler::m_xNeutralCB, m_xPreview, sPreview, TOOLS_WARN_EXCEPTION, and xColumn.
Referenced by Activate().
|
private |
Definition at line 96 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage().
|
private |
Definition at line 90 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage().
|
private |
Definition at line 91 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage().
|
private |
Definition at line 93 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage().
|
private |
Definition at line 88 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage(), UpdatePreview(), and ~SwMailMergeGreetingsPage().
|
private |
Definition at line 89 of file mmgreetingspage.hxx.
|
private |
Definition at line 94 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage(), and ~SwMailMergeGreetingsPage().
|
private |
Definition at line 92 of file mmgreetingspage.hxx.
Referenced by SwMailMergeGreetingsPage().