Lines Matching refs:pPV
308 Point SdrSnapView::GetSnapPos(const Point& rPnt, const SdrPageView* pPV) const in GetSnapPos()
311 SnapPos(aPt,pPV); in GetSnapPos()
316 sal_uInt16 SdrSnapView::SnapPos(Point& rPnt, const SdrPageView* pPV) const in SnapPos()
322 if (pPV==NULL) { in SnapPos()
324 pPV=GetSdrPageView(); in SnapPos()
325 if (pPV==NULL) return SDRSNAP_NOTSNAPPED; in SnapPos()
335 const SdrHelpLineList& rHLL=pPV->GetHelpLines(); in SnapPos()
362 SdrPage* pPage=pPV->GetPage(); in SnapPos()
384 SdrObjListIter aIter(*pPV->GetPage(),/*IM_FLAT*/IM_DEEPNOGROUPS,sal_True); in SnapPos()
435 if(fx - (double)pPV->GetPageOrigin().X() >= 0.0) in SnapPos()
440 x = (long)((fx - (double)pPV->GetPageOrigin().X()) / fSnapWidth); in SnapPos()
441 x = (long)((double)x * fSnapWidth + (double)pPV->GetPageOrigin().X()); in SnapPos()
450 if(fy - (double)pPV->GetPageOrigin().Y() >= 0.0) in SnapPos()
455 y = (long)((fy - (double)pPV->GetPageOrigin().Y()) / fSnapWidth); in SnapPos()
456 y = (long)((double)y * fSnapWidth + (double)pPV->GetPageOrigin().Y()); in SnapPos()
468 void SdrSnapView::CheckSnap(const Point& rPt, const SdrPageView* pPV, long& nBestXSnap, long& nBest… in CheckSnap() argument
471 sal_uInt16 nRet=SnapPos(aPt,pPV); in CheckSnap()
495 sal_uInt16 SdrSnapView::SnapRect(const Rectangle& rRect, const SdrPageView* pPV, long& rDX, long& r… in SnapRect() argument
501 CheckSnap(rRect.TopLeft() ,pPV,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in SnapRect()
503 CheckSnap(rRect.TopRight() ,pPV,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in SnapRect()
504 CheckSnap(rRect.BottomLeft() ,pPV,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in SnapRect()
505 CheckSnap(rRect.BottomRight(),pPV,nBestXSnap,nBestYSnap,bXSnapped,bYSnapped); in SnapRect()
546 SdrPageView* pPV = GetSdrPageView(); in EndSetPageOrg() local
548 if(pPV) in EndSetPageOrg()
551 pPV->SetPageOrigin(aPnt); in EndSetPageOrg()
578 SdrPageView* pPV = GetSdrPageView(); in PickHelpLine() local
580 if(pPV) in PickHelpLine()
583 sal_uInt16 nIndex=pPV->GetHelpLines().HitTest(aPnt,sal_uInt16(nTol),rOut); in PickHelpLine()
585 rpPV=pPV; in PickHelpLine()
594 sal_Bool SdrSnapView::BegDragHelpLine(sal_uInt16 nHelpLineNum, SdrPageView* pPV) in BegDragHelpLine() argument
602 if(pPV && nHelpLineNum < pPV->GetHelpLines().GetCount()) in BegDragHelpLine()
604 const SdrHelpLineList& rHelpLines = pPV->GetHelpLines(); in BegDragHelpLine()
610 …mpHelpLineOverlay = new ImplHelpLineOverlay(*this, aStartPos, pPV, nHelpLineNum, rHelpLine.GetKind… in BegDragHelpLine()
612 aDragStat.Reset(GetSnapPos(aHelpLinePos, pPV)); in BegDragHelpLine()