|
LibreOffice Module dbaccess (master) 1
|
implements the advanced page dlg of the data source properties. More...
#include <advancedsettingsdlg.hxx>
Public Member Functions | |
| AdvancedSettingsDialog (weld::Window *pParent, SfxItemSet *_pItems, const css::uno::Reference< css::uno::XComponentContext > &_rxORB, const css::uno::Any &_aDataSourceName) | |
| virtual | ~AdvancedSettingsDialog () override |
| virtual const SfxItemSet * | getOutputSet () const override |
| virtual SfxItemSet * | getWriteOutputSet () override |
| virtual css::uno::Reference< css::uno::XComponentContext > | getORB () const override |
| virtual std::pair< css::uno::Reference< css::sdbc::XConnection >, bool > | createConnection () override |
| virtual css::uno::Reference< css::sdbc::XDriver > | getDriver () override |
| virtual OUString | getDatasourceType (const SfxItemSet &_rSet) const override |
| virtual void | clearPassword () override |
| virtual void | saveDatasource () override |
| virtual void | setTitle (const OUString &_sTitle) override |
| virtual void | enableConfirmSettings (bool _bEnable) override |
| enables or disables the user's possibility to confirm the settings More... | |
Public Member Functions inherited from SfxTabDialogController | |
| SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false) | |
| virtual | ~SfxTabDialogController () override |
| void | AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc) |
| void | AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId) |
| void | AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc) |
| void | AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId) |
| void | RemoveTabPage (const OUString &rName) |
| void | SetCurPageId (const OUString &rName) |
| void | ShowPage (const OUString &rName) |
| OUString | GetCurPageId () const |
| SfxTabPage * | GetCurTabPage () const |
| const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
| void | SetInputSet (const SfxItemSet *pInSet) |
| const SfxItemSet * | GetOutputItemSet () const |
| virtual weld::Button & | GetOKButton () const override |
| weld::Button & | GetCancelButton () const |
| weld::Button * | GetUserButton () const |
| weld::Button * | GetStandardButton () const |
| weld::Button * | GetApplyButton () const |
| weld::Button * | GetResetButton () const |
| void | RemoveResetButton () |
| void | RemoveStandardButton () |
| virtual short | run () override |
| virtual const SfxItemSet * | GetExampleSet () const override |
| void | SetApplyHandler (const Link< weld::Button &, void > &_rHdl) |
| bool | Apply () |
| void | Applied () |
| std::vector< OUString > | getAllPageUIXMLDescriptions () const |
| bool | selectPageByUIXMLDescription (const OUString &rUIXMLDescription) |
| BitmapEx | createScreenshot () const |
| OUString | GetScreenshotId () const |
Public Member Functions inherited from SfxOkDialogController | |
| SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
| virtual weld::Button & | GetOKButton () const=0 |
| virtual const SfxItemSet * | GetExampleSet () const=0 |
Public Member Functions inherited from SfxDialogController | |
| SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
| virtual void | Activate () |
| virtual void | Deactivate () |
| virtual void | ChildWinDispose () |
| virtual void | Close () |
| virtual void | EndDialog (int nResponse) |
| virtual bool | CloseOnHide () const |
| virtual const SfxItemSet * | getOutputSet () const =0 |
| virtual SfxItemSet * | getWriteOutputSet ()=0 |
| virtual css::uno::Reference< css::uno::XComponentContext > | getORB () const =0 |
| virtual std::pair< css::uno::Reference< css::sdbc::XConnection >, bool > | createConnection ()=0 |
| virtual css::uno::Reference< css::sdbc::XDriver > | getDriver ()=0 |
| virtual OUString | getDatasourceType (const SfxItemSet &_rSet) const =0 |
| virtual void | clearPassword ()=0 |
| virtual void | saveDatasource ()=0 |
| virtual void | setTitle (const OUString &_sTitle)=0 |
| virtual void | enableConfirmSettings (bool _bEnable)=0 |
| enables or disables the user's possibility to confirm the settings More... | |
Static Public Member Functions | |
| static bool | doesHaveAnyAdvancedSettings (const OUString &_sURL) |
| determines whether or not the given data source type has any advanced setting More... | |
Static Public Member Functions inherited from SfxTabDialogController | |
| static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Member Functions | |
| virtual void | PageCreated (const OUString &rId, SfxTabPage &_rPage) override |
| virtual short | Ok () override |
Protected Member Functions inherited from SfxTabDialogController | |
| DECL_LINK (OkHdl, weld::Button &, void) | |
| DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void) | |
| DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void) | |
| DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void) | |
| DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void) | |
| virtual short | Ok () |
| virtual void | RefreshInputSet () |
| virtual SfxItemSet * | CreateInputItemSet (const OUString &rName) |
| virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
| virtual void | ActivatePage (const OUString &rPage) |
| bool | DeactivatePage (std::u16string_view aPage) |
| SfxItemSet * | GetInputSetImpl () |
| SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
| bool | PrepareLeaveCurrentPage () |
| void | SavePosAndId () |
Protected Member Functions inherited from dbaui::IItemSetHelper | |
| ~IItemSetHelper () | |
Protected Member Functions inherited from dbaui::IDatabaseSettingsDialog | |
| ~IDatabaseSettingsDialog () | |
Private Attributes | |
| std::unique_ptr< ODbDataSourceAdministrationHelper > | m_pImpl |
Additional Inherited Members | |
Protected Attributes inherited from SfxTabDialogController | |
| std::unique_ptr< weld::Notebook > | m_xTabCtrl |
| std::unique_ptr< SfxItemSet > | m_xExampleSet |
implements the advanced page dlg of the data source properties.
Definition at line 33 of file advancedsettingsdlg.hxx.
| dbaui::AdvancedSettingsDialog::AdvancedSettingsDialog | ( | weld::Window * | pParent, |
| SfxItemSet * | _pItems, | ||
| const css::uno::Reference< css::uno::XComponentContext > & | _rxORB, | ||
| const css::uno::Any & | _aDataSourceName | ||
| ) |
Definition at line 357 of file advancedsettings.cxx.
References SfxTabDialogController::AddTabPage(), dbaui::ODriversSettings::CreateGeneratedValuesPage(), dbaui::ODriversSettings::CreateSpecialSettingsPage(), eType, dbaui::ODbDataSourceAdministrationHelper::getDatasourceType(), dbaui::DataSourceMetaData::getFeatureSet(), SfxTabDialogController::GetInputSetImpl(), m_pImpl, m_xDialog, SfxTabDialogController::m_xExampleSet, SfxTabDialogController::RemoveResetButton(), SfxTabDialogController::RemoveTabPage(), SfxTabDialogController::SetInputSet(), dbaui::FeatureSet::supportsAnySpecialSetting(), and dbaui::FeatureSet::supportsGeneratedValues().
|
overridevirtual |
Definition at line 390 of file advancedsettings.cxx.
References SfxTabDialogController::SetInputSet().
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 451 of file advancedsettings.cxx.
References m_pImpl.
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 431 of file advancedsettings.cxx.
References m_pImpl.
|
static |
determines whether or not the given data source type has any advanced setting
Definition at line 395 of file advancedsettings.cxx.
References dbaui::DataSourceMetaData::getFeatureSet(), dbaui::FeatureSet::supportsAnySpecialSetting(), and dbaui::FeatureSet::supportsGeneratedValues().
Referenced by dbaui::OApplicationController::GetState().
|
overridevirtual |
enables or disables the user's possibility to confirm the settings
In a wizard, disabling this will usually disable the "Finish" button. In a normal tab dialog, this will usually disable the "OK" button.
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 461 of file advancedsettings.cxx.
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 446 of file advancedsettings.cxx.
References dbaui::ODbDataSourceAdministrationHelper::getDatasourceType().
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 441 of file advancedsettings.cxx.
References m_pImpl.
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 436 of file advancedsettings.cxx.
References m_pImpl.
Referenced by PageCreated().
|
overridevirtual |
Implements dbaui::IItemSetHelper.
Definition at line 421 of file advancedsettings.cxx.
References SfxTabDialogController::m_xExampleSet.
|
overridevirtual |
Implements dbaui::IItemSetHelper.
Definition at line 426 of file advancedsettings.cxx.
References SfxTabDialogController::m_xExampleSet.
|
overrideprotectedvirtual |
Reimplemented from SfxTabDialogController.
Definition at line 402 of file advancedsettings.cxx.
References SfxTabDialogController::GetOutputItemSet(), m_pImpl, SfxTabDialogController::m_xExampleSet, SfxTabDialogController::Ok(), and RET_OK.
|
overrideprotectedvirtual |
Reimplemented from SfxTabDialogController.
Definition at line 413 of file advancedsettings.cxx.
References getORB(), and SfxTabDialogController::PageCreated().
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 463 of file advancedsettings.cxx.
References SfxTabDialogController::PrepareLeaveCurrentPage().
|
overridevirtual |
Implements dbaui::IDatabaseSettingsDialog.
Definition at line 456 of file advancedsettings.cxx.
References m_xDialog.
|
private |
Definition at line 37 of file advancedsettingsdlg.hxx.
Referenced by AdvancedSettingsDialog(), clearPassword(), createConnection(), getDriver(), getORB(), and Ok().