29#include <com/sun/star/ui/XContextChangeEventListener.hpp>
30#include <com/sun/star/ui/XUIElement.hpp>
31#include <com/sun/star/ui/XToolPanel.hpp>
32#include <com/sun/star/ui/XSidebarPanel.hpp>
33#include <com/sun/star/ui/XUpdateModel.hpp>
44 css::ui::XSidebarPanel,
45 css::ui::XUpdateModel>
54 static css::uno::Reference<css::ui::XUIElement>
Create(
const OUString& rsResourceURL,
55 const css::uno::Reference<css::frame::XFrame>& rxFrame,
56 std::unique_ptr<PanelLayout> xControl,
57 const css::ui::LayoutSize& rLayoutSize);
60 virtual void SAL_CALL notifyContextChangeEvent (
const css::ui::ContextChangeEventObject& rEvent)
override;
63 virtual void SAL_CALL disposing (
const css::lang::EventObject& rEvent)
override;
66 virtual css::uno::Reference<css::frame::XFrame> SAL_CALL getFrame()
override;
67 virtual OUString SAL_CALL getResourceURL()
override;
68 virtual sal_Int16 SAL_CALL
getType()
override;
69 virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getRealInterface()
override;
72 virtual css::uno::Reference<css::accessibility::XAccessible> SAL_CALL createAccessible(
73 const css::uno::Reference<css::accessibility::XAccessible>& rxParentAccessible)
override;
74 virtual css::uno::Reference<css::awt::XWindow> SAL_CALL getWindow()
override;
77 virtual css::ui::LayoutSize SAL_CALL getHeightForWidth(sal_Int32 nWidth)
override;
78 virtual sal_Int32 SAL_CALL getMinimalWidth()
override;
81 virtual void SAL_CALL updateModel(
const css::uno::Reference<css::frame::XModel>&
xModel)
override;
87 std::unique_ptr<PanelLayout> xControl,
const css::ui::LayoutSize& rLayoutSize);
92 virtual void disposing(std::unique_lock<std::mutex>&)
override;
94 css::uno::Reference<css::frame::XFrame>
mxFrame;
This class is the base for the Widget Layout-based sidebar panels.
bool getType(BSTR name, Type &type)
Reference< XFrame > xFrame
Reference< XModel > xModel