Home
last modified time | relevance | path

Searched refs:aScreenRect (Results 1 – 19 of 19) sorted by relevance

/aoo42x/main/vcl/source/window/
H A Dfloatwin.cxx271 aScreenRect = Application::GetScreenPosSizePixel( in ImplCalcPos()
334 if ( aPos.X() < aScreenRect.Left() ) in ImplCalcPos()
358 if ( aPos.X()+aSize.Width() > aScreenRect.Right() ) in ImplCalcPos()
375 if ( aPos.Y() < aScreenRect.Top() ) in ImplCalcPos()
390 if ( aPos.Y()+aSize.Height() > aScreenRect.Bottom() ) in ImplCalcPos()
411 if ( aPos.Y()+aSize.Height() > aScreenRect.Bottom() ) in ImplCalcPos()
414 if ( aPos.Y() < aScreenRect.Top() ) in ImplCalcPos()
415 aPos.Y() = aScreenRect.Top(); in ImplCalcPos()
430 else if ( aPos.X()+aSize.Width() > aScreenRect.Right() ) in ImplCalcPos()
433 if ( aPos.X() < aScreenRect.Left() ) in ImplCalcPos()
[all …]
H A Dsyswin.cxx656 Rectangle aScreenRect; in ImplMoveToScreen() local
663 aScreenRect = Application::GetScreenPosSizePixel( 0 ); in ImplMoveToScreen()
665 aScreenRect.Union( Application::GetScreenPosSizePixel( i ) ); in ImplMoveToScreen()
675 if( io_rX + i_nWidth < aScreenRect.Left() ) in ImplMoveToScreen()
678 io_rX = aScreenRect.Left(); in ImplMoveToScreen()
681 if( io_rX > aScreenRect.Right() - i_nWidth ) in ImplMoveToScreen()
684 io_rX = aScreenRect.Right() - i_nWidth; in ImplMoveToScreen()
687 if( io_rY + i_nHeight < aScreenRect.Top() ) in ImplMoveToScreen()
690 io_rY = aScreenRect.Top(); in ImplMoveToScreen()
693 if( io_rY > aScreenRect.Bottom() - i_nHeight ) in ImplMoveToScreen()
[all …]
H A Dtoolbox.cxx1425 Rectangle aScreenRect( maRect ); in EndDragging() local
1426 aScreenRect.Move( aOff.X(), aOff.Y() ); in EndDragging()
1427 ToolBox* pDropBox = FindToolBox( aScreenRect ); in EndDragging()
1434 aPos.X() = aScreenRect.Left()-TB_CUSTOMIZE_OFFSET; in EndDragging()
1435 aPos.Y() = aScreenRect.Center().Y(); in EndDragging()
1439 aPos.X() = aScreenRect.Center().X(); in EndDragging()
1440 aPos.Y() = aScreenRect.Top()-TB_CUSTOMIZE_OFFSET; in EndDragging()
/aoo42x/main/vcl/aqua/source/window/
H A Dsalframe.cxx371 Rectangle aScreenRect; in initShow() local
372 GetWorkArea( aScreenRect ); in initShow()
377 if( nNewX < aScreenRect.Left() ) in initShow()
378 nNewX = aScreenRect.Left(); in initShow()
382 if( nNewY < aScreenRect.Top() ) in initShow()
383 nNewY = aScreenRect.Top(); in initShow()
384 if( nNewY > aScreenRect.Bottom() ) in initShow()
774 …if( aScreenRect.origin.x + aScreenRect.size.width > aNewContentRect.origin.x + aNewContentRect.siz… in ShowFullScreen()
775 …aNewContentRect.size.width = aScreenRect.origin.x + aScreenRect.size.width - aNewContentRect.origi… in ShowFullScreen()
776 …if( aScreenRect.origin.y + aScreenRect.size.height > aNewContentRect.origin.y + aNewContentRect.si… in ShowFullScreen()
[all …]
/aoo42x/main/vcl/source/app/
H A Dhelp.cxx717 long nScreenHeight = aScreenRect.GetHeight(); in ImplSetHelpWindowPos()
719 if ( aPos.Y() > aScreenRect.Top()+nScreenHeight-(nScreenHeight/4) ) in ImplSetHelpWindowPos()
775 if ( aPos.X() < aScreenRect.Left() ) in ImplSetHelpWindowPos()
776 aPos.X() = aScreenRect.Left(); in ImplSetHelpWindowPos()
777 else if ( ( aPos.X() + aSz.Width() ) > aScreenRect.Right() ) in ImplSetHelpWindowPos()
778 aPos.X() = aScreenRect.Right() - aSz.Width(); in ImplSetHelpWindowPos()
779 if ( aPos.Y() < aScreenRect.Top() ) in ImplSetHelpWindowPos()
780 aPos.Y() = aScreenRect.Top(); in ImplSetHelpWindowPos()
781 else if ( ( aPos.Y() + aSz.Height() ) > aScreenRect.Bottom() ) in ImplSetHelpWindowPos()
782 aPos.Y() = aScreenRect.Bottom() - aSz.Height(); in ImplSetHelpWindowPos()
[all …]
/aoo42x/main/cui/source/options/
H A Dreadonlyimage.cxx56 Rectangle aScreenRect( OutputToScreenPixel( aLogicPix.TopLeft() ), in RequestHelp() local
61 Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), aScreenRect, in RequestHelp()
64 Help::ShowQuickHelp( this, aScreenRect, aStr ); in RequestHelp()
/aoo42x/main/editeng/source/accessibility/
H A DAccessibleImageBullet.cxx283 Rectangle aScreenRect = AccessibleEditableTextPara::LogicToPixel( aRect, in getBounds() local
290 return awt::Rectangle( aScreenRect.Left() + aOffset.X(), in getBounds()
291 aScreenRect.Top() + aOffset.Y(), in getBounds()
292 aScreenRect.GetSize().Width(), in getBounds()
293 aScreenRect.GetSize().Height() ); in getBounds()
H A DAccessibleEditableTextPara.cxx1148 Rectangle aScreenRect = AccessibleEditableTextPara::LogicToPixel( aRect, in getBounds() local
1155 return awt::Rectangle( aScreenRect.Left() + aOffset.X(), in getBounds()
1156 aScreenRect.Top() + aOffset.Y(), in getBounds()
1157 aScreenRect.GetSize().Width(), in getBounds()
1158 aScreenRect.GetSize().Height() ); in getBounds()
1588 Rectangle aScreenRect = AccessibleEditableTextPara::LogicToPixel( aRect, in getCharacterBounds() local
1595 aScreenRect.Move( -aParaRect.X, -aParaRect.Y ); in getCharacterBounds()
1600 return awt::Rectangle( aScreenRect.Left() + aOffset.X(), in getCharacterBounds()
1601 aScreenRect.Top() + aOffset.Y(), in getCharacterBounds()
1602 aScreenRect.GetSize().Width(), in getCharacterBounds()
[all …]
/aoo42x/main/sw/source/core/access/
H A Daccpara.cxx1618 Rectangle aScreenRect( GetMap()->CoreToPixel( aTmpRect.SVRect() )); in GetCurrentTabStop() local
1622 aScreenRect.Move( -aFrmPixPos.X(), -aFrmPixPos.Y() ); in GetCurrentTabStop()
1624 tabs[0].Position = aScreenRect.GetWidth(); in GetCurrentTabStop()
2698 Rectangle aScreenRect( GetMap()->CoreToPixel( aCoreRect.SVRect() )); in getCharacterBounds() local
2702 aScreenRect.Move( -aFrmPixPos.X(), -aFrmPixPos.Y() ); in getCharacterBounds()
2706 aScreenRect.Left(), aScreenRect.Top(), in getCharacterBounds()
2707 aScreenRect.GetWidth(), aScreenRect.GetHeight() ); in getCharacterBounds()
4047 aScreenRect.Move( -aFrmPixPos.X(), -aFrmPixPos.Y() ); in getNumberOfLineWithCaret()
4050 const awt::Rectangle aCursorRect( aScreenRect.Left(), in getNumberOfLineWithCaret()
4051 aScreenRect.Top(), in getNumberOfLineWithCaret()
[all …]
/aoo42x/main/sc/source/ui/view/
H A Dgridwin5.cxx380 Rectangle aScreenRect(OutputToScreenPixel(aPixRect.TopLeft()), in RequestHelp() local
384 Help::ShowBalloon(this,rHEvt.GetMousePosPixel(), aScreenRect, aHelpText); in RequestHelp()
386 Help::ShowQuickHelp(this,aScreenRect, aHelpText); in RequestHelp()
/aoo42x/main/sw/source/ui/docvw/
H A Dedtwin2.cxx485 Rectangle aScreenRect(OutputToScreenPixel(aLogicPix.TopLeft()), in RequestHelp() local
489 Help::ShowBalloon(this, rEvt.GetMousePosPixel(), aScreenRect, sTxt); in RequestHelp()
491 Help::ShowQuickHelp(this, aScreenRect, sTxt); in RequestHelp()
/aoo42x/main/xmlsecurity/source/dialogs/
H A Dmacrosecurity.cxx442 Rectangle aScreenRect( OutputToScreenPixel( aLogicPix.TopLeft() ), in RequestHelp() local
447 Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), aScreenRect, in RequestHelp()
450 Help::ShowQuickHelp( this, aScreenRect, aStr ); in RequestHelp()
/aoo42x/main/sc/source/ui/Accessibility/
H A DAccessiblePreviewTable.cxx507 Rectangle aScreenRect(GetBoundingBox()); in getAccessibleAtPoint() local
510 aMovedPoint.X += aScreenRect.Left(); in getAccessibleAtPoint()
511 aMovedPoint.Y += aScreenRect.Top(); in getAccessibleAtPoint()
/aoo42x/main/svx/source/dialog/
H A Dimapwnd.cxx721 Rectangle aScreenRect( OutputToScreenPixel( aLogicPix.TopLeft() ), in RequestHelp() local
725 Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), aScreenRect, aStr ); in RequestHelp()
727 Help::ShowQuickHelp( this, aScreenRect, aStr ); in RequestHelp()
/aoo42x/main/sd/source/ui/func/
H A Dfudraw.cxx1079 Rectangle aScreenRect(mpWindow->OutputToScreenPixel(aLogicPix.TopLeft()), in SetHelpText() local
1083 Help::ShowBalloon( (Window*)mpWindow, rPosPixel, aScreenRect, aHelpText); in SetHelpText()
1085 Help::ShowQuickHelp( (Window*)mpWindow, aScreenRect, aHelpText); in SetHelpText()
H A Dfutext.cxx1308 Rectangle aScreenRect(mpWindow->OutputToScreenPixel(aLogicPix.TopLeft()), in RequestHelp() local
1313 … bReturn = Help::ShowBalloon( (Window*)mpWindow, rHEvt.GetMousePosPixel(), aScreenRect, aHelpText); in RequestHelp()
1317 bReturn = Help::ShowQuickHelp( (Window*)mpWindow, aScreenRect, aHelpText); in RequestHelp()
/aoo42x/main/sd/source/ui/view/
H A Dviewoverlaymanager.cxx231 Rectangle aScreenRect( pDev->LogicToPixel( GetPos() ), maImageSize ); in onMouseEnter() local
232 …atic_cast< ::Window* >( pHdlList->GetView()->GetFirstOutputDevice() ), aScreenRect, aHelpText, 0 )… in onMouseEnter()
/aoo42x/main/dbaccess/source/ui/control/
H A Ddbtreelistbox.cxx365 Rectangle aScreenRect( OutputToScreenPixel( GetEntryPosition( pEntry ) ), aSize ); in RequestHelp() local
367 Help::ShowQuickHelp( this, aScreenRect, in RequestHelp()
/aoo42x/main/sfx2/source/appl/
H A Dnewhelp.cxx2926 Rectangle aScreenRect = pScreenWin->GetClientWindowExtentsRelative( NULL ); in MakeLayout() local
2927 Point aNewPos = aScreenRect.TopLeft(); in MakeLayout()

Completed in 196 milliseconds