Lines Matching refs:m_pTableControl
2761 :m_pTableControl( _pTableControl) in TableFunctionSet()
2776 m_pTableControl->setAnchor( m_pTableControl->getCurRow() ); in CreateAnchor()
2782 m_pTableControl->setAnchor( ROW_INVALID ); in DestroyAnchor()
2790 RowPos newRow = m_pTableControl->getRowAtPoint( rPoint ); in SetCursorAtPoint()
2792 newRow = m_pTableControl->getTopRow(); in SetCursorAtPoint()
2794 ColPos newCol = m_pTableControl->getColAtPoint( rPoint ); in SetCursorAtPoint()
2796 newCol = m_pTableControl->getLeftColumn(); in SetCursorAtPoint()
2803 if ( m_pTableControl->getSelectedRowCount() > 1 ) in SetCursorAtPoint()
2804 m_pTableControl->getSelEngine()->AddAlways(sal_True); in SetCursorAtPoint()
2807 else if ( m_pTableControl->getAnchor() == m_pTableControl->getCurRow() ) in SetCursorAtPoint()
2810 int diff = m_pTableControl->getCurRow() - newRow; in SetCursorAtPoint()
2815 while ( m_pTableControl->getAnchor() >= newRow ) in SetCursorAtPoint()
2817 m_pTableControl->markRowAsSelected( m_pTableControl->getAnchor() ); in SetCursorAtPoint()
2818 m_pTableControl->setAnchor( m_pTableControl->getAnchor() - 1 ); in SetCursorAtPoint()
2821 m_pTableControl->setAnchor( m_pTableControl->getAnchor() + 1 ); in SetCursorAtPoint()
2826 while ( m_pTableControl->getAnchor() <= newRow ) in SetCursorAtPoint()
2828 m_pTableControl->markRowAsSelected( m_pTableControl->getAnchor() ); in SetCursorAtPoint()
2829 m_pTableControl->setAnchor( m_pTableControl->getAnchor() + 1 ); in SetCursorAtPoint()
2832 m_pTableControl->setAnchor( m_pTableControl->getAnchor() - 1 ); in SetCursorAtPoint()
2834 m_pTableControl->invalidateSelectedRegion( m_pTableControl->getCurRow(), newRow ); in SetCursorAtPoint()
2840 if ( !m_pTableControl->hasRowSelection() ) in SetCursorAtPoint()
2841 m_pTableControl->markRowAsSelected( newRow ); in SetCursorAtPoint()
2844 if ( m_pTableControl->getSelEngine()->GetSelectionMode() == SINGLE_SELECTION ) in SetCursorAtPoint()
2847 m_pTableControl->markRowAsSelected( newRow ); in SetCursorAtPoint()
2851 m_pTableControl->markRowAsSelected( newRow ); in SetCursorAtPoint()
2854 …if ( m_pTableControl->getSelectedRowCount() > 1 && m_pTableControl->getSelEngine()->GetSelectionMo… in SetCursorAtPoint()
2855 m_pTableControl->getSelEngine()->AddAlways(sal_True); in SetCursorAtPoint()
2857 m_pTableControl->invalidateRow( newRow ); in SetCursorAtPoint()
2860 m_pTableControl->goTo( newCol, newRow ); in SetCursorAtPoint()
2866 m_pTableControl->getSelEngine()->AddAlways(sal_False); in IsSelectionAtPoint()
2867 if ( !m_pTableControl->hasRowSelection() ) in IsSelectionAtPoint()
2871 RowPos curRow = m_pTableControl->getRowAtPoint( rPoint ); in IsSelectionAtPoint()
2872 m_pTableControl->setAnchor( ROW_INVALID ); in IsSelectionAtPoint()
2873 bool selected = m_pTableControl->isRowSelected( curRow ); in IsSelectionAtPoint()
2882 m_pTableControl->invalidateRow( m_nCurrentRow ); in DeselectAtPoint()
2883 m_pTableControl->markRowAsDeselected( m_nCurrentRow ); in DeselectAtPoint()
2889 if ( m_pTableControl->hasRowSelection() ) in DeselectAll()
2891 for ( size_t i=0; i<m_pTableControl->getSelectedRowCount(); ++i ) in DeselectAll()
2893 RowPos const rowIndex = m_pTableControl->getSelectedRowIndex(i); in DeselectAll()
2894 m_pTableControl->invalidateRow( rowIndex ); in DeselectAll()
2897 m_pTableControl->markAllRowsAsDeselected(); in DeselectAll()