23#include <com/sun/star/lang/DisposedException.hpp>
24#include <com/sun/star/ui/UIElementType.hpp>
45 m_bCreatedImages( false )
58 css::lang::EventObject
aEvent( xThis );
76 throw DisposedException();
85 PropertyValue aPropValue;
86 if ( rArg >>= aPropValue )
88 if ( aPropValue.Name ==
"ConfigurationData" )
108 pToolBar->SetLineSpacing(
true);
116 if (
m_aConfigData.hasElements() && pToolBar && pToolBarManager )
120 pToolBar->EnableCustomize();
121 ::Size aActSize( pToolBar->GetSizePixel() );
122 ::Size aSize( pToolBar->CalcWindowSizePixel() );
124 pToolBar->SetSizePixel( aSize );
127 catch (
const NoSuchElementException& )
140 if ( pToolBarManager )
void setWidth(tools::Long nWidth)
constexpr tools::Long Width() const
static css::uno::Reference< css::awt::XWindow > GetInterface(vcl::Window *pWindow)
static vcl::Window * GetWindow(const css::uno::Reference< css::awt::XWindow > &rxWindow)
static VclPtr< reference_type > Create(Arg &&... arg)
void disposeAndClear(const css::lang::EventObject &rEvt)
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerContainer
css::uno::WeakReference< css::frame::XFrame > m_xWeakFrame
OUString m_aResourceURL
container for ALL Listener
css::uno::Reference< css::uno::XComponentContext > m_xContext
Sequence< PropertyValue > aArguments
Reference< XFrame > xFrame
WinBits const WB_CLOSEABLE
WinBits const WB_MOVEABLE
WinBits const WB_DOCKABLE
WinBits const WB_SIZEABLE