Lines Matching refs:mpData
565 const bool bOldPaintLock = pThis->mpData->mbIsPaintLocked; in ImplDrawTransparentBackground()
566 pThis->mpData->mbIsPaintLocked = true; in ImplDrawTransparentBackground()
571 pThis->mpData->mbIsPaintLocked = bOldPaintLock; in ImplDrawTransparentBackground()
645 if( !pThis->mpData->mbNativeButtons && in ImplErase()
747 it = pThis->mpData->m_aItems.begin(); in ImplGetFirstClippedItem()
748 while ( it != pThis->mpData->m_aItems.end() ) in ImplGetFirstClippedItem()
769 sal_Bool bOldAssumeDocked = pThis->mpData->mbAssumeDocked; in ImplCalcSize()
770 sal_Bool bOldAssumeFloating = pThis->mpData->mbAssumeFloating; in ImplCalcSize()
776 pThis->mpData->mbAssumeDocked = sal_False; in ImplCalcSize()
777 pThis->mpData->mbAssumeFloating = sal_False; in ImplCalcSize()
781 … pThis->mpData->mbAssumeDocked = sal_True; // force non-floating mode during calculation in ImplCalcSize()
789 … pThis->mpData->mbAssumeDocked = sal_True; // force non-floating mode during calculation in ImplCalcSize()
797 … pThis->mpData->mbAssumeFloating = sal_True; // force non-floating mode during calculation in ImplCalcSize()
862 pThis->mpData->mbAssumeDocked = bOldAssumeDocked; in ImplCalcSize()
863 pThis->mpData->mbAssumeFloating = bOldAssumeFloating; in ImplCalcSize()
891 it = pThis->mpData->m_aItems.begin(); in ImplCalcFloatSizes()
892 while ( it != pThis->mpData->m_aItems.end() ) in ImplCalcFloatSizes()
912 long upperBoundWidth = nCalcSize * pThis->mpData->m_aItems.size(); in ImplCalcFloatSizes()
1199 std::vector< ImplToolItem >::const_iterator it = pBox->mpData->m_aItems.begin(); in ImplFindItemPos()
1200 while ( it != pBox->mpData->m_aItems.end() ) in ImplFindItemPos()
1577 mpData = new ImplToolBoxPrivateData; in ImplInit()
1637 mpData->maDropdownTimer.SetTimeout( 250 ); in ImplInit()
1638 mpData->maDropdownTimer.SetTimeoutHdl( LINK( this, ToolBox, ImplDropdownLongClickHdl ) ); in ImplInit()
1659 mpData->mbNativeButtons = IsNativeControlSupported( CTRL_TOOLBAR, PART_BUTTON ); in ImplInitSettings()
1701 mpData->maDisplayBackground = Wallpaper( rStyleSettings.GetFaceColor() ); in ImplInitSettings()
1813 if( mpData->mnEventId ) in ~ToolBox()
1814 Application::RemoveUserEvent( mpData->mnEventId ); in ~ToolBox()
1826 delete mpData; in ~ToolBox()
1853 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplGetItem()
1854 while ( it != mpData->m_aItems.end() ) in ImplGetItem()
1933 if( nMinWidth > mpData->mnMenuButtonWidth ) in ImplCalcItem()
1934 mpData->mnMenuButtonWidth = nMinWidth; in ImplCalcItem()
1936 mpData->mnMenuButtonWidth = TB_MENUBUTTON_SIZE; in ImplCalcItem()
1981 if ( ! mpData->m_aItems.empty() ) in ImplCalcItem()
1983 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplCalcItem()
1984 while ( it != mpData->m_aItems.end() ) in ImplCalcItem()
2092 …ttonBorder( it->maItemSize.Width(), it->maItemSize.Height(), mnOutStyle, mpData->mbNativeButtons ); in ImplCalcItem()
2117 ImplAddButtonBorder( nMaxWidth, nMaxHeight, mnOutStyle, mpData->mbNativeButtons ); in ImplCalcItem()
2129 ImplAddButtonBorder( nFixedWidth, nFixedHeight, mnOutStyle, mpData->mbNativeButtons ); in ImplCalcItem()
2170 nLineWidth = mpData->maMenubuttonItem.maItemSize.Width(); in ImplCalcBreaks()
2172 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplCalcBreaks()
2173 while ( it != mpData->m_aItems.end() ) in ImplCalcBreaks()
2230 nLineStart = it - mpData->m_aItems.begin(); in ImplCalcBreaks()
2244 it = mpData->m_aItems.begin() + nGroupStart; in ImplCalcBreaks()
2256 nGroupStart = it - mpData->m_aItems.begin(); in ImplCalcBreaks()
2391 mpData->ImplClearLayoutData(); in ImplFormat()
2548 it = mpData->m_aItems.begin(); in ImplFormat()
2549 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2581 Rectangle aOldMenubuttonRect = mpData->maMenubuttonItem.maRect; in ImplFormat()
2585 mpData->maMenubuttonItem.maRect = aEmptyRect; in ImplFormat()
2608 if ( !mpData->m_aItems.empty() || IsMenuEnabled() ) in ImplFormat()
2634 mpData->maMenubuttonItem.maRect.Right() = mnDX - 2; in ImplFormat()
2635 mpData->maMenubuttonItem.maRect.Top() = nTop; in ImplFormat()
2636 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY-mnBottomBorder-mnBorderY-TB_BORDER_OFFSET2-1; in ImplFormat()
2640 … mpData->maMenubuttonItem.maRect.Right() = mnDX - mnRightBorder-mnBorderX-TB_BORDER_OFFSET1-1; in ImplFormat()
2641 mpData->maMenubuttonItem.maRect.Top() = nTop; in ImplFormat()
2642 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY-mnBottomBorder-mnBorderY-TB_BORDER_OFFSET2-1; in ImplFormat()
2644 …mpData->maMenubuttonItem.maRect.Left() = mpData->maMenubuttonItem.maRect.Right() - mpData->mnMenuB… in ImplFormat()
2665 mpData->maMenubuttonItem.maRect.Bottom() = mnDY - 2; in ImplFormat()
2666 mpData->maMenubuttonItem.maRect.Left() = nLeft; in ImplFormat()
2667 … mpData->maMenubuttonItem.maRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; in ImplFormat()
2671 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY - mnBottomBorder-mnBorderY-TB_BORDER_OFFSET1-1; in ImplFormat()
2672 mpData->maMenubuttonItem.maRect.Left() = nLeft; in ImplFormat()
2673 … mpData->maMenubuttonItem.maRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; in ImplFormat()
2675 …mpData->maMenubuttonItem.maRect.Top() = mpData->maMenubuttonItem.maRect.Bottom() - mpData->mnMenuB… in ImplFormat()
2703 it = mpData->m_aItems.begin(); in ImplFormat()
2704 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2714 while ( temp_it != mpData->m_aItems.end() ) in ImplFormat()
2817 ImplToolItem &rIt = mpData->maMenubuttonItem; in ImplFormat()
2823 rIt.maRect.Right() = rIt.maRect.Left() + mpData->mnMenuButtonWidth; in ImplFormat()
2832 rIt.maRect.Bottom() = rIt.maRect.Top() + mpData->mnMenuButtonWidth; in ImplFormat()
2863 if ( aOldMenubuttonRect != mpData->maMenubuttonItem.maRect ) in ImplFormat()
2865 maPaintRect.Union( mpData->maMenubuttonItem.maRect ); in ImplFormat()
2874 it = mpData->m_aItems.begin(); in ImplFormat()
2875 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2892 it = mpData->m_aItems.begin(); in ImplFormat()
2893 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2920 (mpData->m_aItems[ mnCurPos ].mnBits & TIB_DROPDOWN) in IMPL_LINK()
2923 mpData->mbDropDownByKeyboard = sal_False; in IMPL_LINK()
3221 if( !pThis->mpData->maMenubuttonItem.maRect.IsEmpty() ) in ImplDrawMenubutton()
3236 Rectangle aInnerRect( pThis->mpData->maMenubuttonItem.maRect ); in ImplDrawMenubutton()
3237 if( pThis->mpData->mnMenuButtonWidth > TB_MENUBUTTON_SIZE ) in ImplDrawMenubutton()
3239 long nDiff = pThis->mpData->mnMenuButtonWidth - TB_MENUBUTTON_SIZE; in ImplDrawMenubutton()
3269 …ImplErase( pThis, bNativeButtons ? pThis->mpData->maMenubuttonItem.maRect : aInnerRect, bHighlight… in ImplDrawMenubutton()
3274 …ImplDrawButton( pThis, pThis->mpData->maMenubuttonItem.maRect, 2, sal_False, sal_True, sal_False ); in ImplDrawMenubutton()
3297 if( pThis->mpData->maMenuType & TOOLBOX_MENUTYPE_CUSTOMIZE ) in ImplDrawMenubutton()
3312 pThis->mpData->mbMenubuttonSelected = bHighlight; in ImplDrawMenubutton()
3436 if( nPos >= mpData->m_aItems.size() ) in ImplDrawItem()
3446 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in ImplDrawItem()
3447 MetricVector* pVector = bLayout ? &mpData->m_pLayoutData->m_aUnicodeBoundRects : NULL; in ImplDrawItem()
3448 String* pDisplayText = bLayout ? &mpData->m_pLayoutData->m_aDisplayText : NULL; in ImplDrawItem()
3475 ImplToolItem* pTempItem = &mpData->m_aItems[nPos-1]; in ImplDrawItem()
3476 if ( pTempItem && !pTempItem->mbShowWindow && nPos < mpData->m_aItems.size()-1 ) in ImplDrawItem()
3478 pTempItem = &mpData->m_aItems[nPos+1]; in ImplDrawItem()
3546 … mpData->m_pLayoutData->m_aLineIndices.push_back( mpData->m_pLayoutData->m_aDisplayText.Len() ); in ImplDrawItem()
3547 mpData->m_pLayoutData->m_aLineItemIds.push_back( pItem->mnId ); in ImplDrawItem()
3548 mpData->m_pLayoutData->m_aLineItemPositions.push_back( nPos ); in ImplDrawItem()
3768 … mpData->m_pLayoutData->m_aLineIndices.push_back( mpData->m_pLayoutData->m_aDisplayText.Len() ); in ImplDrawItem()
3769 mpData->m_pLayoutData->m_aLineItemIds.push_back( pItem->mnId ); in ImplDrawItem()
3770 mpData->m_pLayoutData->m_aLineItemPositions.push_back( nPos ); in ImplDrawItem()
3819 mpData->ImplClearLayoutData(); in ImplStartCustomizeMode()
3821 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in ImplStartCustomizeMode()
3822 while ( it != mpData->m_aItems.end() ) in ImplStartCustomizeMode()
3850 mpData->ImplClearLayoutData(); in ImplEndCustomizeMode()
3852 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in ImplEndCustomizeMode()
3853 while ( it != mpData->m_aItems.end() ) in ImplEndCustomizeMode()
3925 sal_Bool bWasKeyboardActivate = mpData->mbDropDownByKeyboard; in ImplFloatControl()
3951 if ( mpData->mbPageScroll ) in ShowLine()
3989 ImplToolItem* pItem = &mpData->m_aItems[mnCurPos]; in ImplHandleMouseMove()
4059 if( mnCurPos < mpData->m_aItems.size() && in ImplHandleMouseButtonUp()
4060 (mpData->m_aItems[mnCurPos].mnBits & TIB_DROPDOWN ) ) in ImplHandleMouseButtonUp()
4062 mpData->maDropdownTimer.Stop(); in ImplHandleMouseButtonUp()
4087 if( mnCurPos < mpData->m_aItems.size() ) in ImplHandleMouseButtonUp()
4089 ImplToolItem* pItem = &mpData->m_aItems[mnCurPos]; in ImplHandleMouseButtonUp()
4222 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseMove()
4223 while ( it != mpData->m_aItems.end() ) in MouseMove()
4311 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseMove()
4312 while ( it != mpData->m_aItems.end() ) in MouseMove()
4336 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseMove()
4337 while ( it != mpData->m_aItems.end() ) in MouseMove()
4348 … sal_uInt16 nTempPos = sal::static_int_cast<sal_uInt16>(it - mpData->m_aItems.begin()); in MouseMove()
4356 if ( mpData->mbMenubuttonSelected ) in MouseMove()
4378 sal_Bool bMenuButtonHit = mpData->maMenubuttonItem.maRect.IsInside( aMousePos ); in MouseMove()
4381 if ( !bMenuButtonHit && mpData->mbMenubuttonSelected ) in MouseMove()
4441 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseButtonDown()
4442 while ( it != mpData->m_aItems.end() ) in MouseButtonDown()
4533 mpData->mbDropDownByKeyboard = sal_False; in MouseButtonDown()
4554 mpData->maDropdownTimer.Start(); in MouseButtonDown()
4579 if( mpData->maMenubuttonItem.maRect.IsInside( aMousePos ) ) in MouseButtonDown()
4693 if( mpData->mbIsPaintLocked ) in Paint()
4709 ImplDrawMenubutton( this, mpData->mbMenubuttonSelected ); in Paint()
4728 sal_uInt16 nCount = (sal_uInt16)mpData->m_aItems.size(); in Paint()
4731 ImplToolItem* pItem = &mpData->m_aItems[i]; in Paint()
4988 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in Notify()
4989 while( it != mpData->m_aItems.end() ) in Notify()
5033 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in Command()
5034 while ( it != mpData->m_aItems.end() ) in Command()
5393 std::vector< ImplToolItem >::const_iterator it = ((ToolBox*)pThis)->mpData->m_aItems.begin(); in ImplCountLineBreaks()
5394 while ( it != ((ToolBox*)pThis)->mpData->m_aItems.end() ) in ImplCountLineBreaks()
5416 sal_Bool bPopup = mpData->mbAssumePopupMode; in CalcPopupWindowSizePixel()
5418 pThis->mpData->mbAssumePopupMode = sal_True; in CalcPopupWindowSizePixel()
5422 pThis->mpData->mbAssumePopupMode = bPopup; in CalcPopupWindowSizePixel()
5435 sal_Bool bFloat = mpData->mbAssumeFloating; in CalcFloatingWindowSizePixel()
5436 sal_Bool bDocking = mpData->mbAssumeDocked; in CalcFloatingWindowSizePixel()
5440 pThis->mpData->mbAssumeFloating = sal_True; in CalcFloatingWindowSizePixel()
5441 pThis->mpData->mbAssumeDocked = sal_False; in CalcFloatingWindowSizePixel()
5446 pThis->mpData->mbAssumeFloating = bFloat; in CalcFloatingWindowSizePixel()
5447 pThis->mpData->mbAssumeDocked = bDocking; in CalcFloatingWindowSizePixel()
5464 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in CalcMinimumWindowSizePixel()
5465 while( it != mpData->m_aItems.end() ) in CalcMinimumWindowSizePixel()
5681 if( IsMenuEnabled() && mpData->mbMenubuttonSelected ) in ImplOpenItem()
5687 … Application::PostUserEvent( mpData->mnEventId, LINK( this, ToolBox, ImplCallExecuteCustomMenu ) ); in ImplOpenItem()
5703 mpData->mbDropDownByKeyboard = sal_True; in ImplOpenItem()
5882 …if( HasFocus() && mpData->mbKeyInputDisabled && (ImplGetParent()->GetStyle() & (WB_DIALOGCONTROL |… in KeyInput()
5908 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in ImplGetItemLine()
5910 while( it != mpData->m_aItems.end() ) in ImplGetItemLine()
5929 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplGetFirstValidItem()
5930 while( it != mpData->m_aItems.end() ) in ImplGetFirstValidItem()
5938 while( it != mpData->m_aItems.end() && ((it->meType != TOOLBOXITEM_BUTTON) || in ImplGetFirstValidItem()
5942 if( it == mpData->m_aItems.end() || it->mbBreak ) in ImplGetFirstValidItem()
5950 return (it == mpData->m_aItems.end()) ? NULL : &(*it); in ImplGetFirstValidItem()
5961 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplGetLastValidItem()
5962 while( it != mpData->m_aItems.end() ) in ImplGetLastValidItem()
5970 while( it != mpData->m_aItems.end() && ((it->meType == TOOLBOXITEM_BUTTON) && in ImplGetLastValidItem()
5975 if( it == mpData->m_aItems.end() || it->mbBreak ) in ImplGetLastValidItem()
6039 sal_uInt16 aPos = ToolBox::ImplFindItemPos( pItem, mpData->m_aItems ); in ImplChangeHighlight()
6104 if( mpData->mbMenubuttonSelected ) in ImplChangeHighlightUpDn()
6109 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.end(); in ImplChangeHighlightUpDn()
6111 while( it != mpData->m_aItems.begin() ) in ImplChangeHighlightUpDn()
6126 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplChangeHighlightUpDn()
6127 while( it != mpData->m_aItems.end() ) in ImplChangeHighlightUpDn()
6133 if( it != mpData->m_aItems.end() ) in ImplChangeHighlightUpDn()
6145 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplChangeHighlightUpDn()
6146 while( it != mpData->m_aItems.end() ) in ImplChangeHighlightUpDn()
6154 …if( (it != mpData->m_aItems.end() && &(*it) == ImplGetFirstClippedItem( this )) && IsMenuEnabled()… in ImplChangeHighlightUpDn()
6160 ImplChangeHighlight( (it != mpData->m_aItems.end()) ? &(*it) : NULL ); in ImplChangeHighlightUpDn()
6175 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.end(); in ImplChangeHighlightUpDn()
6177 while( it != mpData->m_aItems.begin() ) in ImplChangeHighlightUpDn()
6194 sal_uLong pos = ToolBox::ImplFindItemPos( pToolItem, mpData->m_aItems ); in ImplChangeHighlightUpDn()
6195 sal_uLong nCount = mpData->m_aItems.size(); in ImplChangeHighlightUpDn()
6237 pToolItem = &mpData->m_aItems[pos]; in ImplChangeHighlightUpDn()
6289 if ( mpData->mbMenubuttonSelected ) in ImplHideFocus()