Lines Matching refs:xCell

184 		CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( mnLeft, mnTop ).get() ) );  in GetMergedSelection()  local
187 if( xCell.is() && xCell->isMerged() ) in GetMergedSelection()
191 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( mnRight, mnBottom ).get() ) ); in GetMergedSelection()
192 if( xCell.is() ) in GetMergedSelection()
194 if( xCell->isMerged() ) in GetMergedSelection()
200xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rEnd.mnCol, rEnd.mnRow ).get() ) ); in GetMergedSelection()
203 if( xCell.is() ) in GetMergedSelection()
205 rEnd.mnCol += xCell->getColumnSpan()-1; in GetMergedSelection()
206 rEnd.mnRow += xCell->getRowSpan()-1; in GetMergedSelection()
215 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in GetMergedSelection()
216 if( !xCell.is() ) in GetMergedSelection()
219 if( xCell->isMerged() ) in GetMergedSelection()
227xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( nOriginCol, nOriginRow ).get() ) ); in GetMergedSelection()
228 if( xCell.is() ) in GetMergedSelection()
230 nOriginCol += xCell->getColumnSpan()-1; in GetMergedSelection()
231 nOriginRow += xCell->getRowSpan()-1; in GetMergedSelection()
238 …else if( ((nCol + xCell->getColumnSpan() - 1) > rEnd.mnCol) || ((nRow + xCell->getRowSpan() - 1 ) … in GetMergedSelection()
299 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_column() local
300 if( xCell.is() && !xCell->isMerged() ) in split_column()
301 nNewCols = std::max( nNewCols, nColumns - xCell->getColumnSpan() + 1 - rLeftOvers[nRow] ); in split_column()
329 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_column() local
330 if( !xCell.is() || xCell->isMerged() ) in split_column()
335xCell.set( dynamic_cast< Cell* >(mxTable->getCellByPosition( nCol+1, nRow ).get() ) ); in split_column()
336 if( !xCell.is() || !xCell->isMerged() ) in split_column()
342 sal_Int32 nRowSpan = xCell->getRowSpan() - 1; in split_column()
343 sal_Int32 nColSpan = xCell->getColumnSpan() - 1; in split_column()
415 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_row() local
416 if( xCell.is() && !xCell->isMerged() ) in split_row()
417 nNewRows = std::max( nNewRows, nRows - xCell->getRowSpan() + 1 - rLeftOvers[nCol] ); in split_row()
445 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_row() local
446 if( !xCell.is() || xCell->isMerged() ) in split_row()
451xCell.set( dynamic_cast< Cell* >(mxTable->getCellByPosition( nCol, nRow+1 ).get() ) ); in split_row()
452 if( !xCell.is() || !xCell->isMerged() ) in split_row()
458 sal_Int32 nRowSpan = xCell->getRowSpan() - 1; in split_row()
459 sal_Int32 nColSpan = xCell->getColumnSpan() - 1; in split_row()
576 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in isUnmergeable() local
577 if( xCell.is() && ( (xCell->getRowSpan() > 1) || (xCell->getColumnSpan() > 1) ) ) in isUnmergeable()