22#include <com/sun/star/beans/PropertyAttribute.hpp>
23#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
28extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
30 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const& )
45 ,m_bOpenDatabase(true)
46 ,m_bStartTableWizard(false)
48 registerProperty(
"OpenDatabase", 3, PropertyAttribute::TRANSIENT,
51 registerProperty(
"StartTableWizard", 4, PropertyAttribute::TRANSIENT,
57 return css::uno::Sequence<sal_Int8>();
62 return "org.openoffice.comp.dbu.ODBTypeWizDialogSetup";
67 return {
"com.sun.star.sdb.DatabaseWizardDialog" };
83 describeProperties(aProps);
84 return new ::cppu::OPropertyArrayHelper(aProps);
94 if (nExecutionResult == css::ui::dialogs::ExecutableDialogResults::OK)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * org_openoffice_comp_dbu_ODBTypeWizDialogSetup_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
static weld::Window * GetFrameWeld(const css::uno::Reference< css::awt::XWindow > &rWindow)
::cppu::IPropertyArrayHelper * getArrayHelper()
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
ODBTypeWizDialogSetup(const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
virtual std::unique_ptr< weld::DialogController > createDialog(const css::uno::Reference< css::awt::XWindow > &rParent) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
virtual OUString SAL_CALL getImplementationName() override
virtual void executedDialog(sal_Int16 _nExecutionResult) override
std::unique_ptr< SfxItemSet > m_pDatasourceItems
css::uno::Any m_aInitialSelection
bool IsTableWizardToBeStarted() const
returns <TRUE> if the table wizard should be opened, otherwise <FALSE>.
bool IsDatabaseDocumentToBeOpened() const
returns <TRUE> if the database should be opened, otherwise <FALSE>.
std::unique_ptr< weld::DialogController > m_xDialog
css::uno::Reference< css::uno::XComponentContext > m_aContext