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 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)
bool HasSelection () const
void Delete ()
void Cut ()
void Copy ()
void Paste ()
virtual ~WeldEditView () override
virtual bool MouseMove (const MouseEvent &rMEvt) override
virtual bool CanFocus () const
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

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

Definition at line 62 of file SidebarTxtControl.cxx.

References false.

Member Function Documentation

bool sw::sidebarwindows::SidebarTextControl::Command ( const CommandEvent rCEvt)
sw::sidebarwindows::SidebarTextControl::DECL_LINK ( OnlineSpellCallback  ,
SpellCallbackInfo ,
void sw::sidebarwindows::SidebarTextControl::DrawForPage ( OutputDevice pDev,
const Point &  rPos 
void sw::sidebarwindows::SidebarTextControl::EditViewScrollStateChange ( )
EditEngine * sw::sidebarwindows::SidebarTextControl::GetEditEngine ( ) const
EditView * sw::sidebarwindows::SidebarTextControl::GetEditView ( ) const
void sw::sidebarwindows::SidebarTextControl::GetFocus ( )
bool sw::sidebarwindows::SidebarTextControl::KeyInput ( const KeyEvent rKeyEvt)
void sw::sidebarwindows::SidebarTextControl::LoseFocus ( )
void sw::sidebarwindows::SidebarTextControl::MakeVisible ( )

Definition at line 278 of file SidebarTxtControl.cxx.

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

Referenced by KeyInput(), and MouseButtonUp().

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

Reimplemented from WeldEditView.

Definition at line 393 of file SidebarTxtControl.cxx.

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

void sw::sidebarwindows::SidebarTextControl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
OUString sw::sidebarwindows::SidebarTextControl::RequestHelp ( tools::Rectangle rRect)
void sw::sidebarwindows::SidebarTextControl::SetCursorLogicPosition ( const Point &  rPosition,
bool  bPoint,
bool  bClearMark 
void sw::sidebarwindows::SidebarTextControl::SetDrawingArea ( weld::DrawingArea pDrawingArea)
void sw::sidebarwindows::SidebarTextControl::SetMapMode ( const MapMode rNewMapMode)

Definition at line 70 of file SidebarTxtControl.hxx.

References OutputDevice::SetMapMode().

Member Data Documentation

bool sw::sidebarwindows::SidebarTextControl::mbMouseDownGainingFocus

Definition at line 38 of file SidebarTxtControl.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

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

Definition at line 36 of file SidebarTxtControl.hxx.

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

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

Definition at line 37 of file SidebarTxtControl.hxx.

Referenced by MakeVisible(), and SetDrawingArea().

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

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