Lines Matching refs:mnRow
262 …leHit( pWindow->PixelToLogic(rMEvt.GetPosPixel()), maMouseDownPos.mnCol, maMouseDownPos.mnRow, 0 ); in onMouseButtonDown()
334 …eckTableHit( pWindow->PixelToLogic(rMEvt.GetPosPixel()), aPos.mnCol, aPos.mnRow, 0 ) != SDRTABLEHI… in onMouseMove()
462 bDistributeRows = aStart.mnRow != aEnd.mnRow; in GetState()
523 aStart.mnRow = mxTable->getRowCount() - 1; in onInsert()
566 aStart.mnRow = 0; in onInsert()
568 aEnd.mnRow = mxTable->getRowCount() - 1; in onInsert()
583 const sal_Int32 nNewRows = (nCount == 0) ? (aEnd.mnRow - aStart.mnRow + 1) : nCount; in onInsert()
584 const sal_Int32 nNewRowStart = aEnd.mnRow + (bInsertAfter ? 1 : 0); in onInsert()
589 Reference< XPropertySet >( xRows->getByIndex( aEnd.mnRow + nOffset + 1 ), UNO_QUERY_THROW )-> in onInsert()
591 Reference< XPropertySet >( xRows->getByIndex( aStart.mnRow + nOffset ), UNO_QUERY_THROW )-> in onInsert()
599 aStart.mnRow = nNewRowStart; in onInsert()
601 aEnd.mnRow = aStart.mnRow + nNewRows - 1; in onInsert()
654 const sal_Int32 nRemovedRows = aEnd.mnRow - aStart.mnRow + 1; in onDelete()
662 xRows->removeByIndex( aStart.mnRow, nRemovedRows ); in onDelete()
691 aEnd.mnCol = 0; aEnd.mnRow = 0; in onSelect()
692 aStart.mnCol = nColCount - 1; aStart.mnRow = nRowCount - 1; in onSelect()
695 aEnd.mnRow = nRowCount - 1; in onSelect()
696 aStart.mnRow = 0; in onSelect()
992 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetVertical()
1017 MergeRange( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ); in MergeMarkedCells()
1038 …yRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ) ), U… in SplitMarkedCells()
1071 aEnd.mnRow += mxTable->getRowCount() - nRowCount; in SplitMarkedCells()
1114 pTableObj->DistributeRows( aStart.mnRow, aEnd.mnRow ); in DistributeRows()
1129 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in DeleteMarked()
1161 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in GetStyleSheet()
1197 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetStyleSheet()
1446 CellPos aPos( pTableObj->getFirstCell().mnCol, getSelectionEnd().mnRow ); in executeAction()
1453 CellPos aPos( pTableObj->getLastCell().mnCol, getSelectionEnd().mnRow ); in executeAction()
1460 CellPos aPos( getSelectionEnd().mnCol, pTableObj->getFirstCell().mnRow ); in executeAction()
1479 CellPos aPos( getSelectionEnd().mnCol, pTableObj->getLastCell().mnRow ); in executeAction()
1586 …orByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ) ); in getSelectionCursor()
1634 if( rPos.mnRow >= mxTable->getRowCount() ) in checkCell()
1635 rPos.mnRow = mxTable->getRowCount()-1; in checkCell()
1650 …Reference< XMergeableCell > xCell( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ), UNO_QUERY… in findMergeOrigin()
1653 ::findMergeOrigin( mxTable, rPos.mnCol, rPos.mnRow, rPos.mnCol, rPos.mnRow ); in findMergeOrigin()
1790 rFirst.mnRow = std::min( maCursorFirstPos.mnRow, maCursorLastPos.mnRow ); in getSelectedCells()
1792 rLast.mnRow = std::max( maCursorFirstPos.mnRow, maCursorLastPos.mnRow ); in getSelectedCells()
1798 for( sal_Int32 nRow = rFirst.mnRow; nRow <= rLast.mnRow && !bExt; nRow++ ) in getSelectedCells()
1810 if( (aPos.mnCol < rFirst.mnCol) || (aPos.mnRow < rFirst.mnRow) ) in getSelectedCells()
1813 rFirst.mnRow = std::min( rFirst.mnRow, aPos.mnRow ); in getSelectedCells()
1819 …l + xCell->getColumnSpan() - 1) > rLast.mnCol) || (nRow + xCell->getRowSpan() - 1 ) > rLast.mnRow ) in getSelectedCells()
1822 rLast.mnRow = std::max( rLast.mnRow, nRow + xCell->getRowSpan() - 1 ); in getSelectedCells()
1839 …Reference< XMergeableCell > xCell( mxTable->getCellByPosition( rLast.mnCol, rLast.mnRow ), UNO_QUE… in getSelectedCells()
1843 rLast.mnRow += xCell->getRowSpan() - 1; in getSelectedCells()
1850 rFirst.mnRow = 0; in getSelectedCells()
1853 rLast.mnRow = mxTable->getRowCount()-1; in getSelectedCells()
1858 rLast.mnRow = 0; in getSelectedCells()
1906 if( (aPos2.mnCol >= 0) && (aPos2.mnRow >= 0) ) in selectAll()
2006 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in MergeAttrFromSelectedCells()
2249 const sal_Int32 nLastRow = std::min( aEnd.mnRow + 2, nRowCount ); in ApplyBorderAttr()
2252 for( sal_Int32 nRow = std::max( aStart.mnRow - 1, (sal_Int32)0 ); nRow < nLastRow; nRow++ ) in ApplyBorderAttr()
2255 nRowFlags |= (nRow == aStart.mnRow) ? CELL_TOP : 0; in ApplyBorderAttr()
2256 nRowFlags |= (nRow == aEnd.mnRow) ? CELL_BOTTOM : 0; in ApplyBorderAttr()
2257 nRowFlags |= (nRow < aStart.mnRow) ? CELL_UPPER : 0; in ApplyBorderAttr()
2258 nRowFlags |= (nRow > aEnd.mnRow) ? CELL_LOWER : 0; in ApplyBorderAttr()
2337 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetAttrToSelectedCells()
2480 const sal_Int32 nMissing = nPasteRows - ( nRows - aStart.mnRow ); in PasteObject()
2488 nPasteRows = std::min( nPasteRows, nRows - aStart.mnRow ); in PasteObject()
2496 …ic_cast< Cell* >( mxTable->getCellByPosition( aStart.mnCol + nCol, aStart.mnRow + nRow ).get() ) ); in PasteObject()
2558 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in ApplyFormatPaintBrush()
2657 …if( (aFirstPos.mnCol == 0) && (nRow >= aFirstPos.mnRow && nRow <= aLastPos.mnRow) && (mxTable->get… in isRowSelected()
2668 …if( (aFirstPos.mnRow == 0) && (nColumn >= aFirstPos.mnCol && nColumn <= aLastPos.mnCol) && (mxTabl… in isColumnSelected()