Lines Matching refs:nNewPos
752 sal_uInt16 nNewPos = mnFirstPos+1; in ImplShowPage() local
753 SetFirstPageId( GetPageId( nNewPos ) ); in ImplShowPage()
755 if ( nNewPos != mnFirstPos ) in ImplShowPage()
767 sal_uInt16 nNewPos = mnFirstPos; in IMPL_LINK() local
770 nNewPos = 0; in IMPL_LINK()
774 nNewPos = mnFirstPos-1; in IMPL_LINK()
780 nNewPos = mnFirstPos+1; in IMPL_LINK()
786 nNewPos = nCount-1; in IMPL_LINK()
789 if ( nNewPos != mnFirstPos ) in IMPL_LINK()
790 SetFirstPageId( GetPageId( nNewPos ) ); in IMPL_LINK()
1690 void TabBar::MovePage( sal_uInt16 nPageId, sal_uInt16 nNewPos ) in MovePage() argument
1693 Pair aPair( nPos, nNewPos ); in MovePage()
1695 if ( nPos < nNewPos ) in MovePage()
1696 nNewPos--; in MovePage()
1698 if ( nPos == nNewPos ) in MovePage()
1706 mpItemList->Insert( pItem, nNewPos ); in MovePage()
1933 sal_uInt16 nNewPos = mnFirstPos+1; in SetCurPageId() local
1936 if ( nNewPos >= nPos ) in SetCurPageId()
1942 SetFirstPageId( GetPageId( nNewPos ) ); in SetCurPageId()
1946 if ( nNewPos != mnFirstPos ) in SetCurPageId()
1994 sal_uInt16 nNewPos = mnFirstPos+1; in MakeVisible() local
1997 if ( nNewPos >= nPos ) in MakeVisible()
2003 SetFirstPageId( GetPageId( nNewPos ) ); in MakeVisible()
2007 if ( nNewPos != mnFirstPos ) in MakeVisible()
2029 sal_uInt16 nNewPos; in SetFirstPageId() local
2031 nNewPos = nLastFirstPos; in SetFirstPageId()
2033 nNewPos = nPos; in SetFirstPageId()
2035 if ( nNewPos != mnFirstPos ) in SetFirstPageId()
2037 mnFirstPos = nNewPos; in SetFirstPageId()