25 virtual void dispose()
override;
This button is shown when the cursor is inside a content control with drop-down capability.
virtual void dispose() override
DECL_LINK(PopupModeEndHdl, weld::Popover &, void)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual WindowHitTest ImplHitTest(const Point &rFramePos) override
virtual void LaunchPopup()
std::shared_ptr< SwContentControl > m_pContentControl
void CalcPosAndSize(const SwRect &rPortionPaintArea)
SwContentControlButton(SwEditWin *pEditWin, std::shared_ptr< SwContentControl > pContentControl)
tools::Rectangle m_aFramePixel
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
virtual ~SwContentControlButton() override
void StartPopup()
Shared MouseButtonDown() and KeyInput() code.
std::unique_ptr< weld::Builder > m_xPopupBuilder
const std::shared_ptr< SwContentControl > & GetContentControl() const
virtual void DestroyPopup()
std::unique_ptr< weld::Popover > m_xPopup
Stores the properties of a content control.
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Of course Writer needs its own rectangles.