LibreOffice Module starmath (master) 1
|
#include <view.hxx>
Public Member Functions | |
SmCmdBoxWindow (SfxBindings *pBindings, SfxChildWindow *pChildWindow, Window *pParent) | |
virtual | ~SmCmdBoxWindow () override |
virtual void | dispose () override |
virtual void | GetFocus () override |
virtual void | StateChanged (StateChangedType nStateChange) override |
virtual void | Command (const CommandEvent &rCEvt) override |
Point | WidgetToWindowPos (const weld::Widget &rWidget, const Point &rPos) |
void | ShowContextMenu (const Point &rPos) |
void | AdjustPosition () |
SmEditWindow & | GetEditWindow () |
SmViewShell * | GetView () |
Public Member Functions inherited from SfxDockingWindow | |
SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, WinBits nWinBits) | |
SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
virtual | ~SfxDockingWindow () override |
virtual void | dispose () override |
void | Initialize (SfxChildWinInfo *pInfo) |
virtual void | FillInfo (SfxChildWinInfo &) const |
virtual void | StateChanged (StateChangedType nStateChange) override |
void | SetDockingRects (const tools::Rectangle &rOuter, const tools::Rectangle &rInner) |
const tools::Rectangle & | GetInnerRect () const |
const tools::Rectangle & | GetOuterRect () const |
SfxBindings & | GetBindings () const |
sal_uInt16 | GetType () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
const Size & | GetFloatingSize () const |
void | SetFloatingSize (const Size &rSize) |
void | SetMinOutputSizePixel (const Size &rSize) |
const Size & | GetMinOutputSizePixel () const |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
DECL_DLLPRIVATE_LINK (TimerHdl, Timer *, void) | |
SAL_DLLPRIVATE void | Initialize_Impl () |
SAL_DLLPRIVATE void | SetItemSize_Impl (const Size &rSize) |
SAL_DLLPRIVATE void | Disappear_Impl () |
SAL_DLLPRIVATE void | Reappear_Impl () |
SAL_DLLPRIVATE bool | IsAutoHide_Impl () const |
SAL_DLLPRIVATE void | AutoShow_Impl () |
SAL_DLLPRIVATE void | ReleaseChildWindow_Impl () |
Private Member Functions | |
DECL_LINK (InitialFocusTimerHdl, Timer *, void) | |
virtual Size | CalcDockingSize (SfxChildAlignment eAlign) override |
virtual SfxChildAlignment | CheckAlignment (SfxChildAlignment eActual, SfxChildAlignment eWish) override |
virtual void | ToggleFloatingMode () override |
Private Attributes | |
std::unique_ptr< SmEditWindow, o3tl::default_delete< SmEditWindow > > | m_xEdit |
SmEditController | aController |
bool | bExiting |
Timer | aInitialFocusTimer |
Additional Inherited Members | |
Protected Member Functions inherited from SfxDockingWindow | |
SfxChildAlignment | CalcAlignment (const Point &rPos, tools::Rectangle &rRect) |
virtual Size | CalcDockingSize (SfxChildAlignment) |
virtual SfxChildAlignment | CheckAlignment (SfxChildAlignment, SfxChildAlignment) |
virtual void | Resize () override |
virtual bool | PrepareToggleFloatingMode () override |
virtual void | ToggleFloatingMode () override |
virtual void | StartDocking () override |
virtual bool | Docking (const Point &rPos, tools::Rectangle &rRect) override |
virtual void | EndDocking (const tools::Rectangle &rRect, bool bFloatMode) override |
virtual void | Resizing (Size &rSize) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual bool | Close () override |
virtual void | Move () override |
SAL_DLLPRIVATE SfxChildWindow * | GetChildWindow_Impl () |
Protected Attributes inherited from SfxDockingWindow | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Box > | m_xContainer |
SmCmdBoxWindow::SmCmdBoxWindow | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pChildWindow, | ||
Window * | pParent | ||
) |
Definition at line 935 of file view.cxx.
References aInitialFocusTimer, HID_SMA_COMMAND_WIN, Hide, comphelper::LibreOfficeKit::isActive(), LINK, SetHelpId(), Timer::SetInvokeHandler(), SetText(), Timer::SetTimeout(), and SmResId().
void SmCmdBoxWindow::AdjustPosition | ( | ) |
Definition at line 1096 of file view.cxx.
References tools::Rectangle::Bottom(), Height, tools::Rectangle::Left(), Point::setX(), Point::setY(), Point::X(), and Point::Y().
Referenced by StateChanged().
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 1009 of file view.cxx.
References SfxDockingWindow::CalcDockingSize().
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
|
overridevirtual |
Definition at line 977 of file view.cxx.
References CommandEvent::GetCommand(), CommandEvent::GetMousePosPixel(), and ShowContextMenu().
|
private |
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 993 of file view.cxx.
References aController, aInitialFocusTimer, bExiting, SfxControllerItem::dispose(), SfxDockingWindow::dispose(), m_xEdit, and Task::Stop().
|
inline |
|
overridevirtual |
SmViewShell * SmCmdBoxWindow::GetView | ( | ) |
Definition at line 1002 of file view.cxx.
References SfxDockingWindow::GetBindings(), SfxBindings::GetDispatcher(), SfxDispatcher::GetFrame(), and SfxShell::GetViewShell().
Referenced by SmEditWindow::GetDoc(), SmEditWindow::GetView(), and ShowContextMenu().
void SmCmdBoxWindow::ShowContextMenu | ( | const Point & | rPos | ) |
Definition at line 969 of file view.cxx.
References SfxDispatcher::ExecutePopup(), SfxViewFrame::GetDispatcher(), GetView(), SfxViewShell::GetViewFrame(), and ToTop.
Referenced by SmEditTextWindow::Command(), and Command().
|
overridevirtual |
don't change pos in docking-mode !
Reimplemented from SfxDockingWindow.
Definition at line 1038 of file view.cxx.
References AdjustPosition(), aInitialFocusTimer, SfxDockingWindow::Resize(), Timer::Start(), and SfxDockingWindow::StateChanged().
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 1109 of file view.cxx.
References SfxDockingWindow::ToggleFloatingMode().
Point SmCmdBoxWindow::WidgetToWindowPos | ( | const weld::Widget & | rWidget, |
const Point & | rPos | ||
) |
Definition at line 959 of file view.cxx.
References weld::Widget::get_extents_relative_to(), SfxDockingWindow::m_xContainer, Point::Move(), x, and y.
Referenced by SmEditTextWindow::Command().
|
private |
|
private |
Definition at line 192 of file view.hxx.
Referenced by dispose(), SmCmdBoxWindow(), and StateChanged().
|
private |
Definition at line 190 of file view.hxx.
Referenced by dispose(), and GetFocus().
|
private |
Definition at line 188 of file view.hxx.
Referenced by dispose(), GetEditWindow(), and GetFocus().