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:
[legend]
Collaboration diagram for sw::sidebarwindows::SidebarTextControl:
[legend]

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
 
virtual bool MouseMove (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

sw::annotation::SwAnnotationWinmrSidebarWin
 
SwViewmrDocView
 
SwPostItMgrmrPostItMgr
 
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)
overrideprotectedvirtual

◆ DECL_LINK()

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

◆ DrawForPage()

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

◆ EditViewScrollStateChange()

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

◆ GetEditEngine()

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

◆ GetEditView()

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

◆ GetFocus()

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

◆ KeyInput()

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

◆ LoseFocus()

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

◆ MakeVisible()

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

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)
overridevirtual

◆ MouseButtonUp()

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

Reimplemented from WeldEditView.

Definition at line 390 of file SidebarTxtControl.cxx.

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

◆ MouseMove()

bool sw::sidebarwindows::SidebarTextControl::MouseMove ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from WeldEditView.

Definition at line 403 of file SidebarTxtControl.cxx.

References MouseEvent::IsEnterWindow(), and WeldEditView::MouseMove().

◆ Paint()

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

◆ RequestHelp()

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

◆ SetCursorLogicPosition()

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

◆ SetDrawingArea()

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

◆ SetMapMode()

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

Definition at line 71 of file SidebarTxtControl.hxx.

References OutputDevice::SetMapMode().

Member Data Documentation

◆ mbMouseDownGainingFocus

bool sw::sidebarwindows::SidebarTextControl::mbMouseDownGainingFocus
private

Definition at line 38 of file SidebarTxtControl.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

◆ mrDocView

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

Definition at line 36 of file SidebarTxtControl.hxx.

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

◆ mrPostItMgr

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

Definition at line 37 of file SidebarTxtControl.hxx.

Referenced by MakeVisible(), and SetDrawingArea().

◆ mrSidebarWin

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

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