36 class XMultiServiceFactory;
44class ODbDataSourceAdministrationHelper;
50 std::unique_ptr<ODbDataSourceAdministrationHelper>
m_pImpl;
59 const css::uno::Reference< css::uno::XComponentContext >& _rxORB);
81 virtual css::uno::Reference< css::uno::XComponentContext >
getORB()
const override;
82 virtual std::pair< css::uno::Reference< css::sdbc::XConnection >,
bool>
createConnection()
override;
83 virtual css::uno::Reference< css::sdbc::XDriver >
getDriver()
override;
87 virtual void setTitle(
const OUString& _sTitle)
override;
95 virtual short Ok()
override;
100 void impl_resetPages(
const css::uno::Reference< css::beans::XPropertySet >& _rxDatasource);
tab dialog for administrating the office wide registered data sources
std::unique_ptr< ODbDataSourceAdministrationHelper > m_pImpl
virtual css::uno::Reference< css::sdbc::XDriver > getDriver() override
static void destroyItemSet(std::unique_ptr< SfxItemSet > &_rpSet, rtl::Reference< SfxItemPool > &_rpPool, std::vector< SfxPoolItem * > *&_rpDefaults)
destroy and item set / item pool / pool defaults previously created by <method>createItemSet</method>
void selectDataSource(const css::uno::Any &_aDataSourceName)
selects the DataSource
virtual SfxItemSet * getWriteOutputSet() override
virtual void clearPassword() override
void addDetailPage(const OUString &rPageId, TranslateId pTextId, CreateTabPage pCreateFunc)
virtual css::uno::Reference< css::uno::XComponentContext > getORB() const override
virtual std::pair< css::uno::Reference< css::sdbc::XConnection >, bool > createConnection() override
virtual void enableConfirmSettings(bool _bEnable) override
enables or disables the user's possibility to confirm the settings
static void createItemSet(std::unique_ptr< SfxItemSet > &_rpSet, rtl::Reference< SfxItemPool > &_rpPool, std::vector< SfxPoolItem * > *&_rpDefaults, ::dbaccess::ODsnTypeCollection *_pTypeCollection)
create and return an item set for use with the dialog.
virtual short Ok() override
void impl_selectDataSource(const css::uno::Any &_aDataSourceName)
select a datasource with a given name, adjust the item set accordingly, and everything like that ....
virtual const SfxItemSet * getOutputSet() const override
virtual void saveDatasource() override
virtual ~ODbAdminDialog() override
virtual void PageCreated(const OUString &rId, SfxTabPage &_rPage) override
ApplyResult implApplyChanges()
apply all changes made
ODbAdminDialog(weld::Window *pParent, SfxItemSet const *_pItems, const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
ctor.
virtual OUString getDatasourceType(const SfxItemSet &_rSet) const override
virtual void setTitle(const OUString &_sTitle) override
void impl_resetPages(const css::uno::Reference< css::beans::XPropertySet > &_rxDatasource)
reset the tag pages according to m_sCurrentDatasource and <arg>_rxDatasource</arg>
class SAL_NO_VTABLE XPropertySet