LibreOffice Module sc (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ScEditWindow Class Reference

#include <tphfedit.hxx>

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

Public Member Functions

 ScEditWindow (ScEditWindowLocation eLoc, weld::Window *pParent)
 
virtual void SetDrawingArea (weld::DrawingArea *pArea) override
 
virtual ~ScEditWindow () override
 
void SetFont (const ScPatternAttr &rPattern)
 
void SetText (const EditTextObject &rTextObject)
 
std::unique_ptr< EditTextObjectCreateTextObject ()
 
void SetCharAttributes ()
 
void InsertField (const SvxFieldItem &rFld)
 
void SetNumType (SvxNumType eNumType)
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
ScHeaderEditEngineGetEditEngine () const override
 
void SetObjectSelectHdl (const Link< ScEditWindow &, void > &aLink)
 
void SetGetFocusHdl (const std::function< void(ScEditWindow &)> &rLink)
 
- 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)
 
virtual EditViewGetEditView () const
 
bool HasSelection () const
 
void Cut ()
 
void Copy ()
 
void Paste ()
 
virtual ~WeldEditView () override
 

Protected Member Functions

virtual void makeEditEngine () override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
- Protected Member Functions inherited from WeldEditView
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 MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool Command (const CommandEvent &rCEvt) override
 
virtual void Resize () 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 Attributes

ScEditWindowLocation eLocation
 
bool mbRTL
 
weld::WindowmpDialog
 
unotools::WeakReference< ScAccessibleEditObjectmxAcc
 
Link< ScEditWindow &, voidaObjectSelectLink
 
std::function< void(ScEditWindow &)> m_GetFocusLink
 

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 48 of file tphfedit.hxx.

Constructor & Destructor Documentation

ScEditWindow::ScEditWindow ( ScEditWindowLocation  eLoc,
weld::Window pParent 
)

Definition at line 58 of file tphfedit.cxx.

ScEditWindow::~ScEditWindow ( )
overridevirtual

Definition at line 112 of file tphfedit.cxx.

References unotools::WeakReference< class >::get(), and mxAcc.

Member Function Documentation

css::uno::Reference< css::accessibility::XAccessible > ScEditWindow::CreateAccessible ( )
overridevirtual

Reimplemented from WeldEditView.

Definition at line 250 of file tphfedit.cxx.

References ScAccessibleEditObject::EditControl, and mxAcc.

std::unique_ptr< EditTextObject > ScEditWindow::CreateTextObject ( )

Definition at line 126 of file tphfedit.cxx.

References i, and WeldEditView::m_xEditEngine.

ScHeaderEditEngine * ScEditWindow::GetEditEngine ( ) const
overridevirtual

Reimplemented from WeldEditView.

Definition at line 70 of file tphfedit.cxx.

References WeldEditView::m_xEditEngine.

Referenced by SetDrawingArea(), SetFont(), SetNumType(), and SetText().

void ScEditWindow::GetFocus ( )
overrideprotectedvirtual

Reimplemented from WeldEditView.

Definition at line 218 of file tphfedit.cxx.

References assert(), unotools::WeakReference< class >::get(), WeldEditView::GetFocus(), m_GetFocusLink, and mxAcc.

Referenced by MouseButtonDown().

void ScEditWindow::InsertField ( const SvxFieldItem rFld)

Definition at line 158 of file tphfedit.cxx.

References WeldEditView::m_xEditView.

bool ScEditWindow::KeyInput ( const KeyEvent rKEvt)
overrideprotectedvirtual
void ScEditWindow::LoseFocus ( )
overrideprotectedvirtual

Reimplemented from WeldEditView.

Definition at line 229 of file tphfedit.cxx.

References unotools::WeakReference< class >::get(), WeldEditView::LoseFocus(), and mxAcc.

void ScEditWindow::makeEditEngine ( )
overrideprotectedvirtual

Reimplemented from WeldEditView.

Definition at line 65 of file tphfedit.cxx.

References EditEngine::CreatePool(), and WeldEditView::m_xEditEngine.

bool ScEditWindow::MouseButtonDown ( const MouseEvent rMEvt)
overrideprotectedvirtual

Reimplemented from WeldEditView.

Definition at line 238 of file tphfedit.cxx.

References assert(), GetFocus(), and WeldEditView::MouseButtonDown().

void ScEditWindow::SetCharAttributes ( )
void ScEditWindow::SetDrawingArea ( weld::DrawingArea pArea)
overridevirtual
void ScEditWindow::SetFont ( const ScPatternAttr rPattern)
void ScEditWindow::SetGetFocusHdl ( const std::function< void(ScEditWindow &)> &  rLink)
inline

Definition at line 68 of file tphfedit.hxx.

void ScEditWindow::SetNumType ( SvxNumType  eNumType)
void ScEditWindow::SetObjectSelectHdl ( const Link< ScEditWindow &, void > &  aLink)
inline

Definition at line 67 of file tphfedit.hxx.

void ScEditWindow::SetText ( const EditTextObject rTextObject)

Member Data Documentation

Link<ScEditWindow&,void> ScEditWindow::aObjectSelectLink
private

Definition at line 84 of file tphfedit.hxx.

Referenced by KeyInput().

ScEditWindowLocation ScEditWindow::eLocation
private

Definition at line 78 of file tphfedit.hxx.

Referenced by SetDrawingArea().

std::function<void (ScEditWindow&)> ScEditWindow::m_GetFocusLink
private

Definition at line 85 of file tphfedit.hxx.

Referenced by GetFocus().

bool ScEditWindow::mbRTL
private

Definition at line 79 of file tphfedit.hxx.

Referenced by SetDrawingArea(), and SetFont().

weld::Window* ScEditWindow::mpDialog
private

Definition at line 80 of file tphfedit.hxx.

Referenced by SetCharAttributes().

unotools::WeakReference<ScAccessibleEditObject> ScEditWindow::mxAcc
private

Definition at line 82 of file tphfedit.hxx.

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


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