Lines Matching refs:rParam
554 void ScDocShell::DoConsolidate( const ScConsolidateParam& rParam, sal_Bool bRecord ) in DoConsolidate() argument
562 for (nPos=0; nPos<rParam.nDataAreaCount; nPos++) in DoConsolidate()
564 ScArea* pArea = rParam.ppDataAreas[nPos]; in DoConsolidate()
569 if (rParam.bReferenceData) in DoConsolidate()
570 if (pArea->nTab == rParam.nTab && pArea->nRowEnd >= rParam.nRow) in DoConsolidate()
588 ScDBData* pDestData = aDocument.GetDBAtCursor( rParam.nCol, rParam.nRow, rParam.nTab, sal_True ); in DoConsolidate()
593 aData.SetFlags( rParam.eFunction, rParam.bByCol, rParam.bByRow, rParam.bReferenceData ); in DoConsolidate()
594 if ( rParam.bByCol || rParam.bByRow ) in DoConsolidate()
595 for (nPos=0; nPos<rParam.nDataAreaCount; nPos++) in DoConsolidate()
597 ScArea* pArea = rParam.ppDataAreas[nPos]; in DoConsolidate()
602 for (nPos=0; nPos<rParam.nDataAreaCount; nPos++) in DoConsolidate()
604 ScArea* pArea = rParam.ppDataAreas[nPos]; in DoConsolidate()
615 SCTAB nDestTab = rParam.nTab; in DoConsolidate()
616 ScArea aDestArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate()
617 rParam.nCol+nColSize-1, rParam.nRow+nRowSize-1 ); in DoConsolidate()
618 if (rParam.bByCol) ++aDestArea.nColEnd; in DoConsolidate()
619 if (rParam.bByRow) ++aDestArea.nRowEnd; in DoConsolidate()
621 if (rParam.bReferenceData) in DoConsolidate()
651 new ScUndoConsolidate( this, aDestArea, rParam, pUndoDoc, in DoConsolidate()
668 new ScUndoConsolidate( this, aDestArea, rParam, pUndoDoc, in DoConsolidate()
676 pDestData->SetArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate()
677 rParam.nCol + nColSize - 1, rParam.nRow + nRowSize - 1 ); in DoConsolidate()
678 pDestData->SetHeader( rParam.bByRow ); in DoConsolidate()
681 aData.OutputToDocument( &aDocument, rParam.nCol, rParam.nRow, rParam.nTab ); in DoConsolidate()
683 SCCOL nPaintStartCol = rParam.nCol; in DoConsolidate()
684 SCROW nPaintStartRow = rParam.nRow; in DoConsolidate()
688 if (rParam.bByCol) in DoConsolidate()
690 if (rParam.bByRow) in DoConsolidate()
692 if (rParam.bReferenceData) in DoConsolidate()
706 PostPaint( nPaintStartCol, nPaintStartRow, rParam.nTab, in DoConsolidate()
707 nPaintEndCol, nPaintEndRow, rParam.nTab, nPaintFlags ); in DoConsolidate()