20#include <config_java.h>
23#include <core_resource.hxx>
40#include <osl/diagnose.h>
51 return std::make_unique<OTextConnectionPageSetup>(pPage, pController, _rAttrSet);
57 rCoreAttrs, STR_TEXT_HELPTEXT, STR_TEXT_HEADERTEXT, STR_TEXT_PATH_OR_FILE)
58 , m_xSubContainer(m_xBuilder->weld_widget(
"TextPageContainer"))
97 bool bValid, bReadonly;
107 return bChangedSomething;
117 return std::make_unique<OLDAPConnectionPageSetup>(pPage, pController, _rAttrSet);
123 , m_xFTHelpText(m_xBuilder->weld_label(
"helpLabel"))
124 , m_xFTHostServer(m_xBuilder->weld_label(
"hostNameLabel"))
125 , m_xETHostServer(m_xBuilder->weld_entry(
"hostNameEntry"))
126 , m_xFTBaseDN(m_xBuilder->weld_label(
"baseDNLabel"))
127 , m_xETBaseDN(m_xBuilder->weld_entry(
"baseDNEntry"))
128 , m_xFTPortNumber(m_xBuilder->weld_label(
"portNumLabel"))
129 , m_xNFPortNumber(m_xBuilder->weld_spin_button(
"portNumEntry"))
130 , m_xFTDefaultPortNumber(m_xBuilder->weld_label(
"portNumDefLabel"))
131 , m_xCBUseSSL(m_xBuilder->weld_check_button(
"useSSLCheckbutton"))
146 bool bChangedSomething =
false;
156 OSL_ENSURE(pCollection,
"OLDAPConnectionPageSetup::FillItemSet : really need a DSN type collection !");
161 bChangedSomething =
true;
166 return bChangedSomething;
186 bool bValid, bReadonly;
210 return std::make_unique<OMySQLIntroPageSetup>(pPage, pController, rAttrSet);
215 , m_xODBCDatabase(m_xBuilder->weld_radio_button(
"odbc"))
216 , m_xJDBCDatabase(m_xBuilder->weld_radio_button(
"jdbc"))
217 , m_xNATIVEDatabase(m_xBuilder->weld_radio_button(
"directly"))
231 maClickHdl.Call(
this );
238 bool bHasMySQLNative = ( pCollectionItem != nullptr ) && pCollectionItem->
getCollection()->
hasDriver(
"sdbc:mysql:mysqlc:" );
239 if ( bHasMySQLNative )
247 if ( bHasMySQLNative )
263 OSL_FAIL(
"Who called me?! Please ask oj for more information.");
280 , m_xHelpText(m_xBuilder->weld_label(
"helptext"))
281 , m_xSettingsContainer(m_xBuilder->weld_container(
"MySQLSettingsContainer"))
294 return std::make_unique<MySQLNativeSetupPage>(pPage, pController, rAttrSet);
331 :
OGenericAdministrationPage(pPage, pController,
"dbaccess/ui/specialjdbcconnectionpage.ui",
"SpecialJDBCConnectionPage", _rCoreAttrs)
332 , m_nPortId(_nPortId)
333 , m_xHeaderText(m_xBuilder->weld_label(
"header"))
334 , m_xFTHelpText(m_xBuilder->weld_label(
"helpLabel"))
335 , m_xFTDatabasename(m_xBuilder->weld_label(
"dbNameLabel"))
336 , m_xETDatabasename(m_xBuilder->weld_entry(
"dbNameEntry"))
337 , m_xFTHostname(m_xBuilder->weld_label(
"hostNameLabel"))
338 , m_xETHostname(m_xBuilder->weld_entry(
"hostNameEntry"))
339 , m_xFTPortNumber(m_xBuilder->weld_label(
"portNumLabel"))
340 , m_xFTDefaultPortNumber(m_xBuilder->weld_label(
"portNumDefLabel"))
341 , m_xNFPortNumber(m_xBuilder->weld_spin_button(
"portNumEntry"))
342 , m_xFTDriverClass(m_xBuilder->weld_label(
"jdbcDriverLabel"))
343 , m_xETDriverClass(m_xBuilder->weld_entry(
"jdbcDriverEntry"))
344 , m_xPBTestJavaDriver(m_xBuilder->weld_button(
"testDriverButton"))
349 OUString sHelpText =
DBA_RES(pHelpTextResId);
364 if (pTypeCollection && pUrlItem && pUrlItem->
GetValue().getLength() )
378 return std::make_unique<OGeneralSpecialJDBCConnectionPageSetup>(pPage, pController,
382 STR_MYSQLJDBC_HELPTEXT,
383 STR_MYSQLJDBC_HEADERTEXT,
384 STR_MYSQL_DRIVERCLASSTEXT);
389 return std::make_unique<OGeneralSpecialJDBCConnectionPageSetup>(pPage, pController,
394 STR_ORACLE_HEADERTEXT,
395 STR_ORACLE_DRIVERCLASSTEXT);
418 bool bChangedSomething =
false;
423 return bChangedSomething;
429 bool bValid, bReadonly;
467 OSL_ENSURE(m_pAdminDialog,
"No Admin dialog set! ->GPF");
469 bool bSuccess =
false;
473 if ( !
o3tl::trim(m_xETDriverClass->get_text()).empty() )
477 m_xETDriverClass->set_text(m_xETDriverClass->get_text().trim());
478 bSuccess = ::connectivity::existsJavaClassByName(xJVM,m_xETDriverClass->get_text());
481 catch(css::uno::Exception&)
485 TranslateId pMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
502 return std::make_unique<OJDBCConnectionPageSetup>(pPage, pController, _rAttrSet);
508 , m_nPortId(_nPortId)
509 , m_xETDatabasename(m_xBuilder->weld_entry(
"dbNameEntry"))
510 , m_xETHostname(m_xBuilder->weld_entry(
"hostNameEntry"))
511 , m_xNFPortNumber(m_xBuilder->weld_spin_button(
"portNumEntry"))
512 , m_xConnectionURL(new
OConnectionURLEdit(m_xBuilder->weld_entry(
"browseurl"), m_xBuilder->weld_label(
"browselabel")))
520 OSL_ENSURE(
m_pCollection,
"OConnectionHelper::OConnectionHelper : really need a DSN type collection !");
532 return std::make_unique<OPostgresConnectionPageSetup>(pPage, pController,
547 bool bChangedSomething =
false;
552 return bChangedSomething;
563 bool bValid, bReadonly;
579 OUString sUrl = pUrlItem->GetValue();
611 OSL_ENSURE(
m_pCollection,
"OConnectionHelper::impl_setURL: have no interpreter for the URLs!" );
630 :
OConnectionTabPageSetup(pPage, pController,
"dbaccess/ui/jdbcconnectionpage.ui",
"JDBCConnectionPage", rCoreAttrs,
631 STR_JDBC_HELPTEXT, STR_JDBC_HEADERTEXT, STR_COMMONURL)
632 , m_xFTDriverClass(m_xBuilder->weld_label(
"jdbcLabel"))
633 , m_xETDriverClass(m_xBuilder->weld_entry(
"jdbcEntry"))
634 , m_xPBTestJavaDriver(m_xBuilder->weld_button(
"jdbcButton"))
658 return bChangedSomething;
664 bool bValid, bReadonly;
671 if ( !pDrvItem->
GetValue().getLength() )
674 if ( !sDefaultJdbcDriverName.isEmpty() )
686 bool bEnable = pDrvItem->
GetValue().getLength() != 0;
697 bEnableTestConnection = bEnableTestConnection && (!
m_xETDriverClass->get_text().isEmpty());
698 return bEnableTestConnection;
703 OSL_ENSURE(m_pAdminDialog,
"No Admin dialog set! ->GPF");
704 bool bSuccess =
false;
708 if ( !m_xETDriverClass->get_text().isEmpty() )
712 m_xETDriverClass->set_text(m_xETDriverClass->get_text().trim());
713 bSuccess = xJVM.is() && ::connectivity::existsJavaClassByName(xJVM,m_xETDriverClass->get_text());
716 catch(css::uno::Exception&)
720 TranslateId pMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
728 if (&rEdit == m_xETDriverClass.get())
729 m_xPBTestJavaDriver->set_sensitive(!m_xETDriverClass->get_text().isEmpty());
730 SetRoadmapStateValue(checkTestConnection());
737 return std::make_unique<OSpreadSheetConnectionPageSetup>(pPage, pController, _rAttrSet);
742 rCoreAttrs, STR_SPREADSHEET_HELPTEXT, STR_SPREADSHEET_HEADERTEXT, STR_SPREADSHEETPATH)
743 , m_xPasswordrequired(m_xBuilder->weld_check_button(
"passwordrequired"))
767 return bChangedSomething;
772 return std::make_unique<OAuthentificationPageSetup>(pPage, pController, _rAttrSet);
777 , m_xFTHelpText(m_xBuilder->weld_label(
"helptext"))
778 , m_xFTUserName(m_xBuilder->weld_label(
"generalUserNameLabel"))
779 , m_xETUserName(m_xBuilder->weld_entry(
"generalUserNameEntry"))
780 , m_xCBPasswordRequired(m_xBuilder->weld_check_button(
"passRequiredCheckbutton"))
781 , m_xPBTestConnection(m_xBuilder->weld_button(
"testConnectionButton"))
808 bool bValid, bReadonly;
821 bool bChangedSomething =
false;
827 bChangedSomething =
true;
830 return bChangedSomething;
835 return std::make_unique<OFinalDBPageSetup>(pPage, pController, _rAttrSet);
840 , m_xFTFinalHeader(m_xBuilder->weld_label(
"headerText"))
841 , m_xFTFinalHelpText(m_xBuilder->weld_label(
"helpText"))
842 , m_xRBRegisterDataSource(m_xBuilder->weld_radio_button(
"yesregister"))
843 , m_xRBDontregisterDataSource(m_xBuilder->weld_radio_button(
"noregister"))
844 , m_xFTAdditionalSettings(m_xBuilder->weld_label(
"additionalText"))
845 , m_xCBOpenAfterwards(m_xBuilder->weld_check_button(
"openediting"))
846 , m_xCBStartTableWizard(m_xBuilder->weld_check_button(
"usewizard"))
847 , m_xFTFinalText(m_xBuilder->weld_label(
"finishText"))
906 m_xCBStartTableWizard->set_sensitive(rBox.get_sensitive() && rBox.get_active());
const OUString & GetValue() const
const SfxPoolItem * GetItem(sal_uInt16 nWhich, bool bSearchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
bool hasDriver(const char *_pAsciiPattern) const
determines whether there is a driver for the given URL prefix/pattern
OUString getPrefix(std::u16string_view _sURL) const
on a given string, return the type prefix
OUString getJavaDriverClass(std::u16string_view _sURL) const
on a given string, return the Java Driver Class
allows an ODsnTypeCollection to be transported in an SfxItemSet
::dbaccess::ODsnTypeCollection * getCollection() const
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
std::unique_ptr< MySQLNativeSettings > m_xMySQLSettings
MySQLNativeSetupPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreAttrs)
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
virtual ~MySQLNativeSetupPage() override
virtual void callModifiedHdl(weld::Widget *pControl=nullptr) override
std::unique_ptr< weld::Label > m_xHelpText
static std::unique_ptr< OGenericAdministrationPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet)
virtual ~OAuthentificationPageSetup() override
static std::unique_ptr< OGenericAdministrationPage > CreateAuthentificationTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
std::unique_ptr< weld::Label > m_xFTHelpText
std::unique_ptr< weld::Button > m_xPBTestConnection
std::unique_ptr< weld::CheckButton > m_xCBPasswordRequired
OAuthentificationPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs)
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
std::unique_ptr< weld::Entry > m_xETUserName
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
std::unique_ptr< weld::Label > m_xFTUserName
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
std::unique_ptr< OConnectionURLEdit > m_xConnectionURL
::dbaccess::ODsnTypeCollection * m_pCollection
implements the connection page of the data source properties dialog.
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual bool checkTestConnection() override
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
void SetFinalPage(OFinalDBPageSetup *pPage)
void SetIntroPage(OMySQLIntroPageSetup *pPage)
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
bool IsTableWizardToBeStarted() const
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
std::unique_ptr< weld::CheckButton > m_xCBStartTableWizard
virtual ~OFinalDBPageSetup() override
std::unique_ptr< weld::RadioButton > m_xRBDontregisterDataSource
OFinalDBPageSetup(weld::Container *pPage, ODbTypeWizDialogSetup *pController, const SfxItemSet &_rCoreAttrs)
std::unique_ptr< weld::RadioButton > m_xRBRegisterDataSource
std::unique_ptr< weld::Label > m_xFTAdditionalSettings
bool IsDatabaseDocumentToBeRegistered() const
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
std::unique_ptr< weld::Label > m_xFTFinalText
std::unique_ptr< weld::Label > m_xFTFinalHeader
void enableTableWizardCheckBox(bool _bSupportsTableCreation)
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
static std::unique_ptr< OGenericAdministrationPage > CreateFinalDBTabPageSetup(weld::Container *pPage, ODbTypeWizDialogSetup *pController, const SfxItemSet &_rAttrSet)
bool IsDatabaseDocumentToBeOpened() const
std::unique_ptr< weld::Label > m_xFTFinalHelpText
std::unique_ptr< weld::CheckButton > m_xCBOpenAfterwards
std::unique_ptr< weld::Label > m_xFTDatabasename
std::unique_ptr< weld::Label > m_xFTDefaultPortNumber
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
std::unique_ptr< weld::Button > m_xPBTestJavaDriver
std::unique_ptr< weld::Label > m_xFTHostname
std::unique_ptr< weld::Entry > m_xETDatabasename
std::unique_ptr< weld::Label > m_xFTHelpText
virtual ~OGeneralSpecialJDBCConnectionPageSetup() override
virtual void callModifiedHdl(weld::Widget *pControl=nullptr) override
std::unique_ptr< weld::Label > m_xFTDriverClass
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
TypedWhichId< SfxInt32Item > m_nPortId
OUString m_sDefaultJdbcDriverName
static std::unique_ptr< OGenericAdministrationPage > CreateOracleJDBCTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
std::unique_ptr< weld::SpinButton > m_xNFPortNumber
std::unique_ptr< weld::Entry > m_xETDriverClass
static std::unique_ptr< OGenericAdministrationPage > CreateMySQLJDBCTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
std::unique_ptr< weld::Label > m_xHeaderText
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
std::unique_ptr< weld::Entry > m_xETHostname
OGeneralSpecialJDBCConnectionPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs, sal_uInt16 _nPortId, TranslateId pDefaultPortResId, TranslateId pHelpTextResId, TranslateId pHeaderTextResId, TranslateId pDriverClassId)
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
std::unique_ptr< weld::Label > m_xFTPortNumber
static void getFlags(const SfxItemSet &_rSet, bool &_rValid, bool &_rReadonly)
analyze the invalid and the readonly flag which may be present in the set
IDatabaseSettingsDialog * m_pAdminDialog
static void fillString(SfxItemSet &_rSet, const weld::Entry *pEdit, TypedWhichId< SfxStringItem > _nID, bool &_bChangedSomething)
fills the String value into the item set when the value changed.
void SetRoadmapStateValue(bool _bDoEnable)
virtual void callModifiedHdl(weld::Widget *=nullptr)
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue)
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
static void fillBool(SfxItemSet &_rSet, const weld::CheckButton *pCheckBox, sal_uInt16 _nID, bool bOptionalBool, bool &_bChangedSomething, bool _bRevertValue=false)
fills the Boolean value into the item set when the value changed.
static void fillInt32(SfxItemSet &_rSet, const weld::SpinButton *pEdit, TypedWhichId< SfxInt32Item > _nID, bool &_bChangedSomething)
fills the int value into the item set when the value changed.
std::unique_ptr< weld::Label > m_xFTDriverClass
static std::unique_ptr< OGenericAdministrationPage > CreateJDBCTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet)
std::unique_ptr< weld::Entry > m_xETDriverClass
virtual ~OJDBCConnectionPageSetup() override
OJDBCConnectionPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs)
std::unique_ptr< weld::Button > m_xPBTestJavaDriver
virtual bool checkTestConnection() override
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
std::unique_ptr< weld::SpinButton > m_xNFPortNumber
std::unique_ptr< weld::Entry > m_xETBaseDN
std::unique_ptr< weld::Label > m_xFTPortNumber
std::unique_ptr< weld::CheckButton > m_xCBUseSSL
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
std::unique_ptr< weld::Label > m_xFTHostServer
virtual ~OLDAPConnectionPageSetup() override
virtual void callModifiedHdl(weld::Widget *pControl=nullptr) override
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
std::unique_ptr< weld::Entry > m_xETHostServer
static std::unique_ptr< OGenericAdministrationPage > CreateLDAPTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
OLDAPConnectionPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs)
std::unique_ptr< weld::Label > m_xFTBaseDN
std::unique_ptr< weld::Label > m_xFTDefaultPortNumber
std::unique_ptr< weld::Label > m_xFTHelpText
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
std::unique_ptr< weld::RadioButton > m_xODBCDatabase
std::unique_ptr< weld::RadioButton > m_xNATIVEDatabase
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
static std::unique_ptr< OMySQLIntroPageSetup > CreateMySQLIntroTabPage(weld::Container *pPage, ODbTypeWizDialogSetup *pController, const SfxItemSet &rAttrSet)
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
virtual bool FillItemSet(SfxItemSet *_rSet) override
ConnectionType getMySQLMode() const
std::unique_ptr< weld::RadioButton > m_xJDBCDatabase
virtual ~OMySQLIntroPageSetup() override
OMySQLIntroPageSetup(weld::Container *pPage, ODbTypeWizDialogSetup *pController, const SfxItemSet &rCoreAttrs)
std::unique_ptr< OConnectionURLEdit > m_xConnectionURL
void setURLNoPrefix(std::u16string_view _rURL)
::dbaccess::ODsnTypeCollection * m_pCollection
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
virtual bool commitPage(::vcl::WizardTypes::CommitPageReason _eReason) override
void impl_setURL(std::u16string_view _rURL, bool _bPrefix)
used for the connection URL
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
OPostgresConnectionPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs, sal_uInt16 _nPortId)
static std::unique_ptr< OGenericAdministrationPage > CreatePostgresTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
std::unique_ptr< weld::Entry > m_xETDatabasename
std::unique_ptr< weld::SpinButton > m_xNFPortNumber
TypedWhichId< SfxInt32Item > m_nPortId
std::unique_ptr< weld::Entry > m_xETHostname
void setURL(std::u16string_view _rURL)
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual ~OPostgresConnectionPageSetup() override
virtual ~OSpreadSheetConnectionPageSetup() override
OSpreadSheetConnectionPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs)
std::unique_ptr< weld::CheckButton > m_xPasswordrequired
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
static std::unique_ptr< OGenericAdministrationPage > CreateDocumentOrSpreadSheetTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
virtual void fillWindows(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to disable if necessary
std::unique_ptr< OTextConnectionHelper > m_xTextConnectionHelper
static std::unique_ptr< OGenericAdministrationPage > CreateTextTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rAttrSet)
OTextConnectionPageSetup(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &_rCoreAttrs)
virtual void implInitControls(const SfxItemSet &_rSet, bool _bSaveValue) override
called from within Reset and ActivatePage, use to initialize the controls with the items from the giv...
bool checkTestConnection() override
virtual ~OTextConnectionPageSetup() override
virtual void fillControls(std::vector< std::unique_ptr< ISaveValueWrapper > > &_rControlList) override
will be called inside <method>implInitControls</method> to save the value if necessary
virtual bool FillItemSet(SfxItemSet *_rCoreAttrs) override
virtual bool prepareLeave() override
called from within DeactivatePage. The page is allowed to be deactivated if this method returns sal_T...
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
#define DSID_CONN_LDAP_BASEDN
#define DSID_CONN_LDAP_PORTNUMBER
#define DSID_DATABASENAME
#define DSID_CONN_LDAP_USESSL
#define DSID_TYPECOLLECTION
#define DSID_CONN_HOSTNAME
#define DSID_MYSQL_PORTNUMBER
#define DSID_POSTGRES_PORTNUMBER
#define DSID_JDBCDRIVERCLASS
#define DSID_ORACLE_PORTNUMBER
#define DSID_PASSWORDREQUIRED
#define LINK(Instance, Class, Member)
OString stripEnd(const OString &rIn, char c)
IMPL_LINK_NOARG(OApplicationController, OnClipboardChanged, TransferableDataHelper *, void)
IMPL_LINK(OApplicationController, OnSelectContainer, void *, _pType, void)
std::basic_string_view< charT, traits > trim(std::basic_string_view< charT, traits > str)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)