LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwMailMergeWizard Class Referencefinal

#include <mailmergewizard.hxx>

Inheritance diagram for SwMailMergeWizard:
[legend]
Collaboration diagram for SwMailMergeWizard:
[legend]

Public Member Functions

 SwMailMergeWizard (SwView &rView, std::shared_ptr< SwMailMergeConfigItem > xConfigItem)
 
virtual ~SwMailMergeWizard () override
 
SwViewGetSwView ()
 
SwMailMergeConfigItemGetConfigItem ()
 
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)
 
BuilderPageGetPage (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 DialoggetDialog () override
 
virtual ~AssistantController () override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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< BuilderPagecreatePage (WizardState _nState) override
 
virtual void enterState (WizardState _nState) override
 
virtual OUString getStateDisplayName (WizardState _nState) const override
 

Private Attributes

SwViewm_pSwView
 
OUString m_sDocumentURL
 
bool m_bDocumentLoad
 
std::shared_ptr< SwMailMergeConfigItemm_xConfigItem
 
OUString m_sStarting
 
OUString m_sDocumentType
 
OUString m_sAddressBlock
 
OUString m_sAddressList
 
OUString m_sGreetingsLine
 
OUString m_sLayout
 
sal_uInt16 m_nRestartPage
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Member Functions inherited from vcl::RoadmapWizardMachine
void declarePath (RoadmapWizardTypes::PathId _nPathId, const RoadmapWizardTypes::WizardPath &_lWizardStates)
 
void activatePath (RoadmapWizardTypes::PathId _nPathId, bool _bDecideForIt=false)
 
virtual WizardTypes::WizardState determineNextState (WizardTypes::WizardState nCurrentState) const override
 
void enableState (WizardTypes::WizardState nState, bool _bEnable=true)
 
bool knowsState (WizardTypes::WizardState nState) const
 
virtual void enterState (WizardTypes::WizardState nState) override
 
virtual OUString getStateDisplayName (WizardTypes::WizardState nState) const
 
- Protected Member Functions inherited from vcl::WizardMachine
virtual void ActivatePage ()
 
virtual bool DeactivatePage ()
 
virtual std::unique_ptr< BuilderPagecreatePage (WizardTypes::WizardState _nState)=0
 
virtual void enterState (WizardTypes::WizardState _nState)
 
virtual bool prepareLeaveCurrentState (WizardTypes::CommitPageReason eReason)
 
virtual bool leaveState (WizardTypes::WizardState nState)
 
virtual WizardTypes::WizardState determineNextState (WizardTypes::WizardState nCurrentState) const
 
virtual bool onFinish ()
 
bool travelNext ()
 
bool travelPrevious ()
 
void enableAutomaticNextButtonState ()
 
bool isAutomaticNextButtonStateEnabled () const
 
void removePageFromHistory (WizardTypes::WizardState nToRemove)
 
void skip ()
 
bool skipUntil (WizardTypes::WizardState nTargetState)
 
bool skipBackwardUntil (WizardTypes::WizardState nTargetState)
 
WizardTypes::WizardState getCurrentState () const
 
virtual IWizardPageController * getPageController (BuilderPage *pCurrentPage) const
 
void getStateHistory (std::vector< WizardTypes::WizardState > &out_rHistory)
 
virtual OUString getPageIdentForState (WizardTypes::WizardState nState) const
 
virtual WizardTypes::WizardState getStateFromPageIdent (const OUString &rIdent) const
 
BuilderPageGetOrCreatePage (const WizardTypes::WizardState i_nState)
 
- Protected Attributes inherited from vcl::WizardMachine
BuilderPagem_pCurTabPage
 
std::unique_ptr< weld::Buttonm_xFinish
 
std::unique_ptr< weld::Buttonm_xCancel
 
std::unique_ptr< weld::Buttonm_xNextPage
 
std::unique_ptr< weld::Buttonm_xPrevPage
 
std::unique_ptr< weld::Buttonm_xHelp
 
- Protected Attributes inherited from weld::AssistantController
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Assistantm_xAssistant
 

Detailed Description

Definition at line 36 of file mailmergewizard.hxx.

Constructor & Destructor Documentation

◆ SwMailMergeWizard()

SwMailMergeWizard::SwMailMergeWizard ( SwView rView,
std::shared_ptr< SwMailMergeConfigItem xConfigItem 
)

◆ ~SwMailMergeWizard()

SwMailMergeWizard::~SwMailMergeWizard ( )
overridevirtual

Definition at line 83 of file mailmergewizard.cxx.

Member Function Documentation

◆ createPage()

std::unique_ptr< BuilderPage > SwMailMergeWizard::createPage ( WizardState  _nState)
overrideprivatevirtual

◆ enterState()

void SwMailMergeWizard::enterState ( WizardState  _nState)
overrideprivatevirtual

◆ GetConfigItem()

SwMailMergeConfigItem & SwMailMergeWizard::GetConfigItem ( )
inline

◆ GetReloadDocument()

const OUString & SwMailMergeWizard::GetReloadDocument ( ) const
inline

Definition at line 68 of file mailmergewizard.hxx.

References m_sDocumentURL.

◆ GetRestartPage()

sal_uInt16 SwMailMergeWizard::GetRestartPage ( ) const
inline

Definition at line 75 of file mailmergewizard.hxx.

References m_nRestartPage.

◆ getStateDisplayName()

OUString SwMailMergeWizard::getStateDisplayName ( WizardState  _nState) const
overrideprivatevirtual

◆ GetSwView()

SwView * SwMailMergeWizard::GetSwView ( )
inline

◆ run()

short SwMailMergeWizard::run ( )
overridevirtual

Reimplemented from weld::DialogController.

Definition at line 257 of file mailmergewizard.cxx.

References RET_CANCEL.

◆ SetDocumentLoad()

void SwMailMergeWizard::SetDocumentLoad ( bool  bSet)
inline

Definition at line 71 of file mailmergewizard.hxx.

References m_bDocumentLoad.

Referenced by SwMailMergeDocSelectPage::commitPage().

◆ SetReloadDocument()

void SwMailMergeWizard::SetReloadDocument ( const OUString &  rURL)
inline

Definition at line 67 of file mailmergewizard.hxx.

References m_sDocumentURL.

Referenced by SwMailMergeDocSelectPage::commitPage().

◆ SetRestartPage()

void SwMailMergeWizard::SetRestartPage ( sal_uInt16  nPage)
inline

Definition at line 76 of file mailmergewizard.hxx.

References m_nRestartPage.

Referenced by SwMailMergeDocSelectPage::commitPage().

◆ skipUntil()

bool SwMailMergeWizard::skipUntil ( sal_uInt16  nPage)
inline

Definition at line 78 of file mailmergewizard.hxx.

◆ UpdateRoadmap()

void SwMailMergeWizard::UpdateRoadmap ( )

Member Data Documentation

◆ m_bDocumentLoad

bool SwMailMergeWizard::m_bDocumentLoad
private

Definition at line 40 of file mailmergewizard.hxx.

Referenced by SetDocumentLoad(), and UpdateRoadmap().

◆ m_nRestartPage

sal_uInt16 SwMailMergeWizard::m_nRestartPage
private

Definition at line 51 of file mailmergewizard.hxx.

Referenced by enterState(), GetRestartPage(), and SetRestartPage().

◆ m_pSwView

SwView* SwMailMergeWizard::m_pSwView
private

Definition at line 38 of file mailmergewizard.hxx.

Referenced by GetSwView().

◆ m_sAddressBlock

OUString SwMailMergeWizard::m_sAddressBlock
private

Definition at line 46 of file mailmergewizard.hxx.

Referenced by getStateDisplayName().

◆ m_sAddressList

OUString SwMailMergeWizard::m_sAddressList
private

Definition at line 47 of file mailmergewizard.hxx.

Referenced by getStateDisplayName().

◆ m_sDocumentType

OUString SwMailMergeWizard::m_sDocumentType
private

Definition at line 45 of file mailmergewizard.hxx.

Referenced by getStateDisplayName().

◆ m_sDocumentURL

OUString SwMailMergeWizard::m_sDocumentURL
private

Definition at line 39 of file mailmergewizard.hxx.

Referenced by GetReloadDocument(), and SetReloadDocument().

◆ m_sGreetingsLine

OUString SwMailMergeWizard::m_sGreetingsLine
private

Definition at line 48 of file mailmergewizard.hxx.

Referenced by getStateDisplayName().

◆ m_sLayout

OUString SwMailMergeWizard::m_sLayout
private

Definition at line 49 of file mailmergewizard.hxx.

Referenced by getStateDisplayName().

◆ m_sStarting

OUString SwMailMergeWizard::m_sStarting
private

Definition at line 44 of file mailmergewizard.hxx.

Referenced by getStateDisplayName().

◆ m_xConfigItem

std::shared_ptr<SwMailMergeConfigItem> SwMailMergeWizard::m_xConfigItem
private

The documentation for this class was generated from the following files: