Lines Matching refs:bForward
721 bool lcl_RotateValue( size_t& rnValue, size_t nMin, size_t nMax, bool bForward ) in lcl_RotateValue() argument
726 if ( bForward ) in lcl_RotateValue()
754 bool ScOutlineWindow::ImplMoveFocusByEntry( bool bForward, bool bFindVisible ) in ImplMoveFocusByEntry() argument
773 mnFocusEntry = bForward ? 0 : (nEntryCount - 1); in ImplMoveFocusByEntry()
778 if ( !nEntryCount || !bForward ) in ImplMoveFocusByEntry()
781 else if ( lcl_RotateValue( mnFocusEntry, 0, nEntryCount - 1, bForward ) ) in ImplMoveFocusByEntry()
787 if ( bForward ) in ImplMoveFocusByEntry()
796 bool ScOutlineWindow::ImplMoveFocusByLevel( bool bForward ) in ImplMoveFocusByLevel() argument
808 bWrapped = lcl_RotateValue( mnFocusLevel, 0, nLevelCount - 1, bForward ); in ImplMoveFocusByLevel()
822 if ( bForward && (mnFocusLevel + 2 < nLevelCount) ) in ImplMoveFocusByLevel()
831 else if ( !bForward && (mnFocusLevel > 0) ) in ImplMoveFocusByLevel()
852 bool ScOutlineWindow::ImplMoveFocusByTabOrder( bool bForward, bool bFindVisible ) in ImplMoveFocusByTabOrder() argument
862 if ( (!bForward) && (mnFocusEntry == SC_OL_HEADERENTRY) ) in ImplMoveFocusByTabOrder()
863 bRet |= ImplMoveFocusByLevel( bForward ); in ImplMoveFocusByTabOrder()
865 bool bWrapInLevel = ImplMoveFocusByEntry( bForward, false ); in ImplMoveFocusByTabOrder()
869 if ( bForward && bWrapInLevel ) in ImplMoveFocusByTabOrder()
870 bRet |= ImplMoveFocusByLevel( bForward ); in ImplMoveFocusByTabOrder()
877 void ScOutlineWindow::ImplMoveFocusToVisible( bool bForward ) in ImplMoveFocusToVisible() argument
881 ImplMoveFocusByEntry( bForward, true ); in ImplMoveFocusToVisible()
884 ImplMoveFocusByTabOrder( bForward, true ); in ImplMoveFocusToVisible()
887 void ScOutlineWindow::MoveFocusByEntry( bool bForward ) in MoveFocusByEntry() argument
890 ImplMoveFocusByEntry( bForward, true ); in MoveFocusByEntry()
894 void ScOutlineWindow::MoveFocusByLevel( bool bForward ) in MoveFocusByLevel() argument
897 ImplMoveFocusByLevel( bForward ); in MoveFocusByLevel()
901 void ScOutlineWindow::MoveFocusByTabOrder( bool bForward ) in MoveFocusByTabOrder() argument
904 ImplMoveFocusByTabOrder( bForward, true ); in MoveFocusByTabOrder()
1011 bool bForward = (nCode == KEY_DOWN) || (nCode == KEY_RIGHT); in KeyInput() local
1014 MoveFocusByEntry( bForward != mbMirrorEntries ); in KeyInput()
1017 MoveFocusByLevel( bForward != mbMirrorLevels ); in KeyInput()