Lines Matching refs:pCtrl
2636 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
2637 DBG_ASSERT(WINDOW_EDIT != pCtrl->GetType(), "Remove should be disabled"); in IMPL_LINK()
2638 if( WINDOW_EDIT != pCtrl->GetType() ) in IMPL_LINK()
2641 const SwFormToken& rToken = ((SwTOXButton*)pCtrl)->GetFormToken(); in IMPL_LINK()
2643 aTokenWIN.RemoveControl((SwTOXButton*)pCtrl); in IMPL_LINK()
2985 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
2986 DBG_ASSERT(pCtrl, "no active control?"); in IMPL_LINK()
2987 if(pCtrl) in IMPL_LINK()
2989 if(WINDOW_EDIT == pCtrl->GetType()) in IMPL_LINK()
2990 ((SwTOXEdit*)pCtrl)->SetCharStyleName(sEntry, nId); in IMPL_LINK()
2992 ((SwTOXButton*)pCtrl)->SetCharStyleName(sEntry, nId); in IMPL_LINK()
3006 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
3007 DBG_ASSERT(pCtrl, "no active control?"); in IMPL_LINK()
3008 if(pCtrl && WINDOW_EDIT != pCtrl->GetType()) in IMPL_LINK()
3009 ((SwTOXButton*)pCtrl)->SetChapterInfo(nPos); in IMPL_LINK()
3020 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
3021 DBG_ASSERT(pCtrl, "no active control?"); in IMPL_LINK()
3022 if(pCtrl && WINDOW_EDIT != pCtrl->GetType()) in IMPL_LINK()
3023 ((SwTOXButton*)pCtrl)->SetOutlineLevel(nLevel); in IMPL_LINK()
3035 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
3036 DBG_ASSERT(pCtrl, "no active control?"); in IMPL_LINK()
3037 if(pCtrl && WINDOW_EDIT != pCtrl->GetType()) in IMPL_LINK()
3039 ((SwTOXButton*)pCtrl)->SetEntryNumberFormat(nPos);//i89791 in IMPL_LINK()
3051 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
3052 DBG_ASSERT(pCtrl && WINDOW_EDIT != pCtrl->GetType() && in IMPL_LINK()
3053 TOKEN_TAB_STOP == ((SwTOXButton*)pCtrl)->GetFormToken().eTokenType, in IMPL_LINK()
3055 if( pCtrl && WINDOW_EDIT != pCtrl->GetType() ) in IMPL_LINK()
3057 ((SwTOXButton*)pCtrl)->SetTabPosition( static_cast< SwTwips >( in IMPL_LINK()
3068 Control* pCtrl = aTokenWIN.GetActiveControl(); in IMPL_LINK() local
3069 DBG_ASSERT(pCtrl && WINDOW_EDIT != pCtrl->GetType() && in IMPL_LINK()
3070 TOKEN_TAB_STOP == ((SwTOXButton*)pCtrl)->GetFormToken().eTokenType, in IMPL_LINK()
3072 if(pCtrl && WINDOW_EDIT != pCtrl->GetType()) in IMPL_LINK()
3079 ((SwTOXButton*)pCtrl)->SetFillChar( cSet ); in IMPL_LINK()
3242 Control* pCtrl = InsertItem(aToken.sText, aToken); in SetForm() local
3245 SetActiveControl(pCtrl); in SetForm()
3253 Control* pCtrl = InsertItem(aEmptyStr, aTemp); in SetForm() local
3255 pSetActiveControl = pCtrl; in SetForm()
3283 Control* pCtrl = InsertItem(aEmptyStr, aTemp); in SetForm() local
3285 pSetActiveControl = pCtrl; in SetForm()
3653 Control* pCtrl = aControlList.First(); in AdjustPositions() local
3654 Point aNextPos = pCtrl->GetPosPixel(); in AdjustPositions()
3655 aNextPos.X() += pCtrl->GetSizePixel().Width(); in AdjustPositions()
3656 while(0 != (pCtrl = aControlList.Next())) in AdjustPositions()
3658 pCtrl->SetPosPixel(aNextPos); in AdjustPositions()
3659 aNextPos.X() += pCtrl->GetSizePixel().Width(); in AdjustPositions()
3670 Control* pCtrl = aControlList.First(); in MoveControls() local
3673 Point aPos = pCtrl->GetPosPixel(); in MoveControls()
3675 pCtrl->SetPosPixel(aPos); in MoveControls()
3676 }while(0 != (pCtrl = aControlList.Next())); in MoveControls()
3704 Control* pCtrl = aControlList.Last(); in AdjustScrolling() local
3705 aRightScrollWin.Enable((pCtrl->GetPosPixel().X() + pCtrl->GetSizePixel().Width()) > nSpace); in AdjustScrolling()
3754 Control* pCtrl = aControlList.GetObject(i); in IMPL_LINK() local
3755 long nXPos = pCtrl->GetPosPixel().X(); in IMPL_LINK()
3773 Control* pCtrl = aControlList.GetObject(i - 1); in IMPL_LINK() local
3774 long nCtrlWidth = pCtrl->GetSizePixel().Width(); in IMPL_LINK()
3775 long nXPos = pCtrl->GetPosPixel().X() + nCtrlWidth; in IMPL_LINK()
3793 Control* pCtrl = aControlList.First(); in IMPL_LINK() local
3796 Point aPos = pCtrl->GetPosPixel(); in IMPL_LINK()
3798 pCtrl->SetPosPixel(aPos); in IMPL_LINK()
3799 }while(0 != (pCtrl = aControlList.Next())); in IMPL_LINK()
3801 pCtrl = aControlList.Last(); in IMPL_LINK()
3802 aRightScrollWin.Enable((pCtrl->GetPosPixel().X() + pCtrl->GetSizePixel().Width()) > nSpace); in IMPL_LINK()
3857 sal_Bool SwTokenWindow::CreateQuickHelp(Control* pCtrl, in CreateQuickHelp() argument
3874 Point aPos = OutputToScreenPixel(pCtrl->GetPosPixel()); in CreateQuickHelp()
3875 Rectangle aItemRect( aPos, pCtrl->GetSizePixel() ); in CreateQuickHelp()