/aoo42x/main/sc/source/core/data/ |
H A D | table2.cxx | 387 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in DeleteArea() 454 for (i=0; i<=nCol2; i++) in CopyToClip() 494 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in CopyFromClip() 505 for (i=nCol1; i<=nCol2; i++) in CopyFromClip() 708 SCCOL nCol2, SCROW nRow2 ) in BroadcastInArea() argument 710 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in BroadcastInArea() 719 SCCOL nCol2, SCROW nRow2 ) in StartListeningInArea() argument 721 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in StartListeningInArea() 1263 SCCOL nCol2 = rRange.aEnd.Col(); in SetDirty() local 1274 SCCOL nCol2 = rRange.aEnd.Col(); in SetTableOpDirty() local [all …]
|
H A D | sortparam.cxx | 46 nCol1(r.nCol1),nRow1(r.nRow1),nCol2(r.nCol2),nRow2(r.nRow2), in ScSortParam() 65 nCol1=nCol2=nDestCol = 0; in Clear() 89 nCol2 = r.nCol2; in operator =() 129 && (nCol2 == rOther.nCol2) 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() 244 nCol2 = sal::static_int_cast<SCCOL>( nCol2 + nDifX ); in MoveToDest()
|
H A D | table4.cxx | 204 if (nCol1 == nCol2) in FillAnalyse() 529 nOEnd = nCol2; in FillAuto() 552 nISrcEnd = nCol2; in FillAuto() 553 nIStart = nCol2 + 1; in FillAuto() 554 nIEnd = nCol2 + nFillCount; in FillAuto() 558 nISrcStart = nCol2; in FillAuto() 963 nSrcCount = nCol2 - nCol1 + 1; in GetAutoFillPreview() 1308 nOEnd = nCol2; in FillSeries() 1337 nISource = nCol2; in FillSeries() 1338 nIStart = nCol2 - 1; in FillSeries() [all …]
|
H A D | global2.cxx | 64 nCol2(0), in ScImportParam() 76 nCol2 (r.nCol2), in ScImportParam() 107 nCol2 = r.nCol2; in operator =() 123 nCol2 == rOther.nCol2 && in operator ==() 259 nCol1(r.nCol1),nRow1(r.nRow1),nCol2(r.nCol2),nRow2(r.nRow2), in ScSubTotalParam() 294 nCol1=nCol2= 0; in Clear() 321 nCol2 = r.nCol2; in operator =() 370 && (nCol2 == rOther.nCol2) in operator ==()
|
H A D | table3.cxx | 417 aCol[nCol1].SwapCell(nRow, aCol[nCol2]); in SwapCol() 547 for (nLastCol = aSortParam.nCol2; in Sort() 576 SCCOL nEndCol = rParam.nCol2; in TestRemoveSubTotals() 609 SCCOL nEndCol = rParam.nCol2; in RemoveSubTotals() 669 SCCOL nEndCol = rParam.nCol2; in DoSubTotals() 1650 SCCOL nDBCol2 = rQueryParam.nCol2; in CreateExcelQuery() 1652 while (bValid && (nCol <= nCol2)) in CreateExcelQuery() 1693 while (nCol <= nCol2) in CreateExcelQuery() 1731 if (nCol2 - nCol1 < 3) in CreateStarQuery() 1742 SCCOL nDBCol2 = rQueryParam.nCol2; in CreateStarQuery() [all …]
|
H A D | document.cxx | 679 SCCOL nCol1, nCol2; in ShrinkToDataArea() local 691 if (nCol2 < rEndCol) in ShrinkToDataArea() 692 rEndCol = nCol2; in ShrinkToDataArea() 1345 PutInOrder( nCol1, nCol2 ); in DeleteArea() 1361 PutInOrder( nCol1, nCol2 ); in DeleteAreaTab() 1475 PutInOrder( nCol1, nCol2 ); in CopyToDocument() 1501 PutInOrder( nCol1, nCol2 ); in UndoToDocument() 1848 if (nC2 > nCol2) in UpdateRangeNamesInFormulas() 1849 nC2 = nCol2; in UpdateRangeNamesInFormulas() 1868 if (nC2 > nCol2) in UpdateRangeNamesInFormulas() [all …]
|
H A D | table1.cxx | 1182 SCCOL nCol2, SCROW nRow2, SCTAB nTab2, in UpdateDrawRef() argument 1195 nCol2 = sal::static_int_cast<SCCOL>( nCol2 - nDx ); in UpdateDrawRef() 1198 pDrawLayer->MoveArea( nTab, nCol1,nRow1, nCol2,nRow2, nDx,nDy, in UpdateDrawRef() 1213 iMax = nCol2; in UpdateReference() 1246 nCol1,nRow1,nTab, nCol2,nRow2,nTab, in UpdateReference() 1378 for (SCCOL i = nCol1; !bInUse && (i <= nCol2) && (ValidCol(i)); i++) in IsRangeNameInUse() 1386 for (SCCOL i = nCol1; i <= nCol2 && ValidCol(i); i++) in FindRangeNamesInUse() 1391 SCCOL nCol2, SCROW nRow2, in ReplaceRangeNamesInUse() argument 1394 for (SCCOL i = nCol1; i <= nCol2 && (ValidCol(i)); i++) in ReplaceRangeNamesInUse() 1549 void ScTable::DoColResize( SCCOL nCol1, SCCOL nCol2, SCSIZE nAdd ) in DoColResize() argument [all …]
|
H A D | documen4.cxx | 121 SCCOL nCol2, SCROW nRow2, in InsertMatrixFormula() argument 127 PutInOrder(nCol1, nCol2); in InsertMatrixFormula() 155 pCell->SetMatColsRows( nCol2 - nCol1 + 1, nRow2 - nRow1 + 1 ); in InsertMatrixFormula() 184 pTab[i]->DoColResize( nCol1, nCol2, static_cast<SCSIZE>(nRow2 - nRow1 + 1) ); in InsertMatrixFormula() 191 for (j = nCol1; j <= nCol2; j++) in InsertMatrixFormula() 211 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in InsertTableOp() argument 214 PutInOrder(nCol1, nCol2); in InsertTableOp() 252 nCol2 = Min( nCol2, (SCCOL)(rParam.aRefFormulaEnd.Col() - in InsertTableOp() 287 for( j = nCol1; j <= nCol2; j++ ) in InsertTableOp() 400 void ScDocument::DoColResize( SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCSIZE nAdd ) in DoColResize() argument [all …]
|
/aoo42x/main/sc/source/ui/view/ |
H A D | dbfunc.cxx | 145 aRange.aEnd.SetCol(nCol2); in GetDBData() 164 aRange.aEnd.SetCol(nCol2); in GetDBData() 253 rSortParam.nCol2, rSortParam.nRow2 ); in UISort() 284 rSortParam.nDestCol + rSortParam.nCol2 - rSortParam.nCol1, in Sort() 368 for ( SCCOL nCol=aParam.nCol1; nCol<=aParam.nCol2; ++nCol ) in ToggleAutoFilter() 406 aParam.nCol2, in ToggleAutoFilter() 427 for ( SCCOL nCol=aParam.nCol1; nCol<=aParam.nCol2; ++nCol ) in ToggleAutoFilter() 467 SCCOL nCol1, nCol2; in HideAutoFilter() local 469 pDBData->GetArea(nTab, nCol1, nRow1, nCol2, nRow2); in HideAutoFilter() 473 for (SCCOL nCol=nCol1; nCol<=nCol2; nCol++) in HideAutoFilter() [all …]
|
H A D | cellsh.cxx | 124 SCCOL nCol1, nCol2; in GetBlockState() local 128 nCol2 = aMarkRange.aEnd.Col(); in GetBlockState() 146 nCol1, nRow1, nCol2, nRow1, rMark ); // erste Zeile in GetBlockState() 149 nCol1, nRow2, nCol2, nRow2, rMark ); // letzte Zeile in GetBlockState() 155 bDisable = (!bSimpleArea) || (nCol1 == nCol2); 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() 179 nCol1, nRow2, nCol2, nRow2, rMark ) // letzte Zeile in GetBlockState() 183 nCol2, nRow1, nCol2, nRow2, rMark ); // letzte Spalte in GetBlockState() [all …]
|
/aoo42x/main/sc/inc/ |
H A D | table.hxx | 295 sal_Bool IsBlockEditable( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, 379 SCCOL nCol2, SCROW nRow2 ); 381 SCCOL nCol2, SCROW nRow2 ); 397 void MixData( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 476 SCCOL nCol2, SCROW nRow2, SCTAB nTab2, 481 SCCOL nCol2, SCROW nRow2, SCTAB nTab2, 501 void Fill( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, 544 SCCOL nCol2, SCROW nRow2, sal_Bool bDeep ) const; 577 SCCOL nCol2, SCROW nRow2 ) const; 785 void DoColResize( SCCOL nCol1, SCCOL nCol2, SCSIZE nAdd ); [all …]
|
/aoo42x/main/sc/source/ui/docshell/ |
H A D | dbdocfun.cxx | 425 rSortParam.nCol2, rSortParam.nRow2 ); in Sort() 457 aLocalParam.nCol2,aLocalParam.nRow2 ); in Sort() 600 aLocalParam.nCol2,aLocalParam.nRow2 ); in Sort() 612 aLocalParam.nCol2, aLocalParam.nRow2, nTab ); in Sort() 620 SCCOL nEndX = aLocalParam.nCol2; in Sort() 711 aLocalParam.nCol2,aLocalParam.nRow2); in Query() 860 pDoc->Fill( aLocalParam.nCol2+1, nFStartY, in Query() 927 aLocalParam.nCol2, aLocalParam.nRow2 ); in Query() 960 SCCOL nEndX = aLocalParam.nCol2; in Query() 999 rParam.nCol2, rParam.nRow2 ); in DoSubTotals() [all …]
|
H A D | dbdocimp.cxx | 148 rParam.nCol2, rParam.nRow2 ); in DoImport() 428 if (bMoveCells && nEndCol == rParam.nCol2) in DoImport() 433 SCCOL nTestCol = rParam.nCol2 + 1; // right of the data in DoImport() 461 rParam.nCol2+nFormulaCols, rParam.nRow2, nTab ); in DoImport() 482 SCCOL nMinEndCol = Min( rParam.nCol2, nEndCol ); // not too much in DoImport() 515 SCCOL nUndoEndCol = Max( nEndCol, rParam.nCol2 ); // rParam = old end in DoImport() 541 if ( rParam.nCol2 > nEndCol ) in DoImport() 561 rParam.nCol2, rParam.nRow2, nTab ); in DoImport() 565 rParam.nCol2+nFormulaCols, rParam.nRow2, nTab ); in DoImport() 570 else if ( nEndCol < rParam.nCol2 ) // DeleteArea calls PutInOrder in DoImport() [all …]
|
/aoo42x/main/sc/source/core/tool/ |
H A D | interpr1.cxx | 3928 SCCOL nCol2; in ScColumns() local 3972 SCCOL nCol2; in ScRows() local 4020 SCCOL nCol2; in ScTables() local 4365 SCCOL nCol2 = 0; in ScMatch() local 4398 rParam.nCol2 = nCol2; in ScMatch() 4892 rParam.nCol2 = nCol2; in IterateParametersIf() 5185 rParam.nCol2 = nCol2; in ScCountIf() 5418 rParam.nCol2 = nCol2; in IterateParametersIfs() 6043 aParam.nCol2 = bVertical ? nCol1 : nCol2; in ScLookup() 6247 rParam.nCol2 = nCol2; in CalculateLookup() [all …]
|
H A D | dbcolect.cxx | 51 nEndCol (nCol2), in ScDBData() 395 nEndCol = nCol2; in SetArea() 420 if (nQueryField[i] > nCol2) in MoveTo() 429 if (nSubField[i] > nCol2) in MoveTo() 436 SetArea( nTab, nCol1, nRow1, nCol2, nRow2 ); in MoveTo() 443 rSortParam.nCol2 = nEndCol; in GetSortParam() 492 rQueryParam.nCol2 = nEndCol; in GetQueryParam() 577 rSubTotalParam.nCol2 = nEndCol; in GetSubTotalParam() 648 rImportParam.nCol2 = nEndCol; in GetImportParam() 753 const SCCOL nCol2, in GetDBAtArea() argument [all …]
|
H A D | chartpos.cxx | 194 SCCOL nCol, nCol1, nCol2; in GlueState() local 199 nCol2 = pR->aEnd.Col() - nStartCol; in GlueState() 202 for ( nCol = nCol1; nCol <= nCol2; nCol++ ) in GlueState() 289 SCCOL nCol1, nCol2, iCol; in CheckColRowHeaders() local 299 if ( nCol1 > nCol2 || nRow1 > nRow2 ) in CheckColRowHeaders() 303 for (iCol=nCol1; iCol<=nCol2 && bColStrings; iCol++) in CheckColRowHeaders() 327 if ( nCol1 <= nCol2 ) in CheckColRowHeaders() 337 for (iCol=nCol1; iCol<=nCol2 && bColStrings; iCol++) in CheckColRowHeaders() 370 SCCOL nCol, nCol1, nCol2; in CreatePositionMap() local 393 pR->GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in CreatePositionMap() [all …]
|
H A D | rangelst.cxx | 133 SCCOL nCol2 = r.aEnd.Col(); in Join() local 165 if ( p->aStart.Col() == nCol1 && p->aEnd.Col() == nCol2 ) in Join() 180 if ( p->aStart.Col() == nCol2+1 ) in Join() 187 p->aEnd.SetCol( nCol2 ); in Join() 243 SCCOL nCol2; in UpdateReference() local 257 nCol1, nRow1, nTab1, nCol2, nRow2, nTab2, in UpdateReference() 365 SCCOL nCol2 = r1.aEnd.Col(); in Join() local 427 if ( rp1.aStart.Col() == nCol2+1 in Join() 437 rp1.aEnd.SetCol( nCol2 ); in Join() 490 SCCOL nCol2; in UpdateReference() local [all …]
|
H A D | queryparam.cxx | 155 nCol1(r.nCol1),nRow1(r.nRow1),nCol2(r.nCol2),nRow2(r.nRow2),nTab(r.nTab) in ScQueryParamTable() 206 nCol1=nCol2 = 0; in Clear() 233 nCol2 = r.nCol2; in operator =() 272 && (nCol2 == rOther.nCol2) in operator ==() 306 nCol2 = sal::static_int_cast<SCCOL>( nCol2 + nDifX ); in MoveToDest()
|
H A D | interpr4.cxx | 570 while (nCol <= nCol2) in CreateDoubleArr() 653 while (nCol <= nCol2) in CreateStringArr() 756 while (nCol <= nCol2) in CreateCellArr() 1254 SCCOL nCol1, nCol2; in PopDoubleRef() local 1673 aRef.Ref2.nCol = nCol2; in PushDoubleRef() 2206 SCCOL nCol2; in ScExternal() local 2222 SCCOL nCol2; in ScExternal() local 2238 SCCOL nCol2; in ScExternal() local 2778 SCCOL nCol2; in ScMacro() local 3119 SCsCOL nCol2; in ScColRowNameAuto() local [all …]
|
H A D | refupdat.cxx | 263 SCCOL nCol2, SCROW nRow2, SCTAB nTab2, in Update() argument 301 if ( nDy && (theCol1 >= nCol1) && (theCol2 <= nCol2) && in Update() 320 if ( nDz && (theCol1 >= nCol1) && (theCol2 <= nCol2) && in Update() 376 if ( nDz && (theCol1 >= nCol1) && (theCol2 <= nCol2) && in Update() 411 sal_Int32 nCol1, nRow1, nTab1, nCol2, nRow2, nTab2; in Update() local 413 rWhere.GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in Update() 431 if ( nDy && (theCol1 >= nCol1) && (theCol2 <= nCol2) && in Update() 442 if ( nDz && (theCol1 >= nCol1) && (theCol2 <= nCol2) && in Update() 505 SCCOL nCol2 = r.aEnd.Col(); in Update() local 547 nCol1, nCol2, nDx, MAXCOL ) ) in Update() [all …]
|
/aoo42x/main/sc/source/ui/undo/ |
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() 136 SCCOL nCol2 = rRange.aEnd.Col(); in PaintMore() local 140 if (nCol2<MAXCOL) ++nCol2; in PaintMore() 144 nCol2,nRow2,rRange.aEnd.Tab(), PAINT_GRID ); in PaintMore()
|
H A D | undodat.cxx | 746 aParam.nCol2,aParam.nRow2,nTab ); in Undo() 777 aParam.nCol2,aParam.nRow2,nTab ); in Redo() 836 SCCOL nEndCol = aSortParam.nCol2; in Undo() 897 aSortParam.nCol2, aSortParam.nRow2, nTab ) ); in Redo() 1282 SCCOL nCol1, nCol2; in Undo() local 1287 pRedoDBData->GetArea( nTable, nCol1, nRow1, nCol2, nRow2 ); in Undo() 1289 nCol1, nRow1, nCol2, nRow2 ); in Undo() 1339 pUndoDBData->GetArea( nTable, nCol1, nRow1, nCol2, nRow2 ); in Undo() 1371 SCCOL nCol1, nCol2; in Redo() local 1376 pUndoDBData->GetArea( nTable, nCol1, nRow1, nCol2, nRow2 ); in Redo() [all …]
|
/aoo42x/main/sc/source/ui/miscdlgs/ |
H A D | crnrdlg.cxx | 238 SCCOL nCol2 = theCurArea.aEnd.Col(); in SetColRowData() local 241 if ( (static_cast<SCCOLROW>(nCol2 - nCol1) >= nRow2 - nRow1) || (nCol1 == 0 && nCol2 == MAXCOL) ) in SetColRowData() 265 if ( nCol2 == MAXCOL ) in SetColRowData() 268 theCurData.aEnd.SetCol( nCol2 - 1 ); in SetColRowData() 272 theCurData.aStart.SetCol( nCol2 + 1 ); in SetColRowData() 366 SCCOL nCol2 = theCurArea.aEnd.Col(); in AdjustColRowData() local 368 && (theCurData.aEnd.Col() < nCol2 || nCol2 == MAXCOL) ) in AdjustColRowData() 513 SCCOL nCol2; in UpdateNames() local 538 nCol2, nRow2, nTab2 ); in UpdateNames() 540 if(q>nCol2) q=nCol2; in UpdateNames() [all …]
|
/aoo42x/main/basic/source/comp/ |
H A D | scanner.cxx | 55 nCol2 = 0; in SbiScanner() 109 if( nc > nCol2 ) nCol2 = nc; in GenError() 112 bRes = pBasic->CError( code, aError, nLine, nc, nCol2 ); in GenError() 166 sal_uInt16 nOldCol2 = nCol2; in NextSym() 201 nCol = nCol1 = nCol2 = nOldCol1 = nOldCol2 = 0; in NextSym() 491 nCol2 = nCol-1; in NextSym() 503 nCol2 = nCol2 + nLen; in NextSym() 530 nCol2 = nOldCol2; in NextSym()
|
H A D | token.cxx | 432 sal_uInt16 nOldCol2 = nCol2; in Peek() 436 nPCol2 = nCol2; nCol2 = nOldCol2; in Peek() 488 nCol2 = nPCol2; in Next() 577 sal_uInt16 nOldCol2 = nCol2; in Next() 601 nCol2 = nOldCol2; in Next() 685 aRes.nEnd = nCol2; in Hilite()
|