Lines Matching refs:xResultSet
169 bool lcl_getCountFromResultSet( sal_Int32& rCount, const uno::Reference<XResultSet>& xResultSet ) in lcl_getCountFromResultSet() argument
171 uno::Reference<XPropertySet> xPrSet(xResultSet, UNO_QUERY); in lcl_getCountFromResultSet()
181 xResultSet->last(); in lcl_getCountFromResultSet()
182 xResultSet->first(); in lcl_getCountFromResultSet()
282 bRet = pParam->xResultSet->absolute( nAbsPos ); in lcl_MoveAbsolute()
300 uno::Reference< XColumnsSupplier > xColsSupp( pParam->xResultSet, UNO_QUERY ); in lcl_GetColumnCnt()
400 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->absolute( nPos ); in MergeNew()
407 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->first(); in MergeNew()
561 uno::Reference< XColumnsSupplier > xColsSupp( pImpl->pMergeData->xResultSet, UNO_QUERY ); in ImportDBEntry()
894 … uno::Reference< XColumnsSupplier > xColsSupp( pImpl->pMergeData->xResultSet, UNO_QUERY ); in MergeMailFiles()
1010 nStartRow = pImpl->pMergeData ? pImpl->pMergeData->xResultSet->getRow() : 0; in MergeMailFiles()
1275 nEndRow = pImpl->pMergeData ? pImpl->pMergeData->xResultSet->getRow() : 0; in MergeMailFiles()
1433 xColsSupp = xColsSupp.query( pImpl->pMergeData->xResultSet ); in IMPL_LINK_INLINE_END()
1445 xColsSupp = xColsSupp.query( pParam->xResultSet ); in IMPL_LINK_INLINE_END()
1596 xColsSupp = uno::Reference< XColumnsSupplier >( pParam->xResultSet, UNO_QUERY ); in GetColumnType()
1816 pImpl->pMergeData->xResultSet.is(); in IsDataSourceOpen()
1825 return (pFound && pFound->xResultSet.is()); in IsDataSourceOpen()
1870 if(pFound && pFound->xResultSet.is() && !pFound->bAfterSelection) in GetColumnCnt()
1875 nOldRow = pFound->xResultSet->getRow(); in GetColumnCnt()
1900 …if(!pImpl->pMergeData || !pImpl->pMergeData->xResultSet.is() || pImpl->pMergeData->bAfterSelection… in GetMergeColumnCnt()
1914 DBG_ASSERT(pImpl->pMergeData && pImpl->pMergeData->xResultSet.is(), "no data source in merge"); in ToNextMergeRecord()
1944 if(!pParam || !pParam->xResultSet.is() || pParam->bEndOfDB || in ToNextRecord()
1957 pParam->bEndOfDB = !pParam->xResultSet->absolute( nPos ); in ToNextRecord()
1965 sal_Int32 nBefore = pParam->xResultSet->getRow(); in ToNextRecord()
1966 pParam->bEndOfDB = !pParam->xResultSet->next(); in ToNextRecord()
1967 if( !pParam->bEndOfDB && nBefore == pParam->xResultSet->getRow()) in ToNextRecord()
1999 DBG_ASSERT(pImpl->pMergeData && pImpl->pMergeData->xResultSet.is(), "no data source in merge"); in GetSelectedRecordId()
2000 if(!pImpl->pMergeData || !pImpl->pMergeData->xResultSet.is()) in GetSelectedRecordId()
2004 nRet = pImpl->pMergeData->xResultSet->getRow(); in GetSelectedRecordId()
2016 DBG_ASSERT(pImpl->pMergeData && pImpl->pMergeData->xResultSet.is(), "no data source in merge"); in ToRecordId()
2017 if(!pImpl->pMergeData || !pImpl->pMergeData->xResultSet.is()|| nSet < 0) in ToRecordId()
2044 if(pFound->xResultSet.is()) in OpenDataSource()
2077 pFound->xResultSet = pFound->xStatement->executeQuery( sStatement ); in OpenDataSource()
2080 pFound->bEndOfDB = !pFound->xResultSet->next(); in OpenDataSource()
2087 pFound->xResultSet = 0; in OpenDataSource()
2092 return pFound->xResultSet.is(); in OpenDataSource()
2127 pImpl->pMergeData->xResultSet.is()) in GetSelectedRecordId()
2136 if(pFound && pFound->xResultSet.is()) in GetSelectedRecordId()
2149 nRet = pFound->xResultSet->getRow(); in GetSelectedRecordId()
2174 if(!bInMerge && pParam->xResultSet.is()) in CloseAll()
2175 pParam->xResultSet->first(); in CloseAll()
2781 uno::Reference<XResultSet> xResultSet; in createCursor() local
2804 xResultSet = uno::Reference<XResultSet>(xRowSet, UNO_QUERY); in createCursor()
2812 return xResultSet; in createCursor()
2823 uno::Reference< XResultSet> xResultSet = rMMConfig.GetResultSet(); in MergeDocuments() local
2824 if(!xResultSet.is()) in MergeDocuments()
2829 rMMConfig.GetCurrentDBData(), xResultSet, rMMConfig.GetSelection()); in MergeDocuments()
2837 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->absolute( nPos ); in MergeDocuments()
2844 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->first(); in MergeDocuments()
2913 … if( !IsMergeSilent() && lcl_getCountFromResultSet( nDocCount, pImpl->pMergeData->xResultSet ) ) in MergeDocuments()
2918 nStartRow = pImpl->pMergeData->xResultSet->getRow(); in MergeDocuments()
3056 nEndRow = pImpl->pMergeData->xResultSet->getRow(); in MergeDocuments()