/trunk/main/basctl/source/dlged/ |
H A D | dlgedfunc.cxx | 261 Rectangle aMarkRect( pView->GetMarkedObjRect() ); in KeyInput() local 262 aMarkRect.Move( nX, nY ); in KeyInput() 264 if ( !rWorkArea.IsInside( aMarkRect ) ) in KeyInput() 266 if ( aMarkRect.Left() < rWorkArea.Left() ) in KeyInput() 267 nX += rWorkArea.Left() - aMarkRect.Left(); in KeyInput() 269 if ( aMarkRect.Right() > rWorkArea.Right() ) in KeyInput() 270 nX -= aMarkRect.Right() - rWorkArea.Right(); in KeyInput() 272 if ( aMarkRect.Top() < rWorkArea.Top() ) in KeyInput() 273 nY += rWorkArea.Top() - aMarkRect.Top(); in KeyInput() 275 if ( aMarkRect.Bottom() > rWorkArea.Bottom() ) in KeyInput() [all …]
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ViewsWindow.cxx | 1655 Rectangle aMarkRect( rView.GetMarkedObjRect() ); in handleKey() local 1656 aMarkRect.Move( nX, nY ); in handleKey() 1658 if ( !rWorkArea.IsInside( aMarkRect ) ) in handleKey() 1660 if ( aMarkRect.Left() < rWorkArea.Left() ) in handleKey() 1661 nX += rWorkArea.Left() - aMarkRect.Left(); in handleKey() 1663 if ( aMarkRect.Right() > rWorkArea.Right() ) in handleKey() 1664 nX -= aMarkRect.Right() - rWorkArea.Right(); in handleKey() 1666 if ( aMarkRect.Top() < rWorkArea.Top() ) in handleKey() 1667 nY += rWorkArea.Top() - aMarkRect.Top(); in handleKey() 1669 if ( aMarkRect.Bottom() > rWorkArea.Bottom() ) in handleKey() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | graphctl.cxx | 567 Rectangle aMarkRect(pView->GetMarkedObjRect()); in KeyInput() local 568 aMarkRect.Move(nX, nY); in KeyInput() 570 if(!aMarkRect.IsInside(rWorkArea)) in KeyInput() 572 if(aMarkRect.Left() < rWorkArea.Left()) in KeyInput() 574 nX += rWorkArea.Left() - aMarkRect.Left(); in KeyInput() 577 if(aMarkRect.Right() > rWorkArea.Right()) in KeyInput() 579 nX -= aMarkRect.Right() - rWorkArea.Right(); in KeyInput() 582 if(aMarkRect.Top() < rWorkArea.Top()) in KeyInput() 584 nY += rWorkArea.Top() - aMarkRect.Top(); in KeyInput() 587 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in KeyInput() [all …]
|
/trunk/main/sc/source/ui/drawfunc/ |
H A D | fudraw.cxx | 540 Rectangle aMarkRect(pView->GetMarkedObjRect()); in KeyInput() local 541 aMarkRect.Move(nX, nY); in KeyInput() 543 if(!aMarkRect.IsInside(rWorkArea)) in KeyInput() 545 if(aMarkRect.Left() < rWorkArea.Left()) in KeyInput() 547 nX += rWorkArea.Left() - aMarkRect.Left(); in KeyInput() 550 if(aMarkRect.Right() > rWorkArea.Right()) in KeyInput() 552 nX -= aMarkRect.Right() - rWorkArea.Right(); in KeyInput() 555 if(aMarkRect.Top() < rWorkArea.Top()) in KeyInput() 557 nY += rWorkArea.Top() - aMarkRect.Top(); in KeyInput() 560 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in KeyInput() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fupoor.cxx | 767 Rectangle aMarkRect(mpView->GetMarkedObjRect()); in IMPL_LINK_INLINE_END() local 768 aMarkRect.Move(nX, nY); in IMPL_LINK_INLINE_END() 770 if(!aMarkRect.IsInside(rWorkArea)) in IMPL_LINK_INLINE_END() 772 if(aMarkRect.Left() < rWorkArea.Left()) in IMPL_LINK_INLINE_END() 774 nX += rWorkArea.Left() - aMarkRect.Left(); in IMPL_LINK_INLINE_END() 777 if(aMarkRect.Right() > rWorkArea.Right()) in IMPL_LINK_INLINE_END() 779 nX -= aMarkRect.Right() - rWorkArea.Right(); in IMPL_LINK_INLINE_END() 782 if(aMarkRect.Top() < rWorkArea.Top()) in IMPL_LINK_INLINE_END() 784 nY += rWorkArea.Top() - aMarkRect.Top(); in IMPL_LINK_INLINE_END() 787 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in IMPL_LINK_INLINE_END() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svddrgmt.cxx | 3002 aMarkRect=GetMarkedRect(); in BeginSdrDrag() 3003 aMarkCenter=aMarkRect.Center(); in BeginSdrDrag() 3004 nMarkSize=bVertical ? (aMarkRect.GetHeight()-1) : (aMarkRect.GetWidth()-1); in BeginSdrDrag() 3207 case HDL_UPLFT: aNeuCenter.X()=aMarkRect.Right(); bLft=true; break; in MoveSdrDrag() 3208 case HDL_UPPER: aNeuCenter.Y()=aMarkRect.Bottom(); bUpr=true; break; in MoveSdrDrag() 3209 case HDL_UPRGT: aNeuCenter.X()=aMarkRect.Left(); bRgt=true; break; in MoveSdrDrag() 3210 case HDL_LEFT : aNeuCenter.X()=aMarkRect.Right(); bLft=true; break; in MoveSdrDrag() 3211 case HDL_RIGHT: aNeuCenter.X()=aMarkRect.Left(); bRgt=true; break; in MoveSdrDrag() 3585 aMarkRect=GetMarkedRect(); in BeginSdrDrag() 3586 aDistortedRect=XPolygon(aMarkRect); in BeginSdrDrag() [all …]
|
H A D | svddrgm1.hxx | 176 Rectangle aMarkRect; member in SdrDragCrook 228 Rectangle aMarkRect; member in SdrDragDistort
|
H A D | svdedtv1.cxx | 600 Rectangle aMarkRect(GetMarkedObjRect()); in CrookMarkedObj() local 627 ImpCrookObj(pO,rRef,rRad,eMode,bVertical,bNoContortion,bRotate,aMarkRect); in CrookMarkedObj() 632 ImpCrookObj(pO1,rRef,rRad,eMode,bVertical,bNoContortion,bRotate,aMarkRect); in CrookMarkedObj()
|
/trunk/main/sd/source/ui/view/ |
H A D | sdview3.cxx | 126 …Rectangle aMarkRect(Point(rPos.X() - (rSize.Width() / 2), rPos.Y() - (rSize.Height() / 2)), rSize); in ImpCheckInsertPos() local 128 if(!aMarkRect.IsInside(rWorkArea)) in ImpCheckInsertPos() 130 if(aMarkRect.Left() < rWorkArea.Left()) in ImpCheckInsertPos() 132 rPos.X() += rWorkArea.Left() - aMarkRect.Left(); in ImpCheckInsertPos() 135 if(aMarkRect.Right() > rWorkArea.Right()) in ImpCheckInsertPos() 137 rPos.X() -= aMarkRect.Right() - rWorkArea.Right(); in ImpCheckInsertPos() 140 if(aMarkRect.Top() < rWorkArea.Top()) in ImpCheckInsertPos() 142 rPos.Y() += rWorkArea.Top() - aMarkRect.Top(); in ImpCheckInsertPos() 145 if(aMarkRect.Bottom() > rWorkArea.Bottom()) in ImpCheckInsertPos() 147 rPos.Y() -= aMarkRect.Bottom() - rWorkArea.Bottom(); in ImpCheckInsertPos()
|
H A D | sdview2.cxx | 137 const Rectangle aMarkRect( GetAllMarkedBoundRect() ); in CreateClipboardDataObject() local 177 aObjDesc.maSize = aMarkRect.GetSize(); in CreateClipboardDataObject() 179 pTransferable->SetStartPos( aMarkRect.TopLeft() ); in CreateClipboardDataObject() 244 const Rectangle aMarkRect( GetAllMarkedRect() ); in CreateSelectionDataObject() local 255 aObjDesc.maSize = aMarkRect.GetSize(); in CreateSelectionDataObject() 257 pTransferable->SetStartPos( aMarkRect.TopLeft() ); in CreateSelectionDataObject()
|
H A D | drviews4.cxx | 848 Rectangle aMarkRect; in Command() local 849 mpDrawView->GetMarkedObjectList().TakeBoundRect(NULL,aMarkRect); in Command() 850 aMenuPos = GetActiveWindow()->LogicToPixel( aMarkRect.Center() ); in Command()
|
/trunk/main/sc/source/ui/view/ |
H A D | output.cxx | 2422 Rectangle aMarkRect = aCellRect; in DrawClipMarks() local 2423 aMarkRect.Right() = aCellRect.Left()+nMarkPixel-1; in DrawClipMarks() 2427 pDev->DrawRect(aMarkRect); in DrawClipMarks() 2430 SvxFont::DrawArrow( *pDev, aMarkRect, aMarkSize, aArrowFillCol, sal_True ); in DrawClipMarks() 2435 Rectangle aMarkRect = aCellRect; in DrawClipMarks() local 2436 aMarkRect.Left() = aCellRect.Right()-nMarkPixel+1; in DrawClipMarks() 2440 pDev->DrawRect(aMarkRect); in DrawClipMarks() 2443 SvxFont::DrawArrow( *pDev, aMarkRect, aMarkSize, aArrowFillCol, sal_False ); in DrawClipMarks()
|
H A D | printfun.cxx | 1951 Rectangle aMarkRect( Point( aPageRect.Left(), nPosY ), Size( nMarkLen, nTextHeight ) ); in DoNotes() local 1952 pLocationData->AddNoteMark( aMarkRect, *pPos ); in DoNotes()
|
/trunk/main/svx/source/form/ |
H A D | navigatortree.cxx | 2226 ::Rectangle aMarkRect( pFormView->GetAllMarkedRect()); in MarkViewObj() 2231 if ( ( OUTDEV_WINDOW == rOutDev.GetOutDevType() ) && !aMarkRect.IsEmpty() ) in MarkViewObj() 2233 pFormView->MakeVisible( aMarkRect, (Window&)rOutDev ); in MarkViewObj() 2301 ::Rectangle aMarkRect( pFormView->GetAllMarkedRect()); in MarkViewObj() 2308 pFormView->MakeVisible( aMarkRect, (Window&)rOutDev ); in MarkViewObj()
|