Lines Matching refs:sal_Int32

52 …or::CellCursor( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, s…  in CellCursor()
67 Reference< XCell > SAL_CALL CellCursor::getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow ) thro… in getCellByPosition()
74 … SAL_CALL CellCursor::getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, s… in getCellRangeByPosition()
156 void SAL_CALL CellCursor::gotoOffset( ::sal_Int32 nColumnOffset, ::sal_Int32 nRowOffset ) throw (Ru… in gotoOffset()
160 const sal_Int32 nLeft = mnLeft + nColumnOffset; in gotoOffset()
164 const sal_Int32 nTop = mnTop + nRowOffset; in gotoOffset()
210 sal_Int32 nRow, nCol; in GetMergedSelection()
221 sal_Int32 nOriginCol, nOriginRow; in GetMergedSelection()
290 void CellCursor::split_column( sal_Int32 nCol, sal_Int32 nColumns, std::vector< sal_Int32 >& rLeftO… in split_column()
292 const sal_Int32 nRowCount = mxTable->getRowCount(); in split_column()
294 sal_Int32 nNewCols = 0, nRow; in split_column()
309 sal_Int32 nWidth = 0; in split_column()
311 const sal_Int32 nNewWidth = nWidth / (nNewCols + 1); in split_column()
320 for( sal_Int32 nNewCol = nCol + nNewCols; nNewCol > nCol; --nNewCol ) in split_column()
342 sal_Int32 nRowSpan = xCell->getRowSpan() - 1; in split_column()
343 sal_Int32 nColSpan = xCell->getColumnSpan() - 1; in split_column()
347 sal_Int32 nCellsAvailable = 1 + nColSpan + rLeftOvers[nRow]; in split_column()
353 sal_Int32 nSplitSpan = (nCellsAvailable / (nColumns + 1)) - 1; in split_column()
355 sal_Int32 nSplitCol = nCol; in split_column()
356 sal_Int32 nSplits = nColumns + 1; in split_column()
394 void CellCursor::split_horizontal( sal_Int32 nColumns ) in split_horizontal()
396 const sal_Int32 nRowCount = mxTable->getRowCount(); in split_horizontal()
398 std::vector< sal_Int32 > aLeftOvers( nRowCount ); in split_horizontal()
400 for( sal_Int32 nCol = mnRight; nCol >= mnLeft; --nCol ) in split_horizontal()
406 void CellCursor::split_row( sal_Int32 nRow, sal_Int32 nRows, std::vector< sal_Int32 >& rLeftOvers ) in split_row()
408 const sal_Int32 nColCount = mxTable->getColumnCount(); in split_row()
410 sal_Int32 nNewRows = 0, nCol; in split_row()
425 sal_Int32 nHeight = 0; in split_row()
427 const sal_Int32 nNewHeight = nHeight / (nNewRows + 1); in split_row()
436 for( sal_Int32 nNewRow = nRow + nNewRows; nNewRow > nRow; --nNewRow ) in split_row()
458 sal_Int32 nRowSpan = xCell->getRowSpan() - 1; in split_row()
459 sal_Int32 nColSpan = xCell->getColumnSpan() - 1; in split_row()
463 sal_Int32 nCellsAvailable = 1 + nRowSpan + rLeftOvers[nCol]; in split_row()
469 sal_Int32 nSplitSpan = (nCellsAvailable / (nRows + 1)) - 1; in split_row()
471 sal_Int32 nSplitRow = nRow; in split_row()
472 sal_Int32 nSplits = nRows + 1; in split_row()
510 void CellCursor::split_vertical( sal_Int32 nRows ) in split_vertical()
512 const sal_Int32 nColCount = mxTable->getColumnCount(); in split_vertical()
514 std::vector< sal_Int32 > aLeftOvers( nColCount ); in split_vertical()
516 for( sal_Int32 nRow = mnBottom; nRow >= mnTop; --nRow ) in split_vertical()
522 void SAL_CALL CellCursor::split( sal_Int32 nColumns, sal_Int32 nRows ) throw (NoSupportException, I… in split()
572 for( sal_Int32 nRow = mnTop; nRow <= mnBottom; nRow++ ) in isUnmergeable()
574 for( sal_Int32 nCol = mnLeft; nCol <= mnRight; nCol++ ) in isUnmergeable()