Lines Matching refs:maPosition

385 :	maPosition()  in IteratorImplBase()
396 maPosition.mePageKind = pDrawViewShell->GetPageKind(); in IteratorImplBase()
397 maPosition.meEditMode = pDrawViewShell->GetEditMode(); in IteratorImplBase()
401 maPosition.mePageKind = PK_STANDARD; in IteratorImplBase()
402 maPosition.meEditMode = EM_PAGE; in IteratorImplBase()
409 : maPosition() in IteratorImplBase()
414 maPosition.mePageKind = ePageKind; in IteratorImplBase()
415 maPosition.meEditMode = eEditMode; in IteratorImplBase()
423 return maPosition == rIterator.maPosition; in operator ==()
431 return maPosition == rIterator.maPosition; in IsEqual()
436 return maPosition; in GetPosition()
446 pObject->maPosition = maPosition; in Clone()
497 ++maPosition.mnText; in GotoNextText()
498 if( maPosition.mnText >= pTextObj->getTextCount() ) in GotoNextText()
500 maPosition.mnText = 0; in GotoNextText()
513 --maPosition.mnText; in GotoNextText()
514 if( maPosition.mnText < 0 ) in GotoNextText()
516 maPosition.mnText = -1; in GotoNextText()
523 maPosition.mnText = -1; in GotoNextText()
526 if( (maPosition.mnText == -1) && (mnObjectIndex >= 0) ) in GotoNextText()
530 maPosition.mnText = pTextObj->getTextCount() - 1; in GotoNextText()
533 if( maPosition.mnText == -1 ) in GotoNextText()
534 maPosition.mnText = 0; in GotoNextText()
541 maPosition.mxObject = mrObjectList.at(mnObjectIndex); in GetPosition()
543 return maPosition; in GetPosition()
620 maPosition.mnPageIndex, mpDocument, mpViewShellWeak, mbDirectionIsForward); in Clone()
629 pIterator->maPosition.mxObject.reset(NULL); in Clone()
630 …while (pIterator->mpObjectIterator->IsMore() && pIterator->maPosition.mxObject!=maPosition.mxObjec… in Clone()
631 pIterator->maPosition.mxObject.reset(pIterator->mpObjectIterator->Next()); in Clone()
643 SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() ); in GotoNextText()
648 ++maPosition.mnText; in GotoNextText()
649 if( maPosition.mnText < pTextObj->getTextCount() ) in GotoNextText()
654 --maPosition.mnText; in GotoNextText()
655 if( maPosition.mnText >= 0 ) in GotoNextText()
661 maPosition.mxObject.reset(mpObjectIterator->Next()); in GotoNextText()
663 maPosition.mxObject.reset(NULL); in GotoNextText()
665 if (!maPosition.mxObject.is() ) in GotoNextText()
668 SetPage (maPosition.mnPageIndex+1); in GotoNextText()
670 SetPage (maPosition.mnPageIndex-1); in GotoNextText()
675 maPosition.mxObject.reset(mpObjectIterator->Next()); in GotoNextText()
677 maPosition.mxObject.reset(NULL); in GotoNextText()
680 maPosition.mnText = 0; in GotoNextText()
681 if( !mbDirectionIsForward && maPosition.mxObject.is() ) in GotoNextText()
683 pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() ); in GotoNextText()
685 maPosition.mnText = pTextObj->getTextCount() - 1; in GotoNextText()
694 mbPageChangeOccured = (maPosition.mnPageIndex!=nPageIndex); in SetPage()
697 maPosition.mnPageIndex = nPageIndex; in SetPage()
700 if (maPosition.meEditMode == EM_PAGE) in SetPage()
701 nPageCount = mpDocument->GetSdPageCount(maPosition.mePageKind); in SetPage()
704 maPosition.mePageKind); in SetPage()
713 if (maPosition.meEditMode == EM_PAGE) in SetPage()
716 maPosition.mePageKind); in SetPage()
720 maPosition.mePageKind); in SetPage()
734 maPosition.mxObject.reset( mpObjectIterator->Next() ); in SetPage()
736 maPosition.mxObject.reset( NULL ); in SetPage()
738 maPosition.mnText = 0; in SetPage()
739 if( !mbDirectionIsForward && maPosition.mxObject.is() ) in SetPage()
741 SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() ); in SetPage()
743 maPosition.mnText = pTextObj->getTextCount() - 1; in SetPage()
764 SdrObjectWeakRef xObject = maPosition.mxObject; in Reverse()
765 maPosition.mxObject.reset(NULL); in Reverse()
766 while (mpObjectIterator->IsMore() && maPosition.mxObject != xObject) in Reverse()
767 maPosition.mxObject.reset(mpObjectIterator->Next()); in Reverse()
804 maPosition.mnPageIndex, maPosition.mePageKind, maPosition.meEditMode, in Clone()
822 if (maPosition.mnPageIndex >= mnPageCount) in GotoNextText()
825 if (maPosition.meEditMode == EM_PAGE) in GotoNextText()
827 maPosition.meEditMode = EM_MASTERPAGE; in GotoNextText()
834 if (maPosition.mePageKind == PK_HANDOUT) in GotoNextText()
839 maPosition.meEditMode = EM_PAGE; in GotoNextText()
840 if (maPosition.mePageKind == PK_STANDARD) in GotoNextText()
841 maPosition.mePageKind = PK_NOTES; in GotoNextText()
842 else if (maPosition.mePageKind == PK_NOTES) in GotoNextText()
843 maPosition.mePageKind = PK_HANDOUT; in GotoNextText()
851 if (maPosition.mnPageIndex < 0) in GotoNextText()
854 if (maPosition.meEditMode == EM_MASTERPAGE) in GotoNextText()
856 maPosition.meEditMode = EM_PAGE; in GotoNextText()
863 if (maPosition.mePageKind == PK_STANDARD) in GotoNextText()
867 maPosition.meEditMode = EM_MASTERPAGE; in GotoNextText()
868 if (maPosition.mePageKind == PK_HANDOUT) in GotoNextText()
869 maPosition.mePageKind = PK_NOTES; in GotoNextText()
870 else if (maPosition.mePageKind == PK_NOTES) in GotoNextText()
871 maPosition.mePageKind = PK_STANDARD; in GotoNextText()
882 if (maPosition.meEditMode == EM_PAGE) in GotoNextText()
883 nPageCount = mpDocument->GetSdPageCount (maPosition.mePageKind); in GotoNextText()
885 nPageCount = mpDocument->GetMasterSdPageCount(maPosition.mePageKind); in GotoNextText()