/aoo4110/main/svx/source/dialog/ |
H A D | paraprev.cxx | 92 Point aPnt; in DrawParagraph() local 93 aPnt.X() = DEF_MARGIN / 2; in DrawParagraph() 102 aPnt.Y() += nTop * 2; in DrawParagraph() 116 aPnt.X() += nTmp; in DrawParagraph() 121 aPnt.X() += nLeft; in DrawParagraph() 142 aPnt.Y() += nH; in DrawParagraph() 163 aPnt.X() += ( aSiz.Width() - nLW ); in DrawParagraph() 196 Rectangle aRect( aPnt, aSiz ); in DrawParagraph() 214 aPnt.Y() += nBottom * 2; in DrawParagraph() 217 aPnt.Y() += nH; in DrawParagraph() [all …]
|
H A D | checklbx.cxx | 211 const Point aPnt = rMEvt.GetPosPixel(); in MouseButtonDown() local 212 SvLBoxEntry* pEntry = GetEntry( aPnt ); in MouseButtonDown() 217 SvLBoxItem* pItem = GetItem( pEntry, aPnt.X() ); in MouseButtonDown() 232 const SvLBoxEntry* pNewEntry = GetEntry( aPnt ); in MouseButtonDown()
|
/aoo4110/main/sw/source/ui/ribbar/ |
H A D | drawbase.cxx | 274 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in MouseMove() local 284 m_pSh->MoveCreate(aPnt); in MouseMove() 289 m_pSh->MoveMark(aPnt); in MouseMove() 309 Point aPnt(m_pWin->PixelToLogic(rMEvt.GetPosPixel())); in MouseButtonUp() local 388 if (aPnt == m_aStartPos && m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp() 408 if (m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp() 441 if (aPnt == m_aStartPos) in MouseButtonUp() 443 if (!m_pSh->IsObjSelectable(aPnt)) in MouseButtonUp() 662 aPnt = m_pWin->PixelToLogic(m_pWin->ScreenToOutputPixel(aPnt)); in SetDrawPointer() 682 if (m_pSh->IsObjSelectable(aPnt)) in EnterSelectMode() [all …]
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdcrtv.cxx | 466 Point aPnt(rPnt); in ImpBegCreateObj() local 470 aPnt=GetSnapPos(aPnt,pCreatePV); in ImpBegCreateObj() 517 if(aPnt.X() < rWorkArea.Left()) in ImpBegCreateObj() 519 aPnt.X() = rWorkArea.Left(); in ImpBegCreateObj() 524 aPnt.X() = rWorkArea.Right(); in ImpBegCreateObj() 527 if(aPnt.Y() < rWorkArea.Top()) in ImpBegCreateObj() 529 aPnt.Y() = rWorkArea.Top(); in ImpBegCreateObj() 538 aDragStat.Reset(aPnt); in ImpBegCreateObj() 589 Point aPnt(rPnt); in MovCreateObj() local 592 aPnt=GetSnapPos(aPnt,pCreatePV); in MovCreateObj() [all …]
|
H A D | svddrgmt.cxx | 1151 DragStat().SetActionRect(Rectangle(aPnt,aPnt)); in MoveSdrDrag() 1340 SnapPos(aPnt); in MoveSdrDrag() 1655 Point aPt1(aPnt); in MoveSdrDrag() 1945 aPnt.Y()=aLR.Top(); in MoveSdrDrag() 2199 Point aPnt(rPnt_); in MoveSdrDrag() local 2377 Point aPnt(rPnt); in MoveSdrDrag() local 2382 aPnt=GetSnapPos(aPnt); in MoveSdrDrag() 2389 aPnt.Y()=aP0.Y(); in MoveSdrDrag() 2416 Point aPt2(aPnt); in MoveSdrDrag() 3186 Point aPnt(rPnt); in MoveSdrDrag() local [all …]
|
H A D | svdotxdr.cxx | 62 Point aPnt; in GetHdl() local 65 case 0: aPnt=aRect.TopLeft(); eKind=HDL_UPLFT; break; // Oben links in GetHdl() 66 case 1: aPnt=aRect.TopCenter(); eKind=HDL_UPPER; break; // Oben in GetHdl() 67 case 2: aPnt=aRect.TopRight(); eKind=HDL_UPRGT; break; // Oben rechts in GetHdl() 68 case 3: aPnt=aRect.LeftCenter(); eKind=HDL_LEFT ; break; // Links in GetHdl() 69 case 4: aPnt=aRect.RightCenter(); eKind=HDL_RIGHT; break; // Rechts in GetHdl() 70 case 5: aPnt=aRect.BottomLeft(); eKind=HDL_LWLFT; break; // Unten links in GetHdl() 71 case 6: aPnt=aRect.BottomCenter(); eKind=HDL_LOWER; break; // Unten in GetHdl() 72 case 7: aPnt=aRect.BottomRight(); eKind=HDL_LWRGT; break; // Unten rechts in GetHdl() 74 if (aGeo.nShearWink!=0) ShearPoint(aPnt,aRect.TopLeft(),aGeo.nTan); in GetHdl() [all …]
|
H A D | svdorect.cxx | 321 Point aPnt; in GetHdl() local 345 aPnt=aRect.TopLeft(); in GetHdl() 346 aPnt.X()+=a; in GetHdl() 350 case 2: aPnt=aRect.TopLeft(); eKind = HDL_UPLFT; break; // Oben links in GetHdl() 351 case 3: aPnt=aRect.TopCenter(); eKind = HDL_UPPER; break; // Oben in GetHdl() 353 case 5: aPnt=aRect.LeftCenter(); eKind = HDL_LEFT ; break; // Links in GetHdl() 354 case 6: aPnt=aRect.RightCenter(); eKind = HDL_RIGHT; break; // Rechts in GetHdl() 356 case 8: aPnt=aRect.BottomCenter(); eKind = HDL_LOWER; break; // Unten in GetHdl() 364 ShearPoint(aPnt,aRect.TopLeft(),aGeo.nTan); in GetHdl() 369 RotatePoint(aPnt,aRect.TopLeft(),aGeo.nSin,aGeo.nCos); in GetHdl() [all …]
|
H A D | svdsnpv.cxx | 550 Point aPnt(aDragStat.GetNow()); in EndSetPageOrg() local 551 pPV->SetPageOrigin(aPnt); in EndSetPageOrg() 582 Point aPnt(rPnt); in PickHelpLine() local 583 sal_uInt16 nIndex=pPV->GetHelpLines().HitTest(aPnt,sal_uInt16(nTol),rOut); in PickHelpLine() 660 Point aPnt(GetSnapPos(rPnt, 0L)); in MovDragHelpLine() local 662 if(aPnt != aDragStat.GetNow()) in MovDragHelpLine() 664 aDragStat.NextMove(aPnt); in MovDragHelpLine() 685 Point aPnt(aDragStat.GetNow()); in EndDragHelpLine() local 688 aChangedHelpLine.SetPos(aPnt); in EndDragHelpLine() 700 Point aPnt(aDragStat.GetNow()); in EndDragHelpLine() local [all …]
|
H A D | svdocirc.cxx | 408 Point aPnt; in GetHdl() local 420 aPnt = GetWinkPnt(aRect,nEndWink); in GetHdl() 425 aPnt = aRect.TopLeft(); in GetHdl() 429 aPnt = aRect.TopCenter(); in GetHdl() 433 aPnt = aRect.TopRight(); in GetHdl() 437 aPnt = aRect.LeftCenter(); in GetHdl() 441 aPnt = aRect.RightCenter(); in GetHdl() 445 aPnt = aRect.BottomLeft(); in GetHdl() 449 aPnt = aRect.BottomCenter(); in GetHdl() 453 aPnt = aRect.BottomRight(); in GetHdl() [all …]
|
H A D | svddrag.cxx | 85 Point aPnt(GetNow()); in NextPoint() local 86 if (bSaveReal) aPnt=aRealNow; in NextPoint() 87 aPnts.Insert(new Point(KorregPos(GetRealNow(),aPnt)),CONTAINER_APPEND); in NextPoint() 88 Prev()=aPnt; in NextPoint()
|
H A D | svddrgv.cxx | 251 Point aPnt(rPnt); in BegDragObj() local 258 aDragStat.Reset(aPnt); in BegDragObj() 545 Point aPnt(rPnt); in MovDragObj() local 546 ImpLimitToWorkArea(aPnt); in MovDragObj() 547 mpCurrentSdrDragMethod->MoveSdrDrag(aPnt); // this call already makes a Hide()/Show combination in MovDragObj() 735 Point aPnt(aDragStat.GetNow()); in EndInsObjPoint() local 740 bOk=!(ImpBegInsObjPoint(sal_True, nNextPnt, aPnt, eCmd == SDRCREATE_NEXTOBJECT, pDragWin)); in EndInsObjPoint()
|
/aoo4110/main/svx/source/stbctrls/ |
H A D | pszctrl.cxx | 380 Point aPnt = rRect.TopLeft(); in Paint() local 381 aPnt.Y() = aItemPos.Y(); in Paint() 382 aPnt.X() += PAINT_OFFSET; in Paint() 383 pDev->DrawImage( aPnt, pImp->aPosImage ); in Paint() 385 aPnt.X() += PAINT_OFFSET; in Paint() 391 pDev->DrawText( aPnt, aStr ); in Paint() 394 aPnt.X() = nSizePosX; in Paint() 398 pDev->DrawImage( aPnt, pImp->aSizeImage ); in Paint() 400 Point aDrwPnt = aPnt; in Paint() 401 aPnt.X() += PAINT_OFFSET; in Paint() [all …]
|
/aoo4110/main/svtools/source/dialogs/ |
H A D | filedlg2.cxx | 164 Point aPnt( a6Siz.Width(), a6Siz.Height() ); in InitControls() local 171 aPnt.Y() += aFTSiz.Height() + a3Siz.Height(); in InitControls() 175 aPnt.Y() += aEDSiz.Height() + a3Siz.Height(); in InitControls() 180 aPnt.Y() += nLbH1 + a6Siz.Height(); in InitControls() 183 aPnt.Y() += aFTSiz.Height() + a3Siz.Height(); in InitControls() 192 nH = aPnt.Y() + nNewH + a6Siz.Height(); in InitControls() 219 aPnt.X() = 2 * a6Siz.Width() + aEDSiz.Width(); in InitControls() 220 aPnt.Y() = a6Siz.Height(); in InitControls() 222 aPnt, aBtnSiz, aOkStr, "" ); in InitControls() 223 aPnt.Y() += aBtnSiz.Height() + a3Siz.Height(); in InitControls() [all …]
|
/aoo4110/main/sfx2/source/appl/ |
H A D | newhelp.cxx | 797 aPnt = aIndexCB.GetPosPixel(); in Resize() 807 if ( aPnt.X() < nMinX ) in Resize() 808 aPnt.X() = nMinX; in Resize() 809 aOpenBtn.SetPosPixel( aPnt ); in Resize() 1165 aNewPnt.X() = aPnt.X() + aNewSize.Width() + ( aPnt.X() / 2 ); in Resize() 1182 aOpenBtn.SetPosPixel( aPnt ); in Resize() 1443 if ( aPnt.X() < nMinX ) in Resize() 1444 aPnt.X() = nMinX; in Resize() 1823 aSize.Width() -= aPnt.X(); in Resize() 1824 aSize.Height() -= aPnt.Y(); in Resize() [all …]
|
/aoo4110/main/reportdesign/source/ui/report/ |
H A D | dlgedfunc.cxx | 549 Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in checkMovementAllowed() local 558 if (bControlKeyPressed && (aPnt.Y() < 0)) in checkMovementAllowed() 560 aPnt.Y() = 0; in checkMovementAllowed() 565 if ( aPnt.Y() < 0 ) in checkMovementAllowed() 567 aPnt.Y() = 0; in checkMovementAllowed() 908 const Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local 916 m_pParent->SetPointer( m_rView.GetPreferedPointer( aPnt, m_pParent) ); in MouseButtonUp() 931 Point aPnt( m_pParent->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove() local 937 ForceScroll(aPnt); in MouseMove() 948 if ( aPnt.Y() < 0 ) in MouseMove() [all …]
|
/aoo4110/main/sfx2/source/dialog/ |
H A D | basedlgs.cxx | 887 Point aPnt( 0, aOutSz.Height() ); in SetPage() local 888 pImpl->m_pLine->SetPosSizePixel( aPnt, aFLSz ); in SetPage() 891 pOKBtn->SetPosSizePixel( aPnt, aBtnSz ); in SetPage() 895 aPnt.X() = aOffSz.Width(); in SetPage() 897 aPnt.Y() -= nDelta; in SetPage() 898 pImpl->m_pInfoImage->SetPosPixel( aPnt ); in SetPage() 968 pOKBtn->SetPosSizePixel( aPnt, aBtnSiz ); in SetTabPage() 970 aPnt.Y() = LogicToPixel( Point( 0, 23 ), MAP_APPFONT ).Y(); in SetTabPage() 971 pCancelBtn->SetPosSizePixel( aPnt, aBtnSiz ); in SetTabPage() 973 aPnt.Y() = LogicToPixel( Point( 0, 43 ), MAP_APPFONT ).Y(); in SetTabPage() [all …]
|
/aoo4110/main/sd/source/ui/func/ |
H A D | fuconstr.cxx | 145 Point aPnt( mpWindow->PixelToLogic(aPix) ); in MouseMove() local 150 mpView->MovAction(aPnt); in MouseMove() 174 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local 209 if (!mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV)) in MouseButtonUp() 211 mpView->MarkObj(aPnt, nHitLog); in MouseButtonUp() 218 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 219 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp()
|
H A D | fusel.cxx | 625 Point aPnt(mpWindow->PixelToLogic(aPix)); in MouseMove() local 631 mpView->MovInsObjPoint(aPnt); in MouseMove() 635 mpView->MovAction(aPnt); in MouseMove() 676 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local 705 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 706 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp() 777 && Abs(aPnt.X() - aMDPos.X()) < nDrgLog in MouseButtonUp() 778 && Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp() 799 if (pickObject (aPnt) == pWaterCanCandidate) in MouseButtonUp() 918 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() [all …]
|
H A D | futext.cxx | 527 Point aPnt(mpWindow->PixelToLogic(aPix)); in MouseMove() local 530 mpView->MovAction(aPnt); in MouseMove() 721 Abs(aPnt.X() - aMDPos.X()) < nDrgLog && in MouseButtonUp() 722 Abs(aPnt.Y() - aMDPos.Y()) < nDrgLog) in MouseButtonUp() 796 mpView->PickHandle(aPnt); in MouseButtonUp() 810 Abs(aMDPos.X() - aPnt.X()) < nDrgLog1 && in MouseButtonUp() 811 Abs(aMDPos.Y() - aPnt.Y()) < nDrgLog1 && in MouseButtonUp() 840 aPnt.X() += nDrgLog + nDrgLog; in MouseButtonUp() 841 aPnt.Y() += nDrgLog + nDrgLog; in MouseButtonUp() 842 mpView->MovAction(aPnt); in MouseButtonUp() [all …]
|
H A D | fudraw.cxx | 598 Point aPnt; in ForcePointer() local 605 aPnt = mpWindow->PixelToLogic(pMEvt->GetPosPixel()); in ForcePointer() 611 aPnt = mpWindow->PixelToLogic(mpWindow->GetPointerPosPixel()); in ForcePointer() 616 if (SD_MOD()->GetWaterCan() && !mpView->PickHandle(aPnt)) in ForcePointer() 627 SdrHdl* pHdl = mpView->PickHandle(aPnt); in ForcePointer() 682 mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER); in ForcePointer() 706 bDefPointer = !SetPointer(pObj, aPnt); in ForcePointer() 711 …if (mpView->PickObj(aPnt, mpView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER | SDRSEARCH_DE… in ForcePointer() 712 bDefPointer = !SetPointer(pObj, aPnt); in ForcePointer() 721 aPnt, mpWindow, nModifier, bLeftDown)); in ForcePointer()
|
H A D | fudspord.cxx | 110 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove() local 112 if ( mpView->PickObj(aPnt, mpView->getHitTolLog(), pPickObj, pPV) ) in MouseMove() 147 Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local 149 if ( mpView->PickObj(aPnt, mpView->getHitTolLog(), mpRefObj, pPV) ) in MouseButtonUp()
|
/aoo4110/main/sc/source/ui/drawfunc/ |
H A D | fuconstr.cxx | 142 Point aPnt( pWindow->PixelToLogic(aPix) ); in MouseMove() local 147 pView->MovAction(aPnt); in MouseMove() 151 SdrHdl* pHdl=pView->PickHandle(aPnt); in MouseMove() 157 else if ( pView->IsMarkedHit(aPnt) ) in MouseMove() 235 Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in SimpleMouseButtonUp() local 251 pView->MarkObj(aPnt, -2, sal_False, rMEvt.IsMod1()); in SimpleMouseButtonUp()
|
H A D | fudraw.cxx | 794 Point aPnt = pWindow->PixelToLogic( aPosPixel ); in ForcePointer() local 795 SdrHdl* pHdl = pView->PickHandle(aPnt); in ForcePointer() 800 if ( pView->PickObj(aPnt, pView->getHitTolLog(), pObj, pPV, SDRSEARCH_ALSOONMASTER) ) in ForcePointer() 818 pView->GetPreferedPointer( aPnt, pWindow ) ); in ForcePointer() 820 else if ( pView->IsMarkedHit(aPnt) ) in ForcePointer() 830 else if ( !bAlt && pView->PickObj(aPnt, pView->getHitTolLog(), pObj, pPV, SDRSEARCH_PICKMACRO) ) in ForcePointer() 842 else if ( IsDetectiveHit( aPnt ) ) in ForcePointer()
|
/aoo4110/main/sw/source/ui/web/ |
H A D | wview.cxx | 303 Point aPnt = GetEditWin().GetPointerPosPixel(); in SelectShell() local 304 aPnt = GetEditWin().PixelToLogic(aPnt); in SelectShell() 305 GetEditWin().UpdatePointer(aPnt); in SelectShell()
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | viewport.cxx | 532 Point aPnt( aVisArea.TopLeft() ); in Scroll() local 534 aPnt.Y() += ( rRect.Top() + rRect.Bottom() in Scroll() 540 aPnt.X() += ( rRect.Left() + rRect.Right() in Scroll() 542 aPnt.X() = SetHScrollMax( aPnt.X() ); in Scroll() 544 aPnt.X() = Max( (GetLeftMargin( *this ) - lMin) + nLeftOfst, aPnt.X() ); in Scroll() 550 aPnt.Y() = SetVScrollMax( aPnt.Y() ); in Scroll() 552 SetVisArea( aPnt ); in Scroll()
|