/trunk/main/sc/source/core/tool/ |
H A D | interpr5.cxx | 323 SCCOL nCol1, SCROW nRow1, SCTAB nTab1, in CreateMatrixFromDoubleRef() argument 331 if ( static_cast<SCSIZE>(nRow2 - nRow1 + 1) * in CreateMatrixFromDoubleRef() 346 SCROW nNextRow = nRow1; in CreateMatrixFromDoubleRef() 365 nMatRows : nThisRow - nRow1); in CreateMatrixFromDoubleRef() 366 for (SCSIZE nR = nNextRow - nRow1; nR < in CreateMatrixFromDoubleRef() 371 nNextRow = nRow1; in CreateMatrixFromDoubleRef() 377 nNextRow = nRow1; in CreateMatrixFromDoubleRef() 430 nNextRow = nRow1; in CreateMatrixFromDoubleRef() 475 SCROW nRow1, nRow2; in GetMatrix() local 561 SCROW nRow1; in ScMatValue() local [all …]
|
H A D | interpr2.cxx | 1866 SCROW nRow1 = ::std::max( r11.nRow, r21.nRow); in ScIntersect() local 1871 if (nCol2 < nCol1 || nRow2 < nRow1 || nTab2 < nTab1) in ScIntersect() 1876 aRef.InitRange( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2); in ScIntersect() 1934 SCROW nRow1 = ::std::max( nR1[0], nR1[1]); in ScIntersect() local 1939 if (nCol2 < nCol1 || nRow2 < nRow1 || nTab2 < nTab1) in ScIntersect() 1941 else if (nCol2 == nCol1 && nRow2 == nRow1 && nTab2 == nTab1) in ScIntersect() 1942 PushSingleRef( nCol1, nRow1, nTab1); in ScIntersect() 1944 PushDoubleRef( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2); in ScIntersect()
|
/trunk/main/sc/inc/ |
H A D | dociter.hxx | 388 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2); 408 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2); 432 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2); 501 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ); 536 SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 );
|
/trunk/main/sc/source/core/data/ |
H A D | document.cxx | 680 SCROW nRow1, nRow2; in ShrinkToDataArea() local 693 if (rStartRow < nRow1) in ShrinkToDataArea() 694 rStartRow = nRow1; in ShrinkToDataArea() 1346 PutInOrder( nRow1, nRow2 ); in DeleteArea() 1362 PutInOrder( nRow1, nRow2 ); in DeleteAreaTab() 1476 PutInOrder( nRow1, nRow2 ); in CopyToDocument() 1502 PutInOrder( nRow1, nRow2 ); in UndoToDocument() 1846 SCROW nR1 = nRow1; in UpdateRangeNamesInFormulas() 2031 SCROW nDestRow = nRow1; in CopyNonFilteredFromClip() 2353 SCROW nBegRow = nRow1; in CopyMultiRangeFromClip() [all …]
|
H A D | documen8.cxx | 1390 SCROW nRow1 = aOutRange.aStart.Row(); in UpdateRefAreaLinks() local 1400 nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in UpdateRefAreaLinks() 1403 pLink->SetDestArea( ScRange( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ) ); in UpdateRefAreaLinks()
|
/trunk/main/sc/source/ui/view/ |
H A D | viewdata.cxx | 2022 void ScViewData::SetScreen( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) in SetScreen() argument 2033 SetPosY( SC_SPLIT_BOTTOM, nRow1 ); in SetScreen() 2045 for (nRow=nRow1; nRow<=nRow2; nRow++) in SetScreen()
|
H A D | gridwin.cxx | 3308 SCROW nRow1 = nPosY; in lcl_MakeDropRange() local 3309 SCROW nRow2 = nRow1 + ( rSource.aEnd.Row() - rSource.aStart.Row() ); in lcl_MakeDropRange() 3312 nRow1 -= nRow2 - MAXROW; in lcl_MakeDropRange() 3316 return ScRange( nCol1, nRow1, nTab, nCol2, nRow2, nTab ); in lcl_MakeDropRange() 4699 SCROW nRow1 = rRange.aStart.Row(); in lcl_PaintOneRange() local 4718 nTmp = pDoc->FirstVisibleRow(0, nRow1, nTab1); in lcl_PaintOneRange() 4721 if (nTmp < nRow1) in lcl_PaintOneRange() 4723 nRow1 = nTmp; in lcl_PaintOneRange() 4735 if ( nCol2 > nCol1 + 1 && nRow2 > nRow1 + 1 && !bHiddenEdge ) in lcl_PaintOneRange() 4741 pDocSh->PostPaint( nCol1, nRow1, nTab1, nCol2, nRow1, nTab2, PAINT_MARKS ); in lcl_PaintOneRange() [all …]
|
H A D | viewfun3.cxx | 885 sal_Bool lcl_SelHasAttrib( ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, in lcl_SelHasAttrib() argument 890 …if ( rTabSelection.GetTableSelect(nTab) && pDoc->HasAttrib( nCol1, nRow1, nTab, nCol2, nRow2, nTab… in lcl_SelHasAttrib() 1286 SCROW nRow1 = -1; in PasteFromClip() local 1288 while ( ( pPattern = aIter.GetNext( nCol, nRow1, nRow2 ) ) != NULL ) in PasteFromClip() 1294 ScRange aRange(nCol, nRow1, nStartTab); in PasteFromClip()
|
H A D | tabvwshe.cxx | 94 SCROW nRow1, nRow2; in GetSelectionText() local 96 aRange.GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2); in GetSelectionText() 98 pDoc->ShrinkToUsedDataArea( bShrunk, nTab1, nCol1, nRow1, nCol2, nRow2, false); in GetSelectionText() 102 aRange.aStart.SetRow( nRow1 ); in GetSelectionText()
|
H A D | tabview3.cxx | 1893 SCROW nRow1 = aViewData.GetEditStartRow(); in KillEditView() local 1902 nRow1 == aViewData.GetCurY(); in KillEditView() 2003 SCROW nRow1; in PaintArea() local 2019 nRow1 = nStartRow; in PaintArea() 2033 if (nRow1 < nScrY) nRow1 = nScrY; in PaintArea() 2040 if (nRow1 > nLastY) bOut = sal_True; in PaintArea() 2046 pGridWin[i]->Draw( nCol1, nRow1, nCol2, nRow2, eMode ); in PaintArea() 2125 SCROW nRow1 = aRef.aStart.Row(); in PaintRangeFinder() local 2149 if (nTmp < nRow1) in PaintRangeFinder() 2151 nRow1 = nTmp; in PaintRangeFinder() [all …]
|
H A D | output.cxx | 1231 size_t nRow1 = nFirstRow; in DrawFrame() local 1232 while( nRow1 <= nLastRow ) in DrawFrame() 1234 while( (nRow1 <= nLastRow) && !pRowInfo[ nRow1 ].bChanged ) ++nRow1; in DrawFrame() 1235 if( nRow1 <= nLastRow ) in DrawFrame() 1237 size_t nRow2 = nRow1; in DrawFrame() 1239 rArray.DrawRange( *pDev, nFirstCol, nRow1, nLastCol, nRow2, pForceColor ); in DrawFrame() 1240 nRow1 = nRow2 + 1; in DrawFrame()
|
H A D | gridwin4.cxx | 935 SCROW nRow1 = pViewData->GetEditStartRow(); in Draw() local 940 Point aStart = pViewData->GetScrPos( nCol1, nRow1, eWhich ); in Draw()
|
H A D | dbfunc3.cxx | 409 ScDBData* pDBData = pDoc->GetDBAtArea( nTab, rParam.nCol1, rParam.nRow1, in DoSubTotals() 417 ScEditableTester aTester( pDoc, nTab, 0,rParam.nRow1+1, MAXCOL,MAXROW ); in DoSubTotals() 424 if (pDoc->HasAttrib( rParam.nCol1, rParam.nRow1+1, nTab, in DoSubTotals() 482 pDoc->CopyToDocument( 0,rParam.nRow1+1,nTab, MAXCOL,rParam.nRow2,nTab, in DoSubTotals() 511 pDBData->SetArea( nTab, aNewParam.nCol1,aNewParam.nRow1, aNewParam.nCol2,aNewParam.nRow2 ); in DoSubTotals() 524 ScRange aDirtyRange( aNewParam.nCol1, aNewParam.nRow1, nTab, in DoSubTotals() 546 pDBData->SetArea( nTab, aNewParam.nCol1,aNewParam.nRow1, aNewParam.nCol2,aNewParam.nRow2 ); in DoSubTotals() 551 rMark.SetMarkArea( ScRange( aNewParam.nCol1,aNewParam.nRow1,nTab, in DoSubTotals()
|
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 …]
|
H A D | cellsh2.cxx | 146 if( rSortParam.nRow1 != rSortParam.nRow2 ) in lcl_GetSortParam() 149 …SCSIZE nCount = pDoc->GetEmptyLinesInBlock( rSortParam.nCol1, rSortParam.nRow1, nTab, rSortParam.n… in lcl_GetSortParam() 167 …( rSortParam.nRow1 == rSortParam.nRow2 && aExternalRange.aStart.Row() != aExternalRange.aEnd.Row()… in lcl_GetSortParam() 176 …ScRange rCurrentRange( rSortParam.nCol1, rSortParam.nRow1, nTab, rSortParam.nCol2, rSortParam.nRow… in lcl_GetSortParam() 427 …sal_Bool bHasHeader = pDoc->HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aS… in ExecuteDB() 475 …sal_Bool bHasHeader = pDoc->HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aS… in ExecuteDB() 540 …sal_Bool bHasHeader = pDoc->HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aS… in ExecuteDB() 873 pDBData->GetArea( nTab, nCol1, nRow1, nCol2, nRow2 ); in ExecuteDB() 876 if ( nRow2-nRow1 < 1 ) in ExecuteDB()
|
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 …]
|
/trunk/main/sc/source/ui/app/ |
H A D | transobj.cxx | 143 SCROW nRow1; in ScTransferObj() local 146 pDoc->GetClipStart( nCol1, nRow1 ); in ScTransferObj() 149 nRow2 = sal::static_int_cast<SCROW>( nRow2 + nRow1 ); in ScTransferObj() 153 bHasFiltered = (nNonFiltered < (nRow2 - nRow1)); in ScTransferObj() 182 aBlock = ScRange( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in ScTransferObj() 185 Rectangle aMMRect = pDoc->GetMMRect( nCol1,nRow1, nCol2,nRow2, nTab1 ); in ScTransferObj()
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsLayouter.cxx | 1001 const sal_Int32 nRow1 (GetRowAtPosition(aVisibleArea.Bottom(), true, GM_PREVIOUS)); in GetRangeOfVisiblePageObjects() local 1006 return Range(GetIndex(nRow0,nCol0,true), GetIndex(nRow1,nCol1,true)); in GetRangeOfVisiblePageObjects()
|
/trunk/main/sc/source/ui/navipi/ |
H A D | content.cxx | 1272 SCROW nRow1, nRow2; in lcl_GetRange() local 1273 (*pList)[nPos]->GetArea(nTab,nCol1,nRow1,nCol2,nRow2); in lcl_GetRange() 1274 rRange = ScRange( nCol1,nRow1,nTab, nCol2,nRow2,nTab ); in lcl_GetRange()
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fuins2.cxx | 108 SCROW nRow1 = 0; in lcl_ChartInit() local 118 if ( pViewData->GetSimpleArea( nCol1,nRow1,nTab1, nCol2,nRow2,nTab2 ) == SC_MARK_SIMPLE ) in lcl_ChartInit() 121 PutInOrder( nRow1, nRow2 ); in lcl_ChartInit() 122 if ( nCol2>nCol1 || nRow2>nRow1 ) in lcl_ChartInit() 125 pDoc->LimitChartArea( nTab1, nCol1,nRow1, nCol2,nRow2 ); in lcl_ChartInit() 128 ScRange aRange( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in lcl_ChartInit()
|
/trunk/main/xmloff/source/chart/ |
H A D | transporttypes.hxx | 117 sal_Int32 nRow1, nRow2; member 121 nRow1( -1 ), nRow2( -1 ), in SchNumericCellRangeAddress() 127 nRow1 = aOther.nRow1; nRow2 = aOther.nRow2; in SchNumericCellRangeAddress()
|
/trunk/main/toolkit/workben/layout/ |
H A D | tpsort.cxx | 424 SCROW nFirstSortRow = rSortData.nRow1; in FillFieldLists() 696 ScAddress aScAddress( rSortData.nCol1, rSortData.nRow1, nCurTab ); in Init() 705 rSortData.nCol1, rSortData.nRow1, in Init()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unotbl.cxx | 385 sal_Int32 nCol1 = -1, nRow1 = -1, nCol2 = -1, nRow2 = -1; in lcl_CompareCellsByRowFirst() local 386 lcl_GetCellPosition( rCellName1, nCol1, nRow1 ); in lcl_CompareCellsByRowFirst() 389 if (nRow1 < nRow2 || (nRow1 == nRow2 && nCol1 < nCol2)) in lcl_CompareCellsByRowFirst() 391 else if (nCol1 == nCol2 && nRow1 == nRow2) in lcl_CompareCellsByRowFirst() 408 sal_Int32 nCol1 = -1, nRow1 = -1, nCol2 = -1, nRow2 = -1; in lcl_CompareCellsByColFirst() local 409 lcl_GetCellPosition( rCellName1, nCol1, nRow1 ); in lcl_CompareCellsByColFirst() 412 if (nCol1 < nCol2 || (nCol1 == nCol2 && nRow1 < nRow2)) in lcl_CompareCellsByColFirst() 414 else if (nRow1 == nRow2 && nCol1 == nCol2) in lcl_CompareCellsByColFirst() 520 sal_Int32 nCol1 = -1, nRow1 = -1, nCol2 = -1, nRow2 = -1; in lcl_NormalizeRange() local 521 lcl_GetCellPosition( rCell1, nCol1, nRow1 ); in lcl_NormalizeRange() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | cellsuno.cxx | 5613 aParam.nRow1 = aRange.aStart.Row(); in sort() 5713 aParam.nRow1 = aRange.aStart.Row(); in filter() 5755 aParam.nRow1 = (SCROW)aDataAddress.StartRow; in createFilterDescriptorByObject() 5863 aParam.nRow1 = aRange.aStart.Row(); in applySubTotals() 5890 aParam.nRow1 = aRange.aStart.Row(); in removeSubTotals() 5932 aParam.nRow1 = aRange.aStart.Row(); in doImport() 9418 SCROW nRow1, nRow2; in GetObjectByIndex_Impl() local 9453 SCROW nRow1, nRow2; in getCount() local 9538 SCROW nRow1, nRow2; in Advance_Impl() local 9797 SCROW nRow1, nRow2; in GetObjects_Impl() local [all …]
|
H A D | chart2uno.cxx | 332 SCROW nRow1=0, nRow2=0; in Chart2PositionMap() local 334 aRange.GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, nTab2 ); in Chart2PositionMap() 335 if (pDoc && pDoc->HasValueData( nCol1, nRow1, nTab1 )) in Chart2PositionMap() 342 if (pDoc && pDoc->HasData( nCol1, nRow1, nTab1 ) ) in Chart2PositionMap() 620 SCROW nRow1 = static_cast<SCROW>(aData.Ref1.nRow) - mnStartRow; in glueState() local 623 for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow) in glueState() 730 SCROW nRow1 = s.nRow, nRow2 = e.nRow; in createPositionMap() local 761 sal_uInt32 nInsRow = static_cast<sal_uInt32>(bNoGlue ? nNoGlueRow : nRow1); in createPositionMap() 762 for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow, ++nInsRow) in createPositionMap() 784 nNoGlueRow += nRow2 - nRow1 + 1; in createPositionMap()
|