Home
last modified time | relevance | path

Searched refs:xConnection (Results 1 – 25 of 117) sorted by relevance

12345

/aoo41x/main/sw/source/ui/shells/
H A Dtextsh2.cxx93 Reference<XConnection> xConnection; member
136 Reference<XConnection> xConnection; in ExecDB() local
141 if ( !xConnection.is() ) in ExecDB()
146 if(!xConnection.is()) in ExecDB()
169 pNew->xConnection = xConnection; in ExecDB()
260 Reference< sdbc::XConnection> xConnection = pDBStruct->xConnection; in IMPL_STATIC_LINK() local
263 if(xConnection.is() && !xSource.is()) in IMPL_STATIC_LINK()
266 if ( !xConnection.is() ) in IMPL_STATIC_LINK()
273 if(xConnection.is()) in IMPL_STATIC_LINK()
274 xColSupp = SwNewDBMgr::GetColumnSupplier(xConnection, in IMPL_STATIC_LINK()
[all …]
/aoo41x/main/sw/source/ui/dbui/
H A Ddbmgr.cxx391 pImpl->pMergeData->xConnection = xConnection; in MergeNew()
637 xConnection = pParam->xConnection; in GetTableNames()
644 if(xConnection.is()) in GetTableNames()
692 xConnection = pParam->xConnection; in GetColumnNames()
1430 xConnection = pImpl->pMergeData->xConnection; in IMPL_LINK_INLINE_END()
1444 xConnection = pParam->xConnection; in IMPL_LINK_INLINE_END()
1454 pImpl->pMergeData->xConnection = xConnection; in IMPL_LINK_INLINE_END()
1595 xConnection = pParam->xConnection; in GetColumnType()
1646 return xConnection; in GetConnection()
2049 pFound->xConnection = pParam->xConnection; in OpenDataSource()
[all …]
H A Daddresslistdialog.cxx96 SharedConnection xConnection; member
256 pUserData->xConnection = rConfigItem.GetConnection(); in SwAddressListDialog()
310 if(pUserData->xConnection.is() ) in IMPL_LINK()
490 pUserData->xConnection.clear(); in IMPL_LINK()
571 if(!pUserData->xConnection.is()) in DetectTablesAndQueries()
582 if(pUserData->xConnection.is()) in DetectTablesAndQueries()
587 uno::Reference<XTablesSupplier> xTSupplier(pUserData->xConnection, UNO_QUERY); in DetectTablesAndQueries()
594 uno::Reference<XQueriesSupplier> xQSupplier(pUserData->xConnection, UNO_QUERY); in DetectTablesAndQueries()
638 pUserData->xColumnsSupplier = SwNewDBMgr::GetColumnSupplier(pUserData->xConnection, in DetectTablesAndQueries()
650 m_aFilterPB.Enable( pUserData->xConnection.is() && sCommand.Len() ); in DetectTablesAndQueries()
[all …]
H A Ddbtree.cxx84 Reference<XConnection> xConnection; member
207 xRet = pPtr->xConnection; in GetConnection()
358 Reference<XConnection> xConnection = pImpl->GetConnection(sSourceName); in RequestingChilds() local
363 … Reference<XTablesSupplier> xTSupplier = Reference<XTablesSupplier>(xConnection, UNO_QUERY); in RequestingChilds()
381 … Reference<XQueriesSupplier> xQSupplier = Reference<XQueriesSupplier>(xConnection, UNO_QUERY); in RequestingChilds()
425 Reference<XConnection> xConnection = pImpl->GetConnection(sSourceName); in RequestingChilds() local
426 if (xConnection.is()) in RequestingChilds()
428 … Reference<XTablesSupplier> xTSupplier = Reference<XTablesSupplier>(xConnection, UNO_QUERY); in RequestingChilds()
449 … Reference<XQueriesSupplier> xQSupplier = Reference<XQueriesSupplier>(xConnection, UNO_QUERY); in RequestingChilds()
/aoo41x/main/connectivity/source/cpool/
H A DZConnectionPool.cxx185 Reference<XConnection> xConnection; in getConnectionWithInfo() local
194 xConnection = getPooledConnection(aIter); in getConnectionWithInfo()
196 if ( !xConnection.is() ) in getConnectionWithInfo()
197 xConnection = createNewConnection(_rURL,_rInfo); in getConnectionWithInfo()
199 return xConnection; in getConnectionWithInfo()
205 if(xConnection.is()) in disposing()
229 if(xConnection.is()) in createNewConnection()
253 return xConnection; in createNewConnection()
293 Reference<XConnection> xConnection; in getPooledConnection() local
309 m_aActiveConnections[xConnection] = aActiveInfo; in getPooledConnection()
[all …]
/aoo41x/main/dbaccess/source/ui/querydesign/
H A DQueryDesignView.cxx278 if ( xConnection.is() ) in ParseCondition()
283 xConnection, in ParseCondition()
798 if(!xConnection.is()) in GenerateCriterias()
1222 if(!xConnection.is()) in GenerateGroupBy()
1602 if(xConnection.is()) in AddFunctionCondition()
1606 xConnection, in AddFunctionCondition()
1613 xConnection, in AddFunctionCondition()
1656 xConnection, in AddFunctionCondition()
1819 if(xConnection.is()) in ComparisonPredicate()
1822 xConnection, in ComparisonPredicate()
[all …]
H A DSelectionBrowseBox.cxx236 if(xConnection.is()) in initialize()
424 if(xConnection.is()) in Init()
728 if ( xConnection.is() ) in saveField()
903 xConnection, in saveField()
1156 if(!xConnection.is()) in SaveModified()
1173 xConnection, in SaveModified()
1212 xConnection, in SaveModified()
1767 if(!xConnection.is()) in AddGroupBy()
1849 if(!xConnection.is()) in AddCondition()
1943 if(!xConnection.is()) in AddOrder()
[all …]
/aoo41x/main/dbaccess/source/ui/misc/
H A Ddatasourceconnector.cxx134 Reference< XConnection > xConnection; in connect() local
138 return xConnection; in connect()
147 xConnection = connect( xDatasource, _pErrorInfo ); in connect()
148 return xConnection; in connect()
155 Reference< XConnection > xConnection; in connect() local
159 return xConnection; in connect()
198 xConnection = xConnectionCompletion->connectWithCompletion(xHandler); in connect()
203 xConnection = _xDataSource->getConnection(sUser, sPassword); in connect()
218 Reference< XWarningsSupplier > xConnectionWarnings( xConnection, UNO_QUERY ); in connect()
267 return xConnection; in connect()
/aoo41x/main/dbaccess/source/ui/browser/
H A Ddbexchange.cxx117 Reference<XConnection> xConnection; in ODataClipboard() local
118 getDescriptor()[ daConnection ] >>= xConnection; in ODataClipboard()
119 lcl_setListener( xConnection, this, true ); in ODataClipboard()
135 if ( xConnection.is() && i_rORB.is() ) in ODataClipboard()
137 Reference< XNumberFormatter > xFormatter( getNumberFormatter( xConnection, i_rORB ) ); in ODataClipboard()
212 Reference<XConnection> xConnection( getDescriptor()[daConnection], UNO_QUERY ); in ObjectReleased() local
213 lcl_setListener( xConnection, this, false ); in ObjectReleased()
232 Reference< XConnection > xConnection( rDescriptor[daConnection], UNO_QUERY ); in disposing() local
233 if ( xConnection == i_rSource.Source ) in disposing()
H A DdsbrowserDnD.cxx82 SharedConnection xConnection; in implCopyObject() local
85 if ( _bAllowConnection && !ensureConnection( _pApplyTo, xConnection) ) in implCopyObject()
87 …pData = new ODataClipboard(aDSName, _nCommandType, aName, xConnection, getNumberFormatter(), getOR… in implCopyObject()
115 SharedConnection xConnection; in queryDrop() local
116 …if ( eEntryType == etTableContainer && ensureConnection( pHitEntry, xConnection ) && xConnection.i… in queryDrop()
118 Reference<XChild> xChild(xConnection,UNO_QUERY); in queryDrop()
274 if ( pData->xConnection.is() ) in clearTreeModel()
278 impl_releaseConnection( pData->xConnection ); in clearTreeModel()
H A Dunodatbr.cxx696 Reference<XConnection> xConnection; in InitializeGridModel() local
1447 pData->xConnection.clear(); in disposing()
2135 pDSData->xConnection = _rxConnection; in implAddDatasource()
2251 SharedConnection xConnection; in IMPL_LINK() local
2254 if ( xConnection.is() ) in IMPL_LINK()
2663 if ( !pConData->xConnection.is() ) in implSelect()
3264 if ( xConnection.is() ) in impl_initialize()
3380 SharedConnection xConnection; in getImageProviderFor() local
3395 _rConnection = pDSData->xConnection; in getExistentConnectionFor()
3417 _rConnection = pTreeListData->xConnection; in ensureConnection()
[all …]
/aoo41x/main/dbaccess/source/ui/app/
H A DAppControllerDnD.cxx241 SharedConnection xConnection( ensureConnection() ); in deleteTables() local
243 Reference<XTablesSupplier> xSup(xConnection,UNO_QUERY); in deleteTables()
273 Reference<XViewsSupplier> xViewsSup(xConnection,UNO_QUERY); in deleteTables()
599 SharedConnection xConnection( ensureConnection() ); in getDocumentsAccess() local
609 getView(), this, getORB(), xDocContainer, xConnection, getDatabaseName() in getDocumentsAccess()
628 SharedConnection xConnection( ensureConnection() ); in copyObject() local
630 if ( xConnection.is() ) in copyObject()
631 xMetaData = xConnection->getMetaData(); in copyObject()
640 …ODataClipboard(sDataSource, CommandType::TABLE, sName, xConnection, getNumberFormatter(xConnection in copyObject()
907 SharedConnection xConnection( ensureConnection() );
[all …]
H A DAppControllerGen.cxx142 SharedConnection xConnection( getConnection() ); in convertToView() local
143 Reference< XQueriesSupplier > xSup( xConnection, UNO_QUERY_THROW ); in convertToView()
147 Reference< XTablesSupplier > xTablesSup( xConnection, UNO_QUERY_THROW ); in convertToView()
150 Reference< XDatabaseMetaData > xMeta = xConnection->getMetaData(); in convertToView()
156 DynamicTableOrQueryNameCheck aNameChecker( xConnection, CommandType::TABLE ); in convertToView()
165 Reference<XPropertySet> xView = ::dbaui::createView(sNewName,xConnection,xSourceObject); in convertToView()
245 SharedConnection xConnection( getConnection() ); in openDialog() local
246 if ( xConnection.is() ) in openDialog()
250 makeAny( xConnection ), PropertyState_DIRECT_VALUE ); in openDialog()
395 SharedConnection xConnection = ensureConnection( &aError ); in connect() local
[all …]
/aoo41x/main/forms/source/component/
H A Dcachedrowset.cxx73 Reference< XConnection > xConnection; member
81 ,xConnection() in CachedRowSet_Data()
115 Reference< XQueriesSupplier > xSupplyQueries( m_pData->xConnection, UNO_QUERY_THROW ); in setCommandFromQuery()
141 if ( m_pData->xConnection == _rxConnection ) in setConnection()
144 m_pData->xConnection = _rxConnection; in setConnection()
154 …OSL_PRECOND( m_pData->xConnection.is(), "CachedRowSet::execute: how am I expected to do this witho… in execute()
155 if ( !m_pData->xConnection.is() ) in execute()
158 … Reference< XStatement > xStatement( m_pData->xConnection->createStatement(), UNO_SET_THROW ); in execute()
/aoo41x/main/extensions/source/abpilot/
H A Ddatasourcehandling.cxx317 xConnection;
335 ,xConnection( _rSource.xConnection ) in ODataSourceImpl()
486 Reference< XTablesSupplier > xSuppTables( m_pImpl->xConnection.getTyped(), UNO_QUERY ); in getTableNames()
547 Reference< XConnection > xConnection; in connect() local
553 xConnection = xComplConn->connectWithCompletion( xInteractions ); in connect()
593 if ( !xConnection.is() ) in connect()
598 m_pImpl->xConnection.reset( xConnection ); in connect()
608 m_pImpl->xConnection.clear(); in disconnect()
616 return m_pImpl->xConnection.is(); in isConnected()
/aoo41x/main/connectivity/source/commontools/
H A Ddbmetadata.cxx86 Reference< XConnection > xConnection; member
94 :xConnection() in DatabaseMetaData_Impl()
109 _metaDataImpl.xConnection = _connection; in lcl_construct()
110 if ( !_metaDataImpl.xConnection.is() ) in lcl_construct()
121 if ( !_metaDataImpl.xConnection.is() || !_metaDataImpl.xConnectionMetaData.is() ) in lcl_checkConnected()
145 Reference< XChild > xConnectionAsChild( _metaData.xConnection, UNO_QUERY ); in lcl_getConnectionSetting()
229 return m_pImpl->xConnection.is(); in isConnected()
382 Reference< XUsersSupplier > xUsersSupp( m_pImpl->xConnection, UNO_QUERY ); in supportsUserAdministration()
390 … xUsersSupp.set( xDriver->getDataDefinitionByConnection( m_pImpl->xConnection ), UNO_QUERY ); in supportsUserAdministration()
H A DParamterSubstitution.cxx42 uno::Reference< sdbc::XConnection > xConnection; in initialize() local
43xConnection = aArgs.getUnpackedValueOrDefault(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ActiveC… in initialize()
44 m_xConnection = xConnection; in initialize()
89 uno::Reference< sdbc::XConnection > xConnection = m_xConnection; in substituteVariables() local
90 if ( xConnection.is() ) in substituteVariables()
102 pNode->parseNodeToStr( sNewSql, xConnection ); in substituteVariables()
H A Dstatementcomposer.cxx69 const Reference< XConnection > xConnection; member
80 :xConnection( _rxConnection ) in StatementComposer_Data()
141 …qualifiedNameComponents( _rData.xConnection->getMetaData(), _rData.sCommand, sCatalog, sSchema, sT… in lcl_ensureUpToDateComposer_nothrow()
143 … sStatement += composeTableNameForSelect( _rData.xConnection, sCatalog, sSchema, sTable ); in lcl_ensureUpToDateComposer_nothrow()
150 Reference< XQueriesSupplier > xSupplyQueries( _rData.xConnection, UNO_QUERY_THROW ); in lcl_ensureUpToDateComposer_nothrow()
170 … Reference< XMultiServiceFactory > xFactory( _rData.xConnection, UNO_QUERY_THROW ); in lcl_ensureUpToDateComposer_nothrow()
217 … Reference< XMultiServiceFactory > xFactory( _rData.xConnection, UNO_QUERY_THROW ); in lcl_ensureUpToDateComposer_nothrow()
/aoo41x/main/extensions/source/bibliography/
H A Ddatman.cxx814 Reference< XComponent > xConnection; in ~BibDataManager() local
815 xPrSet->getPropertyValue(C2U("ActiveConnection")) >>= xConnection; in ~BibDataManager()
821 if(xConnection.is()) in ~BibDataManager()
822 xConnection->dispose(); in ~BibDataManager()
990 aVal <<= xConnection; in createDatabaseForm()
1180 Reference< XConnection > xConnection = getConnection(rURL); in setActiveDataSource() local
1181 if(!xConnection.is()) in setActiveDataSource()
1186 Any aVal; aVal <<= xConnection; in setActiveDataSource()
1259 Reference< XConnection > xConnection = getConnection( m_xForm ); in setActiveDataTable() local
1818 Reference< XComponent > xConnection; in HasActiveConnection() local
[all …]
/aoo41x/main/connectivity/source/drivers/mysql/
H A DYViews.cxx89 Reference<XConnection> xConnection = static_cast<OMySQLCatalog&>(m_rParent).getConnection(); in createDescriptor() local
90 …connectivity::sdbcx::OView* pNew = new connectivity::sdbcx::OView(sal_True,xConnection->getMetaDat… in createDescriptor()
116 Reference<XConnection> xConnection = static_cast<OMySQLCatalog&>(m_rParent).getConnection(); in dropObject() local
117 Reference< XStatement > xStmt = xConnection->createStatement( ); in dropObject()
132 Reference<XConnection> xConnection = static_cast<OMySQLCatalog&>(m_rParent).getConnection(); in createView() local
135 ::rtl::OUString aQuote = xConnection->getMetaData()->getIdentifierQuoteString( ); in createView()
144 Reference< XStatement > xStmt = xConnection->createStatement( ); in createView()
/aoo41x/main/oox/source/xls/
H A Dquerytablebuffer.cxx306 ConnectionRef xConnection = getConnections().getConnection( maModel.mnConnId ); in importQueryTableSettings() local
307 …OSL_ENSURE( xConnection.get(), "QueryTable::importQueryTableSettings - missing connection object" … in importQueryTableSettings()
308 if( xConnection.get() ) in importQueryTableSettings()
309 xConnection->importQueryTableSettings( rStrm ); in importQueryTableSettings()
314 ConnectionRef xConnection = getConnections().getConnection( maModel.mnConnId ); in finalizeImport() local
315 OSL_ENSURE( xConnection.get(), "QueryTable::finalizeImport - missing connection object" ); in finalizeImport()
316 if( xConnection.get() && (xConnection->getConnectionType() == BIFF12_CONNECTION_HTML) ) in finalizeImport()
319 const WebPrModel* pWebPr = xConnection->getModel().mxWebPr.get(); in finalizeImport()
347 sal_Int32 nRefreshPeriod = xConnection->getModel().mnInterval * 60; in finalizeImport()
/aoo41x/main/connectivity/source/drivers/hsqldb/
H A DHViews.cxx95 Reference<XConnection> xConnection = static_cast<OHCatalog&>(m_rParent).getConnection(); in createDescriptor() local
96 …connectivity::sdbcx::OView* pNew = new connectivity::sdbcx::OView(sal_True,xConnection->getMetaDat… in createDescriptor()
122 Reference<XConnection> xConnection = static_cast<OHCatalog&>(m_rParent).getConnection(); in dropObject() local
123 Reference< XStatement > xStmt = xConnection->createStatement( ); in dropObject()
138 Reference<XConnection> xConnection = static_cast<OHCatalog&>(m_rParent).getConnection(); in createView() local
141 ::rtl::OUString aQuote = xConnection->getMetaData()->getIdentifierQuoteString( ); in createView()
150 Reference< XStatement > xStmt = xConnection->createStatement( ); in createView()
H A DHDriver.cxx177 Reference< XConnection > xConnection; in connect() local
385 xConnection.set(xIfc,UNO_QUERY); in connect()
386 …elper(xOrig),TWeakConnectionPair(sKey,TWeakRefPair(WeakReferenceHelper(xConnection),WeakReferenceH… in connect()
397 return xConnection; in connect()
649 Reference<XConnection> xConnection(i->first,UNO_QUERY); in preCommit() local
650 if ( xConnection.is() ) in preCommit()
652 Reference< XStatement> xStmt = xConnection->createStatement(); in preCommit()
657 sal_Bool bPreviousAutoCommit = xConnection->getAutoCommit(); in preCommit()
658 xConnection->setAutoCommit( sal_False ); in preCommit()
659 xConnection->commit(); in preCommit()
[all …]
/aoo41x/main/dbaccess/source/ui/uno/
H A Dcomposerdialogs.cxx116 Reference< XConnection > xConnection; in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() local
121 if ( !::dbtools::isEmbeddedInDatabase( m_xRowSet, xConnection ) ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
125 xRowsetProps->getPropertyValue( PROPERTY_ACTIVE_CONNECTION ) >>= xConnection; in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
129 if ( xConnection.is() && !m_xComposer.is() ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
153 if ( !xConnection.is() || !xColumns.is() || !m_xComposer.is() ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
157 return createComposerDialog( _pParent, xConnection, xColumns ); in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
H A DunoDirectSql.cxx109 Reference< XConnection > xConnection = m_xActiveConnection; in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS() local
110 if ( !xConnection.is() ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
116 xConnection = aDSConnector.connect( m_sInitialSelection, NULL ); in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
123 if ( !xConnection.is() ) in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()
127 return new DirectSQLDialog( _pParent, xConnection); in IMPLEMENT_PROPERTYCONTAINER_DEFAULTS()

Completed in 186 milliseconds

12345