Lines Matching refs:mnCol
262 …CheckTableHit( pWindow->PixelToLogic(rMEvt.GetPosPixel()), maMouseDownPos.mnCol, maMouseDownPos.mn… in onMouseButtonDown()
334 …TableObj->CheckTableHit( pWindow->PixelToLogic(rMEvt.GetPosPixel()), aPos.mnCol, aPos.mnRow, 0 ) !… in onMouseMove()
461 bDistributeColumns = aStart.mnCol != aEnd.mnCol; in GetState()
522 aStart.mnCol = mxTable->getColumnCount() - 1; in onInsert()
550 const sal_Int32 nNewColumns = (nCount == 0) ? (aEnd.mnCol - aStart.mnCol + 1) : nCount; in onInsert()
551 const sal_Int32 nNewStartColumn = aEnd.mnCol + (bInsertAfter ? 1 : 0); in onInsert()
556 Reference< XPropertySet >( xCols->getByIndex( aEnd.mnCol + nOffset + 1 ), UNO_QUERY_THROW )-> in onInsert()
558 Reference< XPropertySet >( xCols->getByIndex( aStart.mnCol + nOffset ), UNO_QUERY_THROW )-> in onInsert()
565 aStart.mnCol = nNewStartColumn; in onInsert()
567 aEnd.mnCol = aStart.mnCol + nNewColumns - 1; in onInsert()
598 aStart.mnCol = 0; in onInsert()
600 aEnd.mnCol = mxTable->getColumnCount() - 1; in onInsert()
639 const sal_Int32 nRemovedColumns = aEnd.mnCol - aStart.mnCol + 1; in onDelete()
647 xCols->removeByIndex( aStart.mnCol, nRemovedColumns ); in onDelete()
691 aEnd.mnCol = 0; aEnd.mnRow = 0; in onSelect()
692 aStart.mnCol = nColCount - 1; aStart.mnRow = nRowCount - 1; in onSelect()
699 aEnd.mnCol = nColCount - 1; in onSelect()
700 aStart.mnCol = 0; in onSelect()
994 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in SetVertical()
1017 MergeRange( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ); in MergeMarkedCells()
1038 …createCursorByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd… in SplitMarkedCells()
1072 aEnd.mnCol += mxTable->getColumnCount() - nColCount; in SplitMarkedCells()
1093 pTableObj->DistributeColumns( aStart.mnCol, aEnd.mnCol ); in DistributeColumns()
1131 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in DeleteMarked()
1163 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in GetStyleSheet()
1199 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) 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 …createCursorByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd… in getSelectionCursor()
1631 if( rPos.mnCol >= mxTable->getColumnCount() ) in checkCell()
1632 rPos.mnCol = mxTable->getColumnCount()-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()
1789 rFirst.mnCol = std::min( maCursorFirstPos.mnCol, maCursorLastPos.mnCol ); in getSelectedCells()
1791 rLast.mnCol = std::max( maCursorFirstPos.mnCol, maCursorLastPos.mnCol ); in getSelectedCells()
1800 for( sal_Int32 nCol = rFirst.mnCol; nCol <= rLast.mnCol && !bExt; nCol++ ) in getSelectedCells()
1810 if( (aPos.mnCol < rFirst.mnCol) || (aPos.mnRow < rFirst.mnRow) ) in getSelectedCells()
1812 rFirst.mnCol = std::min( rFirst.mnCol, aPos.mnCol ); in getSelectedCells()
1819 …if( ((nCol + xCell->getColumnSpan() - 1) > rLast.mnCol) || (nRow + xCell->getRowSpan() - 1 ) > rLa… in getSelectedCells()
1821 rLast.mnCol = std::max( rLast.mnCol, nCol + xCell->getColumnSpan() - 1 ); in getSelectedCells()
1839 …Reference< XMergeableCell > xCell( mxTable->getCellByPosition( rLast.mnCol, rLast.mnRow ), UNO_QUE… in getSelectedCells()
1842 rLast.mnCol += xCell->getColumnSpan() - 1; in getSelectedCells()
1849 rFirst.mnCol = 0; in getSelectedCells()
1854 rLast.mnCol = mxTable->getColumnCount()-1; in getSelectedCells()
1859 rLast.mnCol = 0; in getSelectedCells()
1906 if( (aPos2.mnCol >= 0) && (aPos2.mnRow >= 0) ) in selectAll()
2008 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in MergeAttrFromSelectedCells()
2250 const sal_Int32 nLastCol = std::min( aEnd.mnCol + 2, nColCount ); in ApplyBorderAttr()
2260 for( sal_Int32 nCol = std::max( aStart.mnCol - 1, (sal_Int32)0 ); nCol < nLastCol; nCol++ ) in ApplyBorderAttr()
2272 nCellFlags |= (nCol == aStart.mnCol) ? CELL_LEFT : 0; in ApplyBorderAttr()
2273 nCellFlags |= (nCol == aEnd.mnCol) ? CELL_RIGHT : 0; in ApplyBorderAttr()
2274 nCellFlags |= (nCol < aStart.mnCol) ? CELL_BEFORE : 0; in ApplyBorderAttr()
2275 nCellFlags |= (nCol > aEnd.mnCol) ? CELL_AFTER : 0; in ApplyBorderAttr()
2339 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in SetAttrToSelectedCells()
2489 nPasteColumns = std::min( nPasteColumns, nColumns - aStart.mnCol ); in PasteObject()
2496 …CellRef xTargetCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( aStart.mnCol + nCol, aStar… in PasteObject()
2560 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) 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()