Lines Matching refs:ToolBox
121 static void ImplDrawButton( ToolBox* pThis, const Rectangle &rRect, sal_uInt16 highlight, sal_Bool …
143 DECLARE_LIST( ImplTBList, ToolBox* )
149 ToolBox* mpDragBox;
167 void Insert( ToolBox* pBox ) in Insert()
169 void Remove( ToolBox* pBox ) in Remove()
174 ToolBox* FindToolBox( const Rectangle& rRect );
176 void StartDragging( ToolBox* pDragBox,
204 int ToolBox::ImplGetDragWidth( ToolBox* pThis ) in ImplGetDragWidth()
243 void ToolBox::ImplUpdateDragArea( ToolBox *pThis ) in ImplUpdateDragArea()
262 void ToolBox::ImplCalcBorder( WindowAlign eAlign, long& rLeft, long& rTop, in ImplCalcBorder()
263 long& rRight, long& rBottom, const ToolBox *pThis ) in ImplCalcBorder()
275 …int dragwidth = ( pWrapper && !pWrapper->IsLocked() ) ? ImplGetDragWidth( (ToolBox*)pThis ) : 0; in ImplCalcBorder()
312 static void ImplCheckUpdate( ToolBox *pThis ) in ImplCheckUpdate()
326 void ToolBox::ImplDrawGrip( ToolBox* pThis ) in ImplDrawGrip()
400 void ToolBox::ImplDrawGradientBackground( ToolBox* pThis, ImplDockingWindowWrapper * ) in ImplDrawGradientBackground()
550 sal_Bool ToolBox::ImplDrawNativeBackground( ToolBox* pThis, const Region & ) in ImplDrawNativeBackground()
561 void ToolBox::ImplDrawTransparentBackground( ToolBox* pThis, const Region &rRegion ) in ImplDrawTransparentBackground()
574 void ToolBox::ImplDrawConstantBackground( ToolBox* pThis, const Region &rRegion, sal_Bool bIsInPopu… in ImplDrawConstantBackground()
589 void ToolBox::ImplDrawBackground( ToolBox* pThis, const Rectangle &rRect ) in ImplDrawBackground()
640 void ToolBox::ImplErase( ToolBox* pThis, const Rectangle &rRect, sal_Bool bHighlight, sal_Bool bHas… in ImplErase()
668 void ToolBox::ImplDrawBorder( ToolBox* pWin ) in ImplDrawBorder()
744 const ImplToolItem *ToolBox::ImplGetFirstClippedItem( const ToolBox* pThis ) in ImplGetFirstClippedItem()
759 Size ToolBox::ImplCalcSize( const ToolBox* pThis, sal_uInt16 nCalcLines, sal_uInt16 nCalcMode ) in ImplCalcSize()
783 ((ToolBox*)pThis)->mbHorz = sal_True; in ImplCalcSize()
785 ((ToolBox*)pThis)->meAlign = WINDOWALIGN_TOP; in ImplCalcSize()
791 ((ToolBox*)pThis)->mbHorz = sal_False; in ImplCalcSize()
793 ((ToolBox*)pThis)->meAlign = WINDOWALIGN_LEFT; in ImplCalcSize()
799 ((ToolBox*)pThis)->mbHorz = sal_True; in ImplCalcSize()
801 ((ToolBox*)pThis)->meAlign = WINDOWALIGN_TOP; in ImplCalcSize()
806 ((ToolBox*)pThis)->mbCalc = sal_True; in ImplCalcSize()
811 ((ToolBox*)pThis)->ImplCalcItem(); in ImplCalcSize()
815 aSize = ImplCalcFloatSize( ((ToolBox*)pThis), nCalcLines ); in ImplCalcSize()
833 ((ToolBox*)pThis)->ImplCalcBreaks( TB_MAXNOSCROLL, &nMax, pThis->mbHorz ); in ImplCalcSize()
851 ((ToolBox*)pThis)->ImplCalcBreaks( TB_MAXNOSCROLL, &nMax, pThis->mbHorz ); in ImplCalcSize()
866 ((ToolBox*)pThis)->meAlign = eOldAlign; in ImplCalcSize()
867 ((ToolBox*)pThis)->mbHorz = bOldHorz; in ImplCalcSize()
868 ((ToolBox*)pThis)->mbCalc = sal_True; in ImplCalcSize()
882 void ToolBox::ImplCalcFloatSizes( ToolBox* pThis ) in ImplCalcFloatSizes()
954 Size ToolBox::ImplCalcFloatSize( ToolBox* pThis, sal_uInt16& rLines ) in ImplCalcFloatSize()
980 void ToolBox::ImplCalcMinMaxFloatSize( ToolBox* pThis, Size& rMinSize, Size& rMaxSize ) in ImplCalcMinMaxFloatSize()
1001 void ToolBox::ImplSetMinMaxFloatSize( ToolBox *pThis ) in ImplSetMinMaxFloatSize()
1023 sal_uInt16 ToolBox::ImplCalcLines( ToolBox* pThis, long nToolSize ) in ImplCalcLines()
1056 sal_uInt16 ToolBox::ImplTestLineSize( ToolBox* pThis, const Point& rPos ) in ImplTestLineSize()
1090 void ToolBox::ImplLineSizing( ToolBox* pThis, const Point& rPos, Rectangle& rRect, in ImplLineSizing()
1186 sal_uInt16 ToolBox::ImplFindItemPos( ToolBox* pBox, const Point& rPos ) in ImplFindItemPos()
1274 ToolBox* ImplTBDragMgr::FindToolBox( const Rectangle& rRect ) in FindToolBox()
1276 ToolBox* pBox = mpBoxList->First(); in FindToolBox()
1306 void ImplTBDragMgr::StartDragging( ToolBox* pToolBox, in StartDragging()
1355 ToolBox::ImplLineSizing( mpDragBox, rPos, maRect, mnLineMode ); in Dragging()
1435 ToolBox* pDropBox = FindToolBox( aScreenRect ); in EndDragging()
1452 sal_uInt16 nPos = ToolBox::ImplFindItemPos( pDropBox, aPos ); in EndDragging()
1500 ToolBox* pBox = mpBoxList->First(); in StartCustomizeMode()
1514 ToolBox* pBox = mpBoxList->First(); in EndCustomizeMode()
1570 void ToolBox::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit()
1634 maTimer.SetTimeoutHdl( LINK( this, ToolBox, ImplUpdateHdl ) ); in ImplInit()
1638 mpData->maDropdownTimer.SetTimeoutHdl( LINK( this, ToolBox, ImplDropdownLongClickHdl ) ); in ImplInit()
1656 void ToolBox::ImplInitSettings( sal_Bool bFont, in ImplInitSettings()
1722 void ToolBox::ImplLoadRes( const ResId& rResId ) in ImplLoadRes()
1779 ToolBox::ToolBox( Window* pParent, WinBits nStyle ) : in ToolBox() function in ToolBox
1787 ToolBox::ToolBox( Window* pParent, const ResId& rResId ) : in ToolBox() function in ToolBox
1810 ToolBox::~ToolBox() in ~ToolBox()
1851 ImplToolItem* ToolBox::ImplGetItem( sal_uInt16 nItemId ) const in ImplGetItem()
1888 sal_Bool ToolBox::ImplCalcItem() in ImplCalcItem()
2154 sal_uInt16 ToolBox::ImplCalcBreaks( long nWidth, long* pMaxLineWidth, sal_Bool bCalcHorz ) in ImplCalcBreaks()
2315 Size ToolBox::ImplGetOptimalFloatingSize( FloatingSizeMode eMode ) in ImplGetOptimalFloatingSize()
2383 void ToolBox::ImplFormat( sal_Bool bResize ) in ImplFormat()
2917 IMPL_LINK( ToolBox, ImplDropdownLongClickHdl, ToolBox*, EMPTYARG ) in IMPL_LINK() argument
2948 IMPL_LINK( ToolBox, ImplUpdateHdl, void*, EMPTYARG ) in IMPL_LINK() argument
2960 static void ImplDrawMoreIndicator( ToolBox *pBox, const Rectangle& rRect, sal_Bool bSetColor, sal_B… in ImplDrawMoreIndicator()
3015 static void ImplDrawDropdownArrow( ToolBox *pBox, const Rectangle& rDropDownRect, sal_Bool bSetColo… in ImplDrawDropdownArrow()
3068 void ToolBox::ImplDrawToolArrow( ToolBox* pBox, long nX, long nY, sal_Bool bBlack, sal_Bool bColTra… in ImplDrawToolArrow()
3163 void ToolBox::SetToolArrowClipregion( ToolBox* pBox, long nX, long nY, in SetToolArrowClipregion()
3219 void ToolBox::ImplDrawMenubutton( ToolBox *pThis, sal_Bool bHighlight ) in ImplDrawMenubutton()
3328 void ToolBox::ImplDrawSpin( sal_Bool bUpperIn, sal_Bool bLowerIn ) in ImplDrawSpin()
3360 void ToolBox::ImplDrawNext( sal_Bool bIn ) in ImplDrawNext()
3406 static void ImplDrawButton( ToolBox* pThis, const Rectangle &rRect, sal_uInt16 highlight, sal_Bool … in ImplDrawButton()
3432 void ToolBox::ImplDrawItem( sal_uInt16 nPos, sal_Bool bHighlight, sal_Bool bPaint, sal_Bool bLayout… in ImplDrawItem()
3815 void ToolBox::ImplStartCustomizeMode() in ImplStartCustomizeMode()
3836 void ToolBox::SetCustomizeMode( sal_Bool bSet ) in SetCustomizeMode()
3846 void ToolBox::ImplEndCustomizeMode() in ImplEndCustomizeMode()
3869 void ToolBox::ImplDrawFloatwinBorder( ImplToolItem* pItem ) in ImplDrawFloatwinBorder()
3904 void ToolBox::ImplFloatControl( sal_Bool bStart, FloatingWindow* pFloatWindow ) in ImplFloatControl()
3945 void ToolBox::ShowLine( sal_Bool bNext ) in ShowLine()
3981 sal_Bool ToolBox::ImplHandleMouseMove( const MouseEvent& rMEvt, sal_Bool bRepeat ) in ImplHandleMouseMove()
4054 sal_Bool ToolBox::ImplHandleMouseButtonUp( const MouseEvent& rMEvt, sal_Bool bCancel ) in ImplHandleMouseButtonUp()
4181 void ToolBox::MouseMove( const MouseEvent& rMEvt ) in MouseMove()
4419 void ToolBox::MouseButtonDown( const MouseEvent& rMEvt ) in MouseButtonDown()
4654 void ToolBox::MouseButtonUp( const MouseEvent& rMEvt ) in MouseButtonUp()
4672 void ToolBox::Tracking( const TrackingEvent& rTEvt ) in Tracking()
4691 void ToolBox::Paint( const Rectangle& rPaintRect ) in Paint()
4749 void ToolBox::Move() in Move()
4756 void ToolBox::Resize() in Resize()
4813 const XubString& ToolBox::ImplGetHelpText( sal_uInt16 nItemId ) const in ImplGetHelpText()
4839 void ToolBox::RequestHelp( const HelpEvent& rHEvt ) in RequestHelp()
4936 long ToolBox::Notify( NotifyEvent& rNEvt ) in Notify()
5018 void ToolBox::Command( const CommandEvent& rCEvt ) in Command()
5054 ToolBox::MouseButtonDown( aMEvt ); in Command()
5081 void ToolBox::StateChanged( StateChangedType nType ) in StateChanged()
5116 void ToolBox::DataChanged( const DataChangedEvent& rDCEvt ) in DataChanged()
5135 sal_Bool ToolBox::PrepareToggleFloatingMode() in PrepareToggleFloatingMode()
5142 void ToolBox::ToggleFloatingMode() in ToggleFloatingMode()
5186 void ToolBox::StartDocking() in StartDocking()
5196 sal_Bool ToolBox::Docking( const Point& rPos, Rectangle& rRect ) in Docking()
5324 void ToolBox::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode ) in EndDocking()
5339 void ToolBox::Resizing( Size& rSize ) in Resizing()
5378 Size ToolBox::CalcWindowSizePixel( sal_uInt16 nCalcLines ) const in CalcWindowSizePixel()
5383 Size ToolBox::CalcWindowSizePixel( sal_uInt16 nCalcLines, WindowAlign eAlign ) const in CalcWindowSizePixel()
5389 sal_uInt16 ToolBox::ImplCountLineBreaks( const ToolBox *pThis ) in ImplCountLineBreaks()
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()
5403 Size ToolBox::CalcPopupWindowSizePixel() const in CalcPopupWindowSizePixel()
5417 ToolBox *pThis = (ToolBox*) this; in CalcPopupWindowSizePixel()
5426 Size ToolBox::CalcFloatingWindowSizePixel() const in CalcFloatingWindowSizePixel()
5433 Size ToolBox::CalcFloatingWindowSizePixel( sal_uInt16 nCalcLines ) const in CalcFloatingWindowSizePixel()
5439 ToolBox *pThis = (ToolBox*) this; in CalcFloatingWindowSizePixel()
5443 Size aSize = ImplCalcFloatSize( (ToolBox*) this, nCalcLines ); in CalcFloatingWindowSizePixel()
5454 Size ToolBox::CalcMinimumWindowSizePixel() const in CalcMinimumWindowSizePixel()
5461 ToolBox *pToolBox = new ToolBox( GetParent(), GetStyle() ); in CalcMinimumWindowSizePixel()
5497 void ToolBox::EnableCustomize( sal_Bool bEnable ) in EnableCustomize()
5513 void ToolBox::StartCustomize( const Rectangle& rRect, void* pData ) in StartCustomize()
5532 void ToolBox::StartCustomizeMode() in StartCustomizeMode()
5540 void ToolBox::EndCustomizeMode() in EndCustomizeMode()
5548 sal_Bool ToolBox::IsCustomizeMode() in IsCustomizeMode()
5556 void ToolBox::GetFocus() in GetFocus()
5563 void ToolBox::LoseFocus() in LoseFocus()
5573 void ToolBox::TriggerItem( sal_uInt16 nItemId, sal_Bool bShift, sal_Bool bCtrl ) in TriggerItem()
5589 sal_Bool ToolBox::ImplActivateItem( KeyCode aKeyCode ) in ImplActivateItem()
5671 sal_Bool ToolBox::ImplOpenItem( KeyCode aKeyCode ) in ImplOpenItem()
5687 … Application::PostUserEvent( mpData->mnEventId, LINK( this, ToolBox, ImplCallExecuteCustomMenu ) ); in ImplOpenItem()
5718 void ToolBox::KeyInput( const KeyEvent& rKEvt ) in KeyInput()
5906 sal_uInt16 ToolBox::ImplGetItemLine( ImplToolItem* pCurrentItem ) in ImplGetItemLine()
5922 ImplToolItem* ToolBox::ImplGetFirstValidItem( sal_uInt16 nLine ) in ImplGetFirstValidItem()
5954 ImplToolItem* ToolBox::ImplGetLastValidItem( sal_uInt16 nLine ) in ImplGetLastValidItem()
5988 sal_uInt16 ToolBox::ImplFindItemPos( const ImplToolItem* pItem, const std::vector< ImplToolItem >& … in ImplFindItemPos()
6000 void ToolBox::ChangeHighlight( sal_uInt16 nPos ) in ChangeHighlight()
6008 void ToolBox::ImplChangeHighlight( ImplToolItem* pItem, sal_Bool bNoGrabFocus ) in ImplChangeHighlight()
6039 sal_uInt16 aPos = ToolBox::ImplFindItemPos( pItem, mpData->m_aItems ); in ImplChangeHighlight()
6097 sal_Bool ToolBox::ImplChangeHighlightUpDn( sal_Bool bUp, sal_Bool bNoCycle ) in ImplChangeHighlightUpDn()
6194 sal_uLong pos = ToolBox::ImplFindItemPos( pToolItem, mpData->m_aItems ); in ImplChangeHighlightUpDn()
6260 void ToolBox::ImplShowFocus() in ImplShowFocus()
6276 void ToolBox::ImplHideFocus() in ImplHideFocus()
6298 void ToolBox::ImplDisableFlatButtons() in ImplDisableFlatButtons()