Lines Matching refs:m_pModel
308 if ( !m_pModel ) in impl_checkInvariants()
314 if ( m_pModel->getColumnCount() != m_nColumnCount ) in impl_checkInvariants()
317 if ( m_pModel->getRowCount() != m_nRowCount ) in impl_checkInvariants()
335 if ( m_pInputHandler != m_pModel->getInputHandler() ) in impl_checkInvariants()
340 if ( m_aSelectedRows.size() > size_t( m_pModel->getRowCount() ) ) in impl_checkInvariants()
347 if ( ( *selRow < 0 ) || ( *selRow >= m_pModel->getRowCount() ) ) in impl_checkInvariants()
354 … TableMetrics nHeaderHeight = m_pModel->hasColumnHeaders() ? m_pModel->getColumnHeaderHeight() : 0; in impl_checkInvariants()
360 bool isDummyModel = dynamic_cast< const EmptyTableModel* >( m_pModel.get() ) != NULL; in impl_checkInvariants()
363 TableMetrics nRowHeight = m_pModel->getRowHeight(); in impl_checkInvariants()
371 … TableMetrics nHeaderWidth = m_pModel->hasRowHeaders() ? m_pModel->getRowHeaderWidth() : 0; in impl_checkInvariants()
440 ,m_pModel ( new EmptyTableModel ) in TableControl_Impl()
493 if ( !!m_pModel ) in setModel()
494 m_pModel->removeTableModelListener( shared_from_this() ); in setModel()
496 m_pModel = _pModel; in setModel()
497 if ( !m_pModel) in setModel()
498 m_pModel.reset( new EmptyTableModel ); in setModel()
500 m_pModel->addTableModelListener( shared_from_this() ); in setModel()
549 m_nRowCount = m_pModel->getRowCount(); in rowsInserted()
562 …odelChange( AccessibleTableModelChangeType::INSERT, i_first, i_last, 0, m_pModel->getColumnCount()… in rowsInserted()
605 m_nRowCount = m_pModel->getRowCount(); in rowsRemoved()
637 m_pModel->getColumnCount() in rowsRemoved()
654 m_nColumnCount = m_pModel->getColumnCount(); in columnInserted()
665 m_nColumnCount = m_pModel->getColumnCount(); in columnRemoved()
686 m_nColumnCount = m_pModel->getColumnCount(); in allColumnsRemoved()
798 …m_nRowHeightPixel = m_rAntiImpl.LogicToPixel( Size( 0, m_pModel->getRowHeight() ), MAP_APPFONT ).H… in impl_ni_updateCachedTableMetrics()
801 if ( m_pModel->hasColumnHeaders() ) in impl_ni_updateCachedTableMetrics()
802 …m_nColHeaderHeightPixel = m_rAntiImpl.LogicToPixel( Size( 0, m_pModel->getColumnHeaderHeight() ), … in impl_ni_updateCachedTableMetrics()
805 if ( m_pModel->hasRowHeaders() ) in impl_ni_updateCachedTableMetrics()
806 …m_nRowHeaderWidthPixel = m_rAntiImpl.LogicToPixel( Size( m_pModel->getRowHeaderWidth(), 0 ), MAP_A… in impl_ni_updateCachedTableMetrics()
812 m_pInputHandler = m_pModel->getInputHandler(); in impl_ni_updateCachedModelValues()
816 m_nColumnCount = m_pModel->getColumnCount(); in impl_ni_updateCachedModelValues()
820 m_nRowCount = m_pModel->getRowCount(); in impl_ni_updateCachedModelValues()
941 …ENSURE_OR_RETURN( !!m_pModel, "TableControl_Impl::impl_ni_calculateColumnWidths: not allowed witho… in impl_ni_calculateColumnWidths()
942 if ( m_pModel->hasRowHeaders() && ( gridWidthPixel != 0 ) ) in impl_ni_calculateColumnWidths()
947 …if ( i_assumeVerticalScrollbar && ( m_pModel->getVerticalScrollbarVisibility() != ScrollbarShowNev… in impl_ni_calculateColumnWidths()
954 TableSize const colCount = m_pModel->getColumnCount(); in impl_ni_calculateColumnWidths()
975 PColumnModel const pColumn = m_pModel->getColumnModel( col ); in impl_ni_calculateColumnWidths()
1194 if ( !m_pModel ) in impl_ni_relayout()
1225 …OSL_ENSURE( ( m_nRowCount == m_pModel->getRowCount() ) && ( m_nColumnCount == m_pModel->getColumnC… in impl_ni_relayout()
1229 ScrollbarVisibility const eVertScrollbar = m_pModel->getVerticalScrollbarVisibility(); in impl_ni_relayout()
1230 ScrollbarVisibility const eHorzScrollbar = m_pModel->getHorizontalScrollbarVisibility(); in impl_ni_relayout()
1270 TableSize const colCount = m_pModel->getColumnCount(); in impl_ni_relayout()
1282 PColumnModel const pColumn = m_pModel->getColumnModel( col ); in impl_ni_relayout()
1438 m_nRowCount = m_pModel->getRowCount(); in doPaintContent()
1445 if ( m_pModel->hasColumnHeaders() ) in doPaintContent()
1473 if ( m_pModel->hasRowHeaders() ) in doPaintContent()
1489 if ( m_pModel->hasColumnHeaders() ) in doPaintContent()
1526 if ( m_pModel->hasRowHeaders() ) in doPaintContent()
1944 PTableRenderer pRenderer = !!m_pModel ? m_pModel->getRenderer() : PTableRenderer(); in impl_ni_doSwitchCursor()
1961 if ( !m_pModel in impl_getCellRect()
1994 PColumnModel const pColumn = m_pModel->getColumnModel( aCell.nColumn ); in hitTest()
2012 ENSURE_OR_RETURN( ( i_column >= 0 ) && ( i_column < m_pModel->getColumnCount() ), in getColumnMetrics()
2020 return m_pModel; in getModel()
2312 m_pModel->getCellContent( i_col, i_row, aCellValue ); in getCellContentAsString()
2315 … m_pModel->getRenderer()->GetFormattedCellString( aCellValue, i_col, i_row, sCellStringContent ); in getCellContentAsString()
2544 return row < m_pModel->getRowCount() ? row : ROW_INVALID; in impl_getRowForAbscissa()
2610 if ( m_aSelectedRows.size() == size_t( m_pModel->getRowCount() ) ) in markAllRowsAsSelected()
2613 for ( TableSize row = 0; row < m_pModel->getRowCount(); ++row ) in markAllRowsAsSelected()
2623 for ( RowPos i=0; i < m_pModel->getRowCount(); ++i ) in markAllRowsAsSelected()