/aoo41x/main/sc/source/core/data/ |
H A D | table3.cxx | 458 SetRowHidden(nRow1, nRow1, bRow2Hidden); in SwapRow() 463 SetRowFiltered(nRow1, nRow1, bRow2Filtered); in SwapRow() 509 SCROW nMax = nRow2 - nRow1; in DecoladeRow() 513 pArray->Swap(i, nRow1 + nRow); in DecoladeRow() 529 aSortParam.nRow1 + 1 : aSortParam.nRow1); in Sort() 535 if ( nLastRow - nRow1 > 255 ) in Sort() 1284 SCROW nRow1 = (rParam.bHasHeader ? rParam.nRow1 + 1 : rParam.nRow1); in TopTenQuery() local 1493 CopyData( aParam.nCol1, aParam.nRow1, aParam.nCol2, aParam.nRow1, in Query() 1689 SCROW nRow = nRow1 + 1; in CreateExcelQuery() 1738 SCROW nRow = nRow1; in CreateStarQuery() [all …]
|
H A D | table2.cxx | 513 for (SCROW j=nRow1; j<=nRow2; j++) in CopyFromClip() 571 for ( nRow=nRow1; nRow<=nRow2; nRow++ ) in TransposeClip() 714 aCol[i].BroadcastInArea( nRow1, nRow2 ); in BroadcastInArea() 725 aCol[i].StartListeningInArea( nRow1, nRow2 ); in StartListeningInArea() 777 … bool bChange = pDestTab->GetRowHeight(nRow1, nRow2) != GetRowHeight(nRow1, nRow2); in CopyToTable() 1622 if ( nRow1 == nRow2 ) in HasBlockMatrixFragment() 1628 nEdges = aCol[i].GetBlockMatrixEdges( nRow1, nRow1, n ); in HasBlockMatrixFragment() 2714 SCROW nStartRow = nRow1; in DBShowRows() 2759 UpdateOutlineRow( nRow1, nRow2, bShow ); in DBShowRows() 2765 SCROW nStartRow = nRow1; in ShowRows() [all …]
|
H A D | sortparam.cxx | 46 nCol1(r.nCol1),nRow1(r.nRow1),nCol2(r.nCol2),nRow2(r.nRow2), in ScSortParam() 66 nRow1=nRow2=nDestRow = 0; in Clear() 88 nRow1 = r.nRow1; in operator =() 128 && (nRow1 == rOther.nRow1) in operator ==() 159 nCol1(rSub.nCol1),nRow1(rSub.nRow1),nCol2(rSub.nCol2),nRow2(rSub.nRow2), in ScSortParam() 215 nCol1(nCol),nRow1(rParam.nRow1),nCol2(nCol),nRow2(rParam.nRow2), in ScSortParam() 240 SCsROW nDifY = ((SCsROW) nDestRow) - ((SCsROW) nRow1); in MoveToDest() 243 nRow1 = sal::static_int_cast<SCROW>( nRow1 + nDifY ); in MoveToDest()
|
H A D | column.cxx | 107 if ( nRow1 == nRow2 ) in GetBlockMatrixEdges() 110 if ( Search( nRow1, nIndex ) ) in GetBlockMatrixEdges() 128 Search( nRow1, nIndex ); in GetBlockMatrixEdges() 466 SCROW nRow1, nRow2; in ApplyPatternIfNumberformatIncompatible() local 468 nRow1, nRow2, nRow ); in ApplyPatternIfNumberformatIncompatible() 847 if ( Search( nRow1, nIndex1 ) ) in SwapRow() 862 ::std::swap( nRow1, nRow2 ); in SwapRow() 1281 if ( nEnd >= nRow1 ) in CopyToColumn() 1350 if (nRow1 > 0) in UndoToColumn() 1622 if ( Search( nRow1, nIndex ) ) in UpdateReference() [all …]
|
H A D | table4.cxx | 218 SCROW nRow = nRow1; in FillAnalyse() 532 nISrcStart = nRow1; in FillAuto() 540 nISrcEnd = nRow1; in FillAuto() 541 nIStart = nRow1 - 1; in FillAuto() 547 nOStart = nRow1; in FillAuto() 955 if ( nEndY >= nRow1 ) in GetAutoFillPreview() 1003 if (nEndY > nRow1) in GetAutoFillPreview() 1011 nEnd = nRow1 -1; in GetAutoFillPreview() 1027 SCROW nSrcY = nRow1; in GetAutoFillPreview() 1311 nISource = nRow1; in FillSeries() [all …]
|
H A D | documen4.cxx | 128 PutInOrder(nRow1, nRow2); in InsertMatrixFormula() 150 ScAddress aPos( nCol1, nRow1, nTab1 ); in InsertMatrixFormula() 161 pTab[i]->PutCell(nCol1, nRow1, pCell); in InsertMatrixFormula() 163 …pTab[i]->PutCell(nCol1, nRow1, pCell->CloneWithoutNote(*this, ScAddress( nCol1, nRow1, i), SC_CLON… in InsertMatrixFormula() 170 aRefData.nRow = nRow1; in InsertMatrixFormula() 175 aRefData.CalcRelFromAbs( ScAddress( nCol1, nRow1, nTab1 ) ); in InsertMatrixFormula() 193 for (k = nRow1; k <= nRow2; k++) in InsertMatrixFormula() 215 PutInOrder(nRow1, nRow2); in InsertTableOp() 264 nRow1++; in InsertTableOp() 281 nCol1++; nRow1++; in InsertTableOp() [all …]
|
H A D | global2.cxx | 63 nRow1(0), in ScImportParam() 75 nRow1 (r.nRow1), in ScImportParam() 106 nRow1 = r.nRow1; in operator =() 122 nRow1 == rOther.nRow1 && in operator ==() 259 nCol1(r.nCol1),nRow1(r.nRow1),nCol2(r.nCol2),nRow2(r.nRow2), in ScSubTotalParam() 295 nRow1=nRow2 = 0; in Clear() 320 nRow1 = r.nRow1; in operator =() 369 && (nRow1 == rOther.nRow1) in operator ==()
|
H A D | segmenttree.cxx | 360 void ScFlatBoolRowSegments::setTrue(SCROW nRow1, SCROW nRow2) in setTrue() argument 362 mpImpl->setTrue(static_cast<SCCOLROW>(nRow1), static_cast<SCCOLROW>(nRow2)); in setTrue() 365 void ScFlatBoolRowSegments::setFalse(SCROW nRow1, SCROW nRow2) in setFalse() argument 367 mpImpl->setFalse(static_cast<SCCOLROW>(nRow1), static_cast<SCCOLROW>(nRow2)); in setFalse() 387 void ScFlatBoolRowSegments::removeSegment(SCROW nRow1, SCROW nRow2) in removeSegment() argument 389 mpImpl->removeSegment(static_cast<SCCOLROW>(nRow1), static_cast<SCCOLROW>(nRow2)); in removeSegment() 527 void ScFlatUInt16RowSegments::setValue(SCROW nRow1, SCROW nRow2, sal_uInt16 nValue) in setValue() argument 529 mpImpl->setValue(static_cast<SCCOLROW>(nRow1), static_cast<SCCOLROW>(nRow2), nValue); in setValue() 537 sal_uInt32 ScFlatUInt16RowSegments::getSumValue(SCROW nRow1, SCROW nRow2) in getSumValue() argument 554 void ScFlatUInt16RowSegments::removeSegment(SCROW nRow1, SCROW nRow2) in removeSegment() argument [all …]
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | dbdocimp.cxx | 168 SCROW nRow = rParam.nRow1; in DoImport() 460 ScRange aOld( rParam.nCol1, rParam.nRow1, nTab, in DoImport() 462 ScRange aNew( rParam.nCol1, rParam.nRow1, nTab, in DoImport() 485 pDoc->CopyToDocument( rParam.nCol1, rParam.nRow1, nTab, in DoImport() 486 nMinEndCol, rParam.nRow1, nTab, in DoImport() 489 SCROW nDataStartRow = rParam.nRow1+1; in DoImport() 542 pDoc->CopyToDocument( nEndCol+1, rParam.nRow1, nTab, in DoImport() 560 ScRange aDelRange( rParam.nCol1, rParam.nRow1, nTab, in DoImport() 564 ScRange aOld( rParam.nCol1, rParam.nRow1, nTab, in DoImport() 566 ScRange aNew( rParam.nCol1, rParam.nRow1, nTab, in DoImport() [all …]
|
H A D | dbdocfun.cxx | 466 aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort() 552 ScRange aSource( rSortParam.nCol1,rSortParam.nRow1,nSrcTab, in Sort() 589 ScRange aDestPos( aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort() 599 aLocalParam.nCol1,aLocalParam.nRow1, in Sort() 611 ScRange aDirtyRange( aLocalParam.nCol1, aLocalParam.nRow1, nTab, in Sort() 619 SCROW nStartY = aLocalParam.nRow1; in Sort() 833 aLocalParam.nRow2 = aLocalParam.nRow1 + nCount; in Query() 920 ScRange( aLocalParam.nCol1, aLocalParam.nRow1, nDestTab, in Query() 945 ScRange aDirtyRange( 0 , aLocalParam.nRow1, nDestTab, in Query() 1014 if (pDoc->HasAttrib( rParam.nCol1, rParam.nRow1+1, nTab, in DoSubTotals() [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | interpr1.cxx | 3789 SCROW nRow1; in ScColumns() local 3833 SCROW nRow1; in ScRows() local 4260 rParam.nRow1 = nRow1; in ScMatch() 4731 rParam.nRow1 = nRow1; in IterateParametersIf() 5026 rParam.nRow1 = nRow1; in ScCountIf() 5257 rParam.nRow1 = nRow1; in IterateParametersIfs() 5905 aParam.nRow1 = nRow1; in ScLookup() 6107 rParam.nRow1 = nRow1; in CalculateLookup() 7066 nRow1 = (SCROW)((long) nRow1 + nRowPlus); in ScOffset() 7090 nRow1 = (SCROW)((long)nRow1+nRowPlus); in ScOffset() [all …]
|
H A D | chartpos.cxx | 195 SCROW nRow, nRow1, nRow2; in GlueState() local 200 nRow1 = pR->aStart.Row() - nStartRow; in GlueState() 204 p = pA + (sal_uLong)nCol * nR + nRow1; in GlueState() 205 for ( nRow = nRow1; nRow <= nRow2; nRow++, p++ ) in GlueState() 290 SCROW nRow1, nRow2, iRow; in CheckColRowHeaders() local 299 if ( nCol1 > nCol2 || nRow1 > nRow2 ) in CheckColRowHeaders() 308 for (iRow=nRow1; iRow<=nRow2 && bRowStrings; iRow++) in CheckColRowHeaders() 323 sal_Bool bTopRow = (nRow1 == nStartRow); in CheckColRowHeaders() 336 if ( nRow1 <= nRow2 ) in CheckColRowHeaders() 371 SCROW nRow, nRow1, nRow2; in CreatePositionMap() local [all …]
|
H A D | refupdat.cxx | 316 Expand( theRow1, theRow2, nRow1, nDy ); in Update() 435 bCut1 = lcl_MoveBig( theRow1, nRow1, nDy ); in Update() 436 bCut2 = lcl_MoveBig( theRow2, nRow1, nDy ); in Update() 503 SCROW nRow1 = r.aStart.Row(); in Update() local 532 ((rRef.Ref1.nRow >= nRow1 in Update() 582 rRef.Ref2.nRow, nRow1, nDy )); in Update() 589 nRow1, nRow2, nDy, MAXROW ) ) in Update() 595 rRef.Ref1.nRow <= nRow1 + nDy ) in Update() 598 rRef.Ref2.nRow <= nRow1 + nDy ) in Update() 619 ((rRef.Ref1.nRow >= nRow1 in Update() [all …]
|
H A D | chartarr.cxx | 155 SCROW nRow1; in CreateMemChartSingle() local 161 aRangeListRef->First()->GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in CreateMemChartSingle() 164 SCROW nStrRow = nRow1; in CreateMemChartSingle() 173 if (pDocument->RowHidden(nRow1, nTab1, nLastRow)) in CreateMemChartSingle() 174 nRow1 = nLastRow + 1; in CreateMemChartSingle() 182 if ( nRow1 <= nRow2 ) in CreateMemChartSingle() 184 nStrRow = nRow1; in CreateMemChartSingle() 185 nRow1 = sal::static_int_cast<SCROW>( nRow1 + nRowAdd ); in CreateMemChartSingle() 199 SCSIZE nTotalRows = ( nRow1 <= nRow2 ? nRow2 - nRow1 + 1 : 0 ); in CreateMemChartSingle() 202 if (nRow1 <= nRow2) in CreateMemChartSingle() [all …]
|
H A D | queryparam.cxx | 155 nCol1(r.nCol1),nRow1(r.nRow1),nCol2(r.nCol2),nRow2(r.nRow2),nTab(r.nTab) in ScQueryParamTable() 207 nRow1=nRow2 = 0; in Clear() 232 nRow1 = r.nRow1; in operator =() 271 && (nRow1 == rOther.nRow1) in operator ==() 301 SCsROW nDifY = ((SCsROW) nDestRow) - ((SCsROW) nRow1); in MoveToDest() 305 nRow1 = sal::static_int_cast<SCROW>( nRow1 + nDifY ); in MoveToDest()
|
H A D | rangelst.cxx | 131 SCROW nRow1 = r.aStart.Row(); in Join() local 169 p->aStart.SetRow( nRow1 ); in Join() 172 else if ( p->aEnd.Row() == nRow1-1 ) in Join() 241 SCROW nRow1; in UpdateReference() local 246 rWhere.GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in UpdateReference() 257 nCol1, nRow1, nTab1, nCol2, nRow2, nTab2, in UpdateReference() 363 SCROW nRow1 = r1.aStart.Row(); in Join() local 411 rp1.aStart.SetRow( nRow1 ); in Join() 415 else if ( rp1.aEnd.Row() == nRow1-1 in Join() 488 SCROW nRow1; in UpdateReference() local [all …]
|
H A D | dbcolect.cxx | 45 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in ScDBData() argument 50 nStartRow (nRow1), in ScDBData() 394 nStartRow = nRow1; in SetArea() 403 long nDifY = ((long) nRow1) - ((long) nStartRow); in MoveTo() 436 SetArea( nTab, nCol1, nRow1, nCol2, nRow2 ); in MoveTo() 442 rSortParam.nRow1 = nStartRow; in GetSortParam() 491 rQueryParam.nRow1 = nStartRow; in GetQueryParam() 576 rSubTotalParam.nRow1 = nStartRow; in GetSubTotalParam() 647 rImportParam.nRow1 = nStartRow; in GetImportParam() 752 const SCROW nRow1, in GetDBAtArea() argument [all …]
|
H A D | consoli.cxx | 283 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) in AddFields() argument 290 SCROW nStartRow = nRow1; in AddFields() 298 pSrcDoc->GetString( nCol, nRow1, nTab, aTitle ); in AddFields() 520 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) in AddData() argument 523 PutInOrder(nRow1,nRow2); in AddData() 543 pSrcDoc->GetString(nCol1,nRow1,nTab,aThisCorner); in AddData() 559 SCROW nStartRow = nRow1; in AddData() 570 pSrcDoc->GetString(nCol,nRow1,nTab,aTitle); in AddData() 608 nRow1 = nStartRow; in AddData() 619 for (nRow=nRow1; nRow<=nRow2; nRow++) in AddData() [all …]
|
/aoo41x/main/sc/inc/ |
H A D | table.hxx | 295 sal_Bool IsBlockEditable( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, 378 void StartListeningInArea( SCCOL nCol1, SCROW nRow1, 380 void BroadcastInArea( SCCOL nCol1, SCROW nRow1, 383 void CopyToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 387 void UndoToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 397 void MixData( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 501 void Fill( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 679 void ShowRows(SCROW nRow1, SCROW nRow2, bool bShow); 813 void FillAuto( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 844 void DecoladeRow( ScSortInfoArray*, SCROW nRow1, SCROW nRow2 ); [all …]
|
H A D | column.hxx | 137 void SwapRow( SCROW nRow1, SCROW nRow2 ); 142 bool HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const; 169 sal_uInt16 GetBlockMatrixEdges( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const; 190 void CopyFromClip(SCROW nRow1, SCROW nRow2, long nDy, 192 void StartListeningInArea( SCROW nRow1, SCROW nRow2 ); 193 void BroadcastInArea( SCROW nRow1, SCROW nRow2 ); 200 void MixData( SCROW nRow1, SCROW nRow2, sal_uInt16 nFunction, sal_Bool bSkipEmpty, 219 void CopyToColumn(SCROW nRow1, SCROW nRow2, sal_uInt16 nFlags, sal_Bool bMarked, 222 void UndoToColumn(SCROW nRow1, SCROW nRow2, sal_uInt16 nFlags, sal_Bool bMarked, 296 sal_Bool IsRangeNameInUse(SCROW nRow1, SCROW nRow2, sal_uInt16 nIndex) const; [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | dbfunc.cxx | 141 SCROW nRow1 = aRange.aStart.Row(), nRow2 = aRange.aEnd.Row(); in GetDBData() local 146 aRange.aStart.SetRow(nRow1); in GetDBData() 157 SCROW nRow1 = aRange.aStart.Row(), nRow2 = aRange.aEnd.Row(); in GetDBData() local 160 nCol1, nRow1, nCol2, nRow2, bShrinkColumnsOnly); in GetDBData() 165 aRange.aStart.SetRow(nRow1); in GetDBData() 285 rSortParam.nDestRow + rSortParam.nRow2 - rSortParam.nRow1, in Sort() 352 const SCROW nRow = aParam.nRow1; in ToggleAutoFilter() 405 aParam.nRow1, in ToggleAutoFilter() 468 SCROW nRow1, nRow2; in HideAutoFilter() local 469 pDBData->GetArea(nTab, nCol1, nRow1, nCol2, nRow2); in HideAutoFilter() [all …]
|
H A D | cellsh.cxx | 125 SCROW nRow1, nRow2; in GetBlockState() local 127 nRow1 = aMarkRange.aStart.Row(); in GetBlockState() 141 bDisable = (!bSimpleArea) || (nRow1 == nRow2); in GetBlockState() 146 nCol1, nRow1, nCol2, nRow1, rMark ); // erste Zeile in GetBlockState() 160 nCol1, nRow1, nCol1, nRow2, rMark ); // erste Spalte in GetBlockState() 163 nCol2, nRow1, nCol2, nRow2, rMark ); // letzte Spalte in GetBlockState() 172 bDisable = (!bSimpleArea) || (nCol1 == nCol2 && nRow1 == nRow2); in GetBlockState() 177 nCol1, nRow1, nCol2, nRow1, rMark ) // erste Zeile in GetBlockState() 181 nCol1, nRow1, nCol1, nRow2, rMark ) // erste Spalte in GetBlockState() 183 nCol2, nRow1, nCol2, nRow2, rMark ); // letzte Spalte in GetBlockState() [all …]
|
/aoo41x/main/sc/source/ui/undo/ |
H A D | undodat.cxx | 835 SCROW nStartRow = aSortParam.nRow1; in Undo() 1031 ScRange aDirtyRange( 0 , aQueryParam.nRow1, nTab, in Undo() 1283 SCROW nRow1, nRow2; in Undo() local 1287 pRedoDBData->GetArea( nTable, nCol1, nRow1, nCol2, nRow2 ); in Undo() 1289 nCol1, nRow1, nCol2, nRow2 ); in Undo() 1328 pDoc->DeleteAreaTab( aImportParam.nCol1,aImportParam.nRow1, in Undo() 1339 pUndoDBData->GetArea( nTable, nCol1, nRow1, nCol2, nRow2 ); in Undo() 1372 SCROW nRow1, nRow2; in Redo() local 1376 pUndoDBData->GetArea( nTable, nCol1, nRow1, nCol2, nRow2 ); in Redo() 1378 nCol1, nRow1, nCol2, nRow2 ); in Redo() [all …]
|
H A D | undoutil.cxx | 85 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) in GetOldDBData() argument 87 ScDBData* pRet = pDoc->GetDBAtArea( nTab, nCol1, nRow1, nCol2, nRow2 ); in GetOldDBData() 121 aNewNamed, nTab, nCol1,nRow1, nCol2,nRow2, sal_True, in GetOldDBData() 122 pDoc->HasColHeader( nCol1,nRow1,nCol2,nRow2,nTab ) ); in GetOldDBData() 135 SCROW nRow1 = rRange.aStart.Row(); in PaintMore() local 139 if (nRow1 > 0) --nRow1; in PaintMore() 143 pDocShell->PostPaint( nCol1,nRow1,rRange.aStart.Tab(), in PaintMore()
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | crnrdlg.cxx | 239 SCROW nRow1 = theCurArea.aStart.Row(); in SetColRowData() local 247 if ( nRow1 == 0 ) in SetColRowData() 252 theCurData.aEnd.SetRow( nRow1 - 1 ); in SetColRowData() 342 SCROW nRow1 = theCurArea.aStart.Row(); in AdjustColRowData() local 344 if ( nRow1 > 0 in AdjustColRowData() 347 theCurData.aEnd.SetRow( nRow1 - 1 ); in AdjustColRowData() 511 SCROW nRow1; //Erweiterung fuer Bereichsnamen in UpdateNames() local 545 pDoc->GetString(nCol1, nRow1, nTab1,rString); in UpdateNames() 550 pDoc->GetString(i, nRow1, nTab1,rString); in UpdateNames() 586 SCROW q=nRow1+3; in UpdateNames() [all …]
|