/aoo41x/main/sc/source/core/data/ |
H A D | attarray.cxx | 231 long nStartRow = 0; in Search() local 243 nStartRow = -1; in Search() 534 if (nY1 < nStartRow) nY1=nStartRow; in ApplyStyleArea() 692 if (nY1 < nStartRow) nY1=nStartRow; in ApplyLineStyleArea() 761 if (nY1 < nStartRow) nY1=nStartRow; in ApplyCacheArea() 1512 if (nThisRow < nStartRow) nThisRow = nStartRow; in SetPatternAreaSafe() 1562 if (nThisRow < nStartRow) nThisRow = nStartRow; in ApplyFlags() 1599 if (nThisRow < nStartRow) nThisRow = nStartRow; in RemoveFlags() 1634 if (nThisRow < nStartRow) nThisRow = nStartRow; in ClearItems() 1661 if (nThisStart < nStartRow) nThisStart = nStartRow; in ChangeIndent() [all …]
|
H A D | table2.cxx | 146 pRowFlags->SetValue( nStartRow, nStartRow + nSize - 1, in InsertRow() 198 mpRowHeights->removeSegment(nStartRow, nStartRow+nSize); in DeleteRow() 205 mpFilteredRows->removeSegment(nStartRow, nStartRow+nSize); in DeleteRow() 206 mpHiddenRows->removeSegment(nStartRow, nStartRow+nSize); in DeleteRow() 2714 SCROW nStartRow = nRow1; in DBShowRows() local 2716 while (nStartRow <= nRow2) in DBShowRows() 2752 nStartRow = nEndRow + 1; in DBShowRows() 2765 SCROW nStartRow = nRow1; in ShowRows() local 2776 while (nStartRow <= nRow2) in ShowRows() 2814 nStartRow = nEndRow + 1; in ShowRows() [all …]
|
H A D | table5.cxx | 93 SCROW nStartRow = 0; in UpdatePageBreaks() local 164 if (nStartRow > 0) in UpdatePageBreaks() 239 else if (nY != nStartRow) in UpdatePageBreaks() 546 SCROW nRow = nStartRow; in HasHiddenRows() 623 SCROW nRow = nStartRow; in CopyRowHidden() 637 SCROW nRow = nStartRow; in CopyRowHeight() 656 SCROW nRow = nStartRow; in FirstVisibleRow() 703 SCROW nRow = nStartRow; in CountVisibleRows() 724 SCROW nRow = nStartRow; in GetTotalRowHeight() 806 SCROW nRow = nStartRow; in HasFilteredRows() [all …]
|
H A D | document.cxx | 816 PutInOrder( nStartRow, nEndRow ); in CanInsertRow() 965 if ( ValidRow(nStartRow+nSize) ) in DeleteRow() 984 if ( ValidRow(nStartRow+nSize) ) in DeleteRow() 3301 if (nStartRow == nEndRow) in GetRowHeight() 3305 if (nStartRow > nEndRow) in GetRowHeight() 3324 if (nStartRow == nEndRow) in GetScaledRowHeight() 3328 if (nStartRow > nEndRow) in GetScaledRowHeight() 3858 SCROW nStartRow; in GetColDefault() local 3872 aAttr.nFirst = nStartRow; in GetColDefault() 4809 if (nExtendRow < nStartRow) in ExtendOverlapped() [all …]
|
H A D | markarr.cxx | 77 long nStartRow = 0; in Search() local 87 nStartRow = (long) pData[i - 1].nRow; in Search() 89 nStartRow = -1; in Search() 94 if (nStartRow >= (long) nRow) in Search() 124 if (ValidRow(nStartRow) && ValidRow(nEndRow)) in SetMarkArea() 126 if ((nStartRow == 0) && (nEndRow == MAXROW)) in SetMarkArea() 151 if ( nStartRow > 0 ) in SetMarkArea() 155 Search( nStartRow, nIndex ); in SetMarkArea() 206 pData[ni-1].nRow = nStartRow - 1; // shrink in SetMarkArea() 240 pData[nInsert-1].nRow = nStartRow - 1; in SetMarkArea() [all …]
|
H A D | table4.cxx | 1662 SCROW nRow = nStartRow; in AutoFormat() 1672 for (nRow = nStartRow + 1; nRow < nEndRow; nRow++) in AutoFormat() 1687 nRow = nStartRow; in AutoFormat() 1696 for (nRow = nStartRow + 1; nRow < nEndRow; nRow++) in AutoFormat() 1709 nRow = nStartRow; in AutoFormat() 1865 GetAutoFormatAttr(nStartCol, nStartRow, 0, rData); in GetAutoFormatData() 1871 if (nEndRow - nStartRow >= 4) in GetAutoFormatData() 1879 GetAutoFormatAttr(nEndCol, nStartRow, 3, rData); in GetAutoFormatData() 1882 GetAutoFormatAttr(nEndCol, nStartRow + 1, 7, rData); in GetAutoFormatData() 1883 GetAutoFormatAttr(nEndCol, nStartRow + 2, 11, rData); in GetAutoFormatData() [all …]
|
H A D | column2.cxx | 860 pHeight[nRow-nStartRow] = nDefHeight; in GetOptimalHeight() 918 pHeight[nRow-nStartRow] = nHeight; in GetOptimalHeight() 1039 Search( nStartRow, i ); in RemoveEditAttribs() 1257 Search( nStartRow, nIndex ); in VisibleCount() 1260 if ( pItems[nIndex].nRow >= nStartRow && in VisibleCount() 1340 Search( nStartRow, nIndex ); in IsEmptyBlock() 1363 if ( pItems[i].nRow < nStartRow ) in GetEmptyLinesInBlock() 1592 Search( nStartRow, nIndex ); in FindUsed() 1595 pUsed[nRow-nStartRow] = sal_True; in FindUsed() 1829 SCROW nStartRow, SCROW nEndRow ) in UpdateAreaFunction() argument [all …]
|
H A D | documen3.cxx | 1035 PutInOrder( nStartRow, nEndRow ); in AutoFormat() 1050 PutInOrder(nStartRow, nEndRow); in GetAutoFormatData() 1368 SCROW nStartRow; in GetFilterEntries() local 1387 ++nStartRow; in GetFilterEntries() 1963 for (nRow=nStartRow; nRow<=nEndRow; nRow++) in DoMergeContents() 1973 if (nCol != nStartCol || nRow != nStartRow) in DoMergeContents() 1977 SetString(nStartCol,nStartRow,nTab,aTotal); in DoMergeContents() 1987 ApplyFlagsTab( nStartCol+1, nStartRow, nEndCol, nStartRow, nTab, SC_MF_HOR ); in DoMerge() 1988 if ( nEndRow > nStartRow ) in DoMerge() 1996 DeleteAreaTab( nStartCol + 1, nStartRow, nEndCol, nStartRow, nTab, nDelFlag ); in DoMerge() [all …]
|
H A D | dociter.cxx | 296 if (!ValidRow(nStartRow)) nStartRow = MAXROW; in ScValueIterator() 302 nRow = nStartRow; in ScValueIterator() 319 nRow = nStartRow; in GetThis() 471 nRow = nStartRow; in GetFirst() 982 if (!ValidRow(nStartRow)) nStartRow = MAXROW; in ScCellIterator() 993 nRow = nStartRow; in ScCellIterator() 1024 if (!ValidRow(nStartRow)) nStartRow = MAXROW; in ScCellIterator() 1035 nRow = nStartRow; in ScCellIterator() 1100 nRow = nStartRow; in GetFirst() 1705 nRow = nStartRow; in SetTab() [all …]
|
H A D | column3.cxx | 268 pAttrArray->DeleteRow( nStartRow, nSize ); in DeleteRow() 274 Search( nStartRow, nFirstIndex ); in DeleteRow() 282 SCROW nEndRow = nStartRow + nSize - 1; in DeleteRow() 309 Search( nStartRow, i ); in DeleteRow() 566 if (nStartRow==0 && nEndRow==MAXROW) in DeleteArea() 687 SCROW nEndRow = nStartRow; in CopyFromClip() 1497 Search( nStartRow, nIndex ); in GetFilterEntries() 1739 SCROW nCurRow = nStartRow; in FillDPCacheT() 1781 if( nCurRow == nStartRow ) in FillDPCacheT() 1789 if( nCurRow == nStartRow ) in FillDPCacheT() [all …]
|
H A D | column.cxx | 339 ScAttrIterator aAttrIter( pAttrArray, nStartRow, nEndRow ); in GetMostUsedPattern() 453 pAttrArray->ApplyCacheArea( nStartRow, nEndRow, &aCache ); in ApplyPatternArea() 616 return pAttrArray->ApplyFlags( nStartRow, nEndRow, nFlags ); in ApplyFlags() 628 pAttrArray->ClearItems( nStartRow, nEndRow, pWhich ); in ClearItems() 1079 bTest = pAttrArray->TestInsertCol(nStartRow, nEndRow); in TestInsertCol() 1118 void ScColumn::InsertRow( SCROW nStartRow, SCSIZE nSize ) in InsertRow() argument 1120 pAttrArray->InsertRow( nStartRow, nSize ); in InsertRow() 1128 Search( nStartRow, i ); in InsertRow() 1529 pAttrArray->MoveTo(nStartRow, nEndRow, *rCol.pAttrArray); in MoveTo() 2092 Search(nStartRow,nIndex); in ResetChanged() [all …]
|
H A D | table1.cxx | 291 SCSIZE nCount = static_cast<SCSIZE>(nEndRow-nStartRow+1); in SetOptimalHeight() 316 SCROW nMinStart = nStartRow + nPos; in SetOptimalHeight() 366 nRngEnd = nStartRow+nInner; in SetOptimalHeight() 376 nRngStart = nStartRow+nInner; in SetOptimalHeight() 377 nRngEnd = nStartRow+nInner; in SetOptimalHeight() 546 sal_Bool ScTable::GetPrintAreaHor( SCROW nStartRow, SCROW nEndRow, in GetPrintAreaHor() argument 555 if (aCol[i].HasVisibleAttrIn( nStartRow, nEndRow )) in GetPrintAreaHor() 571 if (!aCol[i].IsEmptyBlock( nStartRow, nEndRow )) //! bNotes ?????? in GetPrintAreaHor() 852 nCount = static_cast<SCSIZE>(nEndRow - nStartRow); in GetEmptyLinesInBlock() 860 aCol[nCol].IsEmptyBlock(nStartRow, nEndRow)) in GetEmptyLinesInBlock() [all …]
|
/aoo41x/main/sc/inc/ |
H A D | attarray.hxx | 98 SCROW nStartRow, SCROW nEndRow, 126 void ApplyLineStyleArea( SCROW nStartRow, SCROW nEndRow, 152 sal_Bool RemoveAreaMerge( SCROW nStartRow, SCROW nEndRow ); 157 void DeleteAreaSafe(SCROW nStartRow, SCROW nEndRow); 158 void SetPatternAreaSafe( SCROW nStartRow, SCROW nEndRow, 175 SCROW nStartRow, SCROW nEndRow ) const; 178 sal_Bool TestInsertCol( SCROW nStartRow, SCROW nEndRow) const; 180 void InsertRow( SCROW nStartRow, SCSIZE nSize ); 181 void DeleteRow( SCROW nStartRow, SCSIZE nSize ); 183 void DeleteArea( SCROW nStartRow, SCROW nEndRow ); [all …]
|
H A D | column.hxx | 167 SCSIZE VisibleCount( SCROW nStartRow, SCROW nEndRow ) const; 183 sal_Bool TestInsertCol( SCROW nStartRow, SCROW nEndRow) const; 185 void InsertRow( SCROW nStartRow, SCSIZE nSize ); 186 void DeleteRow( SCROW nStartRow, SCSIZE nSize ); 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, 439 SCSIZE GetEmptyLinesInBlock( SCCOL nStartCol, SCROW nStartRow, 452 sal_Bool HasStringCells( SCCOL nStartCol, SCROW nStartRow, 507 SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, 527 sal_Bool ExtendMerge( SCCOL nStartCol, SCROW nStartRow, 547 SCCOL nStartCol, SCROW nStartRow, 551 SCCOL nStartCol, SCROW nStartRow, 653 sal_uLong GetRowHeight( SCROW nStartRow, SCROW nEndRow ) const; 729 void RemoveRowPageBreaks(SCROW nStartRow, SCROW nEndRow); 739 bool HasHiddenRows(SCROW nStartRow, SCROW nEndRow) const; [all …]
|
H A D | document.hxx | 779 void DoAutoOutline( SCCOL nStartCol, SCROW nStartRow, 863 sal_Bool ExtendMerge( SCCOL nStartCol, SCROW nStartRow, 872 sal_Bool RefreshAutoFilter( SCCOL nStartCol, SCROW nStartRow, 882 sal_Bool IsBlockEmpty( SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, 992 SCCOL nStartCol, SCROW nStartRow, 1016 SCROW nStartRow, SCSIZE nSize, 1021 sal_Bool InsertCol( SCROW nStartRow, SCTAB nStartTab, 1026 void DeleteCol( SCROW nStartRow, SCTAB nStartTab, 1264 void ApplyStyleArea( SCCOL nStartCol, SCROW nStartRow, 1288 sal_Bool RemoveFlagsTab( SCCOL nStartCol, SCROW nStartRow, [all …]
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | docfunc.cxx | 161 SCROW nStartRow = rRange.aStart.Row(); in AdjustRowHeight() local 1332 SCROW nStartRow = rRange.aStart.Row(); in InsertCells() local 1347 SCROW nPaintStartY = nStartRow; in InsertCells() 1400 SCROW nMergeTestStartY = nStartRow; in InsertCells() 1775 SCROW nPaintStartY = nStartRow; in DeleteCells() 1815 SCROW nUndoStartY = nStartRow; in DeleteCells() 2558 nPaintStartY = nStartRow; in MoveBlock() 4579 if ( nStartRow == nEndRow ) in CreateNames() 4599 SCROW nContY1 = nStartRow; in CreateNames() 4674 SCROW nStartRow = rStartPos.Row(); in InsertNameList() local [all …]
|
H A D | olinefun.cxx | 69 SCROW nStartRow = 0; in lcl_PaintWidthHeight() local 81 nStartRow = nStart; in lcl_PaintWidthHeight() 88 nStartRow = 0; in lcl_PaintWidthHeight() 99 SCROW nStartRow = rRange.aStart.Row(); in MakeOutline() local 164 SCROW nStartRow = rRange.aStart.Row(); in RemoveOutline() local 243 SCROW nStartRow = nRow1; in RemoveAllOutlines() local 256 nStartCol, nStartRow, nTab, in RemoveAllOutlines() 287 SCROW nStartRow = rRange.aStart.Row(); in AutoOutline() local 333 nStartCol, nStartRow, nTab, in AutoOutline() 452 SCROW nStartRow = rRange.aStart.Row(); in ShowMarkedOutlines() 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() 110 SCROW nStartRow = rRange.aStart.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 139 && nRow+1 >= nStartRow in lcl_GetDBNearCursor() 168 SCROW nStartRow = nRow; in GetDBData() local 207 nStartRow = nRow; in GetDBData() 216 nEndRow = nStartRow; in GetDBData() 233 && nOldRow1 == nStartRow in GetDBData() 278 nStartRow = nRow; in GetDBData() 287 nEndRow = nStartRow; in GetDBData() 739 SCROW nStartRow = aMultiRange.aStart.Row(); in UseScenario() local 748 aDocument.CopyToDocument( nStartCol,nStartRow,nTab, in UseScenario() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | viewfun2.cxx | 173 if (nStartRow == nEndRow) in AdjustRowHeight() 186 if (bChanged && ( nStartRow == nEndRow )) in AdjustRowHeight() 321 SCROW nStartRow = nEndRow; in lcl_GetAutoSumForColumnRange() local 334 nStartRow = nEndRow; in lcl_GetAutoSumForColumnRange() 343 --nStartRow; in lcl_GetAutoSumForColumnRange() 406 SCROW nStartRow = nRow; in GetAutoSumArea() local 465 --nStartRow; in GetAutoSumArea() 535 nStartRow = nRow; in AutoSum() 1155 SetCursor( nStartCol, nStartRow ); in MergeCells() 1496 SCROW nStartRow; in CreateAutoFormatData() local [all …]
|
H A D | viewfun3.cxx | 1016 SCROW nStartRow; in PasteFromClip() local 1049 nStartRow = GetViewData()->GetCurY(); in PasteFromClip() 1052 nEndRow = nStartRow + nDestSizeY; in PasteFromClip() 1105 SCROW nBlockAddY = nEndRow-nStartRow; in PasteFromClip() 1147 nEndRow = nStartRow + nDestSizeY; in PasteFromClip() 1178 nStartRow = GetViewData()->GetCurY(); in PasteFromClip() 1181 nEndRow = nStartRow + nDestSizeY; in PasteFromClip() 1309 sal_Bool bColInfo = ( nStartRow==0 && nEndRow==MAXROW ); in PasteFromClip() 1337 pDocSh->UpdatePaintExt( nExtFlags, nStartCol, nStartRow, nStartTab, in PasteFromClip() 1491 nStartCol, nStartRow, nStartTab, in PasteFromClip() [all …]
|
H A D | cellsh1.cxx | 551 SCROW nStartRow; in ExecuteEdit() local 574 if( nStartRow!=nEndRow ) in ExecuteEdit() 678 if ( nStartCol == nEndCol || nStartRow == nEndRow ) in ExecuteEdit() 749 if ( nStartCol != nEndCol && nStartRow != nEndRow ) in ExecuteEdit() 836 SCROW nStartRow; in ExecuteEdit() local 869 if ( nStartCol == nEndCol && nStartRow == nEndRow ) in ExecuteEdit() 872 SCROW nMergeRow = nStartRow; in ExecuteEdit() 874 nStartCol, nStartRow, nMergeCol, nMergeRow, in ExecuteEdit() 880 nFillRow = nStartRow; in ExecuteEdit() 899 else if ( nFillRow < nStartRow ) in ExecuteEdit() [all …]
|
/aoo41x/main/sc/source/filter/rtf/ |
H A D | expbase.cxx | 63 SCROW& nStartRow, SCCOL& nEndCol, SCROW& nEndRow ) const in GetDataArea() argument 65 pDoc->GetDataStart( nTab, nStartCol, nStartRow ); in GetDataArea() 67 return TrimDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow ); in GetDataArea() 72 SCROW& nStartRow, SCCOL& nEndCol, SCROW& nEndRow ) const in TrimDataArea() argument 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()
|
/aoo41x/main/sc/source/core/tool/ |
H A D | chartpos.cxx | 58 nStartRow(0), in ScChartPositioner() 73 nStartRow(0), in ScChartPositioner() 88 nStartRow(rPositioner.nStartRow), in ScChartPositioner() 129 nStartRow = pR->aStart.Row(); in GlueState() 135 nStartRow = 0; in GlueState() 143 nStartRow = pR->aStart.Row(); in GlueState() 157 if ( (n1 = pR->aStart.Row()) < nStartRow ) in GlueState() 158 nStartRow = static_cast<SCROW>(n1); in GlueState() 170 SCROW nR = nEndRow - nStartRow + 1; in GlueState() 200 nRow1 = pR->aStart.Row() - nStartRow; in GlueState() [all …]
|