LibreOffice Module sw (master) 1
|
#include <mailmergewizard.hxx>
Public Member Functions | |
SwMailMergeWizard (SwView &rView, std::shared_ptr< SwMailMergeConfigItem > xConfigItem) | |
virtual | ~SwMailMergeWizard () override |
SwView * | GetSwView () |
SwMailMergeConfigItem & | GetConfigItem () |
void | SetReloadDocument (const OUString &rURL) |
const OUString & | GetReloadDocument () const |
void | SetDocumentLoad (bool bSet) |
void | UpdateRoadmap () |
sal_uInt16 | GetRestartPage () const |
void | SetRestartPage (sal_uInt16 nPage) |
bool | skipUntil (sal_uInt16 nPage) |
virtual short | run () override |
Public Member Functions inherited from vcl::RoadmapWizardMachine | |
RoadmapWizardMachine (weld::Window *_pParent) | |
virtual | ~RoadmapWizardMachine () override |
void | SetRoadmapHelpId (const OUString &_rId) |
bool | isStateEnabled (WizardTypes::WizardState nState) const |
virtual bool | canAdvance () const override |
virtual void | updateTravelUI () override |
Public Member Functions inherited from vcl::WizardMachine | |
WizardMachine (weld::Window *_pParent, WizardButtonFlags _nButtonFlags) | |
virtual | ~WizardMachine () override |
bool | Finish (short nResult=RET_CANCEL) |
bool | ShowPage (WizardTypes::WizardState nState) |
bool | ShowNextPage () |
bool | ShowPrevPage () |
void | AddPage (std::unique_ptr< BuilderPage > xPage) |
void | RemovePage (const BuilderPage *pPage) |
void | SetPage (WizardTypes::WizardState nLevel, std::unique_ptr< BuilderPage > xPage) |
BuilderPage * | GetPage (WizardTypes::WizardState eState) const |
void | enableButtons (WizardButtonFlags _nWizardButtonFlags, bool _bEnable) |
void | defaultButton (WizardButtonFlags _nWizardButtonFlags) |
void | defaultButton (weld::Button *_pNewDefButton) |
void | setTitleBase (const OUString &_rTitleBase) |
virtual bool | canAdvance () const |
virtual void | updateTravelUI () |
void | suspendTraveling (AccessGuard) |
void | resumeTraveling (AccessGuard) |
bool | isTravelingSuspended () const |
Public Member Functions inherited from weld::AssistantController | |
AssistantController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual Dialog * | getDialog () override |
virtual | ~AssistantController () override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
virtual std::unique_ptr< BuilderPage > | createPage (WizardState _nState) override |
virtual void | enterState (WizardState _nState) override |
virtual OUString | getStateDisplayName (WizardState _nState) const override |
Private Attributes | |
SwView * | m_pSwView |
OUString | m_sDocumentURL |
bool | m_bDocumentLoad |
std::shared_ptr< SwMailMergeConfigItem > | m_xConfigItem |
OUString | m_sStarting |
OUString | m_sDocumentType |
OUString | m_sAddressBlock |
OUString | m_sAddressList |
OUString | m_sGreetingsLine |
OUString | m_sLayout |
sal_uInt16 | m_nRestartPage |
Definition at line 36 of file mailmergewizard.hxx.
SwMailMergeWizard::SwMailMergeWizard | ( | SwView & | rView, |
std::shared_ptr< SwMailMergeConfigItem > | xConfigItem | ||
) |
Definition at line 37 of file mailmergewizard.cxx.
References vcl::WizardMachine::ActivatePage(), vcl::RoadmapWizardMachine::declarePath(), vcl::WizardMachine::defaultButton(), vcl::WizardMachine::enableButtons(), HID_MM_NEXT_PAGE, HID_MM_PREV_PAGE, weld::AssistantController::m_xAssistant, m_xConfigItem, vcl::WizardMachine::m_xFinish, vcl::WizardMachine::m_xNextPage, vcl::WizardMachine::m_xPrevPage, MM_ADDRESSBLOCKPAGE, MM_DOCUMENTSELECTPAGE, MM_GREETINGSPAGE, MM_LAYOUTPAGE, MM_OUTPUTTYPETPAGE, vcl::WizardMachine::setTitleBase(), SwResId(), and UpdateRoadmap().
|
overridevirtual |
Definition at line 83 of file mailmergewizard.cxx.
|
overrideprivatevirtual |
Implements vcl::WizardMachine.
Definition at line 87 of file mailmergewizard.cxx.
References getStateDisplayName(), weld::AssistantController::m_xAssistant, MM_ADDRESSBLOCKPAGE, MM_DOCUMENTSELECTPAGE, MM_GREETINGSPAGE, MM_LAYOUTPAGE, MM_OUTPUTTYPETPAGE, and vcl::RoadmapWizardMachine::SetRoadmapHelpId().
|
overrideprivatevirtual |
Reimplemented from vcl::RoadmapWizardMachine.
Definition at line 128 of file mailmergewizard.cxx.
References vcl::WizardMachine::enableButtons(), vcl::RoadmapWizardMachine::enterState(), SwView::GetDataSourceName(), GetSwView(), SwView::IsDataSourceAvailable(), m_nRestartPage, weld::AssistantController::m_xAssistant, m_xConfigItem, MM_ADDRESSBLOCKPAGE, MM_DOCUMENTSELECTPAGE, MM_LAYOUTPAGE, RET_REMOVE_TARGET, and UpdateRoadmap().
|
inline |
Definition at line 65 of file mailmergewizard.hxx.
References m_xConfigItem.
Referenced by SwMailMergeAddressBlockPage::Activate(), SwMailMergeLayoutPage::Activate(), SwMailMergeAddressBlockPage::canAdvance(), SwMailMergeAddressBlockPage::commitPage(), SwMailMergeLayoutPage::commitPage(), SwMailMergeAddressBlockPage::InsertDataHdl(), SwAddressListDialog::SwAddressListDialog(), SwMailMergeDocSelectPage::SwMailMergeDocSelectPage(), and SwMailMergeOutputTypePage::SwMailMergeOutputTypePage().
|
inline |
Definition at line 68 of file mailmergewizard.hxx.
References m_sDocumentURL.
|
inline |
Definition at line 75 of file mailmergewizard.hxx.
References m_nRestartPage.
|
overrideprivatevirtual |
Reimplemented from vcl::RoadmapWizardMachine.
Definition at line 170 of file mailmergewizard.cxx.
References m_sAddressBlock, m_sAddressList, m_sDocumentType, m_sGreetingsLine, m_sLayout, m_sStarting, m_xConfigItem, MM_ADDRESSBLOCKPAGE, MM_DOCUMENTSELECTPAGE, MM_GREETINGSPAGE, MM_LAYOUTPAGE, and MM_OUTPUTTYPETPAGE.
Referenced by createPage(), and UpdateRoadmap().
|
inline |
Definition at line 64 of file mailmergewizard.hxx.
References m_pSwView.
Referenced by SwMailMergeLayoutPage::commitPage(), enterState(), and SwMailMergeLayoutPage::SwMailMergeLayoutPage().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 257 of file mailmergewizard.cxx.
References RET_CANCEL.
|
inline |
Definition at line 71 of file mailmergewizard.hxx.
References m_bDocumentLoad.
Referenced by SwMailMergeDocSelectPage::commitPage().
|
inline |
Definition at line 67 of file mailmergewizard.hxx.
References m_sDocumentURL.
Referenced by SwMailMergeDocSelectPage::commitPage().
|
inline |
Definition at line 76 of file mailmergewizard.hxx.
References m_nRestartPage.
Referenced by SwMailMergeDocSelectPage::commitPage().
|
inline |
Definition at line 78 of file mailmergewizard.hxx.
void SwMailMergeWizard::UpdateRoadmap | ( | ) |
Definition at line 190 of file mailmergewizard.cxx.
References vcl::OWizardPage::commitPage(), vcl::WizardMachine::enableButtons(), vcl::RoadmapWizardMachine::enableState(), vcl::WizardMachine::GetPage(), getStateDisplayName(), m_bDocumentLoad, weld::AssistantController::m_xAssistant, m_xConfigItem, MM_ADDRESSBLOCKPAGE, MM_DOCUMENTSELECTPAGE, MM_GREETINGSPAGE, MM_LAYOUTPAGE, and MM_OUTPUTTYPETPAGE.
Referenced by enterState(), and SwMailMergeWizard().
|
private |
Definition at line 40 of file mailmergewizard.hxx.
Referenced by SetDocumentLoad(), and UpdateRoadmap().
|
private |
Definition at line 51 of file mailmergewizard.hxx.
Referenced by enterState(), GetRestartPage(), and SetRestartPage().
|
private |
Definition at line 38 of file mailmergewizard.hxx.
Referenced by GetSwView().
|
private |
Definition at line 46 of file mailmergewizard.hxx.
Referenced by getStateDisplayName().
|
private |
Definition at line 47 of file mailmergewizard.hxx.
Referenced by getStateDisplayName().
|
private |
Definition at line 45 of file mailmergewizard.hxx.
Referenced by getStateDisplayName().
|
private |
Definition at line 39 of file mailmergewizard.hxx.
Referenced by GetReloadDocument(), and SetReloadDocument().
|
private |
Definition at line 48 of file mailmergewizard.hxx.
Referenced by getStateDisplayName().
|
private |
Definition at line 49 of file mailmergewizard.hxx.
Referenced by getStateDisplayName().
|
private |
Definition at line 44 of file mailmergewizard.hxx.
Referenced by getStateDisplayName().
|
private |
Definition at line 42 of file mailmergewizard.hxx.
Referenced by enterState(), GetConfigItem(), getStateDisplayName(), SwMailMergeWizard(), and UpdateRoadmap().