Lines Matching refs:m_pImpl
149 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in checkInvariants()
166 :m_pImpl( new UnoControlTableModel_Impl ) in DBG_NAME()
169 m_pImpl->bHasColumnHeaders = true; in DBG_NAME()
170 m_pImpl->bHasRowHeaders = false; in DBG_NAME()
171 m_pImpl->bEnabled = true; in DBG_NAME()
172 m_pImpl->pRenderer.reset( new GridTableRenderer( *this ) ); in DBG_NAME()
173 m_pImpl->pInputHandler.reset( new DefaultInputHandler ); in DBG_NAME()
180 DELETEZ( m_pImpl ); in ~UnoControlTableModel()
187 return (TableSize)m_pImpl->aColumns.size(); in getColumnCount()
198 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in getRowCount()
213 return m_pImpl->bHasColumnHeaders; in hasColumnHeaders()
220 return m_pImpl->bHasRowHeaders; in hasRowHeaders()
227 if ( m_pImpl->bHasRowHeaders == _bRowHeaders ) in setRowHeaders()
230 m_pImpl->bHasRowHeaders = _bRowHeaders; in setRowHeaders()
238 if ( m_pImpl->bHasColumnHeaders == _bColumnHeaders ) in setColumnHeaders()
241 m_pImpl->bHasColumnHeaders = _bColumnHeaders; in setColumnHeaders()
260 return m_pImpl->aColumns[ column ]; in getColumnModel()
267 insertColumn( m_pImpl->aColumns.size(), i_column ); in appendColumn()
274 …ENSURE_OR_RETURN_VOID( ( i_position >= 0 ) && ( size_t( i_position ) <= m_pImpl->aColumns.size() ), in insertColumn()
278 m_pImpl->aColumns.insert( m_pImpl->aColumns.begin() + i_position, pColumn ); in insertColumn()
281 ModellListeners aListeners( m_pImpl->m_aListeners ); in insertColumn()
295 …ENSURE_OR_RETURN_VOID( ( i_position >= 0 ) && ( size_t( i_position ) <= m_pImpl->aColumns.size() ), in removeColumn()
299 ColumnModels::iterator pos = m_pImpl->aColumns.begin() + i_position; in removeColumn()
301 m_pImpl->aColumns.erase( pos ); in removeColumn()
304 ModellListeners aListeners( m_pImpl->m_aListeners ); in removeColumn()
324 if ( m_pImpl->aColumns.empty() ) in removeAllColumns()
328 for ( ColumnModels::const_iterator col = m_pImpl->aColumns.begin(); in removeAllColumns()
329 col != m_pImpl->aColumns.end(); in removeAllColumns()
337 m_pImpl->aColumns.clear(); in removeAllColumns()
340 ModellListeners aListeners( m_pImpl->m_aListeners ); in removeAllColumns()
353 ModellListeners aListeners( m_pImpl->m_aListeners ); in impl_notifyTableMetricsChanged()
367 return m_pImpl->pRenderer; in getRenderer()
374 return m_pImpl->pInputHandler; in getInputHandler()
381 return m_pImpl->nRowHeight; in getRowHeight()
388 if ( m_pImpl->nRowHeight == _nRowHeight ) in setRowHeight()
391 m_pImpl->nRowHeight = _nRowHeight; in setRowHeight()
400 return m_pImpl->nColumnHeaderHeight; in getColumnHeaderHeight()
408 return m_pImpl->nRowHeaderWidth; in getRowHeaderWidth()
414 if ( m_pImpl->nColumnHeaderHeight == _nHeight ) in setColumnHeaderHeight()
417 m_pImpl->nColumnHeaderHeight = _nHeight; in setColumnHeaderHeight()
425 if ( m_pImpl->nRowHeaderWidth == _nWidth ) in setRowHeaderWidth()
428 m_pImpl->nRowHeaderWidth = _nWidth; in setRowHeaderWidth()
436 return m_pImpl->eVScrollMode; in getVerticalScrollbarVisibility()
443 return m_pImpl->eHScrollMode; in getHorizontalScrollbarVisibility()
451 m_pImpl->m_aListeners.push_back( i_listener ); in addTableModelListener()
458 for ( ModellListeners::iterator lookup = m_pImpl->m_aListeners.begin(); in removeTableModelListener()
459 lookup != m_pImpl->m_aListeners.end(); in removeTableModelListener()
465 m_pImpl->m_aListeners.erase( lookup ); in removeTableModelListener()
476 m_pImpl->eVScrollMode = i_visibility; in setVerticalScrollbarVisibility()
483 m_pImpl->eHScrollMode = i_visibility; in setHorizontalScrollbarVisibility()
490 m_pImpl->m_aDataModel = i_gridDataModel; in setDataModel()
498 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in getDataModel()
512 m_pImpl->m_aColumnModel = i_gridColumnModel; in setColumnModel()
518 Reference< XGridColumnModel > const xColumnModel( m_pImpl->m_aColumnModel ); in getColumnModel()
536 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in getCellContent()
551 Reference< XGridColumnModel > const xColumnModel( m_pImpl->m_aColumnModel ); in getCellContent()
574 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in getCellToolTip()
592 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in getRowHeading()
632 return m_pImpl->m_aGridLineColor; in getLineColor()
639 lcl_setColor( i_color, m_pImpl->m_aGridLineColor ); in setLineColor()
646 return m_pImpl->m_aHeaderBackgroundColor; in getHeaderBackgroundColor()
653 lcl_setColor( i_color, m_pImpl->m_aHeaderBackgroundColor ); in setHeaderBackgroundColor()
660 return m_pImpl->m_aHeaderTextColor; in getHeaderTextColor()
667 return m_pImpl->m_aActiveSelectionBackColor; in getActiveSelectionBackColor()
674 return m_pImpl->m_aInactiveSelectionBackColor; in getInactiveSelectionBackColor()
681 return m_pImpl->m_aActiveSelectionTextColor; in getActiveSelectionTextColor()
688 return m_pImpl->m_aInactiveSelectionTextColor; in getInactiveSelectionTextColor()
695 lcl_setColor( i_color, m_pImpl->m_aHeaderTextColor ); in setHeaderTextColor()
702 lcl_setColor( i_color, m_pImpl->m_aActiveSelectionBackColor ); in setActiveSelectionBackColor()
709 lcl_setColor( i_color, m_pImpl->m_aInactiveSelectionBackColor ); in setInactiveSelectionBackColor()
716 lcl_setColor( i_color, m_pImpl->m_aActiveSelectionTextColor ); in setActiveSelectionTextColor()
723 lcl_setColor( i_color, m_pImpl->m_aInactiveSelectionTextColor ); in setInactiveSelectionTextColor()
730 return m_pImpl->m_aTextColor; in getTextColor()
737 lcl_setColor( i_color, m_pImpl->m_aTextColor ); in setTextColor()
744 return m_pImpl->m_aTextColor; in getTextLineColor()
751 lcl_setColor( i_color, m_pImpl->m_aTextLineColor ); in setTextLineColor()
758 return m_pImpl->m_aRowColors; in getRowBackgroundColors()
767 m_pImpl->m_aRowColors.reset(); in setRowBackgroundColors()
775 m_pImpl->m_aRowColors.reset( aColors ); in setRowBackgroundColors()
783 return m_pImpl->m_eVerticalAlign; in getVerticalAlign()
790 m_pImpl->m_eVerticalAlign = _xAlign; in setVerticalAlign()
797 for ( ColumnModels::const_iterator col = m_pImpl->aColumns.begin(); in getColumnPos()
798 col != m_pImpl->aColumns.end(); in getColumnPos()
803 return col - m_pImpl->aColumns.begin(); in getColumnPos()
824 return m_pImpl->bEnabled; in isEnabled()
831 m_pImpl->bEnabled = _bEnabled; in setEnabled()
877 ModellListeners aListeners( m_pImpl->m_aListeners ); in notifyColumnChange()
895 Reference< XGridColumnModel > const xColumnModel( m_pImpl->m_aColumnModel ); in notifyRowsInserted()
898 Reference< XGridDataModel > const xDataModel( m_pImpl->m_aDataModel ); in notifyRowsInserted()
914 ModellListeners aListeners( m_pImpl->m_aListeners ); in notifyRowsInserted()
927 ModellListeners aListeners( m_pImpl->m_aListeners ); in notifyRowsRemoved()
945 ModellListeners aListeners( m_pImpl->m_aListeners ); in notifyDataChanged()
958 ModellListeners aListeners( m_pImpl->m_aListeners ); in notifyAllDataChanged()