Lines Matching refs:nNewCols
294 sal_Int32 nNewCols = 0, nRow; in split_column() local
301 nNewCols = std::max( nNewCols, nColumns - xCell->getColumnSpan() + 1 - rLeftOvers[nRow] ); in split_column()
304 if( nNewCols > 0 ) in split_column()
311 const sal_Int32 nNewWidth = nWidth / (nNewCols + 1); in split_column()
314 xRefColumn->setPropertyValue( sWidth, Any( nWidth - (nNewWidth * nNewCols) ) ); in split_column()
316 xCols->insertByIndex( nCol + 1, nNewCols ); in split_column()
317 mnRight += nNewCols; in split_column()
320 for( sal_Int32 nNewCol = nCol + nNewCols; nNewCol > nCol; --nNewCol ) in split_column()
332 if( nNewCols > 0 ) in split_column()
337 rLeftOvers[nRow] += nNewCols; in split_column()
349 nCellsAvailable += nNewCols; 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()