Lines Matching refs:nPageIndex
307 sal_Int32 nPageIndex = GetPageIndex (pDocument, rpViewShell, in CreateDocumentIterator() local
311 new DocumentIteratorImpl (nPageIndex, ePageKind, eEditMode, in CreateDocumentIterator()
325 sal_Int32 nPageIndex; in GetPageIndex() local
347 nPageIndex = pDrawViewShell->GetCurPageId() - 1; in GetPageIndex()
352 nPageIndex = (pPage->GetPageNum()-1)/2; in GetPageIndex()
354 nPageIndex = 0; in GetPageIndex()
361 nPageIndex = 0; in GetPageIndex()
363 nPageIndex = nPageCount-1; in GetPageIndex()
368 nPageIndex = nPageCount; in GetPageIndex()
370 nPageIndex = -1; in GetPageIndex()
374 return nPageIndex; in GetPageIndex()
574 sal_Int32 nPageIndex, in ViewIteratorImpl() argument
583 SetPage (nPageIndex); in ViewIteratorImpl()
590 sal_Int32 nPageIndex, in ViewIteratorImpl() argument
601 SetPage (nPageIndex); in ViewIteratorImpl()
692 void ViewIteratorImpl::SetPage (sal_Int32 nPageIndex) in SetPage() argument
694 mbPageChangeOccured = (maPosition.mnPageIndex!=nPageIndex); in SetPage()
697 maPosition.mnPageIndex = nPageIndex; in SetPage()
711 if (nPageIndex>=0 && nPageIndex < nPageCount) in SetPage()
715 (sal_uInt16)nPageIndex, in SetPage()
719 (sal_uInt16)nPageIndex, in SetPage()
776 sal_Int32 nPageIndex, in DocumentIteratorImpl() argument
781 : ViewIteratorImpl (nPageIndex, pDocument, rpViewShellWeak, bDirectionIsForward, in DocumentIteratorImpl()