Lines Matching refs:nPageNum
1177 sal_uInt16 nPageNum = (pPage->GetPageNum() - 1) >> 1; in GetNextPage() local
1184 if( nPageNum >= mpDoc->GetSdPageCount(PK_STANDARD)-1 ) in GetNextPage()
1189 nPageNum++; in GetNextPage()
1193 if( nPageNum == 0 ) in GetNextPage()
1196 nPageNum--; in GetNextPage()
1198 return mpDoc->GetSdPage(nPageNum, PK_STANDARD); in GetNextPage()
1204 if( nPageNum >= mpDoc->GetMasterSdPageCount(PK_STANDARD)-1 ) in GetNextPage()
1208 nPageNum++; in GetNextPage()
1212 if( nPageNum == (mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) ? 0 : 1 ) in GetNextPage()
1218 nPageNum--; in GetNextPage()
1220 return mpDoc->GetMasterSdPage(nPageNum,PK_STANDARD); in GetNextPage()