LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
sw::sidebarwindows::SidebarTextControl Class Reference

#include <SidebarTxtControl.hxx>

Inheritance diagram for sw::sidebarwindows::SidebarTextControl:
Collaboration diagram for sw::sidebarwindows::SidebarTextControl:

Public Member Functions

 SidebarTextControl (sw::annotation::SwAnnotationWin &rSidebarWin, SwView &rDocView, SwPostItMgr &rPostItMgr)
virtual EditViewGetEditView () const override
virtual EditEngineGetEditEngine () const override
virtual void EditViewScrollStateChange () override
void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
void SetCursorLogicPosition (const Point &rPosition, bool bPoint, bool bClearMark)
virtual bool KeyInput (const KeyEvent &rKeyEvt) override
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
void SetMapMode (const MapMode &rNewMapMode)
 DECL_LINK (OnlineSpellCallback, SpellCallbackInfo &, void)
void DrawForPage (OutputDevice *pDev, const Point &rPos)
- Public Member Functions inherited from WeldEditView
 WeldEditView ()
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
virtual int GetSurroundingText (OUString &rSurrounding) override
virtual bool DeleteSurroundingText (const Selection &rRange) override
void SetText (const OUString &rStr)
OUString GetText () const
virtual FactoryFunction GetUITestFactory () const override
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
virtual EditViewGetEditView () const
virtual EditEngineGetEditEngine () const
bool HasSelection () const
void Delete ()
void Cut ()
void Copy ()
void Paste ()
virtual ~WeldEditView () override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual bool MouseMove (const MouseEvent &rMEvt) override
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
virtual bool KeyInput (const KeyEvent &rKEvt) override
virtual bool Command (const CommandEvent &rCEvt) override
virtual bool CanFocus () const
virtual void GetFocus () override
virtual void LoseFocus () override
virtual void Resize () override
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const override
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget () override
bool GetAcceptsTab () const
void SetAcceptsTab (bool bAcceptsTab)

Protected Member Functions

virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual bool Command (const CommandEvent &rCEvt) override
virtual void GetFocus () override
virtual void LoseFocus () override
virtual OUString RequestHelp (tools::Rectangle &rRect) override
- Protected Member Functions inherited from WeldEditView
virtual void makeEditEngine ()
void InitAccessible ()
void DoPaint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
virtual void EditViewInvalidate (const tools::Rectangle &rRect) override
virtual void EditViewSelectionChange () override
virtual OutputDeviceEditViewOutputDevice () const override
virtual Point EditViewPointerPosPixel () const override
virtual void EditViewInputContext (const InputContext &rInputContext) override
virtual void EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth) override
virtual weld::WidgetEditViewPopupParent () const override

Private Member Functions

void MakeVisible ()

Private Attributes

bool mbMouseDownGainingFocus

Additional Inherited Members

- Protected Attributes inherited from WeldEditView
bool m_bAcceptsTab
css::uno::Reference< css::datatransfer::dnd::XDropTarget > m_xDropTarget
std::unique_ptr< EditEnginem_xEditEngine
std::unique_ptr< EditViewm_xEditView
rtl::Reference< WeldEditAccessiblem_xAccessible

Detailed Description

Definition at line 32 of file SidebarTxtControl.hxx.

Constructor & Destructor Documentation

◆ SidebarTextControl()

sw::sidebarwindows::SidebarTextControl::SidebarTextControl ( sw::annotation::SwAnnotationWin rSidebarWin,
SwView rDocView,
SwPostItMgr rPostItMgr 

Definition at line 63 of file SidebarTxtControl.cxx.

Member Function Documentation

◆ Command()

bool sw::sidebarwindows::SidebarTextControl::Command ( const CommandEvent rCEvt)


sw::sidebarwindows::SidebarTextControl::DECL_LINK ( OnlineSpellCallback  ,
SpellCallbackInfo ,

◆ DrawForPage()

void sw::sidebarwindows::SidebarTextControl::DrawForPage ( OutputDevice pDev,
const Point &  rPos 

◆ EditViewScrollStateChange()

void sw::sidebarwindows::SidebarTextControl::EditViewScrollStateChange ( )

◆ GetEditEngine()

EditEngine * sw::sidebarwindows::SidebarTextControl::GetEditEngine ( ) const

◆ GetEditView()

EditView * sw::sidebarwindows::SidebarTextControl::GetEditView ( ) const

◆ GetFocus()

void sw::sidebarwindows::SidebarTextControl::GetFocus ( )

◆ KeyInput()

bool sw::sidebarwindows::SidebarTextControl::KeyInput ( const KeyEvent rKeyEvt)

◆ LoseFocus()

void sw::sidebarwindows::SidebarTextControl::LoseFocus ( )

◆ MakeVisible()

void sw::sidebarwindows::SidebarTextControl::MakeVisible ( )

Definition at line 279 of file SidebarTxtControl.cxx.

References SwPostItMgr::MakeVisible(), mrPostItMgr, and mrSidebarWin.

Referenced by KeyInput(), and MouseButtonUp().

◆ MouseButtonDown()

bool sw::sidebarwindows::SidebarTextControl::MouseButtonDown ( const MouseEvent rMEvt)

◆ MouseButtonUp()

bool sw::sidebarwindows::SidebarTextControl::MouseButtonUp ( const MouseEvent rMEvt)

Reimplemented from WeldEditView.

Definition at line 390 of file SidebarTxtControl.cxx.

References MakeVisible(), mbMouseDownGainingFocus, and WeldEditView::MouseButtonUp().

◆ Paint()

void sw::sidebarwindows::SidebarTextControl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 

◆ RequestHelp()

OUString sw::sidebarwindows::SidebarTextControl::RequestHelp ( tools::Rectangle rRect)

◆ SetCursorLogicPosition()

void sw::sidebarwindows::SidebarTextControl::SetCursorLogicPosition ( const Point &  rPosition,
bool  bPoint,
bool  bClearMark 

◆ SetDrawingArea()

void sw::sidebarwindows::SidebarTextControl::SetDrawingArea ( weld::DrawingArea pDrawingArea)

◆ SetMapMode()

void sw::sidebarwindows::SidebarTextControl::SetMapMode ( const MapMode rNewMapMode)

Definition at line 70 of file SidebarTxtControl.hxx.

References OutputDevice::SetMapMode().

Member Data Documentation

◆ mbMouseDownGainingFocus

bool sw::sidebarwindows::SidebarTextControl::mbMouseDownGainingFocus

Definition at line 38 of file SidebarTxtControl.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

◆ mrDocView

SwView& sw::sidebarwindows::SidebarTextControl::mrDocView

Definition at line 36 of file SidebarTxtControl.hxx.

Referenced by Command(), KeyInput(), MouseButtonDown(), RequestHelp(), and SetDrawingArea().

◆ mrPostItMgr

SwPostItMgr& sw::sidebarwindows::SidebarTextControl::mrPostItMgr

Definition at line 37 of file SidebarTxtControl.hxx.

Referenced by MakeVisible(), and SetDrawingArea().

◆ mrSidebarWin

sw::annotation::SwAnnotationWin& sw::sidebarwindows::SidebarTextControl::mrSidebarWin

The documentation for this class was generated from the following files: