Lines Matching refs:nSelectIndex
299 void ScPivotFieldWindow::GrabFocusAndSelect( size_t nSelectIndex ) in GrabFocusAndSelect() argument
302 MoveSelection( nSelectIndex ); in GrabFocusAndSelect()
655 size_t ScPivotFieldWindow::RecalcVisibleIndex( size_t nSelectIndex ) const in RecalcVisibleIndex()
659 if( nSelectIndex < nNewFirstVisIndex ) in RecalcVisibleIndex()
660 nNewFirstVisIndex = static_cast< size_t >( (nSelectIndex / mnLineSize) * mnLineSize ); in RecalcVisibleIndex()
661 else if( nSelectIndex >= nNewFirstVisIndex + mnPageSize ) in RecalcVisibleIndex()
662 …nNewFirstVisIndex = static_cast< size_t >( (nSelectIndex / mnLineSize + 1) * mnLineSize ) - mnPage… in RecalcVisibleIndex()
668 void ScPivotFieldWindow::SetSelectionUnchecked( size_t nSelectIndex, size_t nFirstVisIndex ) in SetSelectionUnchecked() argument
670 if( !maFields.empty() && (nSelectIndex < maFields.size()) ) in SetSelectionUnchecked()
673 bool bSelectionChanged = mnSelectIndex != nSelectIndex; in SetSelectionUnchecked()
677 mnSelectIndex = nSelectIndex; in SetSelectionUnchecked()
694 void ScPivotFieldWindow::MoveSelection( size_t nSelectIndex ) in MoveSelection() argument
696 if( nSelectIndex < maFields.size() ) in MoveSelection()
697 SetSelectionUnchecked( nSelectIndex, RecalcVisibleIndex( nSelectIndex ) ); in MoveSelection()