/trunk/main/sc/source/core/data/ |
H A D | document.cxx | 2296 SCROW nRow = nFilteredRow - 1; in lcl_getLastNonFilteredRow() local 2301 return nRow; in lcl_getLastNonFilteredRow() 3445 pTab[nTab]->ShowRow( nRow, bShow ); in ShowRow() 3618 rLastRow = nRow; in RowHidden() 3831 SCROW nRow; in GetNextDifferentChangedRow() local 3834 if (nFlagsEndRow < nRow) in GetNextDifferentChangedRow() 3836 if (nHiddenEndRow < nRow) in GetNextDifferentChangedRow() 3838 if (nHeightEndRow < nRow) in GetNextDifferentChangedRow() 3845 return nRow; in GetNextDifferentChangedRow() 4426 if ( nRow > 0 ) in GetBorderLines() [all …]
|
H A D | dptabdat.cxx | 156 void ScDPTableData::FillRowDataFromCacheTable(sal_Int32 nRow, const ScDPCacheTable& rCacheTable, in FillRowDataFromCacheTable() argument 160 GetItemData(rCacheTable, nRow, rInfo.aColLevelDims, rData.aColData); in FillRowDataFromCacheTable() 163 GetItemData(rCacheTable, nRow, rInfo.aRowLevelDims, rData.aRowData); in FillRowDataFromCacheTable() 166 GetItemData(rCacheTable, nRow, rInfo.aPageDims, rData.aPageData); in FillRowDataFromCacheTable() 179 rCacheTable.getValue( rVal, static_cast<SCCOL>(nDim), static_cast<SCROW>(nRow), false); in FillRowDataFromCacheTable() 224 for (sal_Int32 nRow = 0; nRow < nRowSize; ++nRow) in CalcResultsFromCacheTable() local 226 if (!rCacheTable.isRowActive(nRow)) in CalcResultsFromCacheTable() 230 FillRowDataFromCacheTable(nRow, rCacheTable, rInfo, aData); in CalcResultsFromCacheTable() 237 void ScDPTableData::GetItemData(const ScDPCacheTable& rCacheTable, sal_Int32 nRow, in GetItemData() argument 256 …e.GetCache()->GetItemDataId( static_cast<SCCOL>(nDim), static_cast<SCROW>(nRow), IsRepeatIfEmpty()… in GetItemData()
|
H A D | markdata.cxx | 282 aMarkRange.aStart.Row() <= nRow && aMarkRange.aEnd.Row() >= nRow ) in IsCellMarked() 290 return pMultiSel[nCol].GetMark( nRow ); in IsCellMarked() 312 sal_Bool ScMarkData::IsRowMarked( SCROW nRow ) const in IsRowMarked() 319 aMarkRange.aStart.Row() <= nRow && aMarkRange.aEnd.Row() >= nRow ) in IsRowMarked() 326 if (!pMultiSel[nCol].GetMark(nRow)) in IsRowMarked() 484 SCROW nRow; in GetMarkRowRanges() local 492 for (nRow=nTop; nRow<=nBottom; nRow++) in GetMarkRowRanges() 493 bRowMarked[nRow] = sal_True; in GetMarkRowRanges() 553 SCsROW ScMarkData::GetNextMarked( SCCOL nCol, SCsROW nRow, sal_Bool bUp ) const in GetNextMarked() argument 556 return nRow; in GetNextMarked() [all …]
|
/trunk/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 338 for( sal_uInt16 nRow = 0; nFound < 2 && nRow < nLines; ++nRow ) in CollectBoxSelection() local 351 nBottom = nRow; in CollectBoxSelection() 359 nTop = nRow; in CollectBoxSelection() 378 for( sal_uInt16 nRow = nTop; nRow <= nBottom && bOkay; ++nRow ) in CollectBoxSelection() local 985 for( sal_uInt16 nRow = nFirstLn; nRow <= nLastLn; ++nRow ) in _FindSuperfluousRows() local 1695 for( sal_uInt16 nRow = 0; nFound < 2 && nRow < nLines; ++nRow ) in CreateSelection() local 1718 nTop = nRow; in CreateSelection() 1740 for( sal_uInt16 nRow = nTop; nRow <= nBottom; ++nRow ) in CreateSelection() local 1860 for( sal_uInt16 nRow = 0; nRow < nLineCnt && nBox < nBoxCnt; ++nRow ) in ExpandColumnSelection() local 1878 for( sal_uInt16 nRow = 0; nRow < nLineCnt; ++nRow ) in ExpandColumnSelection() local [all …]
|
/trunk/main/dbaccess/source/ui/tabledesign/ |
H A D | TableDesignControl.cxx | 156 long nRow = GetRowAtYPosPixel(rEvt.GetMousePosPixel().Y()); in Command() local 175 Paste( nRow ); in Command() 177 GoToRow( nRow ); in Command() 178 SeekRow( nRow ); in Command() 185 InsertNewRows( nRow ); in Command() 187 GoToRow( nRow ); in Command() 188 SeekRow( nRow ); in Command() 222 void OTableRowView::Paste( long nRow ) in Paste() argument 224 InsertRows( nRow ); in Paste() 228 EditBrowseBox::RowStatus OTableRowView::GetRowStatus(long nRow) const in GetRowStatus() [all …]
|
/trunk/main/toolkit/test/accessibility/ |
H A D | AccessibleCellHandler.java | 90 int nRow = xTable.getAccessibleRow( nChild ); in createChild() local 92 aChild = new StringNode ("# table row: " + nRow, aParent); in createChild() 106 int nRow = xTable.getAccessibleRow( nChild ); in createChild() local 108 int nExt = xTable.getAccessibleRowExtentAt( nRow, nCol ); in createChild() 116 int nRow = xTable.getAccessibleRow( nChild ); in createChild() local 126 int nRow = xTable.getAccessibleRow( nChild ); in createChild() local 129 xTable.getAccessibleCellAt( nRow, nCol ); in createChild() 137 int nRow = xTable.getAccessibleRow( nChild ); in createChild() local 140 xTable.isAccessibleSelected( nRow, nCol ); in createChild() 148 int nRow = xTable.getAccessibleRow( nChild ); in createChild() local [all …]
|
/trunk/main/svtools/inc/svtools/ |
H A D | brwbox.hxx | 151 long nRow; member in BrowseEvent 164 long GetRow() const { return nRow; } in GetRow() 369 virtual sal_Bool SeekRow( long nRow ) = 0; 543 sal_Bool GoToRow( long nRow ); 544 sal_Bool GoToRowAndDoNotModifySelection( long nRow ); 558 virtual bool IsRowSelected( long nRow ) const; 578 Rectangle GetRowRectPixel( long nRow, 580 Rectangle GetFieldRectPixel( long nRow, sal_uInt16 nColId, 582 sal_Bool IsFieldVisible( long nRow, sal_uInt16 nColId, 731 CreateAccessibleCell( sal_Int32 nRow, sal_uInt16 nColumnPos ); [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | doubleref.cxx | 68 SCROW nRow = 0; in lcl_createStarQuery() local 82 aCellStr = pQueryRef->getString(0, nRow); in lcl_createStarQuery() 100 aCellStr = pQueryRef->getString(1, nRow); in lcl_createStarQuery() 115 aCellStr = pQueryRef->getString(2, nRow); in lcl_createStarQuery() 142 *rEntry.pStr = pQueryRef->getString(3, nRow); in lcl_createStarQuery() 146 nRow++; in lcl_createStarQuery() 190 SCROW nRow = 1; in lcl_createExcelQuery() local 192 while (nRow < nRows) in lcl_createExcelQuery() 214 nRow++; in lcl_createExcelQuery() 452 if (nCol >= mnCols || nRow >= mnRows) in getString() [all …]
|
H A D | addincol.cxx | 1667 long nCol, nRow; in SetResult() local 1668 for (nRow=0; nRow<nRowCount; nRow++) in SetResult() 1670 long nTmp = pRowArr[nRow].getLength(); in SetResult() 1680 for (nRow=0; nRow<nRowCount; nRow++) in SetResult() 1710 long nCol, nRow; in SetResult() local 1711 for (nRow=0; nRow<nRowCount; nRow++) in SetResult() 1713 long nTmp = pRowArr[nRow].getLength(); in SetResult() 1723 for (nRow=0; nRow<nRowCount; nRow++) in SetResult() 1753 long nCol, nRow; in SetResult() local 1754 for (nRow=0; nRow<nRowCount; nRow++) in SetResult() [all …]
|
H A D | interpr4.cxx | 565 SCROW nRow = nRow1; in CreateDoubleArr() local 613 nRow++; in CreateDoubleArr() 713 nRow++; in CreateStringArr() 834 nRow++; in CreateCellArr() 1105 SCROW nRow; in ValidateRef() local 1142 rRow = rRef.nRow; in SingleRefToVars() 1309 SCROW nRow; in DoubleRefToRange() local 1655 aRef.nRow = nRow; in PushSingleRef() 1832 SCROW nRow = 0; in DoubleRefToPosSingleRef() local 2793 for( SCROW nRow = nRow1; bOk && nRow <= nRow2; nRow++ ) in ScMacro() local [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | viewfun4.cxx | 135 SCROW nRow = nStartRow; in PasteRTF() local 142 if( ++nRow > MAXROW ) in PasteRTF() 311 SCROW nRow; in DoThesaurus() local 339 nRow = GetViewData()->GetCurY(); in DoThesaurus() 343 ScEditableTester aTester( pDoc, nCol, nRow, nCol, nRow, rMark ); in DoThesaurus() 387 pDoc->GetCell(nCol, nRow, nTab, pCell); in DoThesaurus() 432 pDoc->PutCell( nCol, nRow, nTab, pCell ); in DoThesaurus() 446 nCol, nRow, nTab, in DoThesaurus() 474 SCROW nRow; in DoSheetConversion() local 495 nRow = rViewData.GetCurY(); in DoSheetConversion() [all …]
|
H A D | output.cxx | 265 void ScOutputData::SetEditCell( SCCOL nCol, SCROW nRow ) in SetEditCell() argument 268 nEditRow = nRow; in SetEditCell() 712 pPattern = pDoc->GetPattern( nCol, nRow, nTab ); in lcl_FindBackground() 713 pCondSet = pDoc->GetCondResult( nCol, nRow, nTab ); in lcl_FindBackground() 724 pPattern = pDoc->GetPattern( nCol, nRow, nTab ); in lcl_FindBackground() 725 pCondSet = pDoc->GetCondResult( nCol, nRow, nTab ); in lcl_FindBackground() 1190 for( size_t nRow = 0; nRow < nRowCount; ++nRow ) in DrawFrame() local 1286 --nRow; in lcl_FindHorLine() 1288 if ( ValidRow(nRow) ) in lcl_FindHorLine() 1293 if ( nRow < MAXROW ) in lcl_FindHorLine() [all …]
|
/trunk/main/accessibility/source/extended/ |
H A D | AccessibleGridControlTableBase.cxx | 112 sal_Int32 nRow, sal_Int32 nColumn ) in getAccessibleRowExtentAt() argument 118 ensureIsValidAddress( nRow, nColumn ); in getAccessibleRowExtentAt() 123 sal_Int32 nRow, sal_Int32 nColumn ) in getAccessibleColumnExtentAt() argument 129 ensureIsValidAddress( nRow, nColumn ); in getAccessibleColumnExtentAt() 148 sal_Int32 nRow, sal_Int32 nColumn ) in getAccessibleIndex() argument 154 ensureIsValidAddress( nRow, nColumn ); in getAccessibleIndex() 155 return implGetChildIndex( nRow, nColumn ); in getAccessibleIndex() 237 sal_Int32 nRow, sal_Int32 nColumn ) const in implGetChildIndex() argument 253 if( nRow >= m_aTable.GetRowCount() ) in ensureIsValidRow() 267 sal_Int32 nRow, sal_Int32 nColumn ) in ensureIsValidAddress() argument [all …]
|
/trunk/main/oox/source/xls/ |
H A D | worksheethelper.cxx | 93 if( rxProgressBar.get() && (rUsedArea.StartRow <= nRow) && (nRow <= rUsedArea.EndRow) ) in lclUpdateProgressBar() 539 xRow.set( xRows->getByIndex( nRow ), UNO_QUERY ); in getRow() 886 sal_Int32 nRow = rModel.mnRow - 1; in setRowModel() local 887 if( getAddressConverter().checkRow( nRow, true ) ) in setRowModel() 903 bUnusedRow = rnLastMapRow < nRow; in setRowModel() 917 maRowModels[ nRow ] = RowModelRange( rModel, nRow ); in setRowModel() 929 maManualRowHeights.insert( nRow ); in setManualRowHeight() 1453 return mrSheetGlob.getRow( nRow ); in getRow() 1473 return mrSheetGlob.getCellPosition( nCol, nRow ); in getCellPosition() 1478 return mrSheetGlob.getCellSize( nCol, nRow ); in getCellSize() [all …]
|
H A D | pivotcachebuffer.cxx | 1277 sal_Int32 nRow = maSheetSrcModel.maRange.StartRow; in writeSourceHeaderCells() local 1279 updateSourceDataRow( rSheetHelper, nRow ); in writeSourceHeaderCells() 1288 sal_Int32 nRow = maSheetSrcModel.maRange.StartRow + nRowIdx; in writeSourceDataCell() local 1289 …OSL_ENSURE( (maSheetSrcModel.maRange.StartRow < nRow) && (nRow <= maSheetSrcModel.maRange.EndRow),… in writeSourceDataCell() 1290 updateSourceDataRow( rSheetHelper, nRow ); in writeSourceDataCell() 1297 sal_Int32 nRow = maSheetSrcModel.maRange.StartRow + nRowIdx; in importPCRecord() local 1298 …OSL_ENSURE( (maSheetSrcModel.maRange.StartRow < nRow) && (nRow <= maSheetSrcModel.maRange.EndRow),… in importPCRecord() 1307 sal_Int32 nRow = maSheetSrcModel.maRange.StartRow + nRowIdx; in importPCItemIndexList() local 1308 …OSL_ENSURE( (maSheetSrcModel.maRange.StartRow < nRow) && (nRow <= maSheetSrcModel.maRange.EndRow),… in importPCItemIndexList() 1442 if( mnCurrRow != nRow ) in updateSourceDataRow() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/Charts/ |
H A D | CalcHelper.java | 227 int nCol, nRow; in insertRandomRange() local 245 for( nRow = 1; nRow < nRowCount; nRow++ ) in insertRandomRange() 250 fValue = (double)nRow + aGenerator.nextDouble(); in insertRandomRange() 261 (aSheet.getCellByPosition( nCol, nRow )).setValue( fValue ); in insertRandomRange() 290 int nCol, nRow; in insertFormulaRange() local 304 for( nRow = 0; nRow < nRowCount; nRow++ ) in insertFormulaRange() 309 fValue = (double)nRow * fFactor; in insertFormulaRange() 310 (aSheet.getCellByPosition( nCol, nRow )).setValue( fValue ); in insertFormulaRange() 319 …aFormula += "(INDIRECT(ADDRESS(" + (nRow + 1) + ";1)))+RAND()*INDIRECT(ADDRESS(1;" + nFactorCol + … in insertFormulaRange() 320 (aSheet.getCellByPosition( nCol, nRow )).setFormula( aFormula ); in insertFormulaRange()
|
/trunk/main/sc/source/ui/Accessibility/ |
H A D | AccessibleCsvControl.cxx | 1051 ensureValidPosition( nRow, 0 ); in getAccessibleRowDescription() 1052 return implGetCellText( nRow, 0 ); in getAccessibleRowDescription() 1068 ensureValidPosition( nRow, nColumn ); in getAccessibleRowExtentAt() 1076 ensureValidPosition( nRow, nColumn ); in getAccessibleColumnExtentAt() 1140 ensureValidPosition( nRow, nColumn ); in getAccessibleCellAt() 1169 ensureValidPosition( nRow, nColumn ); in getAccessibleIndex() 1394 …if( (nRow < 0) || (nRow >= implGetRowCount()) || (nColumn < 0) || (nColumn >= implGetColumnCount()… in ensureValidPosition() 1451 if( (nColumn > 0) && (nRow > 0) ) in implGetCellText() 1453 else if( nRow > 0 ) in implGetCellText() 1463 … return new ScAccessibleCsvCell( implGetGrid(), implGetCellText( nRow, nColumn ), nRow, nColumn ); in implCreateCellObj() [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | SelectionBrowseBox.cxx | 981 switch (nRow) in SaveModified() 1292 m_nSeekRow = nRow; in SeekRow() 1314 if (nRow == BROW_VIS_ROW) in PaintCell() 2012 switch (nRow) in CellModified() 2269 switch (nRow) in GetCellText() 2420 switch (nRow) in SetCellContents() 2548 switch (nRow) in isCutAllowed() 2569 switch (nRow) in cut() 2588 switch (nRow) in paste() 2606 switch (nRow) in isPasteAllowed() [all …]
|
/trunk/main/svx/source/table/ |
H A D | tablertfexporter.cxx | 64 …void WriteRow( const Reference< XPropertySet >& xRowSet, sal_Int32 nRow, const std::vector< sal_In… 65 void WriteCell( sal_Int32 nCol, sal_Int32 nRow ); 125 for( sal_Int32 nRow = 0; nRow < nRowCount; nRow++ ) try in Write() local 127 Reference< XPropertySet > xRowSet( xRows->getByIndex(nRow), UNO_QUERY_THROW ); in Write() 128 WriteRow( xRowSet, nRow, aColumnStart ); in Write() 140 void SdrTableRtfExporter::WriteRow( const Reference< XPropertySet >& xRowSet, sal_Int32 nRow, const… in WriteRow() argument 151 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in WriteRow() 187 WriteCell( nCol, nRow ); in WriteRow() 198 void SdrTableRtfExporter::WriteCell( sal_Int32 nCol, sal_Int32 nRow ) in WriteCell() argument 200 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in WriteCell()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | externalrefmgr.cxx | 259 setCachedCell(nCol, nRow); in setCell() 268 return getEmptyOrNullToken(nCol, nRow); in getCell() 400 setCachedCellRange(nCol, nRow, nCol, nRow); in setCachedCell() 422 return maCachedRanges.In(ScRange(nCol, nRow, 0, nCol, nRow, 0)); in isInCachedRanges() 426 SCCOL nCol, SCROW nRow) const in getEmptyOrNullToken() 428 if (isInCachedRanges(nCol, nRow)) in getEmptyOrNullToken() 595 SCROW nRow = *itr; in getCellRangeData() 631 for (SCROW nRow = nDataRow1; nRow <= nDataRow2; ++nRow) in getCellRangeData() local 729 pTableData->setCachedCell(nCol, nRow); in setCellData() 768 for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow) in setCellRangeData() local [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | funcuno.cxx | 398 aRef.Ref1.nRow = (SCROW) nStartRow; in lcl_AddRef() 400 aRef.Ref2.nRow = (SCROW) (nStartRow + nRowCount - 1); in lcl_AddRef() 420 mpDoc->SetValue( (SCCOL) nCol, (SCROW) nRow, 0, elem ); in visitElem() 424 mpDoc->SetValue( (SCCOL) nCol, (SCROW) nRow, 0, elem ); in visitElem() 428 mpDoc->SetValue( (SCCOL) nCol, (SCROW) nRow, 0, elem ); in visitElem() 433 mpDoc->PutCell( (SCCOL) nCol, (SCROW) nRow, 0, in visitElem() 455 visitElem( nCol, nRow, fVal ); in visitElem() 461 visitElem( nCol, nRow, aUStr ); in visitElem() 494 for ( long nRow=0; nRow<nRowCount; nRow++ ) in process() local 496 long nColCount = pRowArr[nRow].getLength(); in process() [all …]
|
/trunk/main/svx/source/fmcomp/ |
H A D | gridctrl.cxx | 2030 if (IsFilterRow(nRow)) in GetRowStatus() 2418 if (IsFilterRow(nRow)) in SeekCursor() 2429 nRow >= m_nCurrentPos) in SeekCursor() 2437 m_nSeekPos = nRow; in SeekCursor() 2440 m_nSeekPos = nRow; in SeekCursor() 2443 m_nSeekPos = nRow; in SeekCursor() 2445 m_nSeekPos = nRow; in SeekCursor() 2473 m_nSeekPos = nRow; in SeekCursor() 2497 m_nSeekPos = nRow; in SeekCursor() 2766 if (SeekRow(nRow)) in GetTotalCellWidth() [all …]
|
/trunk/main/dbaccess/source/ui/browser/ |
H A D | sbagrid.cxx | 961 return FmGridControl::GetController(nRow, nCol); in GetController() 967 FmGridControl::PreExecuteRowContextMenu(nRow, rMenu); in PreExecuteRowContextMenu() 1300 long nRow = GetRowAtYPosPixel(_rPosPixel.Y()); in StartDrag() local 1325 || ( (nRow >= 0) // a row below the header in StartDrag() 1330 && (-1 == nRow) // hit the header in StartDrag() 1344 DoRowDrag((sal_Int16)nRow); in StartDrag() 1348 else if ( (nRow < 0) // the header in StartDrag() 1362 && (nRow >= 0) // non-header row in StartDrag() 1369 DoFieldDrag(nViewPos, (sal_Int16)nRow); in StartDrag() 1596 GoToRowColumnId(nRow, nCol); in AcceptDrop() [all …]
|
/trunk/main/sc/workben/ |
H A D | addin.cxx | 418 …lcl_GetDoubleElement( const uno::Sequence< uno::Sequence<double> >& aMatrix, long nCol, long nRow ) in lcl_GetDoubleElement() argument 420 if ( nRow < aMatrix.getLength() ) in lcl_GetDoubleElement() 422 const uno::Sequence<double>& rRowSeq = aMatrix.getConstArray()[nRow]; in lcl_GetDoubleElement() 429 …32 lcl_GetLongElement( const uno::Sequence< uno::Sequence<INT32> >& aMatrix, long nCol, long nRow ) in lcl_GetLongElement() argument 431 if ( nRow < aMatrix.getLength() ) in lcl_GetLongElement() 433 const uno::Sequence<INT32>& rRowSeq = aMatrix.getConstArray()[nRow]; in lcl_GetLongElement() 451 for (long nRow=0; nRow<nRowCount; nRow++) in transpose() local 452 aSubSeq.getArray()[nRow] = lcl_GetDoubleElement( aMatrix, nCol, nRow ); in transpose() 471 for (long nRow=0; nRow<nRowCount; nRow++) in transposeInt() local 472 aSubSeq.getArray()[nRow] = lcl_GetLongElement( aMatrix, nCol, nRow ); in transposeInt()
|
/trunk/main/sc/source/filter/dif/ |
H A D | difimp.cxx | 845 void DifColumn::SetLogical( SCROW nRow ) in SetLogical() argument 852 nRow--; in SetLogical() 853 if( pAkt->nEnd == nRow ) in SetLogical() 861 pAkt->nStart = pAkt->nEnd = nRow; in SetLogical() 875 DBG_ASSERT( nRow > 0, in SetNumFormat() 877 DBG_ASSERT( nRow > pAkt->nEnd, in SetNumFormat() 880 if( pAkt->nNumFormat == nNumFormat && pAkt->nEnd == nRow - 1 ) in SetNumFormat() 881 pAkt->nEnd = nRow; in SetNumFormat() 883 NewEntry( nRow, nNumFormat ); in SetNumFormat() 886 NewEntry( nRow, nNumFormat ); in SetNumFormat() [all …]
|