LibreOffice Module extensions (master) 1
|
#include <listcombowizard.hxx>
Public Member Functions | |
OListComboWizard (weld::Window *pParent, const css::uno::Reference< css::beans::XPropertySet > &_rxObjectModel, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
OListComboSettings & | getSettings () |
bool | isListBox () const |
Public Member Functions inherited from dbp::OControlWizard | |
OControlWizard (weld::Window *_pParent, const css::uno::Reference< css::beans::XPropertySet > &_rxObjectModel, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
virtual | ~OControlWizard () override |
const css::uno::Reference< css::uno::XComponentContext > & | getComponentContext () const |
const OControlWizardContext & | getContext () const |
bool | updateContext (const OAccessRegulator &) |
void | setFormConnection (const OAccessRegulator &, const css::uno::Reference< css::sdbc::XConnection > &_rxConn, bool _bAutoDispose) |
css::uno::Reference< css::sdbc::XConnection > | getFormConnection (const OAccessRegulator &) const |
css::uno::Reference< css::task::XInteractionHandler > | getInteractionHandler (weld::Window *_pWindow) const |
returns the com.sun.star.task.InteractionHandler More... | |
bool | travelNext () |
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 WizardState | determineNextState (WizardState _nCurrentState) const override |
virtual void | enterState (WizardState _nState) override |
virtual bool | leaveState (WizardState _nState) override |
virtual bool | onFinish () override |
virtual bool | approveControl (sal_Int16 _nClassId) override |
WizardState | getFinalState () const |
void | implApplySettings () |
Private Attributes | |
OListComboSettings | m_aSettings |
bool | m_bListBox: 1 |
bool | m_bHadDataSelection: 1 |
Definition at line 45 of file listcombowizard.hxx.
dbp::OListComboWizard::OListComboWizard | ( | weld::Window * | pParent, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxObjectModel, | ||
const css::uno::Reference< css::uno::XComponentContext > & | _rxContext | ||
) |
Definition at line 47 of file listcombowizard.cxx.
References HID_LISTWIZARD_CANCEL, HID_LISTWIZARD_FINISH, HID_LISTWIZARD_NEXT, HID_LISTWIZARD_PREVIOUS, dbp::OControlWizard::initControlSettings(), m_aSettings, m_bHadDataSelection, vcl::WizardMachine::m_xCancel, vcl::WizardMachine::m_xFinish, vcl::WizardMachine::m_xNextPage, vcl::WizardMachine::m_xPrevPage, dbp::OControlWizard::needDatasourceSelection(), and vcl::WizardMachine::skip().
|
overrideprivatevirtual |
Implements dbp::OControlWizard.
Definition at line 68 of file listcombowizard.cxx.
References m_bListBox, compmodule::ModuleRes(), and vcl::WizardMachine::setTitleBase().
|
overrideprivatevirtual |
Implements vcl::WizardMachine.
Definition at line 84 of file listcombowizard.cxx.
References LCW_STATE_COMBODBFIELD, LCW_STATE_DATASOURCE_SELECTION, LCW_STATE_FIELDLINK, LCW_STATE_FIELDSELECTION, LCW_STATE_TABLESELECTION, and weld::AssistantController::m_xAssistant.
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 106 of file listcombowizard.cxx.
References getFinalState(), LCW_STATE_DATASOURCE_SELECTION, LCW_STATE_FIELDSELECTION, LCW_STATE_TABLESELECTION, and WZS_INVALID_STATE.
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 121 of file listcombowizard.cxx.
References vcl::WizardMachine::defaultButton(), vcl::WizardMachine::enableButtons(), vcl::WizardMachine::enterState(), getFinalState(), LCW_STATE_DATASOURCE_SELECTION, LCW_STATE_TABLESELECTION, and m_bHadDataSelection.
|
inlineprivate |
Definition at line 72 of file listcombowizard.hxx.
References isListBox(), LCW_STATE_COMBODBFIELD, and LCW_STATE_FIELDLINK.
Referenced by determineNextState(), enterState(), and leaveState().
|
inline |
Definition at line 58 of file listcombowizard.hxx.
References m_aSettings.
Referenced by implApplySettings().
|
private |
Definition at line 147 of file listcombowizard.cxx.
References Any, DBG_ASSERT, Exception, dbp::OControlWizard::getContext(), dbp::OControlWizard::getFormConnection(), getSettings(), isListBox(), quoteName(), sCatalog, dbp::OListComboSettings::sLinkedListField, dbp::OListComboSettings::sListContentField, dbp::OListComboSettings::sListContentTable, sName, sSchema, and dbp::OControlWizardContext::xObjectModel.
Referenced by onFinish().
|
inline |
Definition at line 60 of file listcombowizard.hxx.
References m_bListBox.
Referenced by getFinalState(), and implApplySettings().
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 135 of file listcombowizard.cxx.
References vcl::WizardMachine::defaultButton(), getFinalState(), and vcl::WizardMachine::leaveState().
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 206 of file listcombowizard.cxx.
References implApplySettings(), and vcl::WizardMachine::onFinish().
|
private |
Definition at line 47 of file listcombowizard.hxx.
Referenced by getSettings(), and OListComboWizard().
|
private |
Definition at line 49 of file listcombowizard.hxx.
Referenced by enterState(), and OListComboWizard().
|
private |
Definition at line 48 of file listcombowizard.hxx.
Referenced by approveControl(), and isListBox().