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
 
void SetObjectSelectHdl (const Link< ScEditWindow &, void > &aLink)
 
void SetGetFocusHdl (const std::function< void(ScEditWindow &)> &rLink)
 
- Public Member Functions inherited from WeldEditView
 WeldEditView ()
 
void SetText (const OUString &rStr)
 
OUString GetText () const
 
void SetModifyHdl (const Link< LinkParamNone *, void > &rLink)
 
EditEngineGetEditEngine ()
 
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
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) const override
 
virtual void EditViewSelectionChange () const override
 
virtual OutputDeviceEditViewOutputDevice () const override
 

Private Attributes

ScEditWindowLocation eLocation
 
bool mbRTL
 
weld::WindowmpDialog
 
css::uno::WeakReference< css::accessibility::XAccessible > xAcc
 
ScAccessibleEditObjectpAcc
 
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 49 of file tphfedit.hxx.

Constructor & Destructor Documentation

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

Definition at line 62 of file tphfedit.cxx.

ScEditWindow::~ScEditWindow ( )
overridevirtual

Definition at line 116 of file tphfedit.cxx.

References pAcc, and xAcc.

Member Function Documentation

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

Reimplemented from WeldEditView.

Definition at line 266 of file tphfedit.cxx.

References pAcc, and xAcc.

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

Definition at line 134 of file tphfedit.cxx.

References i, and WeldEditView::m_xEditEngine.

ScHeaderEditEngine * ScEditWindow::GetEditEngine ( ) const

Definition at line 75 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 226 of file tphfedit.cxx.

References assert(), WeldEditView::GetFocus(), ScAccessibleEditObject::GotFocus(), m_GetFocusLink, pAcc, and xAcc.

Referenced by MouseButtonDown().

void ScEditWindow::InsertField ( const SvxFieldItem rFld)

Definition at line 166 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 242 of file tphfedit.cxx.

References WeldEditView::LoseFocus(), ScAccessibleEditObject::LostFocus(), pAcc, and xAcc.

void ScEditWindow::makeEditEngine ( )
overrideprotectedvirtual

Reimplemented from WeldEditView.

Definition at line 70 of file tphfedit.cxx.

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

bool ScEditWindow::MouseButtonDown ( const MouseEvent rMEvt)
overrideprotectedvirtual

Reimplemented from WeldEditView.

Definition at line 254 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 69 of file tphfedit.hxx.

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

Definition at line 68 of file tphfedit.hxx.

void ScEditWindow::SetText ( const EditTextObject rTextObject)

Member Data Documentation

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

Definition at line 86 of file tphfedit.hxx.

Referenced by KeyInput().

ScEditWindowLocation ScEditWindow::eLocation
private

Definition at line 79 of file tphfedit.hxx.

Referenced by SetDrawingArea().

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

Definition at line 87 of file tphfedit.hxx.

Referenced by GetFocus().

bool ScEditWindow::mbRTL
private

Definition at line 80 of file tphfedit.hxx.

Referenced by SetDrawingArea(), and SetFont().

weld::Window* ScEditWindow::mpDialog
private

Definition at line 81 of file tphfedit.hxx.

Referenced by SetCharAttributes().

ScAccessibleEditObject* ScEditWindow::pAcc
private

Definition at line 84 of file tphfedit.hxx.

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

css::uno::WeakReference< css::accessibility::XAccessible > ScEditWindow::xAcc
private

Definition at line 83 of file tphfedit.hxx.

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


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