LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
chart::CreationWizard Class Referencefinal

#include <dlg_CreationWizard.hxx>

Inheritance diagram for chart::CreationWizard:
[legend]
Collaboration diagram for chart::CreationWizard:
[legend]

Public Member Functions

 CreationWizard (weld::Window *pParent, const rtl::Reference<::chart::ChartModel > &xChartModel, css::uno::Reference< css::uno::XComponentContext > xContext)
 
 CreationWizard ()=delete
 
virtual ~CreationWizard () override
 
virtual void setInvalidPage (BuilderPage *pTabPage) override
 
virtual void setValidPage (BuilderPage *pTabPage) 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
 

Protected Member Functions

virtual bool leaveState (WizardState _nState) override
 
virtual WizardState determineNextState (WizardState nCurrentState) const override
 
virtual void enterState (WizardState nState) override
 
virtual OUString getStateDisplayName (WizardState nState) const override
 
- 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)
 

Private Member Functions

virtual std::unique_ptr< BuilderPagecreatePage (WizardState nState) override
 

Private Attributes

rtl::Reference<::chart::ChartModel > m_xChartModel
 
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext
 
ChartTypeTemplateProviderm_pTemplateProvider
 
std::unique_ptr< DialogModelm_pDialogModel
 
TimerTriggeredControllerLock m_aTimerTriggeredControllerLock
 
bool m_bCanTravel
 

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 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 47 of file dlg_CreationWizard.hxx.

Constructor & Destructor Documentation

◆ CreationWizard() [1/2]

chart::CreationWizard::CreationWizard ( weld::Window pParent,
const rtl::Reference<::chart::ChartModel > &  xChartModel,
css::uno::Reference< css::uno::XComponentContext >  xContext 
)

◆ CreationWizard() [2/2]

chart::CreationWizard::CreationWizard ( )
delete

◆ ~CreationWizard()

chart::CreationWizard::~CreationWizard ( )
overridevirtualdefault

Member Function Documentation

◆ createPage()

std::unique_ptr< BuilderPage > chart::CreationWizard::createPage ( WizardState  nState)
overrideprivatevirtual

◆ determineNextState()

vcl::WizardTypes::WizardState chart::CreationWizard::determineNextState ( WizardState  nCurrentState) const
overrideprotectedvirtual

Reimplemented from vcl::RoadmapWizardMachine.

Definition at line 142 of file dlg_CreationWizard.cxx.

References STATE_LAST, and WZS_INVALID_STATE.

◆ enterState()

void chart::CreationWizard::enterState ( WizardState  nState)
overrideprotectedvirtual

◆ getStateDisplayName()

OUString chart::CreationWizard::getStateDisplayName ( WizardState  nState) const
overrideprotectedvirtual

◆ leaveState()

bool chart::CreationWizard::leaveState ( WizardState  _nState)
overrideprotectedvirtual

Reimplemented from vcl::WizardMachine.

Definition at line 137 of file dlg_CreationWizard.cxx.

◆ setInvalidPage()

void chart::CreationWizard::setInvalidPage ( BuilderPage pTabPage)
overridevirtual

Definition at line 163 of file dlg_CreationWizard.cxx.

◆ setValidPage()

void chart::CreationWizard::setValidPage ( BuilderPage pTabPage)
overridevirtual

Definition at line 169 of file dlg_CreationWizard.cxx.

Member Data Documentation

◆ m_aTimerTriggeredControllerLock

TimerTriggeredControllerLock chart::CreationWizard::m_aTimerTriggeredControllerLock
private

Definition at line 75 of file dlg_CreationWizard.hxx.

◆ m_bCanTravel

bool chart::CreationWizard::m_bCanTravel
private

Definition at line 77 of file dlg_CreationWizard.hxx.

◆ m_pDialogModel

std::unique_ptr<DialogModel> chart::CreationWizard::m_pDialogModel
private

Definition at line 73 of file dlg_CreationWizard.hxx.

◆ m_pTemplateProvider

ChartTypeTemplateProvider* chart::CreationWizard::m_pTemplateProvider
private

Definition at line 72 of file dlg_CreationWizard.hxx.

◆ m_xChartModel

rtl::Reference<::chart::ChartModel> chart::CreationWizard::m_xChartModel
private

Definition at line 70 of file dlg_CreationWizard.hxx.

◆ m_xComponentContext

css::uno::Reference<css::uno::XComponentContext> chart::CreationWizard::m_xComponentContext
private

Definition at line 71 of file dlg_CreationWizard.hxx.


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