Lines Matching refs:rLeftOvers
290 …ellCursor::split_column( sal_Int32 nCol, sal_Int32 nColumns, std::vector< sal_Int32 >& rLeftOvers ) in split_column() argument
301 nNewCols = std::max( nNewCols, nColumns - xCell->getColumnSpan() + 1 - rLeftOvers[nRow] ); in split_column()
337 rLeftOvers[nRow] += nNewCols; in split_column()
347 sal_Int32 nCellsAvailable = 1 + nColSpan + rLeftOvers[nRow]; in split_column()
370 rLeftOvers[nRow++] = 0; in split_column()
378 if( nColSpan < (rLeftOvers[nRow] + nNewCols) ) in split_column()
379 mxTable->merge( nCol, nRow, (rLeftOvers[nRow] + nNewCols) + 1, nRowSpan + 1 ); in split_column()
383 rLeftOvers[nRow++] = 0; // consumed in split_column()
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()
453 rLeftOvers[nCol] += nNewRows; in split_row()
463 sal_Int32 nCellsAvailable = 1 + nRowSpan + rLeftOvers[nCol]; in split_row()
486 rLeftOvers[nCol++] = 0; in split_row()
494 if( nRowSpan < (rLeftOvers[nCol] + nNewRows) ) in split_row()
495 mxTable->merge( nCol, nRow, nColSpan + 1, (rLeftOvers[nCol] + nNewRows) + 1 ); in split_row()
499 rLeftOvers[nCol++] = 0; // consumed in split_row()