Lines Matching refs:mpData
557 const bool bOldPaintLock = pThis->mpData->mbIsPaintLocked; in ImplDrawTransparentBackground()
558 pThis->mpData->mbIsPaintLocked = true; in ImplDrawTransparentBackground()
563 pThis->mpData->mbIsPaintLocked = bOldPaintLock; in ImplDrawTransparentBackground()
637 if( !pThis->mpData->mbNativeButtons && in ImplErase()
739 it = pThis->mpData->m_aItems.begin(); in ImplGetFirstClippedItem()
740 while ( it != pThis->mpData->m_aItems.end() ) in ImplGetFirstClippedItem()
761 sal_Bool bOldAssumeDocked = pThis->mpData->mbAssumeDocked; in ImplCalcSize()
762 sal_Bool bOldAssumeFloating = pThis->mpData->mbAssumeFloating; in ImplCalcSize()
768 pThis->mpData->mbAssumeDocked = sal_False; in ImplCalcSize()
769 pThis->mpData->mbAssumeFloating = sal_False; in ImplCalcSize()
773 … pThis->mpData->mbAssumeDocked = sal_True; // force non-floating mode during calculation in ImplCalcSize()
781 … pThis->mpData->mbAssumeDocked = sal_True; // force non-floating mode during calculation in ImplCalcSize()
789 … pThis->mpData->mbAssumeFloating = sal_True; // force non-floating mode during calculation in ImplCalcSize()
854 pThis->mpData->mbAssumeDocked = bOldAssumeDocked; in ImplCalcSize()
855 pThis->mpData->mbAssumeFloating = bOldAssumeFloating; in ImplCalcSize()
883 it = pThis->mpData->m_aItems.begin(); in ImplCalcFloatSizes()
884 while ( it != pThis->mpData->m_aItems.end() ) in ImplCalcFloatSizes()
904 long upperBoundWidth = nCalcSize * pThis->mpData->m_aItems.size(); in ImplCalcFloatSizes()
1191 std::vector< ImplToolItem >::const_iterator it = pBox->mpData->m_aItems.begin(); in ImplFindItemPos()
1192 while ( it != pBox->mpData->m_aItems.end() ) in ImplFindItemPos()
1569 mpData = new ImplToolBoxPrivateData; in ImplInit()
1629 mpData->maDropdownTimer.SetTimeout( 250 ); in ImplInit()
1630 mpData->maDropdownTimer.SetTimeoutHdl( LINK( this, ToolBox, ImplDropdownLongClickHdl ) ); in ImplInit()
1651 mpData->mbNativeButtons = IsNativeControlSupported( CTRL_TOOLBAR, PART_BUTTON ); in ImplInitSettings()
1693 mpData->maDisplayBackground = Wallpaper( rStyleSettings.GetFaceColor() ); in ImplInitSettings()
1805 if( mpData->mnEventId ) in ~ToolBox()
1806 Application::RemoveUserEvent( mpData->mnEventId ); in ~ToolBox()
1818 delete mpData; in ~ToolBox()
1845 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplGetItem()
1846 while ( it != mpData->m_aItems.end() ) in ImplGetItem()
1925 if( nMinWidth > mpData->mnMenuButtonWidth ) in ImplCalcItem()
1926 mpData->mnMenuButtonWidth = nMinWidth; in ImplCalcItem()
1928 mpData->mnMenuButtonWidth = TB_MENUBUTTON_SIZE; in ImplCalcItem()
1973 if ( ! mpData->m_aItems.empty() ) in ImplCalcItem()
1975 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplCalcItem()
1976 while ( it != mpData->m_aItems.end() ) in ImplCalcItem()
2084 …ttonBorder( it->maItemSize.Width(), it->maItemSize.Height(), mnOutStyle, mpData->mbNativeButtons ); in ImplCalcItem()
2109 ImplAddButtonBorder( nMaxWidth, nMaxHeight, mnOutStyle, mpData->mbNativeButtons ); in ImplCalcItem()
2121 ImplAddButtonBorder( nFixedWidth, nFixedHeight, mnOutStyle, mpData->mbNativeButtons ); in ImplCalcItem()
2162 nLineWidth = mpData->maMenubuttonItem.maItemSize.Width(); in ImplCalcBreaks()
2164 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplCalcBreaks()
2165 while ( it != mpData->m_aItems.end() ) in ImplCalcBreaks()
2222 nLineStart = it - mpData->m_aItems.begin(); in ImplCalcBreaks()
2236 it = mpData->m_aItems.begin() + nGroupStart; in ImplCalcBreaks()
2248 nGroupStart = it - mpData->m_aItems.begin(); in ImplCalcBreaks()
2383 mpData->ImplClearLayoutData(); in ImplFormat()
2540 it = mpData->m_aItems.begin(); in ImplFormat()
2541 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2573 Rectangle aOldMenubuttonRect = mpData->maMenubuttonItem.maRect; in ImplFormat()
2577 mpData->maMenubuttonItem.maRect = aEmptyRect; in ImplFormat()
2600 if ( !mpData->m_aItems.empty() || IsMenuEnabled() ) in ImplFormat()
2626 mpData->maMenubuttonItem.maRect.Right() = mnDX - 2; in ImplFormat()
2627 mpData->maMenubuttonItem.maRect.Top() = nTop; in ImplFormat()
2628 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY-mnBottomBorder-mnBorderY-TB_BORDER_OFFSET2-1; in ImplFormat()
2632 … mpData->maMenubuttonItem.maRect.Right() = mnDX - mnRightBorder-mnBorderX-TB_BORDER_OFFSET1-1; in ImplFormat()
2633 mpData->maMenubuttonItem.maRect.Top() = nTop; in ImplFormat()
2634 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY-mnBottomBorder-mnBorderY-TB_BORDER_OFFSET2-1; in ImplFormat()
2636 …mpData->maMenubuttonItem.maRect.Left() = mpData->maMenubuttonItem.maRect.Right() - mpData->mnMenuB… in ImplFormat()
2657 mpData->maMenubuttonItem.maRect.Bottom() = mnDY - 2; in ImplFormat()
2658 mpData->maMenubuttonItem.maRect.Left() = nLeft; in ImplFormat()
2659 … mpData->maMenubuttonItem.maRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; in ImplFormat()
2663 … mpData->maMenubuttonItem.maRect.Bottom() = mnDY - mnBottomBorder-mnBorderY-TB_BORDER_OFFSET1-1; in ImplFormat()
2664 mpData->maMenubuttonItem.maRect.Left() = nLeft; in ImplFormat()
2665 … mpData->maMenubuttonItem.maRect.Right() = mnDX-mnRightBorder-mnBorderX-TB_BORDER_OFFSET2-1; in ImplFormat()
2667 …mpData->maMenubuttonItem.maRect.Top() = mpData->maMenubuttonItem.maRect.Bottom() - mpData->mnMenuB… in ImplFormat()
2695 it = mpData->m_aItems.begin(); in ImplFormat()
2696 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2706 while ( temp_it != mpData->m_aItems.end() ) in ImplFormat()
2809 ImplToolItem &rIt = mpData->maMenubuttonItem; in ImplFormat()
2815 rIt.maRect.Right() = rIt.maRect.Left() + mpData->mnMenuButtonWidth; in ImplFormat()
2824 rIt.maRect.Bottom() = rIt.maRect.Top() + mpData->mnMenuButtonWidth; in ImplFormat()
2855 if ( aOldMenubuttonRect != mpData->maMenubuttonItem.maRect ) in ImplFormat()
2857 maPaintRect.Union( mpData->maMenubuttonItem.maRect ); in ImplFormat()
2866 it = mpData->m_aItems.begin(); in ImplFormat()
2867 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2884 it = mpData->m_aItems.begin(); in ImplFormat()
2885 while ( it != mpData->m_aItems.end() ) in ImplFormat()
2912 (mpData->m_aItems[ mnCurPos ].mnBits & TIB_DROPDOWN) in IMPL_LINK()
2915 mpData->mbDropDownByKeyboard = sal_False; in IMPL_LINK()
3213 if( !pThis->mpData->maMenubuttonItem.maRect.IsEmpty() ) in ImplDrawMenubutton()
3228 Rectangle aInnerRect( pThis->mpData->maMenubuttonItem.maRect ); in ImplDrawMenubutton()
3229 if( pThis->mpData->mnMenuButtonWidth > TB_MENUBUTTON_SIZE ) in ImplDrawMenubutton()
3231 long nDiff = pThis->mpData->mnMenuButtonWidth - TB_MENUBUTTON_SIZE; in ImplDrawMenubutton()
3261 …ImplErase( pThis, bNativeButtons ? pThis->mpData->maMenubuttonItem.maRect : aInnerRect, bHighlight… in ImplDrawMenubutton()
3266 …ImplDrawButton( pThis, pThis->mpData->maMenubuttonItem.maRect, 2, sal_False, sal_True, sal_False ); in ImplDrawMenubutton()
3289 if( pThis->mpData->maMenuType & TOOLBOX_MENUTYPE_CUSTOMIZE ) in ImplDrawMenubutton()
3304 pThis->mpData->mbMenubuttonSelected = bHighlight; in ImplDrawMenubutton()
3428 if( nPos >= mpData->m_aItems.size() ) in ImplDrawItem()
3438 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in ImplDrawItem()
3439 MetricVector* pVector = bLayout ? &mpData->m_pLayoutData->m_aUnicodeBoundRects : NULL; in ImplDrawItem()
3440 String* pDisplayText = bLayout ? &mpData->m_pLayoutData->m_aDisplayText : NULL; in ImplDrawItem()
3467 ImplToolItem* pTempItem = &mpData->m_aItems[nPos-1]; in ImplDrawItem()
3468 if ( pTempItem && !pTempItem->mbShowWindow && nPos < mpData->m_aItems.size()-1 ) in ImplDrawItem()
3470 pTempItem = &mpData->m_aItems[nPos+1]; in ImplDrawItem()
3538 … mpData->m_pLayoutData->m_aLineIndices.push_back( mpData->m_pLayoutData->m_aDisplayText.Len() ); in ImplDrawItem()
3539 mpData->m_pLayoutData->m_aLineItemIds.push_back( pItem->mnId ); in ImplDrawItem()
3540 mpData->m_pLayoutData->m_aLineItemPositions.push_back( nPos ); in ImplDrawItem()
3760 … mpData->m_pLayoutData->m_aLineIndices.push_back( mpData->m_pLayoutData->m_aDisplayText.Len() ); in ImplDrawItem()
3761 mpData->m_pLayoutData->m_aLineItemIds.push_back( pItem->mnId ); in ImplDrawItem()
3762 mpData->m_pLayoutData->m_aLineItemPositions.push_back( nPos ); in ImplDrawItem()
3811 mpData->ImplClearLayoutData(); in ImplStartCustomizeMode()
3813 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in ImplStartCustomizeMode()
3814 while ( it != mpData->m_aItems.end() ) in ImplStartCustomizeMode()
3842 mpData->ImplClearLayoutData(); in ImplEndCustomizeMode()
3844 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in ImplEndCustomizeMode()
3845 while ( it != mpData->m_aItems.end() ) in ImplEndCustomizeMode()
3917 sal_Bool bWasKeyboardActivate = mpData->mbDropDownByKeyboard; in ImplFloatControl()
3943 if ( mpData->mbPageScroll ) in ShowLine()
3981 ImplToolItem* pItem = &mpData->m_aItems[mnCurPos]; in ImplHandleMouseMove()
4051 if( mnCurPos < mpData->m_aItems.size() && in ImplHandleMouseButtonUp()
4052 (mpData->m_aItems[mnCurPos].mnBits & TIB_DROPDOWN ) ) in ImplHandleMouseButtonUp()
4054 mpData->maDropdownTimer.Stop(); in ImplHandleMouseButtonUp()
4079 if( mnCurPos < mpData->m_aItems.size() ) in ImplHandleMouseButtonUp()
4081 ImplToolItem* pItem = &mpData->m_aItems[mnCurPos]; in ImplHandleMouseButtonUp()
4214 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseMove()
4215 while ( it != mpData->m_aItems.end() ) in MouseMove()
4303 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseMove()
4304 while ( it != mpData->m_aItems.end() ) in MouseMove()
4328 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseMove()
4329 while ( it != mpData->m_aItems.end() ) in MouseMove()
4340 … sal_uInt16 nTempPos = sal::static_int_cast<sal_uInt16>(it - mpData->m_aItems.begin()); in MouseMove()
4348 if ( mpData->mbMenubuttonSelected ) in MouseMove()
4370 sal_Bool bMenuButtonHit = mpData->maMenubuttonItem.maRect.IsInside( aMousePos ); in MouseMove()
4373 if ( !bMenuButtonHit && mpData->mbMenubuttonSelected ) in MouseMove()
4433 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in MouseButtonDown()
4434 while ( it != mpData->m_aItems.end() ) in MouseButtonDown()
4525 mpData->mbDropDownByKeyboard = sal_False; in MouseButtonDown()
4546 mpData->maDropdownTimer.Start(); in MouseButtonDown()
4571 if( mpData->maMenubuttonItem.maRect.IsInside( aMousePos ) ) in MouseButtonDown()
4685 if( mpData->mbIsPaintLocked ) in Paint()
4701 ImplDrawMenubutton( this, mpData->mbMenubuttonSelected ); in Paint()
4720 sal_uInt16 nCount = (sal_uInt16)mpData->m_aItems.size(); in Paint()
4723 ImplToolItem* pItem = &mpData->m_aItems[i]; in Paint()
4980 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in Notify()
4981 while( it != mpData->m_aItems.end() ) in Notify()
5025 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in Command()
5026 while ( it != mpData->m_aItems.end() ) in Command()
5385 std::vector< ImplToolItem >::const_iterator it = ((ToolBox*)pThis)->mpData->m_aItems.begin(); in ImplCountLineBreaks()
5386 while ( it != ((ToolBox*)pThis)->mpData->m_aItems.end() ) in ImplCountLineBreaks()
5408 sal_Bool bPopup = mpData->mbAssumePopupMode; in CalcPopupWindowSizePixel()
5410 pThis->mpData->mbAssumePopupMode = sal_True; in CalcPopupWindowSizePixel()
5414 pThis->mpData->mbAssumePopupMode = bPopup; in CalcPopupWindowSizePixel()
5427 sal_Bool bFloat = mpData->mbAssumeFloating; in CalcFloatingWindowSizePixel()
5428 sal_Bool bDocking = mpData->mbAssumeDocked; in CalcFloatingWindowSizePixel()
5432 pThis->mpData->mbAssumeFloating = sal_True; in CalcFloatingWindowSizePixel()
5433 pThis->mpData->mbAssumeDocked = sal_False; in CalcFloatingWindowSizePixel()
5438 pThis->mpData->mbAssumeFloating = bFloat; in CalcFloatingWindowSizePixel()
5439 pThis->mpData->mbAssumeDocked = bDocking; in CalcFloatingWindowSizePixel()
5456 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in CalcMinimumWindowSizePixel()
5457 while( it != mpData->m_aItems.end() ) in CalcMinimumWindowSizePixel()
5673 if( IsMenuEnabled() && mpData->mbMenubuttonSelected ) in ImplOpenItem()
5679 … Application::PostUserEvent( mpData->mnEventId, LINK( this, ToolBox, ImplCallExecuteCustomMenu ) ); in ImplOpenItem()
5695 mpData->mbDropDownByKeyboard = sal_True; in ImplOpenItem()
5874 …if( HasFocus() && mpData->mbKeyInputDisabled && (ImplGetParent()->GetStyle() & (WB_DIALOGCONTROL |… in KeyInput()
5900 std::vector< ImplToolItem >::const_iterator it = mpData->m_aItems.begin(); in ImplGetItemLine()
5902 while( it != mpData->m_aItems.end() ) in ImplGetItemLine()
5921 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplGetFirstValidItem()
5922 while( it != mpData->m_aItems.end() ) in ImplGetFirstValidItem()
5930 while( it != mpData->m_aItems.end() && ((it->meType != TOOLBOXITEM_BUTTON) || in ImplGetFirstValidItem()
5934 if( it == mpData->m_aItems.end() || it->mbBreak ) in ImplGetFirstValidItem()
5942 return (it == mpData->m_aItems.end()) ? NULL : &(*it); in ImplGetFirstValidItem()
5953 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplGetLastValidItem()
5954 while( it != mpData->m_aItems.end() ) in ImplGetLastValidItem()
5962 while( it != mpData->m_aItems.end() && ((it->meType == TOOLBOXITEM_BUTTON) && in ImplGetLastValidItem()
5967 if( it == mpData->m_aItems.end() || it->mbBreak ) in ImplGetLastValidItem()
6031 sal_uInt16 aPos = ToolBox::ImplFindItemPos( pItem, mpData->m_aItems ); in ImplChangeHighlight()
6096 if( mpData->mbMenubuttonSelected ) in ImplChangeHighlightUpDn()
6101 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.end(); in ImplChangeHighlightUpDn()
6103 while( it != mpData->m_aItems.begin() ) in ImplChangeHighlightUpDn()
6118 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplChangeHighlightUpDn()
6119 while( it != mpData->m_aItems.end() ) in ImplChangeHighlightUpDn()
6125 if( it != mpData->m_aItems.end() ) in ImplChangeHighlightUpDn()
6137 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.begin(); in ImplChangeHighlightUpDn()
6138 while( it != mpData->m_aItems.end() ) in ImplChangeHighlightUpDn()
6146 …if( (it != mpData->m_aItems.end() && &(*it) == ImplGetFirstClippedItem( this )) && IsMenuEnabled()… in ImplChangeHighlightUpDn()
6152 ImplChangeHighlight( (it != mpData->m_aItems.end()) ? &(*it) : NULL ); in ImplChangeHighlightUpDn()
6167 std::vector< ImplToolItem >::iterator it = mpData->m_aItems.end(); in ImplChangeHighlightUpDn()
6169 while( it != mpData->m_aItems.begin() ) in ImplChangeHighlightUpDn()
6186 sal_uLong pos = ToolBox::ImplFindItemPos( pToolItem, mpData->m_aItems ); in ImplChangeHighlightUpDn()
6187 sal_uLong nCount = mpData->m_aItems.size(); in ImplChangeHighlightUpDn()
6229 pToolItem = &mpData->m_aItems[pos]; in ImplChangeHighlightUpDn()
6281 if ( mpData->mbMenubuttonSelected ) in ImplHideFocus()