Lines Matching refs:pTB
910 ToolBox *pTB = ((ToolBox*)pBase); in WriteControlData() local
912 for ( i = 0; i < pTB->GetItemCount() ; i++ ) in WriteControlData()
918 aName = pTB->GetHelpText( pTB->GetItemId( i ) ); in WriteControlData()
920 aName = pTB->GetItemText( pTB->GetItemId( i ) ); in WriteControlData()
923 pItemWin = pTB->GetItemWindow( pTB->GetItemId( i ) ); in WriteControlData()
924 if ( pTB->GetItemType( i ) == TOOLBOXITEM_BUTTON && ( !pItemWin || !pItemWin->IsVisible() ) ) in WriteControlData()
926 if ( pTB->GetItemCommand(pTB->GetItemId( i )).Len() || ( nConf & DH_MODE_ALLWIN ) ) in WriteControlData()
927 …pRet->GenReturn ( RET_WinInfo, Str2Id(pTB->GetItemCommand(pTB->GetItemId( i ))), (comm_ULONG)WINDO… in WriteControlData()
929 if ( !pTB->GetItemCommand(pTB->GetItemId( i )).Len() || ( nConf & DH_MODE_ALLWIN ) ) in WriteControlData()
930 … pRet->GenReturn ( RET_WinInfo, pTB->GetHelpId(pTB->GetItemId( i )), (comm_ULONG)WINDOW_BUTTON, in WriteControlData()
937 … if ( pTB->GetItemCommand(pTB->GetItemId( i )).Len() || ( nConf & DH_MODE_ALLWIN ) ) in WriteControlData()
938 …pRet->GenReturn ( RET_WinInfo, Str2Id(pTB->GetItemCommand(pTB->GetItemId( i ))), (comm_ULONG)pItem… in WriteControlData()
940 … if ( !pTB->GetItemCommand(pTB->GetItemId( i )).Len() || ( nConf & DH_MODE_ALLWIN ) ) in WriteControlData()
941 …pRet->GenReturn ( RET_WinInfo, pTB->GetHelpId(pTB->GetItemId( i )), (comm_ULONG)pItemWin->GetType(… in WriteControlData()
952 switch ( pTB->GetItemType( i ) ) in WriteControlData()
970 DBG_ERROR1( "Unknown TOOLBOXITEM %i", pTB->GetItemType( i ) ); in WriteControlData()
972 … if ( pTB->GetItemCommand(pTB->GetItemId( i )).Len() || ( nConf & DH_MODE_ALLWIN ) ) in WriteControlData()
973 …pRet->GenReturn ( RET_WinInfo, Str2Id( pTB->GetItemCommand(pTB->GetItemId( i )) ), (comm_ULONG)WIN… in WriteControlData()
975 … if ( !pTB->GetItemCommand(pTB->GetItemId( i )).Len() || ( nConf & DH_MODE_ALLWIN ) ) in WriteControlData()
976 … pRet->GenReturn ( RET_WinInfo, pTB->GetHelpId(pTB->GetItemId( i )), (comm_ULONG)WINDOW_BASE, in WriteControlData()
2217 Window* pTB = pControl->GetChild( 0 ); in GetNextRecoverWin() local
2218 if ( pControl->GetChildCount() == 1 && pTB->GetType() == WINDOW_TOOLBOX ) in GetNextRecoverWin()
4243 ToolBox* pTB = (ToolBox*)pControl; in HandleCommonMethods() local
4244 if ( (pControl->GetType() == WINDOW_TOOLBOX) && pTB->IsMenuEnabled() ) in HandleCommonMethods()
4246 pTB->ExecuteCustomMenu(); in HandleCommonMethods()
4854 TriStateBox *pTB = ((TriStateBox*)pControl); in Execute() local
4855 if ( pTB->GetState() == STATE_NOCHECK ) in Execute()
4856 pTB->SetState( STATE_CHECK ); in Execute()
4857 else if ( pTB->GetState() == STATE_CHECK ) in Execute()
4859 if ( pTB->IsTriStateEnabled() ) in Execute()
4860 pTB->SetState( STATE_DONTKNOW ); in Execute()
4862 pTB->SetState( STATE_NOCHECK ); in Execute()
4865 pTB->SetState( STATE_NOCHECK ); in Execute()
4866 pTB->Click(); in Execute()
5231 ToolBox *pTB = ((ToolBox*)pControl); in Execute() local
5232 if ( !aUId.equals( pTB->GetUniqueOrHelpId() ) ) // So we found a Button on the ToolBox in Execute()
5252 …for ( nItemPos = 0; nItemPos < pTB->GetItemCount() && !aButtonId.equals(Str2Id( pTB->GetItemComman… in Execute()
5253 … !aButtonId.equals(pTB->GetHelpId(pTB->GetItemId(nItemPos))) ; nItemPos++ ) {}\ in Execute()
5254 …Found = aButtonId.equals(Str2Id( pTB->GetItemCommand(pTB->GetItemId(nItemPos)) )) || aButtonId.equ… in Execute()
5259 …if ( !pTB->IsItemEnabled( pTB->GetItemId(nItemPos) ) && nMethodId != _M_IsEnabled && nMethodId != … in Execute()
5264 else if ( !pTB->IsItemVisible( pTB->GetItemId(nItemPos) ) && nMethodId != M_GetState )\ in Execute()
5271 if ( pTB->IsMenuEnabled() )\ in Execute()
5276 if ( pTB->GetItemRect(pTB->GetItemId(nItemPos)).IsEmpty() )\ in Execute()
5278 sal_uInt16 nLine = pTB->GetCurLine();\ in Execute()
5281 pTB->ShowLine( sal_False );\ in Execute()
5285 … while ( pTB->GetCurLine() != nLine && pTB->GetItemRect(pTB->GetItemId(nItemPos)).IsEmpty() );\ in Execute()
5286 pTB->Invalidate( pTB->GetScrollRect() );\ in Execute()
5288 if ( pTB->GetItemRect(pTB->GetItemId(nItemPos)).IsEmpty() )\ in Execute()
5308 Rectangle aRect = pTB->GetItemRect(pTB->GetItemId(nItemPos)); in Execute()
5311 pTB->ExecuteCustomMenu(); in Execute()
5321 …new StatementCommand( this, RC_MenuSelect, PARAM_USHORT_1, pTB->GetItemId(nItemPos) + TOOLBOX_MENU… in Execute()
5325 aRect = pTB->GetItemRect(pTB->GetItemId(nItemPos)); in Execute()
5328 ImplMouseButtonDown( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5329 ImplMouseButtonUp ( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5339 Rectangle aRect = pTB->GetItemPosDropDownRect( nItemPos ); in Execute()
5342 ImplMouseButtonDown( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5357 ImplMouseButtonUp( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5363 ImplMouseButtonUp( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5374 Rectangle aRect = pTB->GetItemPosDropDownRect( nItemPos ); in Execute()
5377 ImplMouseButtonDown( pTB, aMEvnt); in Execute()
5378 ImplMouseButtonUp( pTB, aMEvnt); in Execute()
5393 pRet->GenReturn ( RET_Value, aUId, pTB->IsItemEnabled( pTB->GetItemId(nItemPos) ) ); in Execute()
5406 … pRet->GenReturn ( RET_Value, aUId, Id2Str( pTB->GetHelpId(pTB->GetItemId(nItemPos)) ) ); in Execute()
5409 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemType(nItemPos)); in Execute()
5412 … pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemState(pTB->GetItemId(nItemPos))); in Execute()
5415 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemId(nItemPos)); in Execute()
5421 pRet->GenReturn ( RET_Value, aUId, Id2Str(pTB->GetHelpId())); // The toolbox's help id in Execute()
5425 Rectangle aRect = pTB->GetItemPosRect( nItemPos ); in Execute()
5426 Rectangle aTBRect = pTB->GetWindowExtentsRelative( NULL ); in Execute()
5444 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5445 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetHelpText(pTB->GetItemId(nNr1-1))); in Execute()
5448 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5449 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetQuickHelpText(pTB->GetItemId(nNr1-1))); in Execute()
5452 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5453 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetItemText(pTB->GetItemId(nNr1-1))); in Execute()
5456 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetItemText(nNr1)); in Execute()
5459 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetText()); in Execute()
5462 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemCount()); in Execute()
5466 pTB->SetNextToolBox( aString1 ); in Execute()
5468 pTB->SetNextToolBox( pTB->GetNextToolBox() ); in Execute()
5469 pTB->NextToolBox(); in Execute()
5472 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetNextToolBox()); in Execute()