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()
392 void ToolBox::ImplDrawGradientBackground( ToolBox* pThis, ImplDockingWindowWrapper * ) in ImplDrawGradientBackground()
542 sal_Bool ToolBox::ImplDrawNativeBackground( ToolBox* pThis, const Region & ) in ImplDrawNativeBackground()
553 void ToolBox::ImplDrawTransparentBackground( ToolBox* pThis, const Region &rRegion ) in ImplDrawTransparentBackground()
566 void ToolBox::ImplDrawConstantBackground( ToolBox* pThis, const Region &rRegion, sal_Bool bIsInPopu… in ImplDrawConstantBackground()
581 void ToolBox::ImplDrawBackground( ToolBox* pThis, const Rectangle &rRect ) in ImplDrawBackground()
632 void ToolBox::ImplErase( ToolBox* pThis, const Rectangle &rRect, sal_Bool bHighlight, sal_Bool bHas… in ImplErase()
660 void ToolBox::ImplDrawBorder( ToolBox* pWin ) in ImplDrawBorder()
736 const ImplToolItem *ToolBox::ImplGetFirstClippedItem( const ToolBox* pThis ) in ImplGetFirstClippedItem()
751 Size ToolBox::ImplCalcSize( const ToolBox* pThis, sal_uInt16 nCalcLines, sal_uInt16 nCalcMode ) in ImplCalcSize()
775 ((ToolBox*)pThis)->mbHorz = sal_True; in ImplCalcSize()
777 ((ToolBox*)pThis)->meAlign = WINDOWALIGN_TOP; in ImplCalcSize()
783 ((ToolBox*)pThis)->mbHorz = sal_False; in ImplCalcSize()
785 ((ToolBox*)pThis)->meAlign = WINDOWALIGN_LEFT; in ImplCalcSize()
791 ((ToolBox*)pThis)->mbHorz = sal_True; in ImplCalcSize()
793 ((ToolBox*)pThis)->meAlign = WINDOWALIGN_TOP; in ImplCalcSize()
798 ((ToolBox*)pThis)->mbCalc = sal_True; in ImplCalcSize()
803 ((ToolBox*)pThis)->ImplCalcItem(); in ImplCalcSize()
807 aSize = ImplCalcFloatSize( ((ToolBox*)pThis), nCalcLines ); in ImplCalcSize()
825 ((ToolBox*)pThis)->ImplCalcBreaks( TB_MAXNOSCROLL, &nMax, pThis->mbHorz ); in ImplCalcSize()
843 ((ToolBox*)pThis)->ImplCalcBreaks( TB_MAXNOSCROLL, &nMax, pThis->mbHorz ); in ImplCalcSize()
858 ((ToolBox*)pThis)->meAlign = eOldAlign; in ImplCalcSize()
859 ((ToolBox*)pThis)->mbHorz = bOldHorz; in ImplCalcSize()
860 ((ToolBox*)pThis)->mbCalc = sal_True; in ImplCalcSize()
874 void ToolBox::ImplCalcFloatSizes( ToolBox* pThis ) in ImplCalcFloatSizes()
946 Size ToolBox::ImplCalcFloatSize( ToolBox* pThis, sal_uInt16& rLines ) in ImplCalcFloatSize()
972 void ToolBox::ImplCalcMinMaxFloatSize( ToolBox* pThis, Size& rMinSize, Size& rMaxSize ) in ImplCalcMinMaxFloatSize()
993 void ToolBox::ImplSetMinMaxFloatSize( ToolBox *pThis ) in ImplSetMinMaxFloatSize()
1015 sal_uInt16 ToolBox::ImplCalcLines( ToolBox* pThis, long nToolSize ) in ImplCalcLines()
1048 sal_uInt16 ToolBox::ImplTestLineSize( ToolBox* pThis, const Point& rPos ) in ImplTestLineSize()
1082 void ToolBox::ImplLineSizing( ToolBox* pThis, const Point& rPos, Rectangle& rRect, in ImplLineSizing()
1178 sal_uInt16 ToolBox::ImplFindItemPos( ToolBox* pBox, const Point& rPos ) in ImplFindItemPos()
1266 ToolBox* ImplTBDragMgr::FindToolBox( const Rectangle& rRect ) in FindToolBox()
1268 ToolBox* pBox = mpBoxList->First(); in FindToolBox()
1298 void ImplTBDragMgr::StartDragging( ToolBox* pToolBox, in StartDragging()
1347 ToolBox::ImplLineSizing( mpDragBox, rPos, maRect, mnLineMode ); in Dragging()
1427 ToolBox* pDropBox = FindToolBox( aScreenRect ); in EndDragging()
1444 sal_uInt16 nPos = ToolBox::ImplFindItemPos( pDropBox, aPos ); in EndDragging()
1492 ToolBox* pBox = mpBoxList->First(); in StartCustomizeMode()
1506 ToolBox* pBox = mpBoxList->First(); in EndCustomizeMode()
1562 void ToolBox::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit()
1626 maTimer.SetTimeoutHdl( LINK( this, ToolBox, ImplUpdateHdl ) ); in ImplInit()
1630 mpData->maDropdownTimer.SetTimeoutHdl( LINK( this, ToolBox, ImplDropdownLongClickHdl ) ); in ImplInit()
1648 void ToolBox::ImplInitSettings( sal_Bool bFont, in ImplInitSettings()
1714 void ToolBox::ImplLoadRes( const ResId& rResId ) in ImplLoadRes()
1771 ToolBox::ToolBox( Window* pParent, WinBits nStyle ) : in ToolBox() function in ToolBox
1779 ToolBox::ToolBox( Window* pParent, const ResId& rResId ) : in ToolBox() function in ToolBox
1802 ToolBox::~ToolBox() in ~ToolBox()
1843 ImplToolItem* ToolBox::ImplGetItem( sal_uInt16 nItemId ) const in ImplGetItem()
1880 sal_Bool ToolBox::ImplCalcItem() in ImplCalcItem()
2146 sal_uInt16 ToolBox::ImplCalcBreaks( long nWidth, long* pMaxLineWidth, sal_Bool bCalcHorz ) in ImplCalcBreaks()
2307 Size ToolBox::ImplGetOptimalFloatingSize( FloatingSizeMode eMode ) in ImplGetOptimalFloatingSize()
2375 void ToolBox::ImplFormat( sal_Bool bResize ) in ImplFormat()
2909 IMPL_LINK( ToolBox, ImplDropdownLongClickHdl, ToolBox*, EMPTYARG ) in IMPL_LINK() argument
2940 IMPL_LINK( ToolBox, ImplUpdateHdl, void*, EMPTYARG ) in IMPL_LINK() argument
2952 static void ImplDrawMoreIndicator( ToolBox *pBox, const Rectangle& rRect, sal_Bool bSetColor, sal_B… in ImplDrawMoreIndicator()
3007 static void ImplDrawDropdownArrow( ToolBox *pBox, const Rectangle& rDropDownRect, sal_Bool bSetColo… in ImplDrawDropdownArrow()
3060 void ToolBox::ImplDrawToolArrow( ToolBox* pBox, long nX, long nY, sal_Bool bBlack, sal_Bool bColTra… in ImplDrawToolArrow()
3155 void ToolBox::SetToolArrowClipregion( ToolBox* pBox, long nX, long nY, in SetToolArrowClipregion()
3211 void ToolBox::ImplDrawMenubutton( ToolBox *pThis, sal_Bool bHighlight ) in ImplDrawMenubutton()
3320 void ToolBox::ImplDrawSpin( sal_Bool bUpperIn, sal_Bool bLowerIn ) in ImplDrawSpin()
3352 void ToolBox::ImplDrawNext( sal_Bool bIn ) in ImplDrawNext()
3398 static void ImplDrawButton( ToolBox* pThis, const Rectangle &rRect, sal_uInt16 highlight, sal_Bool … in ImplDrawButton()
3424 void ToolBox::ImplDrawItem( sal_uInt16 nPos, sal_Bool bHighlight, sal_Bool bPaint, sal_Bool bLayout… in ImplDrawItem()
3807 void ToolBox::ImplStartCustomizeMode() in ImplStartCustomizeMode()
3828 void ToolBox::SetCustomizeMode( sal_Bool bSet ) in SetCustomizeMode()
3838 void ToolBox::ImplEndCustomizeMode() in ImplEndCustomizeMode()
3861 void ToolBox::ImplDrawFloatwinBorder( ImplToolItem* pItem ) in ImplDrawFloatwinBorder()
3896 void ToolBox::ImplFloatControl( sal_Bool bStart, FloatingWindow* pFloatWindow ) in ImplFloatControl()
3937 void ToolBox::ShowLine( sal_Bool bNext ) in ShowLine()
3973 sal_Bool ToolBox::ImplHandleMouseMove( const MouseEvent& rMEvt, sal_Bool bRepeat ) in ImplHandleMouseMove()
4046 sal_Bool ToolBox::ImplHandleMouseButtonUp( const MouseEvent& rMEvt, sal_Bool bCancel ) in ImplHandleMouseButtonUp()
4173 void ToolBox::MouseMove( const MouseEvent& rMEvt ) in MouseMove()
4411 void ToolBox::MouseButtonDown( const MouseEvent& rMEvt ) in MouseButtonDown()
4646 void ToolBox::MouseButtonUp( const MouseEvent& rMEvt ) in MouseButtonUp()
4664 void ToolBox::Tracking( const TrackingEvent& rTEvt ) in Tracking()
4683 void ToolBox::Paint( const Rectangle& rPaintRect ) in Paint()
4741 void ToolBox::Move() in Move()
4748 void ToolBox::Resize() in Resize()
4805 const XubString& ToolBox::ImplGetHelpText( sal_uInt16 nItemId ) const in ImplGetHelpText()
4831 void ToolBox::RequestHelp( const HelpEvent& rHEvt ) in RequestHelp()
4928 long ToolBox::Notify( NotifyEvent& rNEvt ) in Notify()
5010 void ToolBox::Command( const CommandEvent& rCEvt ) in Command()
5046 ToolBox::MouseButtonDown( aMEvt ); in Command()
5073 void ToolBox::StateChanged( StateChangedType nType ) in StateChanged()
5108 void ToolBox::DataChanged( const DataChangedEvent& rDCEvt ) in DataChanged()
5127 sal_Bool ToolBox::PrepareToggleFloatingMode() in PrepareToggleFloatingMode()
5134 void ToolBox::ToggleFloatingMode() in ToggleFloatingMode()
5178 void ToolBox::StartDocking() in StartDocking()
5188 sal_Bool ToolBox::Docking( const Point& rPos, Rectangle& rRect ) in Docking()
5316 void ToolBox::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode ) in EndDocking()
5331 void ToolBox::Resizing( Size& rSize ) in Resizing()
5370 Size ToolBox::CalcWindowSizePixel( sal_uInt16 nCalcLines ) const in CalcWindowSizePixel()
5375 Size ToolBox::CalcWindowSizePixel( sal_uInt16 nCalcLines, WindowAlign eAlign ) const in CalcWindowSizePixel()
5381 sal_uInt16 ToolBox::ImplCountLineBreaks( const ToolBox *pThis ) in ImplCountLineBreaks()
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()
5395 Size ToolBox::CalcPopupWindowSizePixel() const in CalcPopupWindowSizePixel()
5409 ToolBox *pThis = (ToolBox*) this; in CalcPopupWindowSizePixel()
5418 Size ToolBox::CalcFloatingWindowSizePixel() const in CalcFloatingWindowSizePixel()
5425 Size ToolBox::CalcFloatingWindowSizePixel( sal_uInt16 nCalcLines ) const in CalcFloatingWindowSizePixel()
5431 ToolBox *pThis = (ToolBox*) this; in CalcFloatingWindowSizePixel()
5435 Size aSize = ImplCalcFloatSize( (ToolBox*) this, nCalcLines ); in CalcFloatingWindowSizePixel()
5446 Size ToolBox::CalcMinimumWindowSizePixel() const in CalcMinimumWindowSizePixel()
5453 ToolBox *pToolBox = new ToolBox( GetParent(), GetStyle() ); in CalcMinimumWindowSizePixel()
5489 void ToolBox::EnableCustomize( sal_Bool bEnable ) in EnableCustomize()
5505 void ToolBox::StartCustomize( const Rectangle& rRect, void* pData ) in StartCustomize()
5524 void ToolBox::StartCustomizeMode() in StartCustomizeMode()
5532 void ToolBox::EndCustomizeMode() in EndCustomizeMode()
5540 sal_Bool ToolBox::IsCustomizeMode() in IsCustomizeMode()
5548 void ToolBox::GetFocus() in GetFocus()
5555 void ToolBox::LoseFocus() in LoseFocus()
5565 void ToolBox::TriggerItem( sal_uInt16 nItemId, sal_Bool bShift, sal_Bool bCtrl ) in TriggerItem()
5581 sal_Bool ToolBox::ImplActivateItem( KeyCode aKeyCode ) in ImplActivateItem()
5663 sal_Bool ToolBox::ImplOpenItem( KeyCode aKeyCode ) in ImplOpenItem()
5679 … Application::PostUserEvent( mpData->mnEventId, LINK( this, ToolBox, ImplCallExecuteCustomMenu ) ); in ImplOpenItem()
5710 void ToolBox::KeyInput( const KeyEvent& rKEvt ) in KeyInput()
5898 sal_uInt16 ToolBox::ImplGetItemLine( ImplToolItem* pCurrentItem ) in ImplGetItemLine()
5914 ImplToolItem* ToolBox::ImplGetFirstValidItem( sal_uInt16 nLine ) in ImplGetFirstValidItem()
5946 ImplToolItem* ToolBox::ImplGetLastValidItem( sal_uInt16 nLine ) in ImplGetLastValidItem()
5980 sal_uInt16 ToolBox::ImplFindItemPos( const ImplToolItem* pItem, const std::vector< ImplToolItem >& … in ImplFindItemPos()
5992 void ToolBox::ChangeHighlight( sal_uInt16 nPos ) in ChangeHighlight()
6000 void ToolBox::ImplChangeHighlight( ImplToolItem* pItem, sal_Bool bNoGrabFocus ) in ImplChangeHighlight()
6031 sal_uInt16 aPos = ToolBox::ImplFindItemPos( pItem, mpData->m_aItems ); in ImplChangeHighlight()
6089 sal_Bool ToolBox::ImplChangeHighlightUpDn( sal_Bool bUp, sal_Bool bNoCycle ) in ImplChangeHighlightUpDn()
6186 sal_uLong pos = ToolBox::ImplFindItemPos( pToolItem, mpData->m_aItems ); in ImplChangeHighlightUpDn()
6252 void ToolBox::ImplShowFocus() in ImplShowFocus()
6268 void ToolBox::ImplHideFocus() in ImplHideFocus()
6290 void ToolBox::ImplDisableFlatButtons() in ImplDisableFlatButtons()