LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WeldEditView Class Reference

#include <weldeditview.hxx>

Inheritance diagram for WeldEditView:
[legend]
Collaboration diagram for WeldEditView:
[legend]

Public Member Functions

 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)
 
EditEngineGetEditEngine ()
 
bool HasSelection () const
 
void Cut ()
 
void Copy ()
 
void Paste ()
 
virtual ~WeldEditView () override
 
- Public Member Functions inherited from weld::CustomWidgetController
virtual void StyleUpdated ()
 
virtual tools::Rectangle GetFocusRect ()
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void GrabFocus ()
 
bool HasFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
void Enable () const
 
void Disable () const
 
bool IsActive () const
 
int GetTextHeight () const
 
int GetTextWidth (const OUString &rText) const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void SetInputContext (const InputContext &rInputContext)
 
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
void SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, sal_uInt8 eDNDConstants)
 
virtual bool StartDrag ()
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Protected Member Functions

virtual void makeEditEngine ()
 
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 void GetFocus () override
 
virtual void LoseFocus () 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 void EditViewInputContext (const InputContext &rInputContext) override
 
virtual void EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth) override
 

Protected Attributes

std::unique_ptr< EditEnginem_xEditEngine
 
std::unique_ptr< EditViewm_xEditView
 
rtl::Reference< WeldEditAccessiblem_xAccessible
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 

Detailed Description

Definition at line 23 of file weldeditview.hxx.

Constructor & Destructor Documentation

WeldEditView::WeldEditView ( )

Definition at line 48 of file weldeditview.cxx.

WeldEditView::~WeldEditView ( )
overridevirtual

Definition at line 719 of file weldeditview.cxx.

References m_xAccessible.

Member Function Documentation

bool WeldEditView::Command ( const CommandEvent rCEvt)
overrideprotectedvirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 182 of file weldeditview.cxx.

References m_xEditView.

void WeldEditView::Copy ( )
inline

Definition at line 51 of file weldeditview.hxx.

css::uno::Reference< css::accessibility::XAccessible > WeldEditView::CreateAccessible ( )
overrideprotectedvirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 712 of file weldeditview.cxx.

References m_xAccessible.

void WeldEditView::Cut ( )
inline

Definition at line 46 of file weldeditview.hxx.

bool WeldEditView::DeleteSurroundingText ( const Selection rRange)
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1449 of file weldeditview.cxx.

References m_xEditView.

virtual void WeldEditView::EditViewCursorRect ( const tools::Rectangle rRect,
int  nExtTextInputWidth 
)
inlineoverrideprotectedvirtual
virtual void WeldEditView::EditViewInputContext ( const InputContext rInputContext)
inlineoverrideprotectedvirtual

Definition at line 92 of file weldeditview.hxx.

References weld::CustomWidgetController::SetInputContext().

virtual void WeldEditView::EditViewInvalidate ( const tools::Rectangle rRect)
inlineoverrideprotectedvirtual

Definition at line 83 of file weldeditview.hxx.

References weld::CustomWidgetController::Invalidate().

virtual OutputDevice& WeldEditView::EditViewOutputDevice ( ) const
inlineoverrideprotectedvirtual
virtual void WeldEditView::EditViewSelectionChange ( )
inlineoverrideprotectedvirtual

Definition at line 85 of file weldeditview.hxx.

References weld::CustomWidgetController::Invalidate().

EditEngine& WeldEditView::GetEditEngine ( )
inline

Definition at line 42 of file weldeditview.hxx.

void WeldEditView::GetFocus ( )
overrideprotectedvirtual
int WeldEditView::GetSurroundingText ( OUString &  rSurrounding)
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1441 of file weldeditview.cxx.

References m_xEditView.

OUString WeldEditView::GetText ( ) const
inline

Definition at line 33 of file weldeditview.hxx.

FactoryFunction WeldEditView::GetUITestFactory ( ) const
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1517 of file weldeditview.cxx.

bool WeldEditView::HasSelection ( ) const
inline

Definition at line 44 of file weldeditview.hxx.

bool WeldEditView::KeyInput ( const KeyEvent rKEvt)
overrideprotectedvirtual
void WeldEditView::LoseFocus ( )
overrideprotectedvirtual
void WeldEditView::makeEditEngine ( )
protectedvirtual
bool WeldEditView::MouseButtonDown ( const MouseEvent rMEvt)
overrideprotectedvirtual
bool WeldEditView::MouseButtonUp ( const MouseEvent rMEvt)
overrideprotectedvirtual
bool WeldEditView::MouseMove ( const MouseEvent rMEvt)
overrideprotectedvirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 129 of file weldeditview.cxx.

References m_xEditView.

void WeldEditView::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprotectedvirtual
void WeldEditView::Paste ( )
inline

Definition at line 56 of file weldeditview.hxx.

void WeldEditView::Resize ( )
overrideprotectedvirtual
void WeldEditView::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual
void WeldEditView::SetModifyHdl ( const Link< LinkParamNone *, void > &  rLink)
inline

Definition at line 37 of file weldeditview.hxx.

void WeldEditView::SetText ( const OUString &  rStr)
inline

Definition at line 31 of file weldeditview.hxx.

Member Data Documentation

rtl::Reference<WeldEditAccessible> WeldEditView::m_xAccessible
protected

Definition at line 67 of file weldeditview.hxx.

Referenced by CreateAccessible(), GetFocus(), LoseFocus(), SetDrawingArea(), and ~WeldEditView().

std::unique_ptr<EditEngine> WeldEditView::m_xEditEngine
protected
std::unique_ptr<EditView> WeldEditView::m_xEditView
protected

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