/aoo41x/main/sc/source/core/data/ |
H A D | table5.cxx | 95 SCROW nEndRow = MAXROW; in UpdatePageBreaks() local 301 if (nEndRow < MAXROW) in UpdatePageBreaks() 304 if (nEndRow+2 <= MAXROW) in UpdatePageBreaks() 547 while (nRow <= nEndRow) in HasHiddenRows() 624 while (nRow <= nEndRow) in CopyRowHidden() 639 while (nRow <= nEndRow) in CopyRowHeight() 658 while (nRow <= nEndRow) in FirstVisibleRow() 679 SCROW nRow = nEndRow; in LastVisibleRow() 705 while (nRow <= nEndRow) in CountVisibleRows() 889 SCROW nRow = nEndRow; in LastNonFilteredRow() [all …]
|
H A D | attarray.cxx | 232 long nEndRow = 0; in Search() local 535 if (nY2 > nEndRow) nY2=nEndRow; in ApplyStyleArea() 693 if (nY2 > nEndRow) nY2=nEndRow; in ApplyLineStyleArea() 762 if (nY2 > nEndRow) nY2=nEndRow; in ApplyCacheArea() 1015 if (nStartRow == nEndRow) in MergeBlockFrame() 1034 nEndRow - Min( pData[i].nRow, (SCROW)(nEndRow-1) ) ); in MergeBlockFrame() 1105 if (nStartRow == nEndRow) in ApplyBlockFrame() 1441 if (nThisEnd > nEndRow) in RemoveAreaMerge() 1442 nThisEnd = nEndRow; in RemoveAreaMerge() 2317 nEndRow -= nDy; in CopyArea() [all …]
|
H A D | table2.cxx | 2095 nRow = nEndRow + 1; in StyleSheetChanged() 2718 SCROW nEndRow = -1; in DBShowRows() local 2752 nStartRow = nEndRow + 1; in DBShowRows() 2778 SCROW nEndRow = -1; in ShowRows() local 2814 nStartRow = nEndRow + 1; in ShowRows() 3012 if (RowHidden(rY2+1, nEndRow) && ValidRow(nEndRow)) in ExtendHidden() 3013 rY2 = nEndRow; in ExtendHidden() 3039 if (RowHidden(rY1, nEndRow) && ValidRow(nEndRow) && nEndRow <= rY2) in StripHidden() 3040 rY1 = nEndRow; in StripHidden() 3204 SCROW nEndRow; in RefVisible() local [all …]
|
H A D | document.cxx | 757 aRange.aEnd.SetRow( nEndRow ); in LimitChartIfAll() 816 PutInOrder( nStartRow, nEndRow ); in CanInsertRow() 3301 if (nStartRow == nEndRow) in GetRowHeight() 3305 if (nStartRow > nEndRow) in GetRowHeight() 3324 if (nStartRow == nEndRow) in GetScaledRowHeight() 3328 if (nStartRow > nEndRow) in GetScaledRowHeight() 3859 SCROW nEndRow; in GetColDefault() local 3861 if (nEndRow < nLastRow) in GetColDefault() 4648 while (nAttrPos<=nEndRow) in ExtendOverlapped() 4749 if (nExtendRow > nEndRow) nEndRow = nExtendRow; in ExtendMerge() [all …]
|
H A D | documen3.cxx | 1035 PutInOrder( nStartRow, nEndRow ); in AutoFormat() 1050 PutInOrder(nStartRow, nEndRow); in GetAutoFormatData() 1370 SCROW nEndRow; in GetFilterEntries() local 1379 if (nTmpEndRow > nEndRow) in GetFilterEntries() 1381 nEndRow = nTmpEndRow; in GetFilterEntries() 1614 if (nHeightEndRow > nEndRow) in lcl_AddTwipsWhile() 1615 nHeightEndRow = nEndRow; in lcl_AddTwipsWhile() 1956 SCCOL nEndCol, SCROW nEndRow ) in DoMergeContents() argument 1963 for (nRow=nStartRow; nRow<=nEndRow; nRow++) in DoMergeContents() 1988 if ( nEndRow > nStartRow ) in DoMerge() [all …]
|
H A D | markarr.cxx | 78 long nEndRow = 0; in Search() local 90 nEndRow = (long) pData[i].nRow; in Search() 91 if (nEndRow < (long) nRow) in Search() 124 if (ValidRow(nStartRow) && ValidRow(nEndRow)) in SetMarkArea() 126 if ((nStartRow == 0) && (nEndRow == MAXROW)) in SetMarkArea() 164 if ( pData[ni].nRow > nEndRow ) in SetMarkArea() 174 pData[ni-1].nRow = nEndRow; in SetMarkArea() 186 while ( nj < nCount && pData[nj].nRow <= nEndRow ) in SetMarkArea() 212 pData[ni].nRow = nEndRow; in SetMarkArea() 241 pData[nInsert].nRow = nEndRow; in SetMarkArea() [all …]
|
H A D | dociter.cxx | 297 if (!ValidRow(nEndRow)) nEndRow = MAXROW; in ScValueIterator() 317 if ( nRow > nEndRow ) in GetThis() 971 nEndRow( nERow), in ScCellIterator() 983 if (!ValidRow(nEndRow)) nEndRow = MAXROW; in ScCellIterator() 1025 if (!ValidRow(nEndRow)) nEndRow = MAXROW; in ScCellIterator() 1053 if ( nRow > nEndRow ) in GetThis() 1684 nEndRow( nRow2 ), in ScHorizontalCellIterator() 1825 if (!ValidRow(nEndRow)) nEndRow = MAXROW; in ScHorizontalValueIterator() 1959 nEndRow( nRow2 ) in ScHorizontalAttrIterator() 2200 nEndRow( nRow2 ), in ScDocAttrIterator() [all …]
|
H A D | column.cxx | 339 ScAttrIterator aAttrIter( pAttrArray, nStartRow, nEndRow ); in GetMostUsedPattern() 453 pAttrArray->ApplyCacheArea( nStartRow, nEndRow, &aCache ); in ApplyPatternArea() 463 SCROW nEndRow = rRange.aEnd.Row(); in ApplyPatternIfNumberformatIncompatible() local 476 SCROW nNewRow2 = Min( nRow2, nEndRow ); in ApplyPatternIfNumberformatIncompatible() 616 return pAttrArray->ApplyFlags( nStartRow, nEndRow, nFlags ); in ApplyFlags() 622 return pAttrArray->RemoveFlags( nStartRow, nEndRow, nFlags ); in RemoveFlags() 628 pAttrArray->ClearItems( nStartRow, nEndRow, pWhich ); in ClearItems() 1079 bTest = pAttrArray->TestInsertCol(nStartRow, nEndRow); in TestInsertCol() 1529 pAttrArray->MoveTo(nStartRow, nEndRow, *rCol.pAttrArray); in MoveTo() 1538 for ( ; i < nCount && pItems[i].nRow <= nEndRow; ++i) in MoveTo() [all …]
|
H A D | column2.cxx | 776 ScAttrIterator aIter( pAttrArray, nStartRow, nEndRow ); in GetOptimalHeight() 1040 for (; i<nCount && pItems[i].nRow <= nEndRow; i++) in RemoveEditAttribs() 1258 while ( nIndex < nCount && pItems[nIndex].nRow <= nEndRow ) in VisibleCount() 1341 while ( nIndex < nCount && pItems[nIndex].nRow <= nEndRow ) in IsEmptyBlock() 1368 nLines = static_cast<SCSIZE>(nEndRow - pItems[i].nRow); in GetEmptyLinesInBlock() 1370 nLines = static_cast<SCSIZE>(nEndRow - nStartRow); in GetEmptyLinesInBlock() 1377 if ( pItems[i].nRow > nEndRow ) in GetEmptyLinesInBlock() 1385 nLines = static_cast<SCSIZE>(nEndRow - nStartRow); in GetEmptyLinesInBlock() 1389 nLines = static_cast<SCSIZE>(nEndRow - nStartRow); in GetEmptyLinesInBlock() 1829 SCROW nStartRow, SCROW nEndRow ) in UpdateAreaFunction() argument [all …]
|
H A D | table4.cxx | 1672 for (nRow = nStartRow + 1; nRow < nEndRow; nRow++) in AutoFormat() 1682 nRow = nEndRow; in AutoFormat() 1696 for (nRow = nStartRow + 1; nRow < nEndRow; nRow++) in AutoFormat() 1706 nRow = nEndRow; in AutoFormat() 1720 nRow = nEndRow; in AutoFormat() 1871 if (nEndRow - nStartRow >= 4) in GetAutoFormatData() 1876 GetAutoFormatAttr(nStartCol, nEndRow, 12, rData); in GetAutoFormatData() 1885 if (nEndRow - nStartRow >= 4) in GetAutoFormatData() 1890 GetAutoFormatAttr(nEndCol, nEndRow, 15, rData); in GetAutoFormatData() 1901 GetAutoFormatAttr(nStartCol + 1, nEndRow, 13, rData); in GetAutoFormatData() [all …]
|
H A D | column3.cxx | 282 SCROW nEndRow = nStartRow + nSize - 1; in DeleteRow() local 566 if (nStartRow==0 && nEndRow==MAXROW) in DeleteArea() 591 RemoveEditAttribs( nStartRow, nEndRow ); in DeleteArea() 687 SCROW nEndRow = nStartRow; in CopyFromClip() local 691 while ( nEndRow < nRow2-nDy && in CopyFromClip() 693 rColumn.pItems[nEndIndex+1].nRow == nEndRow+1 && in CopyFromClip() 697 ++nEndRow; in CopyFromClip() 1165 return new ScAttrIterator( pAttrArray, nStartRow, nEndRow ); in CreateAttrIterator() 1651 ScAttrIterator aAttrIter( pAttrArray, nStartRow, nEndRow ); in RemoveProtected() 1788 for( ; nCurRow <= nEndRow; nCurRow++ ) in FillDPCacheT() [all …]
|
H A D | markdata.cxx | 155 SCROW nEndRow = rRange.aEnd.Row(); in SetMultiMarkArea() local 156 PutInOrder( nStartRow, nEndRow ); in SetMultiMarkArea() 161 pMultiSel[nCol].SetMarkArea( nStartRow, nEndRow, bMark ); in SetMultiMarkArea() 171 if ( nEndRow > aMultiRange.aEnd.Row() ) in SetMultiMarkArea() 172 aMultiRange.aEnd.SetRow( nEndRow ); in SetMultiMarkArea() 252 SCROW nStartRow, nEndRow; in MarkToSimple() local 253 if ( pMultiSel[nStartCol].HasOneMark( nStartRow, nEndRow ) ) in MarkToSimple() 259 || nCmpStart != nStartRow || nCmpEnd != nEndRow ) in MarkToSimple() 268 aNew.aEnd.SetRow(nEndRow); in MarkToSimple() 544 SCROW nEndRow = rRange.aEnd.Row(); in IsAllMarked() local [all …]
|
/aoo41x/main/sc/inc/ |
H A D | attarray.hxx | 98 SCROW nStartRow, SCROW nEndRow, 126 void ApplyLineStyleArea( SCROW nStartRow, SCROW nEndRow, 157 void DeleteAreaSafe(SCROW nStartRow, SCROW nEndRow); 158 void SetPatternAreaSafe( SCROW nStartRow, SCROW nEndRow, 175 SCROW nStartRow, SCROW nEndRow ) const; 183 void DeleteArea( SCROW nStartRow, SCROW nEndRow ); 188 void DeleteHardAttr( SCROW nStartRow, SCROW nEndRow ); 208 SCROW nEndRow; member in ScAttrIterator 219 nEndRow( nEnd ) in ScAttrIterator() 230 if ( nPos < pArray->nCount && nRow <= nEndRow ) in Next() [all …]
|
H A D | column.hxx | 167 SCSIZE VisibleCount( SCROW nStartRow, SCROW nEndRow ) const; 178 sal_Bool HasVisibleAttrIn( SCROW nStartRow, SCROW nEndRow ) const; 180 SCROW nEndRow = MAXROW ) const; 183 sal_Bool TestInsertCol( SCROW nStartRow, SCROW nEndRow) const; 195 void RemoveEditAttribs( SCROW nStartRow, SCROW nEndRow ); 217 SCROW nStartRow, SCROW nEndRow ); 233 void MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn& rCol); 259 sal_Bool HasStringCells( SCROW nStartRow, SCROW nEndRow ) const; 280 void ResetChanged( SCROW nStartRow, SCROW nEndRow ); 319 void SetPatternArea( SCROW nStartRow, SCROW nEndRow, [all …]
|
H A D | table.hxx | 419 sal_Bool GetPrintAreaHor( SCROW nStartRow, SCROW nEndRow, 440 SCCOL nEndCol, SCROW nEndRow, ScDirection eDir ); 453 SCCOL nEndCol, SCROW nEndRow ) const; 507 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, 548 SCCOL nEndCol, SCROW nEndRow ) const; 552 SCCOL nEndCol, SCROW nEndRow ); 653 sal_uLong GetRowHeight( SCROW nStartRow, SCROW nEndRow ) const; 729 void RemoveRowPageBreaks(SCROW nStartRow, SCROW nEndRow); 739 bool HasHiddenRows(SCROW nStartRow, SCROW nEndRow) const; 747 SCROW FirstVisibleRow(SCROW nStartRow, SCROW nEndRow) const; [all …]
|
H A D | document.hxx | 590 SCCOL nEndCol, SCROW nEndRow, 595 SCCOL nEndCol, SCROW nEndRow, 869 SCCOL nEndCol, SCROW nEndRow, SCTAB nTab ); 876 SCCOL nEndCol, SCROW nEndRow ); 885 SCCOL nEndCol, SCROW nEndRow, 1022 SCROW nEndRow, SCTAB nEndTab, 1027 SCROW nEndRow, SCTAB nEndTab, 1250 SCCOL nEndCol, SCROW nEndRow, 1265 SCCOL nEndCol, SCROW nEndRow, 1286 SCCOL nEndCol, SCROW nEndRow, [all …]
|
/aoo41x/main/sc/source/filter/rtf/ |
H A D | expbase.cxx | 63 SCROW& nStartRow, SCCOL& nEndCol, SCROW& nEndRow ) const in GetDataArea() 66 pDoc->GetPrintArea( nTab, nEndCol, nEndRow, sal_True ); in GetDataArea() 67 return TrimDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in GetDataArea() 72 SCROW& nStartRow, SCCOL& nEndCol, SCROW& nEndRow ) const in TrimDataArea() 79 nStartRow = pDoc->FirstVisibleRow(nStartRow, nEndRow, nTab); in TrimDataArea() 80 nEndRow = pDoc->LastVisibleRow(nStartRow, nEndRow, nTab); in TrimDataArea() 81 return nStartCol <= nEndCol && nStartRow <= nEndRow && nEndRow != in TrimDataArea() 91 SCROW nStartRow, nEndRow; in IsEmptyTable() local 92 return !GetDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in IsEmptyTable()
|
H A D | eeimpars.cxx | 101 SCROW nEndRow; in Read() local 102 mpParser->GetDimensions( nEndCol, nEndRow ); in Read() 111 if ( nEndRow != 0 ) in Read() 113 nEndRow += maRange.aStart.Row() - 1; in Read() 114 if ( nEndRow > MAXROW ) in Read() 115 nEndRow = MAXROW; in Read() 118 nEndRow = maRange.aStart.Row(); in Read() 132 SCROW nStartRow, nEndRow; in WriteToDocument() local 140 nEndRow = maRange.aEnd.Row(); in WriteToDocument() 426 mpDoc->SetOptimalHeight( 0, nEndRow, 0, in WriteToDocument() [all …]
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | docfunc.cxx | 1349 SCROW nPaintEndY = nEndRow; in InsertCells() 1402 SCROW nMergeTestEndY = nEndRow; in InsertCells() 1777 SCROW nPaintEndY = nEndRow; in DeleteCells() 1817 SCROW nUndoEndY = nEndRow; in DeleteCells() 2296 SCROW nOldEndRow = nEndRow; in MoveBlock() 2305 if ( nTmpEndRow > nEndRow ) nEndRow = nTmpEndRow; in MoveBlock() 2428 SCROW nTmpEndRow = nEndRow; in MoveBlock() 2560 nPaintEndY = nEndRow; in MoveBlock() 4253 nEndCol, nEndRow, aMark ) ) in FillAuto() 4579 if ( nStartRow == nEndRow ) in CreateNames() [all …]
|
H A D | dbdocimp.cxx | 170 SCROW nEndRow = nRow; in DoImport() local 373 nEndRow = nRow; in DoImport() 463 nEndCol+nFormulaCols, nEndRow, nTab ); in DoImport() 516 SCROW nUndoEndRow = Max( nEndRow, rParam.nRow2 ); in DoImport() 539 nEndCol+nFormulaCols, nEndRow, nTab, in DoImport() 545 if ( rParam.nRow2 > nEndRow ) in DoImport() 546 pDoc->CopyToDocument( rParam.nCol1, nEndRow+1, nTab, in DoImport() 567 nEndCol+nFormulaCols, nEndRow, nTab ); in DoImport() 593 nEndCol+nFormulaCols, nEndRow, nTab, in DoImport() 609 if ( rParam.nRow2 > nEndRow ) in DoImport() [all …]
|
H A D | olinefun.cxx | 71 SCROW nEndRow = MAXROW; in lcl_PaintWidthHeight() local 82 nEndRow = nEnd; in lcl_PaintWidthHeight() 101 SCROW nEndRow = rRange.aEnd.Row(); in MakeOutline() local 166 SCROW nEndRow = rRange.aEnd.Row(); in RemoveOutline() local 245 SCROW nEndRow = nRow2; in RemoveAllOutlines() local 257 nEndCol, nEndRow, nTab, in RemoveAllOutlines() 289 SCROW nEndRow = rRange.aEnd.Row(); in AutoOutline() local 334 nEndCol, nEndRow, nTab, in AutoOutline() 454 SCROW nEndRow = rRange.aEnd.Row(); in ShowMarkedOutlines() local 563 SCROW nEndRow = rRange.aEnd.Row(); in HideMarkedOutlines() local [all …]
|
H A D | editable.cxx | 43 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) : in ScEditableTester() argument 47 TestBlock( pDoc, nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in ScEditableTester() 51 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in ScEditableTester() argument 56 TestSelectedBlock( pDoc, nStartCol, nStartRow, nEndCol, nEndRow, rMark ); in ScEditableTester() 83 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) in TestBlock() argument 88 if ( !pDoc->IsBlockEditable( nTab, nStartCol, nStartRow, nEndCol, nEndRow, &bThisMatrix ) ) in TestBlock() 98 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, in TestSelectedBlock() argument 104 TestBlock( pDoc, nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in TestSelectedBlock() 113 SCROW nEndRow = rRange.aEnd.Row(); in TestRange() local 116 TestBlock( pDoc, nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in TestRange()
|
H A D | docsh5.cxx | 131 SCROW nStartRow, nEndRow; in lcl_GetDBNearCursor() local 140 && nRow <= nEndRow+1 ) in lcl_GetDBNearCursor() 170 SCROW nEndRow = rMarked.aEnd.Row(); in GetDBData() local 211 nEndRow = rMarked.aEnd.Row(); in GetDBData() 216 nEndRow = nStartRow; in GetDBData() 223 else if ( nOldRow2 != nEndRow ) in GetDBData() 235 && nOldRow2 == nEndRow ) in GetDBData() 282 nEndRow = rMarked.aEnd.Row(); in GetDBData() 287 nEndRow = nStartRow; in GetDBData() 741 SCROW nEndRow = aMultiRange.aEnd.Row(); in UseScenario() local [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | viewfun2.cxx | 173 if (nStartRow == nEndRow) in AdjustRowHeight() 320 SCROW nEndRow = aEnd.Row(); in lcl_GetAutoSumForColumnRange() local 321 SCROW nStartRow = nEndRow; in lcl_GetAutoSumForColumnRange() 334 nStartRow = nEndRow; in lcl_GetAutoSumForColumnRange() 408 SCROW nEndRow = nRow; in GetAutoSumArea() local 567 const bool bEndRowEmpty = pDoc->IsBlockEmpty( nTab, nStartCol, nEndRow, nEndCol, nEndRow ); in AutoSum() 573 SCROW nInsRow = nEndRow; in AutoSum() 630 SCROW nMarkEndRow = nEndRow; in AutoSum() 636 SCROW nSumEndRow = nEndRow; in AutoSum() 1499 SCROW nEndRow; in CreateAutoFormatData() local [all …]
|
/aoo41x/main/sc/source/ui/undo/ |
H A D | undodat.cxx | 394 SCCOLROW nEndRow = aBlockEnd.Row(); in Undo() local 499 SCROW nEndRow = aBlockEnd.Row(); in Undo() local 592 SCCOLROW nEndRow; in Undo() local 721 SCCOLROW nEndRow; in Undo() local 837 SCROW nEndRow = aSortParam.nRow2; in Undo() local 849 nEndCol, nEndRow, nSortTab ); in Undo() 1247 nEndRow( nNewEndY ), in ScUndoImportData() 1279 nEndCol,nEndRow,nTab ); in Undo() 1332 nEndCol+nFormulaCols,nEndRow,nTab, in Undo() 1368 nEndCol,nEndRow,nTab ); in Redo() [all …]
|