Home
last modified time | relevance | path

Searched refs:xDatabaseContext (Results 1 – 25 of 27) sorted by relevance

12

/dports/editors/libreoffice/libreoffice-7.2.6.2/dbaccess/source/filter/xml/
H A Ddbloader2.cxx357 Reference< XDatabaseContext > xDatabaseContext; in load() local
362 xDatabaseContext = DatabaseContext::create(m_aContext); in load()
372 xDocumentDataSource.set( xDatabaseContext->createInstance(), UNO_QUERY_THROW ); in load()
378 …xDocumentDataSource.set( xDatabaseContext->createInstanceWithArguments( aCreationArgs.getWrappedNa… in load()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/dbaccess/source/filter/xml/
H A Ddbloader2.cxx405 Reference< XDatabaseContext > xDatabaseContext( DatabaseContext::create(m_aContext) ); in load() local
415 xDocumentDataSource.set( xDatabaseContext->createInstance(), UNO_QUERY_THROW ); in load()
421 …xDocumentDataSource.set( xDatabaseContext->createInstanceWithArguments( aCreationArgs.getWrappedNa… in load()
/dports/editors/libreoffice/libreoffice-7.2.6.2/wizards/com/sun/star/wizards/db/
H A DDBMetaData.java97 private XInterface xDatabaseContext; field in DBMetaData
189 xDatabaseContext = (XInterface) xMSF.createInstance("com.sun.star.sdb.DatabaseContext"); in getInterfaces()
190 xNameAccess = UnoRuntime.queryInterface( XNameAccess.class, xDatabaseContext ); in getInterfaces()
998 xDatabaseContext = null; in finish()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/wizards/com/sun/star/wizards/db/
H A DDBMetaData.java97 private XInterface xDatabaseContext; field in DBMetaData
189 xDatabaseContext = (XInterface) xMSF.createInstance("com.sun.star.sdb.DatabaseContext"); in getInterfaces()
190 xNameAccess = UnoRuntime.queryInterface( XNameAccess.class, xDatabaseContext ); in getInterfaces()
998 xDatabaseContext = null; in finish()
/dports/editors/libreoffice/libreoffice-7.2.6.2/dbaccess/source/ui/dlg/
H A Ddbwizsetup.cxx762 Reference< XDatabaseContext > xDatabaseContext( DatabaseContext::create(getORB()) ); in RegisterDataSourceByLocation() local
765 OUString sDatabaseName = ::dbtools::createUniqueName(xDatabaseContext, sFilename, false); in RegisterDataSourceByLocation()
766 xDatabaseContext->registerObject(sDatabaseName, xDatasource); in RegisterDataSourceByLocation()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/dbaccess/source/ui/dlg/
H A Ddbwizsetup.cxx776 Reference< XDatabaseContext > xDatabaseContext( DatabaseContext::create(getORB()) ); in RegisterDataSourceByLocation() local
779 OUString sDatabaseName = ::dbtools::createUniqueName(xDatabaseContext, sFilename, false); in RegisterDataSourceByLocation()
780 xDatabaseContext->registerObject(sDatabaseName, xDatasource); in RegisterDataSourceByLocation()
/dports/editors/libreoffice/libreoffice-7.2.6.2/dbaccess/source/ui/uno/
H A Dcopytablewizard.cxx832 Reference< XDatabaseContext > xDatabaseContext = DatabaseContext::create( m_xContext ); in impl_extractConnection_throw() local
835 xDataSource.set( xDatabaseContext->getByName( sDataSource ), UNO_QUERY_THROW ); in impl_extractConnection_throw()
837 xDataSource.set( xDatabaseContext->getByName( sDatabaseLocation ), UNO_QUERY_THROW ); in impl_extractConnection_throw()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/dbaccess/source/ui/uno/
H A Dcopytablewizard.cxx854 Reference< XDatabaseContext > xDatabaseContext = DatabaseContext::create( m_xContext ); in impl_extractConnection_throw() local
857 xDataSource.set( xDatabaseContext->getByName( sDataSource ), UNO_QUERY_THROW ); in impl_extractConnection_throw()
859 xDataSource.set( xDatabaseContext->getByName( sDatabaseLocation ), UNO_QUERY_THROW ); in impl_extractConnection_throw()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/dbui/
H A Ddbmgr.cxx2883 …uno::Reference<sdb::XDatabaseContext> xDatabaseContext = sdb::DatabaseContext::create(comphelper::… in RevokeDataSource() local
2884 if (xDatabaseContext->hasByName(rName)) in RevokeDataSource()
2886 switchEmbeddedDatabaseStorage(xDatabaseContext, rName); in RevokeDataSource()
2887 xDatabaseContext->revokeObject(rName); in RevokeDataSource()
2893 …uno::Reference<sdb::XDatabaseContext> xDatabaseContext = sdb::DatabaseContext::create(comphelper::… in LoadAndRegisterEmbeddedDataSource() local
2909 uno::Reference<uno::XInterface> xDataSource(xDatabaseContext->getByName(aURL), uno::UNO_QUERY); in LoadAndRegisterEmbeddedDataSource()
2910 xDatabaseContext->registerObject( sDataSource, xDataSource ); in LoadAndRegisterEmbeddedDataSource()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/dbui/
H A Ddbmgr.cxx2934 …uno::Reference<sdb::XDatabaseContext> xDatabaseContext = sdb::DatabaseContext::create(comphelper::… in RevokeDataSource() local
2935 if (xDatabaseContext->hasByName(rName)) in RevokeDataSource()
2937 switchEmbeddedDatabaseStorage(xDatabaseContext, rName); in RevokeDataSource()
2938 xDatabaseContext->revokeObject(rName); in RevokeDataSource()
2944 …uno::Reference<sdb::XDatabaseContext> xDatabaseContext = sdb::DatabaseContext::create(comphelper::… in LoadAndRegisterEmbeddedDataSource() local
2960 uno::Reference<uno::XInterface> xDataSource(xDatabaseContext->getByName(aURL), uno::UNO_QUERY); in LoadAndRegisterEmbeddedDataSource()
2961 xDatabaseContext->registerObject( sDataSource, xDataSource ); in LoadAndRegisterEmbeddedDataSource()
/dports/editors/libreoffice/libreoffice-7.2.6.2/dbaccess/source/ui/misc/
H A DTokenWriter.cxx214 … Reference<XNameAccess> xDatabaseContext( DatabaseContext::create(m_xContext), UNO_QUERY_THROW); in initialize() local
218 …SQLExceptionInfo aInfo = ::dbaui::createConnection( m_sDataSourceName, xDatabaseContext, m_xContex… in initialize()
H A DUITools.cxx195 Reference< XDatabaseContext > xDatabaseContext = DatabaseContext::create(_rxContext); in getDataSourceByName() local
201 xDatabaseContext->getByName( _rDataSourceName ) >>= xDatasource; in getDataSourceByName()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/dbaccess/source/ui/misc/
H A DTokenWriter.cxx217 … Reference<XNameAccess> xDatabaseContext( DatabaseContext::create(m_xContext), UNO_QUERY_THROW); in initialize() local
221 …SQLExceptionInfo aInfo = ::dbaui::createConnection( m_sDataSourceName, xDatabaseContext, m_xContex… in initialize()
H A DUITools.cxx216 Reference< XDatabaseContext > xDatabaseContext = DatabaseContext::create(_rxContext); in getDataSourceByName() local
223 xDatabaseContext->getByName( _rDataSourceName ) >>= xDatasource; in getDataSourceByName()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/app/
H A Ddocsh.cxx470 auto xDatabaseContext = sdb::DatabaseContext::create(xContext); in SaveAs() local
471 uno::Reference<sdb::XDocumentDataSource> xDataSource(xDatabaseContext->getByName(aURL), in SaveAs()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/app/
H A Ddocsh.cxx491 auto xDatabaseContext = sdb::DatabaseContext::create(xContext); in SaveAs() local
492 uno::Reference<sdb::XDocumentDataSource> xDataSource(xDatabaseContext->getByName(aURL), in SaveAs()
/dports/editors/libreoffice/libreoffice-7.2.6.2/extensions/source/propctrlr/
H A Dformcomponenthandler.cxx502 … Reference< XDatabaseContext > xDatabaseContext = sdb::DatabaseContext::create( m_xContext ); in convertToPropertyValue() local
503 if ( !xDatabaseContext->hasByName( sControlValue ) ) in convertToPropertyValue()
1332 … Reference< XDatabaseContext > xDatabaseContext = sdb::DatabaseContext::create( m_xContext ); in describePropertyLine() local
1333 Sequence< OUString > aDatasources = xDatabaseContext->getElementNames(); in describePropertyLine()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/extensions/source/propctrlr/
H A Dformcomponenthandler.cxx506 … Reference< XDatabaseContext > xDatabaseContext = sdb::DatabaseContext::create( m_xContext ); in convertToPropertyValue() local
507 if ( !xDatabaseContext->hasByName( sControlValue ) ) in convertToPropertyValue()
1327 … Reference< XDatabaseContext > xDatabaseContext = sdb::DatabaseContext::create( m_xContext ); in describePropertyLine() local
1328 Sequence< OUString > aDatasources = xDatabaseContext->getElementNames(); in describePropertyLine()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/uiview/
H A Dview.cxx1917 Reference< XDatabaseContext> xDatabaseContext = DatabaseContext::create(xContext); in IsDataSourceAvailable() local
1919 return xDatabaseContext->hasByName(sDataSourceName); in IsDataSourceAvailable()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/extras/uiwriter/
H A Duiwriter.cxx3901 …uno::Reference<sdb::XDatabaseContext> xDatabaseContext = sdb::DatabaseContext::create(xComponentCo… in testEmbeddedDataSource() local
3902 CPPUNIT_ASSERT(!xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
3907 CPPUNIT_ASSERT(xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
3910 …uno::Reference<sdbc::XDataSource> xDataSource(xDatabaseContext->getByName("calc-data-source"), uno… in testEmbeddedDataSource()
3923 CPPUNIT_ASSERT(xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
3926 xDataSource.set(xDatabaseContext->getByName("calc-data-source"), uno::UNO_QUERY); in testEmbeddedDataSource()
3939 CPPUNIT_ASSERT(!xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/commontools/
H A Ddbtools.cxx243 Reference< XDatabaseContext> xDatabaseContext = DatabaseContext::create(_rxContext); in getDataSource_allowException() local
245 return Reference< XDataSource >( xDatabaseContext->getByName( _rsTitleOrPath ), UNO_QUERY ); in getDataSource_allowException()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/commontools/
H A Ddbtools.cxx244 Reference< XDatabaseContext> xDatabaseContext = DatabaseContext::create(_rxContext); in getDataSource_allowException() local
246 return Reference< XDataSource >( xDatabaseContext->getByName( _rsTitleOrPath ), UNO_QUERY ); in getDataSource_allowException()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/extras/uiwriter/
H A Duiwriter.cxx3971 …uno::Reference<sdb::XDatabaseContext> xDatabaseContext = sdb::DatabaseContext::create(xComponentCo… in testEmbeddedDataSource() local
3972 CPPUNIT_ASSERT(!xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
3978 CPPUNIT_ASSERT(xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
3981 …uno::Reference<sdbc::XDataSource> xDataSource(xDatabaseContext->getByName("calc-data-source"), uno… in testEmbeddedDataSource()
3994 CPPUNIT_ASSERT(xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
3997 xDataSource.set(xDatabaseContext->getByName("calc-data-source"), uno::UNO_QUERY); in testEmbeddedDataSource()
4010 CPPUNIT_ASSERT(!xDatabaseContext->hasByName("calc-data-source")); in testEmbeddedDataSource()
/dports/editors/libreoffice/libreoffice-7.2.6.2/dbaccess/source/core/api/
H A DRowSet.cxx2171 Reference< XDatabaseContext > xDatabaseContext( DatabaseContext::create(m_aContext) ); in calcConnection() local
2174 …Reference< XDataSource > xDataSource( xDatabaseContext->getByName( m_aDataSourceName ), UNO_QUERY_… in calcConnection()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/dbaccess/source/core/api/
H A DRowSet.cxx2174 Reference< XDatabaseContext > xDatabaseContext( DatabaseContext::create(m_aContext) ); in calcConnection() local
2177 …Reference< XDataSource > xDataSource( xDatabaseContext->getByName( m_aDataSourceName ), UNO_QUERY_… in calcConnection()

12