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()
4853 TriStateBox *pTB = ((TriStateBox*)pControl); in Execute() local
4854 if ( pTB->GetState() == STATE_NOCHECK ) in Execute()
4855 pTB->SetState( STATE_CHECK ); in Execute()
4856 else if ( pTB->GetState() == STATE_CHECK ) in Execute()
4858 if ( pTB->IsTriStateEnabled() ) in Execute()
4859 pTB->SetState( STATE_DONTKNOW ); in Execute()
4861 pTB->SetState( STATE_NOCHECK ); in Execute()
4864 pTB->SetState( STATE_NOCHECK ); in Execute()
4865 pTB->Click(); in Execute()
5230 ToolBox *pTB = ((ToolBox*)pControl); in Execute() local
5231 if ( !aUId.equals( pTB->GetUniqueOrHelpId() ) ) // So we found a Button on the ToolBox in Execute()
5251 …for ( nItemPos = 0; nItemPos < pTB->GetItemCount() && !aButtonId.equals(Str2Id( pTB->GetItemComman… in Execute()
5252 … !aButtonId.equals(pTB->GetHelpId(pTB->GetItemId(nItemPos))) ; nItemPos++ ) {}\ in Execute()
5253 …Found = aButtonId.equals(Str2Id( pTB->GetItemCommand(pTB->GetItemId(nItemPos)) )) || aButtonId.equ… in Execute()
5258 …if ( !pTB->IsItemEnabled( pTB->GetItemId(nItemPos) ) && nMethodId != _M_IsEnabled && nMethodId != … in Execute()
5263 else if ( !pTB->IsItemVisible( pTB->GetItemId(nItemPos) ) && nMethodId != M_GetState )\ in Execute()
5270 if ( pTB->IsMenuEnabled() )\ in Execute()
5275 if ( pTB->GetItemRect(pTB->GetItemId(nItemPos)).IsEmpty() )\ in Execute()
5277 sal_uInt16 nLine = pTB->GetCurLine();\ in Execute()
5280 pTB->ShowLine( sal_False );\ in Execute()
5284 … while ( pTB->GetCurLine() != nLine && pTB->GetItemRect(pTB->GetItemId(nItemPos)).IsEmpty() );\ in Execute()
5285 pTB->Invalidate( pTB->GetScrollRect() );\ in Execute()
5287 if ( pTB->GetItemRect(pTB->GetItemId(nItemPos)).IsEmpty() )\ in Execute()
5307 Rectangle aRect = pTB->GetItemRect(pTB->GetItemId(nItemPos)); in Execute()
5310 pTB->ExecuteCustomMenu(); in Execute()
5320 …new StatementCommand( this, RC_MenuSelect, PARAM_USHORT_1, pTB->GetItemId(nItemPos) + TOOLBOX_MENU… in Execute()
5324 aRect = pTB->GetItemRect(pTB->GetItemId(nItemPos)); in Execute()
5327 ImplMouseButtonDown( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5328 ImplMouseButtonUp ( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5338 Rectangle aRect = pTB->GetItemPosDropDownRect( nItemPos ); in Execute()
5341 ImplMouseButtonDown( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5356 ImplMouseButtonUp( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5362 ImplMouseButtonUp( pTB, aMEvnt, FORCE_DIRECT_CALL ); in Execute()
5373 Rectangle aRect = pTB->GetItemPosDropDownRect( nItemPos ); in Execute()
5376 ImplMouseButtonDown( pTB, aMEvnt); in Execute()
5377 ImplMouseButtonUp( pTB, aMEvnt); in Execute()
5392 pRet->GenReturn ( RET_Value, aUId, pTB->IsItemEnabled( pTB->GetItemId(nItemPos) ) ); in Execute()
5405 … pRet->GenReturn ( RET_Value, aUId, Id2Str( pTB->GetHelpId(pTB->GetItemId(nItemPos)) ) ); in Execute()
5408 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemType(nItemPos)); in Execute()
5411 … pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemState(pTB->GetItemId(nItemPos))); in Execute()
5414 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemId(nItemPos)); in Execute()
5420 pRet->GenReturn ( RET_Value, aUId, Id2Str(pTB->GetHelpId())); // The toolbox's help id in Execute()
5424 Rectangle aRect = pTB->GetItemPosRect( nItemPos ); in Execute()
5425 Rectangle aTBRect = pTB->GetWindowExtentsRelative( NULL ); in Execute()
5443 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5444 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetHelpText(pTB->GetItemId(nNr1-1))); in Execute()
5447 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5448 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetQuickHelpText(pTB->GetItemId(nNr1-1))); in Execute()
5451 if ( ValueOK( aUId, MethodString( nMethodId ), nNr1, pTB->GetItemCount() )) in Execute()
5452 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetItemText(pTB->GetItemId(nNr1-1))); in Execute()
5455 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetItemText(nNr1)); in Execute()
5458 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetText()); in Execute()
5461 pRet->GenReturn ( RET_Value, aUId, (comm_ULONG)pTB->GetItemCount()); in Execute()
5465 pTB->SetNextToolBox( aString1 ); in Execute()
5467 pTB->SetNextToolBox( pTB->GetNextToolBox() ); in Execute()
5468 pTB->NextToolBox(); in Execute()
5471 pRet->GenReturn ( RET_Value, aUId, (String)pTB->GetNextToolBox()); in Execute()