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
 
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 Cut ()
 
void Copy ()
 
void Paste ()
 
virtual ~WeldEditView () override
 

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 bool MouseMove (const MouseEvent &rMEvt) override
 
virtual void Resize () override
 
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
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.

Member Function Documentation

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

Definition at line 271 of file SidebarTxtControl.cxx.

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

Referenced by KeyInput(), and MouseButtonUp().

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

Reimplemented from WeldEditView.

Definition at line 387 of file SidebarTxtControl.cxx.

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

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

Definition at line 70 of file SidebarTxtControl.hxx.

References OutputDevice::SetMapMode().

Member Data Documentation

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

Definition at line 38 of file SidebarTxtControl.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

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

Definition at line 36 of file SidebarTxtControl.hxx.

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

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

Definition at line 37 of file SidebarTxtControl.hxx.

Referenced by MakeVisible().

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

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