33#include <osl/diagnose.h>
35#include <boost/property_tree/json_parser.hpp>
38using namespace css::uno;
45 , mbIsReadyToDrag(false)
48 if (pSfxBindings==
nullptr || pSfxBindings->
GetDispatcher()==
nullptr)
50 OSL_ASSERT(pSfxBindings!=
nullptr);
80 xComponent->dispose();
114 switch (eRequestedAlignment)
122 return eCurrentAlignment;
130 return eRequestedAlignment;
133 return eRequestedAlignment;
140 if (NotifyEventType::KEYINPUT ==
nType)
170 if (
".uno:DesignerDialog" ==
aCommand)
172 std::shared_ptr<PanelDescriptor> xPanelDescriptor =
174 if ( xPanelDescriptor &&
mpSidebarController->IsDeckVisible( xPanelDescriptor->msDeckId ) )
184 else if (NotifyEventType::MOUSEBUTTONDOWN ==
nType)
194 else if (NotifyEventType::MOUSEMOVE ==
nType)
202 if ( pWindow !=
this )
void ImplStartDocking(const Point &rPos)
const vcl::KeyCode & GetKeyCode() const
const Point & GetPosPixel() const
const KeyEvent * GetKeyEvent() const
vcl::Window * GetWindow() const
const MouseEvent * GetMouseEvent() const
NotifyEventType GetType() const
SfxDispatcher * GetDispatcher() const
SfxViewFrame * GetFrame() const
Returns a pointer to the <SfxViewFrame> instance, which belongs to this SfxDispatcher.
SfxBindings & GetBindings() const
virtual bool EventNotify(NotifyEvent &rNEvt) override
virtual bool Close() override
The window is closed when the ChildWindow is destroyed by running the ChildWindow-slots.
virtual void dispose() override
static css::awt::KeyEvent st_VCLKey2AWTKey(const vcl::KeyCode &aKey)
static std::unique_ptr< AcceleratorExecute > createAcceleratorHelper()
sal_uInt16 GetCode() const
Point OutputToScreenPixel(const Point &rPos) const
Point ScreenToOutputPixel(const Point &rPos) const
constexpr sal_uInt16 KEY_RETURN
constexpr sal_uInt16 KEY_ESCAPE
constexpr sal_uInt16 KEY_HOME
constexpr sal_uInt16 KEY_LEFT
constexpr sal_uInt16 KEY_PAGEDOWN
constexpr sal_uInt16 KEY_UP
constexpr sal_uInt16 KEY_RIGHT
constexpr sal_uInt16 KEY_DELETE
constexpr sal_uInt16 KEY_DOWN
constexpr sal_uInt16 KEY_PAGEUP
constexpr sal_uInt16 KEY_INSERT
constexpr sal_uInt16 KEY_BACKSPACE
constexpr sal_uInt16 KEY_END
bool dispatchCommand(const OUString &rCommand, const uno::Reference< css::frame::XFrame > &rFrame, const css::uno::Sequence< css::beans::PropertyValue > &rArguments, const uno::Reference< css::frame::XDispatchResultListener > &rListener)
Reference< XComponentContext > getProcessComponentContext()