Lines Matching +full:- +full:- +full:-
11 * http://www.apache.org/licenses/LICENSE-2.0
55 …// -----------------------------------------------------------------------------------------------…
60 TableDataWindow& rDataWindow = m_pImpl->getDataWindow(); in TableControl()
71 …// -----------------------------------------------------------------------------------------------…
76 m_pImpl->setModel( PTableModel() ); in ~TableControl()
77 m_pImpl->disposeAccessible(); in ~TableControl()
81 …// -----------------------------------------------------------------------------------------------…
84 if ( !m_pImpl->getInputHandler()->GetFocus( *m_pImpl ) ) in GetFocus()
88 …// -----------------------------------------------------------------------------------------------…
91 if ( !m_pImpl->getInputHandler()->LoseFocus( *m_pImpl ) ) in LoseFocus()
95 …// -----------------------------------------------------------------------------------------------…
98 if ( !m_pImpl->getInputHandler()->KeyInput( *m_pImpl, rKEvt ) ) in KeyInput()
102 if ( m_pImpl->isAccessibleAlive() ) in KeyInput()
104 m_pImpl->commitCellEvent( AccessibleEventId::STATE_CHANGED, in KeyInput()
111 m_pImpl->commitTableEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED, in KeyInput()
124 …// -----------------------------------------------------------------------------------------------…
133 m_pImpl->invalidateSelectedRows(); in StateChanged()
159 …// -----------------------------------------------------------------------------------------------…
163 m_pImpl->onResize(); in Resize()
166 …// -----------------------------------------------------------------------------------------------…
169 m_pImpl->setModel( _pModel ); in SetModel()
172 …// -----------------------------------------------------------------------------------------------…
175 return m_pImpl->getModel(); in GetModel()
178 …// -----------------------------------------------------------------------------------------------…
181 return m_pImpl->getTopRow(); in GetTopRow()
184 …// -----------------------------------------------------------------------------------------------…
191 …// -----------------------------------------------------------------------------------------------…
194 return m_pImpl->getCurrentRow(); in GetCurrentRow()
197 …// -----------------------------------------------------------------------------------------------…
200 return m_pImpl->getCurrentColumn(); in GetCurrentColumn()
203 …// -----------------------------------------------------------------------------------------------…
206 return m_pImpl->goTo( _nColumn, _nRow ); in GoTo()
209 …// -----------------------------------------------------------------------------------------------…
212 return m_pImpl->goTo( _nColPos, _nRowPos ); in GoToCell()
215 …//------------------------------------------------------------------------------------------------…
218 return sal_Int32( m_pImpl->getSelectedRowCount() ); in GetSelectedRowCount()
221 …//------------------------------------------------------------------------------------------------…
224 return sal_Int32( m_pImpl->getSelectedRowIndex( i_selectionIndex ) ); in GetSelectedRowIndex()
227 …//------------------------------------------------------------------------------------------------…
230 return m_pImpl->isRowSelected( i_rowIndex ); in IsRowSelected()
233 …// -----------------------------------------------------------------------------------------------…
236 … ENSURE_OR_RETURN_VOID( ( i_rowIndex >= 0 ) && ( i_rowIndex < m_pImpl->getModel()->getRowCount() ), in SelectRow()
241 if ( !m_pImpl->markRowAsSelected( i_rowIndex ) ) in SelectRow()
247 m_pImpl->markRowAsDeselected( i_rowIndex ); in SelectRow()
250 m_pImpl->invalidateRowRange( i_rowIndex, i_rowIndex ); in SelectRow()
254 …// -----------------------------------------------------------------------------------------------…
259 if ( !m_pImpl->markAllRowsAsSelected() ) in SelectAllRows()
265 if ( !m_pImpl->markAllRowsAsDeselected() ) in SelectAllRows()
276 …// -----------------------------------------------------------------------------------------------…
282 …// -----------------------------------------------------------------------------------------------…
285 return m_pImpl->getSelEngine(); in getSelEngine()
288 …// -----------------------------------------------------------------------------------------------…
291 return m_pImpl->getDataWindow(); in getDataWindow()
294 …// -----------------------------------------------------------------------------------------------…
298 ENSURE_OR_RETURN( pParent, "TableControl::CreateAccessible - parent not found", NULL ); in CreateAccessible()
300 return m_pImpl->getAccessible( *pParent ); in CreateAccessible()
303 …// -----------------------------------------------------------------------------------------------…
311 …// -----------------------------------------------------------------------------------------------…
333 if(GetModel()->hasColumnHeaders()) in GetAccessibleObjectName()
338 if(GetModel()->hasRowHeaders()) in GetAccessibleObjectName()
357 …//------------------------------------------------------------------------------------------------…
378 if ( GetModel()->hasColumnHeaders() ) in GetAccessibleObjectDescription()
383 if ( GetModel()->hasRowHeaders() ) in GetAccessibleObjectDescription()
398 …//------------------------------------------------------------------------------------------------…
405 …//------------------------------------------------------------------------------------------------…
409 GetModel()->getRowHeading( _nIndex ) >>= sRowName; in GetRowName()
413 …//------------------------------------------------------------------------------------------------…
420 …//------------------------------------------------------------------------------------------------…
423 return GetModel()->getColumnModel(_nIndex)->getName(); in GetColumnName()
426 …//------------------------------------------------------------------------------------------------…
430 GetModel()->getCellContent( _nColPos, _nRowPos, aCellContent ); in GetCellContent()
434 …//------------------------------------------------------------------------------------------------…
437 return m_pImpl->getCellContentAsString( _nRowPos, _nColPos ); in GetAccessibleCellText()
440 …//------------------------------------------------------------------------------------------------…
452 if ( m_pImpl->getSelEngine()->GetSelectionMode() == MULTIPLE_SELECTION ) in FillAccessibleStateSet()
461 if ( m_pImpl->getDataWindow().IsEnabled() ) in FillAccessibleStateSet()
511 …//------------------------------------------------------------------------------------------------…
514 if ( m_pImpl->isAccessibleAlive() ) in commitCellEventIfAccessibleAlive()
515 m_pImpl->commitCellEvent( i_eventID, i_newValue, i_oldValue ); in commitCellEventIfAccessibleAlive()
518 …//------------------------------------------------------------------------------------------------…
521 if ( m_pImpl->isAccessibleAlive() ) in commitTableEventIfAccessibleAlive()
522 m_pImpl->commitTableEvent( i_eventID, i_newValue, i_oldValue ); in commitTableEventIfAccessibleAlive()
525 …//------------------------------------------------------------------------------------------------…
531 …//------------------------------------------------------------------------------------------------…
537 …//------------------------------------------------------------------------------------------------…
543 …//------------------------------------------------------------------------------------------------…
549 …//------------------------------------------------------------------------------------------------…
555 …//------------------------------------------------------------------------------------------------…
558 return GetModel()->hasRowHeaders(); in HasRowHeader()
561 …//------------------------------------------------------------------------------------------------…
564 return GetModel()->hasColumnHeaders(); in HasColHeader()
567 …//------------------------------------------------------------------------------------------------…
572 if ( GetModel()->hasRowHeaders() ) in GetAccessibleControlCount()
574 if ( GetModel()->hasColumnHeaders() ) in GetAccessibleControlCount()
579 …//------------------------------------------------------------------------------------------------…
582 sal_Int32 nRow = m_pImpl->getRowAtPoint( _rPoint ); in ConvertPointToControlIndex()
583 sal_Int32 nCol = m_pImpl->getColAtPoint( _rPoint ); in ConvertPointToControlIndex()
588 …//------------------------------------------------------------------------------------------------…
591 return GetModel()->getRowCount(); in GetRowCount()
594 …//------------------------------------------------------------------------------------------------…
597 return GetModel()->getColumnCount(); in GetColumnCount()
600 …//------------------------------------------------------------------------------------------------…
603 return GetModel()->hasRowHeaders(); in HasRowHeader()
606 …//------------------------------------------------------------------------------------------------…
609 _rnRow = m_pImpl->getRowAtPoint( _rPoint ); in ConvertPointToCellAddress()
610 _rnColPos = m_pImpl->getColAtPoint( _rPoint ); in ConvertPointToCellAddress()
614 …//------------------------------------------------------------------------------------------------…
633 …//------------------------------------------------------------------------------------------------…
641 …//------------------------------------------------------------------------------------------------…
649 …//------------------------------------------------------------------------------------------------…
653 return m_pImpl->calcHeaderRect( _bIsColumnBar ? false : true ); in calcHeaderRect()
656 …//------------------------------------------------------------------------------------------------…
659 return m_pImpl->calcHeaderCellRect( _bIsColumnBar, nPos ); in calcHeaderCellRect()
662 …//------------------------------------------------------------------------------------------------…
666 return m_pImpl->calcTableRect(); in calcTableRect()
669 …//------------------------------------------------------------------------------------------------…
672 return m_pImpl->calcCellRect( _nRowPos, _nColPos ); in calcCellRect()
674 …//------------------------------------------------------------------------------------------------…
681 …//------------------------------------------------------------------------------------------------…
684 … ImplCallEventListenersAndHandler( VCLEVENT_TABLEROW_SELECT, m_pImpl->getSelectHandler(), this ); in Select()
686 if ( m_pImpl->isAccessibleAlive() ) in Select()
688 m_pImpl->commitAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() ); in Select()
690 m_pImpl->commitTableEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED, Any(), Any() ); in Select()
696 …//------------------------------------------------------------------------------------------------…
699 m_pImpl->setSelectHandler( i_selectHandler ); in SetSelectHdl()
702 …//------------------------------------------------------------------------------------------------…
705 return m_pImpl->getSelectHandler(); in GetSelectHdl()