Lines Matching refs:nSelectedPage

929 sal_Bool DrawViewShell::SwitchPage(sal_uInt16 nSelectedPage)  in SwitchPage()  argument
949 nSelectedPage)); in SwitchPage()
963 if (nSelectedPage == SDRPAGE_NOTFOUND) in SwitchPage()
965 nSelectedPage = 0; in SwitchPage()
974 if (nSelectedPage >= nPageCount) in SwitchPage()
975 nSelectedPage = nPageCount-1; in SwitchPage()
990 if( GetDoc()->GetMasterSdPageCount(mePageKind) > nSelectedPage ) in SwitchPage()
991 pNewPage = GetDoc()->GetMasterSdPage(nSelectedPage, mePageKind); in SwitchPage()
1001 && sPageText == maTabControl.GetPageText(nSelectedPage+1)) in SwitchPage()
1011 mpFrameView->SetSelectedPage(nSelectedPage); in SwitchPage()
1013 if (GetDoc()->GetSdPageCount(mePageKind) > nSelectedPage) in SwitchPage()
1014 pNewPage = GetDoc()->GetSdPage(nSelectedPage, mePageKind); in SwitchPage()
1023 && pNewPage->GetName() == maTabControl.GetPageText(nSelectedPage+1)) in SwitchPage()
1039 mpActualPage = GetDoc()->GetSdPage(nSelectedPage, mePageKind); in SwitchPage()
1043 SdPage* pMaster = GetDoc()->GetMasterSdPage(nSelectedPage, mePageKind); in SwitchPage()
1153 maTabControl.SetCurPageId(nSelectedPage+1); in SwitchPage()
1156 if (maTabControl.GetPageText(nSelectedPage+1) != aPageName) in SwitchPage()
1158 maTabControl.SetPageText(nSelectedPage+1, aPageName); in SwitchPage()
1190 SdPage* pMaster = GetDoc()->GetMasterSdPage(nSelectedPage, mePageKind); in SwitchPage()
1225 maTabControl.SetCurPageId(nSelectedPage+1); in SwitchPage()
1227 if (maTabControl.GetPageText(nSelectedPage+1) != aLayoutName) in SwitchPage()
1229 maTabControl.SetPageText(nSelectedPage+1, aLayoutName); in SwitchPage()