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)
 
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 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)
 
- 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
 
Point GetPointerPosPixel () 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 ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
 
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
 
- Public Member Functions inherited from EditViewCallbacks
 EditViewCallbacks ()
 
virtual ~EditViewCallbacks ()
 
virtual void EditViewScrollStateChange ()
 

Protected Member Functions

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
 

Protected Attributes

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
 

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file weldeditview.hxx.

Constructor & Destructor Documentation

WeldEditView::WeldEditView ( )

Definition at line 101 of file weldeditview.cxx.

WeldEditView::~WeldEditView ( )
overridevirtual

Definition at line 858 of file weldeditview.cxx.

References m_xAccessible.

Member Function Documentation

bool WeldEditView::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 314 of file weldeditview.cxx.

References EditView::Command(), and GetEditView().

void WeldEditView::Copy ( )

Definition at line 89 of file weldeditview.cxx.

References GetEditView().

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

Reimplemented from weld::CustomWidgetController.

Definition at line 851 of file weldeditview.cxx.

References m_xAccessible.

void WeldEditView::Cut ( )

Definition at line 83 of file weldeditview.cxx.

References GetEditView().

void WeldEditView::Delete ( )

Definition at line 77 of file weldeditview.cxx.

References GetEditView().

bool WeldEditView::DeleteSurroundingText ( const Selection rRange)
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1591 of file weldeditview.cxx.

References EditView::DeleteSurroundingText(), and GetEditView().

void WeldEditView::DoPaint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
protected
virtual void WeldEditView::EditViewCursorRect ( const tools::Rectangle rRect,
int  nExtTextInputWidth 
)
inlineoverrideprotectedvirtual
virtual void WeldEditView::EditViewInputContext ( const InputContext rInputContext)
inlineoverrideprotectedvirtual

Implements EditViewCallbacks.

Definition at line 98 of file weldeditview.hxx.

References weld::CustomWidgetController::SetInputContext().

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

Implements EditViewCallbacks.

Definition at line 87 of file weldeditview.hxx.

References weld::CustomWidgetController::Invalidate().

virtual OutputDevice& WeldEditView::EditViewOutputDevice ( ) const
inlineoverrideprotectedvirtual
Point WeldEditView::EditViewPointerPosPixel ( ) const
overrideprotectedvirtual
virtual weld::Widget* WeldEditView::EditViewPopupParent ( ) const
inlineoverrideprotectedvirtual

Reimplemented from EditViewCallbacks.

Definition at line 110 of file weldeditview.hxx.

References weld::CustomWidgetController::GetDrawingArea().

virtual void WeldEditView::EditViewSelectionChange ( )
inlineoverrideprotectedvirtual

Implements EditViewCallbacks.

Definition at line 89 of file weldeditview.hxx.

References weld::CustomWidgetController::Invalidate().

bool WeldEditView::GetAcceptsTab ( ) const
inline

Definition at line 80 of file weldeditview.hxx.

Referenced by KeyInput().

css::uno::Reference< css::datatransfer::clipboard::XClipboard > WeldEditView::GetClipboard ( ) const
overridevirtual

Implements EditViewCallbacks.

Definition at line 1640 of file weldeditview.cxx.

References weld::CustomWidgetController::GetClipboard().

css::uno::Reference< css::datatransfer::dnd::XDropTarget > WeldEditView::GetDropTarget ( )
overridevirtual

Reimplemented from EditViewCallbacks.

Definition at line 1633 of file weldeditview.cxx.

References weld::CustomWidgetController::GetDropTarget(), and m_xDropTarget.

EditEngine * WeldEditView::GetEditEngine ( ) const
virtual

Definition at line 69 of file weldeditview.cxx.

References m_xEditEngine.

Referenced by GetText(), InitAccessible(), KeyInput(), Resize(), SetModifyHdl(), and SetText().

EditView * WeldEditView::GetEditView ( ) const
virtual
void WeldEditView::GetFocus ( )
overridevirtual
int WeldEditView::GetSurroundingText ( OUString &  rSurrounding)
overridevirtual
OUString WeldEditView::GetText ( ) const

Definition at line 60 of file weldeditview.cxx.

References GetEditEngine(), and EditEngine::GetText().

FactoryFunction WeldEditView::GetUITestFactory ( ) const
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1676 of file weldeditview.cxx.

bool WeldEditView::HasSelection ( ) const

Definition at line 71 of file weldeditview.cxx.

References GetEditView(), and EditView::HasSelection().

void WeldEditView::InitAccessible ( )
protected

Definition at line 1576 of file weldeditview.cxx.

References GetEditEngine(), GetEditView(), and m_xAccessible.

Referenced by SetDrawingArea().

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

Reimplemented from weld::CustomWidgetController.

Definition at line 252 of file weldeditview.cxx.

References GetEditView(), and EditView::MouseMove().

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

Definition at line 95 of file weldeditview.cxx.

References GetEditView().

void WeldEditView::Resize ( )
overridevirtual
void WeldEditView::SetAcceptsTab ( bool  bAcceptsTab)
inline

Definition at line 82 of file weldeditview.hxx.

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

Definition at line 62 of file weldeditview.cxx.

References GetEditEngine(), and EditEngine::SetModifyHdl().

void WeldEditView::SetText ( const OUString &  rStr)

Definition at line 58 of file weldeditview.cxx.

References GetEditEngine(), and EditEngine::SetText().

Member Data Documentation

bool WeldEditView::m_bAcceptsTab
protected

Definition at line 51 of file weldeditview.hxx.

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

Definition at line 56 of file weldeditview.hxx.

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

css::uno::Reference<css::datatransfer::dnd::XDropTarget> WeldEditView::m_xDropTarget
protected

Definition at line 53 of file weldeditview.hxx.

Referenced by GetDropTarget().

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: