Lines Matching refs:pControl
122 aWindowWaitUId = pControl->GetUniqueOrHelpId(); \
2175 Window *pControl = NULL; in GetNextOverlap() local
2178 pControl = GetNextOverlap( pBase->GetWindow( WINDOW_FIRSTOVERLAP ) ); in GetNextOverlap()
2181 if ( !pControl && pBase->GetWindow( WINDOW_NEXT ) ) in GetNextOverlap()
2183 pControl = GetNextOverlap( pBase->GetWindow( WINDOW_NEXT ) ); in GetNextOverlap()
2186 if ( !pControl ) in GetNextOverlap()
2198 return pControl; in GetNextOverlap()
2205 Window *pControl = NULL; in GetNextRecoverWin() local
2210 pControl = GetNextOverlap( pBase ); in GetNextRecoverWin()
2211 if ( pControl && pControl->GetType() == WINDOW_HELPTEXTWINDOW ) in GetNextRecoverWin()
2215 … if ( pControl && pControl->IsVisible() && !IsFirstDocFrame( pControl ) && !IsIMEWin( pControl ) ) in GetNextRecoverWin()
2217 Window* pTB = pControl->GetChild( 0 ); in GetNextRecoverWin()
2218 if ( pControl->GetChildCount() == 1 && pTB->GetType() == WINDOW_TOOLBOX ) in GetNextRecoverWin()
2222 return pControl; in GetNextRecoverWin()
2273 #define REPORT_WIN_CLOSED(pControl, aInfo) \ in Execute() argument
2274 _REPORT_WIN_CLOSED(pControl, aInfo) \ in Execute()
2275 …pControl->GetText() ).AppendAscii("\" geschlossen, RType = ").Append( TypeString(pControl->GetType… in Execute()
2277 #define REPORT_WIN_CLOSED(pControl, aInfo) _REPORT_WIN_CLOSED(pControl, aInfo) in Execute() argument
2280 #define REPORT_WIN_CLOSEDc(pControl, aInfo ) \ in Execute() argument
2281 REPORT_WIN_CLOSED(pControl, CUniString(aInfo) ) in Execute()
2283 #define _REPORT_WIN_CLOSED(pControl, aInfo) \ in Execute() argument
2288 aString1 += pControl->GetText(); \ in Execute()
2290 aString1 += TypeString(pControl->GetType()); \ in Execute()
2292 aString1 += UIdString(pControl->GetUniqueOrHelpId()); in Execute()
2333 Window *pControl = GetNextRecoverWin(); in Execute() local
2335 if ( pControl ) in Execute()
2338 pControl->GrabFocus(); in Execute()
2340 if ( pControl->GetType() != WINDOW_DOCKINGWINDOW in Execute()
2341 && pControl->GetType() != WINDOW_FLOATINGWINDOW in Execute()
2342 && pControl->GetType() != WINDOW_MODELESSDIALOG in Execute()
2343 && pControl->GetType() != WINDOW_WORKWINDOW in Execute()
2344 && pControl->GetType() != WINDOW_TOOLBOX in Execute()
2345 && pControl->GetType() != WINDOW_BORDERWINDOW in Execute()
2348 short nRT = ImpGetRType( pControl ); in Execute()
2350 …if ( nRT == C_TabControl && pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() … in Execute()
2352 pControl = pControl->GET_REAL_PARENT(); in Execute()
2353 nRT = ImpGetRType( pControl ); in Execute()
2361 REPORT_WIN_CLOSEDc(pControl, "Dialog"); in Execute()
2362 SET_WINP_CLOSING(pControl); in Execute()
2363 ((SystemWindow*)pControl)->Close(); in Execute()
2374 ButtonDialog* pBD = (ButtonDialog*)pControl; in Execute()
2382 REPORT_WIN_CLOSEDc(pControl, "Message Box (OK)"); in Execute()
2383 SET_WINP_CLOSING(pControl); in Execute()
2391 REPORT_WIN_CLOSEDc(pControl, "Message Box (Cancel)"); in Execute()
2392 SET_WINP_CLOSING(pControl); in Execute()
2400 REPORT_WIN_CLOSEDc(pControl, "Message Box (Yes)"); in Execute()
2401 SET_WINP_CLOSING(pControl); in Execute()
2410 REPORT_WIN_CLOSEDc(pControl, "Message Box (No)"); in Execute()
2411 SET_WINP_CLOSING(pControl); in Execute()
2421 …REPORT_WIN_CLOSED(pControl, CUniString("Message Box (").Append( UniString::CreateFromInt32(nID) ).… in Execute()
2422 SET_WINP_CLOSING(pControl); in Execute()
2432 REPORT_WIN_CLOSEDc(pControl, "Unknown Windowtype"); in Execute()
2433 ReportError( GEN_RES_STR0( S_RESETAPPLICATION_FAILED_UNKNOWN ), pControl->GetType() ); in Execute()
2443 …if ( (pControl->GetType() == WINDOW_DOCKINGWINDOW || pControl->GetType() == WINDOW_TOOLBOX) && nRe… in Execute()
2445 …if ( (((DockingWindow*)pControl)->GetStyle() | ((DockingWindow*)pControl)->GetFloatStyle()) & WB_C… in Execute()
2447 REPORT_WIN_CLOSED(pControl, TypeString(pControl->GetType())); in Execute()
2448 SET_WINP_CLOSING(pControl); in Execute()
2449 ((DockingWindow*)pControl)->Close(); in Execute()
2452 if ( (Window*)nLNr1 != pControl ) in Execute()
2454 nLNr1 = (sal_uLong)pControl; in Execute()
2460 && ( (pControl->GetType() == WINDOW_FLOATINGWINDOW) in Execute()
2461 || (pControl->GetType() == WINDOW_MODELESSDIALOG) in Execute()
2462 || (pControl->GetType() == WINDOW_WORKWINDOW) in Execute()
2463 || (pControl->GetType() == WINDOW_BORDERWINDOW) ) ) in Execute()
2469 if ( GetDocWinCount() == 1 && IsDocFrame( pControl ) ) in Execute()
2471 if ( IsDocWin( pControl ) ) in Execute()
2473 if ( GetDocFrameMenuBar( pControl ) ) in Execute()
2475 MenuBar* pMenu = GetDocFrameMenuBar( pControl ); in Execute()
2478 REPORT_WIN_CLOSED( pControl, TypeString(pControl->GetType())); in Execute()
2479 SET_WINP_CLOSING(pControl); in Execute()
2484 if ( (Window*)nLNr1 != pControl ) in Execute()
2486 nLNr1 = (sal_uLong)pControl; in Execute()
2496 REPORT_WIN_CLOSED( pControl, TypeString(pControl->GetType())); in Execute()
2497 SET_WINP_CLOSING(pControl); in Execute()
2498 ((SystemWindow*)pControl)->Close(); in Execute()
2501 if ( (Window*)nLNr1 != pControl ) in Execute()
2503 nLNr1 = (sal_uLong)pControl; in Execute()
3609 sal_Bool StatementControl::ControlOK( Window *pControl, const sal_Char* cBezeichnung ) in ControlOK() argument
3611 if ( pControl && ( ( ( IsAccessable(pControl) || (nMethodId & M_WITH_RETURN) ) && in ControlOK()
3612 pControl->IsVisible() ) || in ControlOK()
3620 if (!pControl) in ControlOK()
3622 else if ( !pControl->IsVisible() ) in ControlOK()
3691 void StatementControl::AnimateMouse( Window *pControl, TTHotSpots aWohin ) in AnimateMouse() argument
3699 long nHeight = pControl->GetSizePixel().Height(); in AnimateMouse()
3706 Size aSize = pControl->GetOutputSizePixel(); in AnimateMouse()
3712 long nWidth = pControl->GetSizePixel().Width(); in AnimateMouse()
3718 AnimateMouse( pControl, aZiel ); in AnimateMouse()
3722 void StatementControl::AnimateMouse( Window *pControl, Point aWohin ) in AnimateMouse() argument
3724 Point aAkt = pControl->GetPointerPosPixel(); in AnimateMouse()
3745 if ( Abs((aAkt - pControl->GetPointerPosPixel()).X()) > 5 || in AnimateMouse()
3746 Abs((aAkt - pControl->GetPointerPosPixel()).Y()) > 5 ) in AnimateMouse()
3749 pControl->SetPointerPosPixel(aAkt); in AnimateMouse()
3752 pControl->SetPointerPosPixel(aZiel); in AnimateMouse()
3783 sal_Bool StatementControl::HandleVisibleControls( Window *pControl ) in HandleVisibleControls() argument
3785 if( pControl ) // Also auch bei Disabled nicht jedoch bei Invisible in HandleVisibleControls()
3790 pRet->GenReturn ( RET_Value, aUId, IsAccessable(pControl) ); in HandleVisibleControls()
3793 pRet->GenReturn ( RET_Value, aUId, pControl->IsVisible() ); in HandleVisibleControls()
3796 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3797 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r FloatingWindows in HandleVisibleControls()
3798 …if ( pControl->GetType() == WINDOW_TABCONTROL && pControl->GET_REAL_PARENT() && pControl->GET_REAL… in HandleVisibleControls()
3799 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r TabDialoge in HandleVisibleControls()
3800 …if ( pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() == WINDOW_BORDERWINDOW ) in HandleVisibleControls()
3801 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r Border in HandleVisibleControls()
3803 pControl = pControl->GetWindow( WINDOW_OVERLAP ); in HandleVisibleControls()
3805 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3807 Point aPos = pControl->GetPosPixel(); in HandleVisibleControls()
3808 aPos = pControl->GET_REAL_PARENT()->OutputToScreenPixel( aPos ); in HandleVisibleControls()
3812 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pControl->GetPosPixel().X() ); in HandleVisibleControls()
3815 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3816 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r FloatingWindows in HandleVisibleControls()
3817 …if ( pControl->GetType() == WINDOW_TABCONTROL && pControl->GET_REAL_PARENT() && pControl->GET_REAL… in HandleVisibleControls()
3818 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r TabDialoge in HandleVisibleControls()
3819 …if ( pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() == WINDOW_BORDERWINDOW ) in HandleVisibleControls()
3820 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r Border in HandleVisibleControls()
3822 pControl = pControl->GetWindow( WINDOW_OVERLAP ); in HandleVisibleControls()
3824 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3826 Point aPos = pControl->GetPosPixel(); in HandleVisibleControls()
3827 aPos = pControl->GET_REAL_PARENT()->OutputToScreenPixel( aPos ); in HandleVisibleControls()
3831 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pControl->GetPosPixel().Y() ); in HandleVisibleControls()
3834 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3835 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r FloatingWindows in HandleVisibleControls()
3836 …if ( pControl->GetType() == WINDOW_TABCONTROL && pControl->GET_REAL_PARENT() && pControl->GET_REAL… in HandleVisibleControls()
3837 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r TabDialoge in HandleVisibleControls()
3838 …if ( pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() == WINDOW_BORDERWINDOW ) in HandleVisibleControls()
3839 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r Border in HandleVisibleControls()
3841 pControl = pControl->GetWindow( WINDOW_OVERLAP ); in HandleVisibleControls()
3843 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pControl->GetSizePixel().Width() ); in HandleVisibleControls()
3846 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3847 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r FloatingWindows in HandleVisibleControls()
3848 …if ( pControl->GetType() == WINDOW_TABCONTROL && pControl->GET_REAL_PARENT() && pControl->GET_REAL… in HandleVisibleControls()
3849 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r TabDialoge in HandleVisibleControls()
3850 …if ( pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() == WINDOW_BORDERWINDOW ) in HandleVisibleControls()
3851 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r Border in HandleVisibleControls()
3853 pControl = pControl->GetWindow( WINDOW_OVERLAP ); in HandleVisibleControls()
3855 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pControl->GetSizePixel().Height() ); in HandleVisibleControls()
3859 …if ( pControl->GetType() == WINDOW_DOCKINGWINDOW && pControl->GET_REAL_PARENT() && pControl->GET_R… in HandleVisibleControls()
3860 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r FloatingWindows in HandleVisibleControls()
3861 …if ( pControl->GetType() == WINDOW_TABCONTROL && pControl->GET_REAL_PARENT() && pControl->GET_REAL… in HandleVisibleControls()
3862 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r TabDialoge in HandleVisibleControls()
3863 …if ( pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() == WINDOW_BORDERWINDOW ) in HandleVisibleControls()
3864 pControl = pControl->GET_REAL_PARENT(); // Sonderbehandlung f�r Border in HandleVisibleControls()
3866 pControl = pControl->GetWindow( WINDOW_OVERLAP ); in HandleVisibleControls()
3868 Bitmap aBmp = pControl->SnapShot(); in HandleVisibleControls()
3869 if ( pControl->GetType() == WINDOW_WORKWINDOW ) in HandleVisibleControls()
3871 Point aStart = pControl->GetPosPixel(); in HandleVisibleControls()
3880 nNr3 = (sal_uInt16)pControl->GetSizePixel().Width() + 2*(sal_uInt16)aStart.X(); in HandleVisibleControls()
3881 nNr4 = (sal_uInt16)pControl->GetSizePixel().Height() + 2*(sal_uInt16)aStart.Y(); in HandleVisibleControls()
3885 … nNr3 = std::min((sal_uInt16)(pControl->GetSizePixel().Width() + 2*(sal_uInt16)aStart.X()),nNr3); in HandleVisibleControls()
3886 … nNr4 = std::min((sal_uInt16)(pControl->GetSizePixel().Height() + 2*(sal_uInt16)aStart.Y()),nNr4); in HandleVisibleControls()
3892 VirtualDevice aVDev( *pControl ); in HandleVisibleControls()
3909 pRet->GenReturn ( RET_Value, aUId, CountWinByRT( pControl, WINDOW_FIXEDTEXT, sal_True ) ); in HandleVisibleControls()
3917 … FixedText* pFixedText = (FixedText*)GetWinByRT( pControl, WINDOW_FIXEDTEXT, sal_True, nNr1-1 ); in HandleVisibleControls()
3921 …ValueOK(aUId, MethodString( nMethodId ),nNr1,CountWinByRT( pControl, WINDOW_FIXEDTEXT, sal_True ) … in HandleVisibleControls()
3926 pRet->GenReturn ( RET_Value, aUId, pControl->HasFocus() ); in HandleVisibleControls()
3931 …Rectangle aRect = bBool1 ? pControl->GetClientWindowExtentsRelative(NULL) : pControl->GetWindowEx… in HandleVisibleControls()
3942 pRet->GenReturn ( RET_Value, aUId, pControl->GetHelpText()); in HandleVisibleControls()
3947 pRet->GenReturn ( RET_Value, aUId,pControl->GetQuickHelpText()); in HandleVisibleControls()
3959 sal_Bool StatementControl::HandleCommonMethods( Window *pControl ) in HandleCommonMethods() argument
3971 if ( pControl->GetText().Len() == 0 && IsDocFrame( pControl->GetWindow( WINDOW_FRAME ) ) ) in HandleCommonMethods()
3972 … pRet->GenReturn ( RET_Value, aUId, pControl->GetWindow( WINDOW_FRAME )->GetText()); in HandleCommonMethods()
3974 pRet->GenReturn ( RET_Value, aUId, pControl->GetText()); in HandleCommonMethods()
3979 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pControl->GetType() ); in HandleCommonMethods()
3990 pControl->GrabFocus(); in HandleCommonMethods()
3994 if ( !pFocus || !pControl->IsWindowOrChild( pFocus, sal_True ) ) in HandleCommonMethods()
3995 pControl->GrabFocus(); in HandleCommonMethods()
4000 if ( pControl->GetType() == WINDOW_COMBOBOX ) in HandleCommonMethods()
4003 for ( sal_uInt16 i = 0 ; i < pControl->GetChildCount() && !pTemp ; i++ ) in HandleCommonMethods()
4004 if ( pControl->GetChild( i )->GetType() == WINDOW_EDIT ) in HandleCommonMethods()
4005 pTemp = pControl->GetChild( i ); in HandleCommonMethods()
4007 pControl = pTemp; in HandleCommonMethods()
4010 Window *pDeliverHere = pControl; in HandleCommonMethods()
4017 if ( !pFocus || !pControl->IsWindowOrChild( pFocus, sal_True ) ) in HandleCommonMethods()
4018 pControl->GrabFocus(); in HandleCommonMethods()
4023 if ( pFocus && pControl->IsWindowOrChild( pFocus, sal_True ) ) in HandleCommonMethods()
4026 pDeliverHere = pControl; in HandleCommonMethods()
4100 if ( !MaybeDoTypeKeysDelay( pControl ) ) in HandleCommonMethods()
4123 Size aS = pControl->GetOutputSizePixel(); in HandleCommonMethods()
4125 Window *pActualWin = pControl->FindWindow( aPos ); in HandleCommonMethods()
4129 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods()
4132 pActualWin = pControl; in HandleCommonMethods()
4143 Size aS = pControl->GetOutputSizePixel(); in HandleCommonMethods()
4145 Window *pActualWin = pControl->FindWindow( aPos ); in HandleCommonMethods()
4148 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods()
4151 pActualWin = pControl; in HandleCommonMethods()
4162 Size aS = pControl->GetOutputSizePixel(); in HandleCommonMethods()
4164 Window *pActualWin = pControl->FindWindow( aPos ); in HandleCommonMethods()
4168 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods()
4172 pActualWin = pControl; in HandleCommonMethods()
4183 Size aS = pControl->GetOutputSizePixel(); in HandleCommonMethods()
4185 Window *pActualWin = pControl->FindWindow( aPos ); in HandleCommonMethods()
4189 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods()
4193 pActualWin = pControl; in HandleCommonMethods()
4223 Point Pos = pControl->GetPointerPosPixel(); in HandleCommonMethods()
4224 Size Siz=pControl->GetOutputSizePixel(); in HandleCommonMethods()
4243 ToolBox* pTB = (ToolBox*)pControl; in HandleCommonMethods()
4244 if ( (pControl->GetType() == WINDOW_TOOLBOX) && pTB->IsMenuEnabled() ) in HandleCommonMethods()
4257 aPos = pControl->GetPointerPosPixel(); in HandleCommonMethods()
4258 Window *pActualWin = pControl->FindWindow( aPos ); in HandleCommonMethods()
4262 … aPos = pActualWin->AbsoluteScreenToOutputPixel( pControl->OutputToAbsoluteScreenPixel ( aPos ) ); in HandleCommonMethods()
4264 pControl = pActualWin; in HandleCommonMethods()
4268 ImplCommand( pControl, aEvent ); in HandleCommonMethods()
4279 …while ( pControl && !( ( pControl->GetType() == WINDOW_SYSWINDOW || pControl->GetType() == WINDOW_… in HandleCommonMethods()
4280 pControl = pControl->GET_REAL_PARENT(); in HandleCommonMethods()
4282 if ( pControl && ((SystemWindow*)pControl)->GetMenuBar() ) in HandleCommonMethods()
4283 pMenuWindow = ((SystemWindow*)pControl); in HandleCommonMethods()
4317 while ( !pTemp && pControl ) in HandleCommonMethods()
4319 pTemp = GetFadeSplitWin( pControl, aWindowAlign ); in HandleCommonMethods()
4320 pControl = pControl->GET_REAL_PARENT(); in HandleCommonMethods()
4329 pControl = pTemp; // So da� wir unten ohne Fehler durchkommen in HandleCommonMethods()
4353 ImplMouseButtonDown( pControl, aMEvnt, FORCE_DIRECT_CALL ); in HandleCommonMethods()
4354 ImplMouseButtonUp ( pControl, aMEvnt, FORCE_DIRECT_CALL ); in HandleCommonMethods()
4376 while ( !pStatus && pControl ) in HandleCommonMethods()
4378 pStatus = (StatusBar*)GetWinByRT( pControl, WINDOW_STATUSBAR, sal_True ); in HandleCommonMethods()
4379 pControl = pControl->GET_REAL_PARENT(); in HandleCommonMethods()
4456 while ( !pScroll && pControl && nSteps-- ) in HandleCommonMethods()
4458 pScroll = GetScrollBar( pControl, nNr1, sal_True ); in HandleCommonMethods()
4459 pControl = pControl->GET_REAL_PARENT(); in HandleCommonMethods()
4494 Window *pControl; in Execute() local
4523 pControl = GetAnyActive(); in Execute()
4532 pControl = NULL; in Execute()
4533 if ( /*(nMethodId == M_SnapShot || nMethodId == M_TypeKeys) &&*/ !pControl ) in Execute()
4534 pControl = SearchTree( aUId ,bSearchButtonOnToolbox ); in Execute()
4537 pControl = SearchTree( aUId ,bSearchButtonOnToolbox ); in Execute()
4541 if ( pControl && pControl->GetType() == WINDOW_TOOLBOX ) in Execute()
4543 if ( !aUId.equals( pControl->GetUniqueOrHelpId() ) ) in Execute()
4556 pControl = NULL; in Execute()
4578 if ( /* !IsAccessable(pControl)#87019# */ !pControl || !pControl->IsVisible() ) in Execute()
4579 pControl = NULL; in Execute()
4580 if ( ((nMethodId == M_Exists) && pControl) || in Execute()
4581 ((nMethodId == M_NotExists) && !pControl) ) in Execute()
4600 if( pControl ) // Das Fenster Existiert irgendwo, kann aber auch hidden sein! in Execute()
4602 nRT = ImpGetRType( pControl ); in Execute()
4621 Window* pNewControl = pControl; in Execute()
4627 pControl = pNewControl; in Execute()
4633 if ( (!ControlOK( pControl, "" )) && ( nMethodId != M_SnapShot ) && (nRetryCount--)) in Execute()
4641 if( ControlOK( pControl, "" ) ) in Execute()
4645 pControl->GrabFocus(); // to get asyncron focus on unix in Execute()
4658 if ( !pControl->HasFocus() ) in Execute()
4660 pControl->GrabFocus(); in Execute()
4662 while ( i-- && !pControl->HasFocus() ) // reschedule a bit in Execute()
4665 if ( !WinPtrValid( pControl ) ) in Execute()
4668 if ( !pControl->HasFocus() ) // to get asyncronous focus in Execute()
4679 if ( HandleVisibleControls( pControl ) ) in Execute()
4684 if( ControlOK( pControl, "Window/Control" ) ) in Execute()
4699 pControl->GrabFocus(); in Execute()
4710 if ( !HandleCommonMethods( pControl ) ) in Execute()
4720 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((TabControl*)pControl)->GetPageCount() ) ) in Execute()
4721 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)((TabControl*)pControl)->GetPageId(nNr1-1)); in Execute()
4724 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)((TabControl*)pControl)->GetCurPageId()); in Execute()
4727 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)((TabControl*)pControl)->GetPageCount()); in Execute()
4730 if (((TabControl*)pControl)->GetCurPageId()) in Execute()
4731 ((TabControl*)pControl)->DeactivatePage(); in Execute()
4732 ((TabControl*)pControl)->SetCurPageId( nNr1 ); in Execute()
4733 ((TabControl*)pControl)->ActivatePage(); in Execute()
4736 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((TabControl*)pControl)->GetPageCount() ) ) in Execute()
4738 if (((TabControl*)pControl)->GetCurPageId()) in Execute()
4739 ((TabControl*)pControl)->DeactivatePage(); in Execute()
4740 ((TabControl*)pControl)->SetCurPageId( ((TabControl*)pControl)->GetPageId( nNr1-1 ) ); in Execute()
4741 ((TabControl*)pControl)->ActivatePage(); in Execute()
4745 …t->GenReturn ( RET_Value, aUId, Id2Str( ((TabControl*)pControl)->GetTabPage(((TabControl*)pControl… in Execute()
4749 TabControl *pTControl = ((TabControl*)pControl); in Execute()
4803 AnimateMouse( pControl, MitteLinks); in Execute()
4806 pRet->GenReturn ( RET_Value, aUId, ((RadioButton*)pControl)->IsChecked()); in Execute()
4809 ((RadioButton*)pControl)->Check(); in Execute()
4810 ((RadioButton*)pControl)->Click(); in Execute()
4822 AnimateMouse( pControl, MitteLinks); in Execute()
4825 …pRet->GenReturn ( RET_Value, aUId, comm_BOOL( ((TriStateBox*)pControl)->GetState() == STATE_CHECK)… in Execute()
4828 …pRet->GenReturn ( RET_Value, aUId, comm_BOOL( ((TriStateBox*)pControl)->GetState() == STATE_DONTKN… in Execute()
4831 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((TriStateBox*)pControl)->GetState())); in Execute()
4834 ((TriStateBox*)pControl)->SetState( STATE_CHECK ); in Execute()
4835 ((TriStateBox*)pControl)->Click(); in Execute()
4838 ((TriStateBox*)pControl)->SetState( STATE_NOCHECK ); in Execute()
4839 ((TriStateBox*)pControl)->Click(); in Execute()
4842 if ( ((TriStateBox*)pControl)->IsTriStateEnabled() ) in Execute()
4844 ((TriStateBox*)pControl)->SetState( STATE_DONTKNOW ); in Execute()
4845 ((TriStateBox*)pControl)->Click(); in Execute()
4854 TriStateBox *pTB = ((TriStateBox*)pControl); in Execute()
4879 AnimateMouse( pControl, Mitte); in Execute()
4882 pRet->GenReturn ( RET_Value, aUId, ((Edit*)pControl)->GetText()); in Execute()
4885 pRet->GenReturn ( RET_Value, aUId, (comm_BOOL) !((Edit*)pControl)->IsReadOnly() ); in Execute()
4888 if ( ! ((Edit*)pControl)->IsReadOnly() ) in Execute()
4893 ((Edit*)pControl)->SetText( aString1 ); in Execute()
4895 ((MultiLineEdit*)pControl)->SetModifyFlag(); in Execute()
4897 ((Edit*)pControl)->SetModifyFlag(); in Execute()
4898 ((Edit*)pControl)->Modify(); in Execute()
4899 if ( ((Edit*)pControl)->GetText().CompareTo(aString1) != COMPARE_EQUAL ) in Execute()
4916 AnimateMouse( pControl, MitteOben); in Execute()
4919 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((ListBox*)pControl)->GetSelectEntryCount())); in Execute()
4924 if ( ((ListBox*)pControl)->GetSelectEntryCount() == 0 ) in Execute()
4931 ValueOK(aUId, MethodString( nMethodId ),nNr1,((ListBox*)pControl)->GetSelectEntryCount()); in Execute()
4932 …pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((ListBox*)pControl)->GetSelectEntryPos(nNr1-1)) +1); in Execute()
4937 pRet->GenReturn ( RET_Value, aUId, ((ListBox*)pControl)->GetSelectEntry(nNr1-1)); in Execute()
4940 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((ListBox*)pControl)->GetEntryCount())); in Execute()
4943 pRet->GenReturn ( RET_Value, aUId, ((ListBox*)pControl)->GetEntry(nNr1-1)); in Execute()
4969 ListBox *pLB = ((ListBox*)pControl); in Execute()
4984 ListBox *pLB = ((ListBox*)pControl); in Execute()
4985 pLB = static_cast<ListBox*>(pControl); in Execute()
4995 ((ListBox*)pControl)->Select(); in Execute()
5000 ((ListBox*)pControl)->SetNoSelection(); in Execute()
5001 ((ListBox*)pControl)->Select(); in Execute()
5018 AnimateMouse( pControl, MitteOben); in Execute()
5021 pRet->GenReturn ( RET_Value, aUId, ((ComboBox*)pControl)->GetText()); in Execute()
5025 sal_uInt16 nPos = ((ComboBox*)pControl)->GetEntryPos(((ComboBox*)pControl)->GetText()); in Execute()
5034 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((ComboBox*)pControl)->GetEntryCount())); in Execute()
5037 pRet->GenReturn ( RET_Value, aUId, ((ComboBox*)pControl)->GetEntry(nNr1-1)); in Execute()
5040 pRet->GenReturn ( RET_Value, aUId, (comm_BOOL) !((ComboBox*)pControl)->IsReadOnly() ); in Execute()
5045 if ( !ValueOK(aUId, MethodString( nMethodId ),nNr1,((ComboBox*)pControl)->GetEntryCount()) ) in Execute()
5047 aString1 = ((ComboBox*)pControl)->GetEntry(nNr1-1); in Execute()
5051 if ( ((ComboBox*)pControl)->GetEntryPos( aString1 ) == COMBOBOX_ENTRY_NOTFOUND ) in Execute()
5059 ((ComboBox*)pControl)->SetText( aString1 ); in Execute()
5060 ((ComboBox*)pControl)->SetModifyFlag(); in Execute()
5061 ((ComboBox*)pControl)->Modify(); in Execute()
5064 if ( ! ((ComboBox*)pControl)->IsReadOnly() ) in Execute()
5068 ((ComboBox*)pControl)->SetText( aString1 ); in Execute()
5069 ((ComboBox*)pControl)->SetModifyFlag(); in Execute()
5070 ((ComboBox*)pControl)->Modify(); in Execute()
5087 AnimateMouse( pControl, Mitte); in Execute()
5090 ((PushButton*)pControl)->Click(); in Execute()
5101 AnimateMouse( pControl, Mitte); in Execute()
5104 pRet->GenReturn ( RET_Value, aUId, ((MoreButton*)pControl)->GetState()); in Execute()
5107 ((MoreButton*)pControl)->Click(); in Execute()
5110 ((MoreButton*)pControl)->SetState(sal_True); in Execute()
5113 ((MoreButton*)pControl)->SetState(sal_False); in Execute()
5130 AnimateMouse( pControl, Mitte); in Execute()
5133 pRet->GenReturn ( RET_Value, aUId, ((SpinField*)pControl)->GetText()); in Execute()
5136 pRet->GenReturn ( RET_Value, aUId, (comm_BOOL) !((SpinField*)pControl)->IsReadOnly() ); in Execute()
5139 if ( ! ((SpinField*)pControl)->IsReadOnly() ) in Execute()
5141 ((SpinField*)pControl)->SetText( aString1 ); in Execute()
5142 ((SpinField*)pControl)->SetModifyFlag(); in Execute()
5143 ((SpinField*)pControl)->Modify(); in Execute()
5154 ((SpinField*)pControl)->Up(); in Execute()
5155 ((SpinField*)pControl)->SetModifyFlag(); in Execute()
5156 ((SpinField*)pControl)->Modify(); in Execute()
5166 ((SpinField*)pControl)->Down(); in Execute()
5167 ((SpinField*)pControl)->SetModifyFlag(); in Execute()
5168 ((SpinField*)pControl)->Modify(); in Execute()
5173 ((SpinField*)pControl)->First(); in Execute()
5174 ((SpinField*)pControl)->SetModifyFlag(); in Execute()
5175 ((SpinField*)pControl)->Modify(); in Execute()
5178 ((SpinField*)pControl)->Last(); in Execute()
5179 ((SpinField*)pControl)->SetModifyFlag(); in Execute()
5180 ((SpinField*)pControl)->Modify(); in Execute()
5192 AnimateMouse( pControl, Mitte); in Execute()
5197 Point aPt( pControl->GetSizePixel().Width() / 2, pControl->GetSizePixel().Height() / 2 ); in Execute()
5199 ImplMouseButtonDown( pControl, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5200 ImplMouseButtonUp ( pControl, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5207 Point aPt( pControl->GetSizePixel().Width() / 2, pControl->GetSizePixel().Height() / 2 ); in Execute()
5209 ImplMouseButtonDown( pControl, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5212 sal_uLong nDelay = pControl->GetSettings().GetMouseSettings().GetActionDelay(); in Execute()
5216 ImplMouseButtonUp ( pControl, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5231 ToolBox *pTB = ((ToolBox*)pControl); in Execute()
5301 AnimateMouse( pControl, MitteLinks); in Execute()
5340 AnimateMouse( pControl, aRect.Center() ); in Execute()
5375 AnimateMouse( pControl, aRect.Center() ); in Execute()
5499 SvLBoxEntry *pThisEntry = ((SvTreeListBox*)pControl)->First(); \ in Execute()
5504 pThisEntry = ((SvTreeListBox*)pControl)->Next( pThisEntry ); \ in Execute()
5510 SvTreeListBox *pTree = (SvTreeListBox*)pControl; in Execute()
5540 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((SvLBox*)pControl)->GetSelectionCount())); in Execute()
5543 pRet->GenReturn ( RET_Value, aUId, comm_ULONG(((SvLBox*)pControl)->GetVisibleCount()) ); in Execute()
5548 if ( ValueOK(aUId, CUniString("GetSelIndex"),nNr1,((SvLBox*)pControl)->GetSelectionCount()) ) in Execute()
5552 …pRet->GenReturn ( RET_Value, aUId, comm_ULONG( ((SvTreeListBox*)pControl)->GetVisiblePos( pThisEnt… in Execute()
5573 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5575 SvLBoxEntry *pEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5576 ((SvTreeListBox*)pControl)->Select ( pEntry, bBool1 ); in Execute()
5587 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5589 SvLBoxEntry *pEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5590 ((SvTreeListBox*)pControl)->Collapse ( pEntry ); in Execute()
5601 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5603 SvLBoxEntry *pEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5604 ((SvTreeListBox*)pControl)->Expand ( pEntry ); in Execute()
5613 if ( ValueOK(aUId, CUniString("GetSelText"),nNr1,((SvLBox*)pControl)->GetSelectionCount()) ) in Execute()
5637 if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5639 … SvLBoxEntry *pThisEntry = (SvLBoxEntry*)((SvTreeListBox*)pControl)->GetEntryAtVisPos( nNr1-1 ); in Execute()
5668 SvTreeListBox *pTree = (SvTreeListBox*)pControl; in Execute()
5679 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5752 SvTreeListBox *pTree = (SvTreeListBox*)pControl; in Execute()
5763 … if ( ValueOK(aUId, MethodString( nMethodId ),nNr1,((SvLBox*)pControl)->GetVisibleCount()) ) in Execute()
5798 if ( dynamic_cast< EditBrowseBox* >(pControl) ) in Execute()
5800 else if ( dynamic_cast< ValueSet* >(pControl) ) in Execute()
5802 else if ( dynamic_cast< ORoadmap* >(pControl) ) in Execute()
5804 else if ( dynamic_cast< IExtensionListBox* >(pControl) ) in Execute()
5806 else if ( dynamic_cast< ::svt::table::TableControl* >(pControl) ) in Execute()
5814 AnimateMouse( pControl, MitteOben); in Execute()
5821 … EditBrowseBox* pEBBox = dynamic_cast< EditBrowseBox* >(pControl); in Execute()
6001 ValueSet *pVS = dynamic_cast< ValueSet* >(pControl); in Execute()
6038 ORoadmap *pRM = dynamic_cast< ORoadmap* >(pControl); in Execute()
6075 … IExtensionListBox *pELB = dynamic_cast< IExtensionListBox* >(pControl); in Execute()
6152 … ::svt::table::TableControl *pTC = dynamic_cast< ::svt::table::TableControl* >(pControl); in Execute()
6324 AnimateMouse( pControl, MitteOben); in Execute()
6337 AnimateMouse( pControl, MitteOben); in Execute()
6340 if ( ((DockingWindow*)pControl)->IsFloatingMode() ) in Execute()
6341 ((DockingWindow*)pControl)->SetFloatingMode(sal_False); in Execute()
6346 if ( !((DockingWindow*)pControl)->IsFloatingMode() ) in Execute()
6347 ((DockingWindow*)pControl)->SetFloatingMode(sal_True); in Execute()
6352 … pRet->GenReturn ( RET_Value, aUId, (comm_BOOL) !((DockingWindow*)pControl)->IsFloatingMode()); in Execute()
6356 DBG_ASSERT( aUId.equals( pControl->GetUniqueOrHelpId() ), "aUID != UniqueOrHelpId"); in Execute()
6357 SET_WINP_CLOSING(pControl); in Execute()
6358 ((DockingWindow*)pControl)->Close(); in Execute()
6365 if ( ((DockingWindow*)pControl)->IsFloatingMode() ) in Execute()
6367 Window* pFloat = ((DockingWindow*)pControl)->GetFloatingWindow(); in Execute()
6368 if ( !pFloat && ((DockingWindow*)pControl)->IsFloatingMode() ) in Execute()
6370 …if ( pControl->GET_REAL_PARENT() && pControl->GET_REAL_PARENT()->GetType() == WINDOW_FLOATINGWINDO… in Execute()
6371 pFloat = pControl->GET_REAL_PARENT(); in Execute()
6379 pControl = pFloat; in Execute()
6401 AnimateMouse( pControl, MitteOben); in Execute()
6404 pRet->GenReturn ( RET_Value, aUId, (comm_BOOL)!((FloatingWindow*)pControl)->IsRollUp()); in Execute()
6407 ((FloatingWindow*)pControl)->RollUp(); in Execute()
6410 ((FloatingWindow*)pControl)->RollDown(); in Execute()
6414 if ( pControl->GetStyle() & WB_SIZEABLE ) in Execute()
6416 Size aMin = ((FloatingWindow*)pControl)->GetMinOutputSizePixel(); in Execute()
6419 pControl->SetSizePixel(Size(nNr1,nNr2)); in Execute()
6420 pControl->Resize(); in Execute()
6432 DBG_ASSERT( aUId.equals( pControl->GetUniqueOrHelpId() ), "aUID != UniqueOrHelpId"); in Execute()
6433 SET_WINP_CLOSING(pControl); in Execute()
6434 ((FloatingWindow*)pControl)->Close(); in Execute()
6452 AnimateMouse( pControl, MitteOben); in Execute()
6455 DBG_ASSERT( aUId.equals( pControl->GetUniqueOrHelpId() ), "aUID != UniqueOrHelpId"); in Execute()
6456 SET_WINP_CLOSING(pControl); in Execute()
6457 ((SystemWindow*)pControl)->Close(); in Execute()
6461 Window *pChild = GetWinByRT( pControl, WINDOW_OKBUTTON ); in Execute()
6464 DBG_ASSERT( aUId.equals( pControl->GetUniqueOrHelpId() ), "aUID != UniqueOrHelpId"); in Execute()
6465 SET_WINP_CLOSING(pControl); in Execute()
6472 Window *pChild = GetWinByRT( pControl, WINDOW_CANCELBUTTON ); in Execute()
6475 DBG_ASSERT( aUId.equals( pControl->GetUniqueOrHelpId() ), "aUID != UniqueOrHelpId"); in Execute()
6476 SET_WINP_CLOSING(pControl); in Execute()
6483 Window *pChild = GetWinByRT( pControl, WINDOW_HELPBUTTON ); in Execute()
6490 Window *pChild = ImpGetButton( pControl, WB_DEFBUTTON, WB_DEFBUTTON ); in Execute()
6497 pControl->SetPosPixel(Point(nNr1,nNr2)); in Execute()
6509 AnimateMouse( pControl, MitteOben); in Execute()
6512 DBG_ASSERT( aUId.equals( pControl->GetUniqueOrHelpId() ), "aUID != UniqueOrHelpId"); in Execute()
6513 SET_WINP_CLOSING(pControl); in Execute()
6514 ((WorkWindow*)pControl)->Close(); in Execute()
6521 … pRet->GenReturn ( RET_Value, aUId, ((WorkWindow*)pControl)->IsMaximized() ); in Execute()
6524 … pRet->GenReturn ( RET_Value, aUId, ((WorkWindow*)pControl)->IsMinimized() ); in Execute()
6527 …eturn ( RET_Value, aUId, comm_BOOL (!((WorkWindow*)pControl)->IsMaximized() && !((WorkWindow*)pCon… in Execute()
6530 ((WorkWindow*)pControl)->Maximize( sal_False ); in Execute()
6531 ((WorkWindow*)pControl)->Minimize(); in Execute()
6534 ((WorkWindow*)pControl)->Maximize(); in Execute()
6537 ((WorkWindow*)pControl)->Maximize( sal_False ); in Execute()
6538 ((WorkWindow*)pControl)->Restore(); in Execute()
6557 MessBox* pMB = (MessBox*)pControl; in Execute()
6585 ButtonDialog* pBD = (ButtonDialog*)pControl; in Execute()
6588 if (pControl->IsVisible()) in Execute()
6596 AnimateMouse( pControl, Mitte); in Execute()
6601 SET_WINP_CLOSING(pControl); in Execute()
6610 SET_WINP_CLOSING(pControl); in Execute()
6619 SET_WINP_CLOSING(pControl); in Execute()
6628 SET_WINP_CLOSING(pControl); in Execute()
6637 SET_WINP_CLOSING(pControl); in Execute()
6646 SET_WINP_CLOSING(pControl); in Execute()
6654 WinBits Style = pControl->GetStyle(); in Execute()
6657 SET_WINP_CLOSING(pControl); in Execute()
6662 SET_WINP_CLOSING(pControl); in Execute()
6667 SET_WINP_CLOSING(pControl); in Execute()
6672 SET_WINP_CLOSING(pControl); in Execute()
6677 SET_WINP_CLOSING(pControl); in Execute()
6685 pRet->GenReturn ( RET_Value, aUId, pControl->GetText()); in Execute()
6694 SET_WINP_CLOSING(pControl); in Execute()