Lines Matching refs:pTable
123 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in getRowAtPoint() local
124 ENSURE_OR_RETURN( pTable != NULL, "SVTXGridControl::getRowAtPoint: no control (anymore)!", -1 ); in getRowAtPoint()
126 TableCell const tableCell = pTable->getTableControlInterface().hitTest( Point( x, y ) ); in getRowAtPoint()
135 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in getColumnAtPoint() local
136 …ENSURE_OR_RETURN( pTable != NULL, "SVTXGridControl::getColumnAtPoint: no control (anymore)!", -1 ); in getColumnAtPoint()
138 TableCell const tableCell = pTable->getTableControlInterface().hitTest( Point( x, y ) ); in getColumnAtPoint()
147 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in getCurrentColumn() local
148 …ENSURE_OR_RETURN( pTable != NULL, "SVTXGridControl::getCurrentColumn: no control (anymore)!", -1 ); in getCurrentColumn()
150 sal_Int32 const nColumn = pTable->GetCurrentColumn(); in getCurrentColumn()
159 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in getCurrentRow() local
160 ENSURE_OR_RETURN( pTable != NULL, "SVTXGridControl::getCurrentRow: no control (anymore)!", -1 ); in getCurrentRow()
162 sal_Int32 const nRow = pTable->GetCurrentRow(); in getCurrentRow()
171 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in goToCell() local
172 … ENSURE_OR_RETURN_VOID( pTable != NULL, "SVTXGridControl::getCurrentRow: no control (anymore)!" ); in goToCell()
174 impl_checkColumnIndex_throw( *pTable, i_columnIndex ); in goToCell()
175 impl_checkRowIndex_throw( *pTable, i_rowIndex ); in goToCell()
177 pTable->GoTo( i_columnIndex, i_rowIndex ); in goToCell()
197 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in setProperty() local
198 ENSURE_OR_RETURN_VOID( pTable != NULL, "SVTXGridControl::setProperty: no control (anymore)!" ); in setProperty()
209 pTable->Invalidate(); in setProperty()
218 …columnHeaderHeight = pTable->PixelToLogic( Size( 0, pTable->GetTextHeight() + 3 ), MAP_APPFONT ).H… in setProperty()
227 pTable->Invalidate(); in setProperty()
239 pTable->Invalidate(); in setProperty()
248 … rowHeight = pTable->PixelToLogic( Size( 0, pTable->GetTextHeight() + 3 ), MAP_APPFONT ).Height(); in setProperty()
257 pTable->Invalidate(); in setProperty()
266 if ( pTable->IsBackground() ) in setProperty()
267 pTable->getDataWindow().SetBackground( pTable->GetBackground() ); in setProperty()
269 pTable->getDataWindow().SetBackground(); in setProperty()
286 if( pTable->getSelEngine()->GetSelectionMode() != eSelMode ) in setProperty()
287 pTable->getSelEngine()->SetSelectionMode( eSelMode ); in setProperty()
321 pTable->Invalidate(); in setProperty()
326 pTable->Invalidate(); in setProperty()
331 pTable->Invalidate(); in setProperty()
336 pTable->Invalidate(); in setProperty()
341 pTable->Invalidate(); in setProperty()
346 pTable->Invalidate(); in setProperty()
351 pTable->Invalidate(); in setProperty()
356 pTable->Invalidate(); in setProperty()
362 pTable->Invalidate(); in setProperty()
367 pTable->Invalidate(); in setProperty()
427 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in impl_checkTableModelInit() local
428 if ( pTable ) in impl_checkTableModelInit()
430 pTable->SetModel( PTableModel( m_pTableModel ) ); in impl_checkTableModelInit()
461 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in getProperty() local
462 … ENSURE_OR_RETURN( pTable != NULL, "SVTXGridControl::getProperty: no control (anymore)!", Any() ); in getProperty()
473 SelectionMode eSelMode = pTable->getSelEngine()->GetSelectionMode(); in getProperty()
630 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in dataChanged() local
631 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::dataChanged: no control (anymore)!" ); in dataChanged()
632 pTable->getTableControlInterface().invalidate( TableAreaColumnHeaders ); in dataChanged()
641 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in rowHeadingChanged() local
642 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::rowHeadingChanged: no control (anymore)!" ); in rowHeadingChanged()
645 pTable->getTableControlInterface().invalidate( TableAreaRowHeaders ); in rowHeadingChanged()
691 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in selectRow() local
692 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::selectRow: no control (anymore)!" ); in selectRow()
694 impl_checkRowIndex_throw( *pTable, i_rowIndex ); in selectRow()
696 pTable->SelectRow( i_rowIndex, true ); in selectRow()
704 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in selectAllRows() local
705 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::selectAllRows: no control (anymore)!" ); in selectAllRows()
707 pTable->SelectAllRows( true ); in selectAllRows()
715 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in deselectRow() local
716 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::deselectRow: no control (anymore)!" ); in deselectRow()
718 impl_checkRowIndex_throw( *pTable, i_rowIndex ); in deselectRow()
720 pTable->SelectRow( i_rowIndex, false ); in deselectRow()
728 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in deselectAllRows() local
729 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::deselectAllRows: no control (anymore)!" ); in deselectAllRows()
731 pTable->SelectAllRows( false ); in deselectAllRows()
739 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in getSelectedRows() local
740 …ENSURE_OR_RETURN( pTable, "SVTXGridControl::getSelectedRows: no control (anymore)!", Sequence< sal… in getSelectedRows()
742 sal_Int32 selectionCount = pTable->GetSelectedRowCount(); in getSelectedRows()
745 selectedRows[i] = pTable->GetSelectedRowIndex(i); in getSelectedRows()
754 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in hasSelectedRows() local
755 ENSURE_OR_RETURN( pTable, "SVTXGridControl::hasSelectedRows: no control (anymore)!", sal_True ); in hasSelectedRows()
757 return pTable->GetSelectedRowCount() > 0; in hasSelectedRows()
765 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in isRowSelected() local
766 ENSURE_OR_RETURN( pTable, "SVTXGridControl::isRowSelected: no control (anymore)!", sal_False ); in isRowSelected()
768 return pTable->IsRowSelected( index ); in isRowSelected()
787 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in ProcessWindowEvent() local
788 ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::ProcessWindowEvent: no control (anymore)!" ); in ProcessWindowEvent()
805 if ( pTable->GetRowCount()>0 ) in ProcessWindowEvent()
807 pTable->commitCellEventIfAccessibleAlive( in ProcessWindowEvent()
812 pTable->commitTableEventIfAccessibleAlive( in ProcessWindowEvent()
820 pTable->commitTableEventIfAccessibleAlive( in ProcessWindowEvent()
833 if ( pTable->GetRowCount()>0 ) in ProcessWindowEvent()
835 pTable->commitCellEventIfAccessibleAlive( in ProcessWindowEvent()
843 pTable->commitTableEventIfAccessibleAlive( in ProcessWindowEvent()
874 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in ImplCallItemListeners() local
875 … ENSURE_OR_RETURN_VOID( pTable, "SVTXGridControl::ImplCallItemListeners: no control (anymore)!" ); in ImplCallItemListeners()
882 sal_Int32 const nSelectedRowCount( pTable->GetSelectedRowCount() ); in ImplCallItemListeners()
885 aEvent.SelectedRowIndexes[i] = pTable->GetSelectedRowIndex( i ); in ImplCallItemListeners()
895 TableControl* pTable = dynamic_cast< TableControl* >( GetWindow() ); in impl_updateColumnsFromModel_nothrow() local
896 ENSURE_OR_RETURN_VOID( pTable != NULL, "no table!" ); in impl_updateColumnsFromModel_nothrow()