Lines Matching refs:nRows
406 void CellCursor::split_row( sal_Int32 nRow, sal_Int32 nRows, std::vector< sal_Int32 >& rLeftOvers ) in split_row() argument
417 nNewRows = std::max( nNewRows, nRows - xCell->getRowSpan() + 1 - rLeftOvers[nCol] ); in split_row()
467 DBG_ASSERT( nCellsAvailable > nRows, "sdr::table::CellCursor::split_row(), somethings wrong" ); in split_row()
469 sal_Int32 nSplitSpan = (nCellsAvailable / (nRows + 1)) - 1; in split_row()
472 sal_Int32 nSplits = nRows + 1; in split_row()
477 nSplitSpan = nCellsAvailable - ((nSplitSpan+1) * nRows) - 1; in split_row()
510 void CellCursor::split_vertical( sal_Int32 nRows ) in split_vertical() argument
517 split_row( nRow, nRows, aLeftOvers ); in split_vertical()
522 void SAL_CALL CellCursor::split( sal_Int32 nColumns, sal_Int32 nRows ) throw (NoSupportException, I… in split() argument
524 if( (nColumns < 0) || (nRows < 0) ) in split()
540 if( nRows > 0 ) in split()
541 split_vertical( nRows ); in split()
543 if( nColumns > 0 ||nRows > 0 ) in split()