Lines Matching refs:xConnection
251 xSource = SwNewDBMgr::getDataSourceAsParent(rParam.xConnection, rParam.sDataSource); in lcl_InitNumberFormatter()
319 pParam->xConnection,pParam->sDataSource); in lcl_GetColumnCnt()
343 uno::Reference< XConnection> xConnection; in MergeNew() local
354 rMergeDesc.rDescriptor[daConnection] >>= xConnection; in MergeNew()
381 uno::Reference<XComponent> xComponent(pInsert->xConnection, UNO_QUERY); in MergeNew()
390 if(!pImpl->pMergeData->xConnection.is()) in MergeNew()
391 pImpl->pMergeData->xConnection = xConnection; in MergeNew()
418 …uno::Reference<XDataSource> xSource = SwNewDBMgr::getDataSourceAsParent(xConnection,aData.sDataSou… in MergeNew()
635 uno::Reference< XConnection> xConnection; in GetTableNames() local
636 if(pParam && pParam->xConnection.is()) in GetTableNames()
637 xConnection = pParam->xConnection; in GetTableNames()
642 xConnection = RegisterConnection( sDBName ); in GetTableNames()
644 if(xConnection.is()) in GetTableNames()
646 …uno::Reference<XTablesSupplier> xTSupplier = uno::Reference<XTablesSupplier>(xConnection, UNO_QUER… in GetTableNames()
658 …uno::Reference<XQueriesSupplier> xQSupplier = uno::Reference<XQueriesSupplier>(xConnection, UNO_QU… in GetTableNames()
690 uno::Reference< XConnection> xConnection; in GetColumnNames() local
691 if(pParam && pParam->xConnection.is()) in GetColumnNames()
692 xConnection = pParam->xConnection; in GetColumnNames()
696 xConnection = RegisterConnection( sDBName ); in GetColumnNames()
698 …uno::Reference< XColumnsSupplier> xColsSupp = SwNewDBMgr::GetColumnSupplier(xConnection, rTableNam… in GetColumnNames()
716 uno::Reference< XConnection> xConnection, in GetColumnNames()
721 …uno::Reference< XColumnsSupplier> xColsSupp = SwNewDBMgr::GetColumnSupplier(xConnection, rTableNam… in GetColumnNames()
758 if(pParam->xConnection.is()) in ~SwNewDBMgr()
762 uno::Reference<XComponent> xComp(pParam->xConnection, UNO_QUERY); in ~SwNewDBMgr()
1423 uno::Reference< XConnection> xConnection; in IMPL_LINK_INLINE_END() local
1430 xConnection = pImpl->pMergeData->xConnection; in IMPL_LINK_INLINE_END()
1431 xSource = SwNewDBMgr::getDataSourceAsParent(xConnection,rDBName); in IMPL_LINK_INLINE_END()
1435 if(!xConnection.is()) in IMPL_LINK_INLINE_END()
1442 if(pParam && pParam->xConnection.is()) in IMPL_LINK_INLINE_END()
1444 xConnection = pParam->xConnection; in IMPL_LINK_INLINE_END()
1450 xConnection = RegisterConnection( sDBName ); in IMPL_LINK_INLINE_END()
1454 pImpl->pMergeData->xConnection = xConnection; in IMPL_LINK_INLINE_END()
1459 xColsSupp = SwNewDBMgr::GetColumnSupplier(xConnection, rTableName); in IMPL_LINK_INLINE_END()
1477 nRet = GetColumnFmt(xSource, xConnection, xColumn, pNFmtr, nLanguage); in IMPL_LINK_INLINE_END()
1484 ::comphelper::disposeComponent( xConnection ); in IMPL_LINK_INLINE_END()
1496 uno::Reference< XConnection> xConnection, in GetColumnFmt()
1506 uno::Reference<XChild> xChild(xConnection, UNO_QUERY); in GetColumnFmt()
1510 if(xSource.is() && xConnection.is() && xColumn.is() && pNFmtr) in GetColumnFmt()
1590 uno::Reference< XConnection> xConnection; in GetColumnType() local
1593 if(pParam && pParam->xConnection.is()) in GetColumnType()
1595 xConnection = pParam->xConnection; in GetColumnType()
1601 xConnection = RegisterConnection( sDBName ); in GetColumnType()
1605 xColsSupp = SwNewDBMgr::GetColumnSupplier(xConnection, rTableName); in GetColumnType()
1631 Reference< sdbc::XConnection> xConnection; in GetConnection() local
1641 xConnection = xComplConnection->connectWithCompletion( xHandler ); in GetConnection()
1646 return xConnection; in GetConnection()
1651 …bcx::XColumnsSupplier> SwNewDBMgr::GetColumnSupplier(uno::Reference<sdbc::XConnection> xConnection, in GetColumnSupplier() argument
1661 … Reference<XTablesSupplier> xTSupplier = Reference<XTablesSupplier>(xConnection, UNO_QUERY); in GetColumnSupplier()
1676 … Reference<XDataSource> xSource = SwNewDBMgr::getDataSourceAsParent(xConnection, sDataSource); in GetColumnSupplier()
1688 xRowProperties->setPropertyValue(C2U("ActiveConnection"), makeAny(xConnection)); in GetColumnSupplier()
2047 uno::Reference< XConnection> xConnection; in OpenDataSource() local
2048 if(pParam && pParam->xConnection.is()) in OpenDataSource()
2049 pFound->xConnection = pParam->xConnection; in OpenDataSource()
2053 pFound->xConnection = RegisterConnection( sDataSource ); in OpenDataSource()
2055 if(pFound->xConnection.is()) in OpenDataSource()
2059 … uno::Reference< sdbc::XDatabaseMetaData > xMetaData = pFound->xConnection->getMetaData(); in OpenDataSource()
2070 pFound->xStatement = pFound->xConnection->createStatement(); in OpenDataSource()
2089 pFound->xConnection = 0; in OpenDataSource()
2101 if(!pFound->xConnection.is()) in RegisterConnection()
2103 pFound->xConnection = SwNewDBMgr::GetConnection(rDataSource, xSource ); in RegisterConnection()
2106 uno::Reference<XComponent> xComponent(pFound->xConnection, UNO_QUERY); in RegisterConnection()
2114 return pFound->xConnection; in RegisterConnection()
2222 uno::Reference<XComponent> xComponent(pFound->xConnection, UNO_QUERY); in FindDSData()
2262 uno::Reference<XComponent> xComponent(pFound->xConnection, UNO_QUERY); in FindDSConnection()
2505 uno::Reference< XConnection> xConnection; in ExecuteFormLetter() local
2515 aDescriptor[daConnection] >>= xConnection; in ExecuteFormLetter()
2525 if(!xConnection.is()) in ExecuteFormLetter()
2527 xConnection = SwNewDBMgr::RegisterConnection(sDataSource); in ExecuteFormLetter()
2537 xConnection, in ExecuteFormLetter()
2640 uno::Reference<XComponent> xComp(pParam->xConnection, UNO_QUERY); in ExecuteFormLetter()
2669 uno::Reference< XConnection> xConnection; in InsertText() local
2687 pValues[nPos].Value >>= xConnection; in InsertText()
2696 uno::Reference<XChild> xChild(xConnection, UNO_QUERY); in InsertText()
2719 if(!xConnection.is()) in InsertText()
2720 xConnection = xSource->getConnection(sDummy, sDummy); in InsertText()
2723 pDlg->DataToDoc( aSelection , xSource, xConnection, xResSet); in InsertText()
3104 if(pParam->xConnection.is() && in disposing()
3105 (xSource == pParam->xConnection)) in disposing()