26#include <com/sun/star/frame/XLayoutManager.hpp>
49 if( m_aCommandURL==
".uno:TrackChangesBar")
51 else if ( m_sModuleName ==
"com.sun.star.presentation.PresentationDocument" || m_sModuleName ==
"com.sun.star.drawing.DrawingDocument" )
64 Reference< XLayoutManager > xLayoutMgr = getLayoutManager();
65 if ( xLayoutMgr.is() )
73 Reference< XLayoutManager > xLayoutMgr = getLayoutManager();
74 if ( !xLayoutMgr.is() )
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
SvxTbxCtlDraw(sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rTbx)
virtual void Select(sal_uInt16 nSelectModifier) override
virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
Sequence< PropertyValue > aArguments
SFX_IMPL_TOOLBOX_CONTROL(SvxTbxCtlDraw, SfxBoolItem)