Lines Matching refs:pImpl
337 DBG_ASSERT(!bInMerge && !pImpl->pMergeData, "merge already activated!"); in MergeNew()
361 pImpl->pMergeData = new SwDSParam(aData, xResSet, aSelection); in MergeNew()
364 *pTemp = *pImpl->pMergeData; in MergeNew()
374 *pTemp = *pImpl->pMergeData; in MergeNew()
377 SwDSParam* pInsert = new SwDSParam(*pImpl->pMergeData); in MergeNew()
383 xComponent->addEventListener(pImpl->xDisposeListener); in MergeNew()
390 if(!pImpl->pMergeData->xConnection.is()) in MergeNew()
391 pImpl->pMergeData->xConnection = xConnection; in MergeNew()
396 if(pImpl->pMergeData->aSelection.getLength()) in MergeNew()
399 pImpl->pMergeData->aSelection.getConstArray()[ pImpl->pMergeData->nSelectionIndex++ ] >>= nPos; in MergeNew()
400 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->absolute( nPos ); in MergeNew()
401 pImpl->pMergeData->CheckEndOfDB(); in MergeNew()
402 if(pImpl->pMergeData->nSelectionIndex >= pImpl->pMergeData->aSelection.getLength()) in MergeNew()
403 pImpl->pMergeData->bEndOfDB = sal_True; in MergeNew()
407 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->first(); in MergeNew()
408 pImpl->pMergeData->CheckEndOfDB(); in MergeNew()
413 pImpl->pMergeData->bEndOfDB = sal_True; in MergeNew()
414 pImpl->pMergeData->CheckEndOfDB(); in MergeNew()
420 lcl_InitNumberFormatter(*pImpl->pMergeData, xSource); in MergeNew()
488 if(pImpl->pMergeData && !pImpl->pMergeData->bEndOfDB) in ImportFromConnection()
559 if(pImpl->pMergeData && !pImpl->pMergeData->bEndOfDB) in ImportDBEntry()
561 uno::Reference< XColumnsSupplier > xColsSupp( pImpl->pMergeData->xResultSet, UNO_QUERY ); in ImportDBEntry()
746 pImpl(new SwNewDBMgr_Impl(*this)), in SwNewDBMgr()
772 delete pImpl; in ~SwNewDBMgr()
894 … uno::Reference< XColumnsSupplier > xColsSupp( pImpl->pMergeData->xResultSet, UNO_QUERY ); in MergeMailFiles()
1010 nStartRow = pImpl->pMergeData ? pImpl->pMergeData->xResultSet->getRow() : 0; in MergeMailFiles()
1018 aDBFormat.xFormatter = pImpl->pMergeData->xFormatter; in MergeMailFiles()
1019 aDBFormat.aNullDate = pImpl->pMergeData->aNullDate; in MergeMailFiles()
1193 aDBFormat.xFormatter = pImpl->pMergeData->xFormatter; in MergeMailFiles()
1194 aDBFormat.aNullDate = pImpl->pMergeData->aNullDate; in MergeMailFiles()
1275 nEndRow = pImpl->pMergeData ? pImpl->pMergeData->xResultSet->getRow() : 0; in MergeMailFiles()
1427 if(pImpl->pMergeData && in IMPL_LINK_INLINE_END()
1428 … pImpl->pMergeData->sDataSource.equals(rDBName) && pImpl->pMergeData->sCommand.equals(rTableName)) in IMPL_LINK_INLINE_END()
1430 xConnection = pImpl->pMergeData->xConnection; in IMPL_LINK_INLINE_END()
1433 xColsSupp = xColsSupp.query( pImpl->pMergeData->xResultSet ); in IMPL_LINK_INLINE_END()
1454 pImpl->pMergeData->xConnection = xConnection; in IMPL_LINK_INLINE_END()
1800 delete pImpl->pMergeData; in EndMerge()
1801 pImpl->pMergeData = 0; in EndMerge()
1809 if(pImpl->pMergeData) in IsDataSourceOpen()
1812 ((rDataSource == (String)pImpl->pMergeData->sDataSource && in IsDataSourceOpen()
1813 rTableOrQuery == (String)pImpl->pMergeData->sCommand) in IsDataSourceOpen()
1816 pImpl->pMergeData->xResultSet.is(); in IsDataSourceOpen()
1840 if(pImpl->pMergeData && in GetColumnCnt()
1841 rSourceName == (String)pImpl->pMergeData->sDataSource && in GetColumnCnt()
1842 rTableName == (String)pImpl->pMergeData->sCommand) in GetColumnCnt()
1844 pFound = pImpl->pMergeData; in GetColumnCnt()
1900 …if(!pImpl->pMergeData || !pImpl->pMergeData->xResultSet.is() || pImpl->pMergeData->bAfterSelection… in GetMergeColumnCnt()
1906 sal_Bool bRet = lcl_GetColumnCnt(pImpl->pMergeData, rColumnName, nLanguage, rResult, pNumber); in GetMergeColumnCnt()
1914 DBG_ASSERT(pImpl->pMergeData && pImpl->pMergeData->xResultSet.is(), "no data source in merge"); in ToNextMergeRecord()
1915 return ToNextRecord(pImpl->pMergeData); in ToNextMergeRecord()
1924 if(pImpl->pMergeData && in ToNextRecord()
1925 rDataSource == (String)pImpl->pMergeData->sDataSource && in ToNextRecord()
1926 rCommand == (String)pImpl->pMergeData->sCommand) in ToNextRecord()
1927 pFound = pImpl->pMergeData; in ToNextRecord()
1991 return pImpl->pMergeData && !pImpl->pMergeData->bEndOfDB; in ExistsNextRecord()
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()
2024 bRet = lcl_MoveAbsolute(pImpl->pMergeData, nAbsPos); in ToRecordId()
2025 pImpl->pMergeData->bEndOfDB = !bRet; in ToRecordId()
2026 pImpl->pMergeData->CheckEndOfDB(); in ToRecordId()
2108 xComponent->addEventListener(pImpl->xDisposeListener); in RegisterConnection()
2124 if(pImpl->pMergeData && rDataSource == (String)pImpl->pMergeData->sDataSource && in GetSelectedRecordId()
2125 rTableOrQuery == (String)pImpl->pMergeData->sCommand && in GetSelectedRecordId()
2126 (nCommandType == -1 || nCommandType == pImpl->pMergeData->nCommandType) && in GetSelectedRecordId()
2127 pImpl->pMergeData->xResultSet.is()) in GetSelectedRecordId()
2167 if(bIncludingMerge || pParam != pImpl->pMergeData) in CloseAll()
2188 if(pImpl->pMergeData && rData.sDataSource == pImpl->pMergeData->sDataSource && in FindDSData()
2189 rData.sCommand == pImpl->pMergeData->sCommand && in FindDSData()
2190 (rData.nCommandType == -1 || rData.nCommandType == pImpl->pMergeData->nCommandType || in FindDSData()
2191 (bCreate && pImpl->pMergeData->nCommandType == -1))) in FindDSData()
2193 return pImpl->pMergeData; in FindDSData()
2224 xComponent->addEventListener(pImpl->xDisposeListener); in FindDSData()
2240 if(pImpl->pMergeData && rDataSource == pImpl->pMergeData->sDataSource ) in FindDSConnection()
2242 return pImpl->pMergeData; in FindDSConnection()
2264 xComponent->addEventListener(pImpl->xDisposeListener); in FindDSConnection()
2499 if(pImpl->pMergeDialog) in ExecuteFormLetter()
2532 pImpl->pMergeDialog = pFact->CreateMailMergeDlg( DLG_MAILMERGE, in ExecuteFormLetter()
2539 DBG_ASSERT(pImpl->pMergeDialog, "Dialogdiet fail!"); in ExecuteFormLetter()
2540 if(pImpl->pMergeDialog->Execute() == RET_OK) in ExecuteFormLetter()
2542 aDescriptor[daSelection] <<= pImpl->pMergeDialog->GetSelection(); in ExecuteFormLetter()
2544 uno::Reference<XResultSet> xResSet = pImpl->pMergeDialog->GetResultSet(); in ExecuteFormLetter()
2594 …SwMergeDescriptor aMergeDesc( pImpl->pMergeDialog->GetMergeType(), pView->GetWrtShell(), aDescript… in ExecuteFormLetter()
2595 aMergeDesc.sSaveToFilter = pImpl->pMergeDialog->GetSaveFilter(); in ExecuteFormLetter()
2596 aMergeDesc.bCreateSingleFile = !pImpl->pMergeDialog->IsSaveIndividualDocs(); in ExecuteFormLetter()
2597 … if( !aMergeDesc.bCreateSingleFile && pImpl->pMergeDialog->IsGenerateFromDataBase() ) in ExecuteFormLetter()
2599 aMergeDesc.sAddressFromColumn = pImpl->pMergeDialog->GetColumnName(); in ExecuteFormLetter()
2600 aMergeDesc.sSubject = pImpl->pMergeDialog->GetPath(); in ExecuteFormLetter()
2654 DELETEZ(pImpl->pMergeDialog); in ExecuteFormLetter()
2828 pImpl->pMergeData = new SwDSParam( in MergeDocuments()
2833 if(pImpl->pMergeData->aSelection.getLength()) in MergeDocuments()
2836 … pImpl->pMergeData->aSelection.getConstArray()[ pImpl->pMergeData->nSelectionIndex++ ] >>= nPos; in MergeDocuments()
2837 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->absolute( nPos ); in MergeDocuments()
2838 pImpl->pMergeData->CheckEndOfDB(); in MergeDocuments()
2839 if(pImpl->pMergeData->nSelectionIndex >= pImpl->pMergeData->aSelection.getLength()) in MergeDocuments()
2840 pImpl->pMergeData->bEndOfDB = sal_True; in MergeDocuments()
2844 pImpl->pMergeData->bEndOfDB = !pImpl->pMergeData->xResultSet->first(); in MergeDocuments()
2845 pImpl->pMergeData->CheckEndOfDB(); in MergeDocuments()
2850 pImpl->pMergeData->bEndOfDB = sal_True; in MergeDocuments()
2851 pImpl->pMergeData->CheckEndOfDB(); 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()
3078 DELETEZ(pImpl->pMergeData); in MergeDocuments()