Lines Matching refs:pHelpWin
278 HelpTextWindow const * pHelpWin = ImplGetSVData()->maHelpData.mpHelpWin; in HideBalloonAndQuickHelp() local
279 bool const bIsVisible = ( pHelpWin != NULL ) && pHelpWin->IsVisible(); in HideBalloonAndQuickHelp()
289 HelpTextWindow* pHelpWin = new HelpTextWindow( pParent, rText, nHelpWinStyle, nStyle ); in ShowTip() local
291 sal_uIntPtr nId = reinterpret_cast< sal_uIntPtr >( pHelpWin ); in ShowTip()
294 pHelpWin->ShowHelp( HELPDELAY_NONE ); in ShowTip()
302 HelpTextWindow* pHelpWin = reinterpret_cast< HelpTextWindow* >( nId ); in UpdateTip() local
303 ENSURE_OR_RETURN_VOID( pHelpWin != NULL, "Help::UpdateTip: invalid ID!" ); in UpdateTip()
305 Size aSz = pHelpWin->CalcOutSize(); in UpdateTip()
306 pHelpWin->SetOutputSizePixel( aSz ); in UpdateTip()
307 ImplSetHelpWindowPos( pHelpWin, pHelpWin->GetWinStyle(), pHelpWin->GetStyle(), in UpdateTip()
310 pHelpWin->SetHelpText( rText ); in UpdateTip()
311 pHelpWin->Invalidate(); in UpdateTip()
318 HelpTextWindow* pHelpWin = (HelpTextWindow*)nId; in HideTip() local
319 Window* pFrameWindow = pHelpWin->ImplGetFrameWindow(); in HideTip()
320 pHelpWin->Hide(); in HideTip()
324 delete pHelpWin; in HideTip()
610 HelpTextWindow* pHelpWin = pSVData->maHelpData.mpHelpWin; in ImplShowHelpWindow() local
612 if ( pHelpWin ) in ImplShowHelpWindow()
614 DBG_ASSERT( pHelpWin != pParent, "HelpInHelp ?!" ); in ImplShowHelpWindow()
616 if ( ( ( pHelpWin->GetHelpText() != rHelpText ) in ImplShowHelpWindow()
617 || ( pHelpWin->GetWinStyle() != nHelpWinStyle ) in ImplShowHelpWindow()
619 && ( pHelpWin->GetHelpArea() != *pHelpArea ) in ImplShowHelpWindow()
627 bool bWasVisible = pHelpWin->IsVisible(); in ImplShowHelpWindow()
630 pHelpWin = NULL; in ImplShowHelpWindow()
635 bool const bTextChanged = rHelpText != pHelpWin->GetHelpText(); in ImplShowHelpWindow()
638 Window * pWindow = pHelpWin->GetParent()->ImplGetFrameWindow(); in ImplShowHelpWindow()
639 Rectangle aInvRect( pHelpWin->GetWindowExtentsRelative( pWindow ) ); in ImplShowHelpWindow()
640 if( pHelpWin->IsVisible() ) in ImplShowHelpWindow()
643 pHelpWin->SetHelpText( rHelpText ); in ImplShowHelpWindow()
645 ImplSetHelpWindowPos( pHelpWin, nHelpWinStyle, nStyle, rScreenPos, pHelpArea ); in ImplShowHelpWindow()
646 if( pHelpWin->IsVisible() ) in ImplShowHelpWindow()
647 pHelpWin->Invalidate(); in ImplShowHelpWindow()
652 if ( !pHelpWin && rHelpText.Len() ) in ImplShowHelpWindow()
660 DBG_ASSERT( !pHelpWin, "Noch ein HelpWin ?!" ); in ImplShowHelpWindow()
661 pHelpWin = new HelpTextWindow( pParent, rHelpText, nHelpWinStyle, nStyle ); in ImplShowHelpWindow()
662 pSVData->maHelpData.mpHelpWin = pHelpWin; in ImplShowHelpWindow()
663 pHelpWin->SetStatusText( rStatusText ); in ImplShowHelpWindow()
665 pHelpWin->SetHelpArea( *pHelpArea ); in ImplShowHelpWindow()
668 Size aSz = pHelpWin->CalcOutSize(); in ImplShowHelpWindow()
669 pHelpWin->SetOutputSizePixel( aSz ); in ImplShowHelpWindow()
670 ImplSetHelpWindowPos( pHelpWin, nHelpWinStyle, nStyle, rScreenPos, pHelpArea ); in ImplShowHelpWindow()
674 pHelpWin->ShowHelp( nDelayMode ); in ImplShowHelpWindow()
683 HelpTextWindow* pHelpWin = pSVData->maHelpData.mpHelpWin; in ImplDestroyHelpWindow() local
684 if ( pHelpWin ) in ImplDestroyHelpWindow()
686 Window * pWindow = pHelpWin->GetParent()->ImplGetFrameWindow(); in ImplDestroyHelpWindow()
688 Rectangle aInvRect( pHelpWin->GetWindowExtentsRelative( pWindow ) ); in ImplDestroyHelpWindow()
689 if( pHelpWin->IsVisible() ) in ImplDestroyHelpWindow()
693 pHelpWin->Hide(); in ImplDestroyHelpWindow()
694 delete pHelpWin; in ImplDestroyHelpWindow()
702 void ImplSetHelpWindowPos( Window* pHelpWin, sal_uInt16 nHelpWinStyle, sal_uInt16 nStyle, in ImplSetHelpWindowPos() argument
706 Size aSz = pHelpWin->GetSizePixel(); in ImplSetHelpWindowPos()
707 Rectangle aScreenRect = pHelpWin->ImplGetFrameWindow()->GetDesktopRectPixel(); in ImplSetHelpWindowPos()
708 aPos = pHelpWin->GetParent()->ImplGetFrameWindow()->OutputToAbsoluteScreenPixel( aPos ); in ImplSetHelpWindowPos()
710 Point mPos( pHelpWin->GetParent()->ImplGetFrameWindow()->GetPointerPosPixel() ); in ImplSetHelpWindowPos()
711 mPos = pHelpWin->GetParent()->ImplGetFrameWindow()->OutputToAbsoluteScreenPixel( mPos ); in ImplSetHelpWindowPos()
742 … pHelpWin->GetParent()->ImplGetFrameWindow()->OutputToAbsoluteScreenPixel( pHelpArea->TopLeft() ), in ImplSetHelpWindowPos()
743 …pHelpWin->GetParent()->ImplGetFrameWindow()->OutputToAbsoluteScreenPixel( pHelpArea->BottomRight()… in ImplSetHelpWindowPos()
806 Window* pWindow = pHelpWin->GetParent()->ImplGetFrameWindow(); in ImplSetHelpWindowPos()
808 pHelpWin->SetPosPixel( aPos ); in ImplSetHelpWindowPos()