LibreOffice Module extensions (master) 1
|
#include <gridwizard.hxx>
Public Member Functions | |
OGridWizard (weld::Window *_pParent, const css::uno::Reference< css::beans::XPropertySet > &_rxObjectModel, const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
OGridSettings & | getSettings () |
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 |
void | implApplySettings () |
Private Attributes | |
OGridSettings | m_aSettings |
bool | m_bHadDataSelection: 1 |
Definition at line 35 of file gridwizard.hxx.
dbp::OGridWizard::OGridWizard | ( | weld::Window * | _pParent, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxObjectModel, | ||
const css::uno::Reference< css::uno::XComponentContext > & | _rxContext | ||
) |
Definition at line 50 of file gridwizard.cxx.
References HID_GRIDWIZARD_CANCEL, HID_GRIDWIZARD_FINISH, HID_GRIDWIZARD_NEXT, HID_GRIDWIZARD_PREVIOUS, dbp::OControlWizard::initControlSettings(), m_aSettings, m_bHadDataSelection, vcl::WizardMachine::m_xCancel, vcl::WizardMachine::m_xFinish, vcl::WizardMachine::m_xNextPage, vcl::WizardMachine::m_xPrevPage, compmodule::ModuleRes(), dbp::OControlWizard::needDatasourceSelection(), vcl::WizardMachine::setTitleBase(), and vcl::WizardMachine::skip().
|
overrideprivatevirtual |
Implements dbp::OControlWizard.
Definition at line 71 of file gridwizard.cxx.
References dbp::OControlWizard::getContext().
|
overrideprivatevirtual |
Implements vcl::WizardMachine.
Definition at line 217 of file gridwizard.cxx.
References GW_STATE_DATASOURCE_SELECTION, GW_STATE_FIELDSELECTION, and weld::AssistantController::m_xAssistant.
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 233 of file gridwizard.cxx.
References GW_STATE_DATASOURCE_SELECTION, GW_STATE_FIELDSELECTION, and WZS_INVALID_STATE.
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 246 of file gridwizard.cxx.
References vcl::WizardMachine::defaultButton(), vcl::WizardMachine::enableButtons(), vcl::WizardMachine::enterState(), GW_STATE_DATASOURCE_SELECTION, GW_STATE_FIELDSELECTION, and m_bHadDataSelection.
|
inline |
Definition at line 45 of file gridwizard.hxx.
References m_aSettings.
Referenced by implApplySettings().
|
private |
Definition at line 80 of file gridwizard.cxx.
References Any, dbp::OGridSettings::aSelectedFields, dbp::OControlWizardContext::aTypes, DBG_ASSERT, dbp::disambiguateName(), Exception, dbp::OControlWizard::getContext(), getSettings(), compmodule::ModuleRes(), SAL_WARN, u, xColumn, and dbp::OControlWizardContext::xObjectModel.
Referenced by onFinish().
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 260 of file gridwizard.cxx.
References vcl::WizardMachine::defaultButton(), GW_STATE_FIELDSELECTION, and vcl::WizardMachine::leaveState().
|
overrideprivatevirtual |
Reimplemented from vcl::WizardMachine.
Definition at line 272 of file gridwizard.cxx.
References implApplySettings(), and vcl::WizardMachine::onFinish().
|
private |
Definition at line 37 of file gridwizard.hxx.
Referenced by getSettings(), and OGridWizard().
|
private |
Definition at line 38 of file gridwizard.hxx.
Referenced by enterState(), and OGridWizard().