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 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
 
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 ()
 
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 ()
 
void InitAccessible ()
 
void DoPaint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
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 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

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 85 of file weldeditview.cxx.

WeldEditView::~WeldEditView ( )
overridevirtual

Definition at line 771 of file weldeditview.cxx.

References m_xAccessible.

Member Function Documentation

bool WeldEditView::Command ( const CommandEvent rCEvt)
overrideprotectedvirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 230 of file weldeditview.cxx.

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

void WeldEditView::Copy ( )

Definition at line 73 of file weldeditview.cxx.

References GetEditView().

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

Reimplemented from weld::CustomWidgetController.

Definition at line 764 of file weldeditview.cxx.

References m_xAccessible.

void WeldEditView::Cut ( )

Definition at line 67 of file weldeditview.cxx.

References GetEditView().

bool WeldEditView::DeleteSurroundingText ( const Selection rRange)
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1507 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

Definition at line 83 of file weldeditview.hxx.

References weld::CustomWidgetController::SetInputContext().

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

Definition at line 72 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

Definition at line 95 of file weldeditview.hxx.

References weld::CustomWidgetController::GetDrawingArea().

virtual void WeldEditView::EditViewSelectionChange ( )
inlineoverrideprotectedvirtual

Definition at line 74 of file weldeditview.hxx.

References weld::CustomWidgetController::Invalidate().

EditEngine * WeldEditView::GetEditEngine ( ) const
virtual

Definition at line 59 of file weldeditview.cxx.

References m_xEditEngine.

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

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

Definition at line 50 of file weldeditview.cxx.

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

FactoryFunction WeldEditView::GetUITestFactory ( ) const
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 1577 of file weldeditview.cxx.

bool WeldEditView::HasSelection ( ) const

Definition at line 61 of file weldeditview.cxx.

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

void WeldEditView::InitAccessible ( )
protected

Definition at line 1492 of file weldeditview.cxx.

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

Referenced by SetDrawingArea().

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 171 of file weldeditview.cxx.

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

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

Definition at line 79 of file weldeditview.cxx.

References GetEditView().

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

Definition at line 52 of file weldeditview.cxx.

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

void WeldEditView::SetText ( const OUString &  rStr)

Definition at line 48 of file weldeditview.cxx.

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

Member Data Documentation

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

Definition at line 52 of file weldeditview.hxx.

Referenced by CreateAccessible(), GetFocus(), InitAccessible(), LoseFocus(), 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: