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

#include <inputwin.hxx>

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

Public Member Functions

 ScTextWndGroup (ScInputBarGroup &pParent, ScTabViewShell *pViewSh)
 
virtual ~ScTextWndGroup () override
 
virtual void InsertAccessibleTextData (ScAccessibleEditLineTextData &rTextData) override
 
virtual EditViewGetEditView () const override
 
const OutputDeviceGetEditViewDevice () const
 
Point GetCursorScreenPixelPos (bool bBelowLine)
 
tools::Long GetLastNumExpandedLines () const
 
void SetLastNumExpandedLines (tools::Long nLastExpandedLines)
 
virtual tools::Long GetNumLines () const override
 
int GetPixelHeightForLines (tools::Long nLines)
 
weld::ScrolledWindowGetScrollWin ()
 
virtual const OUString & GetTextString () const override
 
virtual bool HasEditView () const override
 
virtual bool IsInputActive () override
 
virtual void MakeDialogEditView () override
 
virtual void RemoveAccessibleTextData (ScAccessibleEditLineTextData &rTextData) override
 
void SetScrollPolicy ()
 
void SetNumLines (tools::Long nLines)
 
virtual void SetFormulaMode (bool bSet) override
 
virtual void SetTextString (const OUString &rString) override
 
virtual void StartEditEngine () override
 
virtual void StopEditEngine (bool bAll) override
 
virtual void TextGrabFocus () override
 
vcl::WindowGetVclParent ()
 
- Public Member Functions inherited from ScTextWndBase
virtual void InsertAccessibleTextData (ScAccessibleEditLineTextData &rTextData)=0
 
virtual void RemoveAccessibleTextData (ScAccessibleEditLineTextData &rTextData)=0
 
virtual void SetTextString (const OUString &rString)=0
 
virtual const OUString & GetTextString () const =0
 
virtual void StartEditEngine ()=0
 
virtual void StopEditEngine (bool bAll)=0
 
virtual EditViewGetEditView () const =0
 
virtual bool HasEditView () const =0
 
virtual void MakeDialogEditView ()=0
 
virtual void SetFormulaMode (bool bSet)=0
 
virtual bool IsInputActive ()=0
 
virtual void TextGrabFocus ()=0
 
virtual tools::Long GetNumLines () const =0
 
virtual ~ScTextWndBase ()
 

Private Member Functions

 DECL_LINK (Impl_ScrollHdl, weld::ScrolledWindow &, void)
 

Private Attributes

std::unique_ptr< ScTextWndmxTextWnd
 
std::unique_ptr< weld::ScrolledWindowmxScrollWin
 
std::unique_ptr< weld::CustomWeldmxTextWndWin
 
vcl::WindowmrParent
 

Detailed Description

Definition at line 203 of file inputwin.hxx.

Constructor & Destructor Documentation

◆ ScTextWndGroup()

ScTextWndGroup::ScTextWndGroup ( ScInputBarGroup pParent,
ScTabViewShell pViewSh 
)

◆ ~ScTextWndGroup()

ScTextWndGroup::~ScTextWndGroup ( )
overridevirtual

Definition at line 1224 of file inputwin.cxx.

Member Function Documentation

◆ DECL_LINK()

ScTextWndGroup::DECL_LINK ( Impl_ScrollHdl  ,
weld::ScrolledWindow ,
void   
)
private

◆ GetCursorScreenPixelPos()

Point ScTextWndGroup::GetCursorScreenPixelPos ( bool  bBelowLine)

◆ GetEditView()

EditView * ScTextWndGroup::GetEditView ( ) const
overridevirtual

Implements ScTextWndBase.

Definition at line 1233 of file inputwin.cxx.

References mxTextWnd.

Referenced by GetCursorScreenPixelPos().

◆ GetEditViewDevice()

const OutputDevice & ScTextWndGroup::GetEditViewDevice ( ) const

Definition at line 1238 of file inputwin.cxx.

References mxTextWnd.

Referenced by GetCursorScreenPixelPos().

◆ GetLastNumExpandedLines()

tools::Long ScTextWndGroup::GetLastNumExpandedLines ( ) const

Definition at line 1243 of file inputwin.cxx.

References mxTextWnd.

◆ GetNumLines()

tools::Long ScTextWndGroup::GetNumLines ( ) const
overridevirtual

Implements ScTextWndBase.

Definition at line 1253 of file inputwin.cxx.

References mxTextWnd.

◆ GetPixelHeightForLines()

int ScTextWndGroup::GetPixelHeightForLines ( tools::Long  nLines)

Definition at line 1258 of file inputwin.cxx.

References gnBorderHeight, and mxTextWnd.

◆ GetScrollWin()

weld::ScrolledWindow & ScTextWndGroup::GetScrollWin ( )

Definition at line 1263 of file inputwin.cxx.

References mxScrollWin.

Referenced by ScTextWnd::DoScroll(), and ScTextWnd::SetScrollBarRange().

◆ GetTextString()

const OUString & ScTextWndGroup::GetTextString ( ) const
overridevirtual

Implements ScTextWndBase.

Definition at line 1268 of file inputwin.cxx.

References mxTextWnd.

◆ GetVclParent()

vcl::Window & ScTextWndGroup::GetVclParent ( )
inline

Definition at line 231 of file inputwin.hxx.

References mrParent.

Referenced by ScTextWnd::Command().

◆ HasEditView()

bool ScTextWndGroup::HasEditView ( ) const
overridevirtual

Implements ScTextWndBase.

Definition at line 1273 of file inputwin.cxx.

References mxTextWnd.

Referenced by GetCursorScreenPixelPos().

◆ InsertAccessibleTextData()

void ScTextWndGroup::InsertAccessibleTextData ( ScAccessibleEditLineTextData rTextData)
overridevirtual

Implements ScTextWndBase.

Definition at line 1228 of file inputwin.cxx.

References mxTextWnd.

◆ IsInputActive()

bool ScTextWndGroup::IsInputActive ( )
overridevirtual

Implements ScTextWndBase.

Definition at line 1278 of file inputwin.cxx.

References mxTextWnd.

◆ MakeDialogEditView()

void ScTextWndGroup::MakeDialogEditView ( )
overridevirtual

Implements ScTextWndBase.

Definition at line 1283 of file inputwin.cxx.

References mxTextWnd.

◆ RemoveAccessibleTextData()

void ScTextWndGroup::RemoveAccessibleTextData ( ScAccessibleEditLineTextData rTextData)
overridevirtual

Implements ScTextWndBase.

Definition at line 1288 of file inputwin.cxx.

References mxTextWnd.

◆ SetFormulaMode()

void ScTextWndGroup::SetFormulaMode ( bool  bSet)
overridevirtual

Implements ScTextWndBase.

Definition at line 1306 of file inputwin.cxx.

References mxTextWnd.

◆ SetLastNumExpandedLines()

void ScTextWndGroup::SetLastNumExpandedLines ( tools::Long  nLastExpandedLines)

Definition at line 1248 of file inputwin.cxx.

References mxTextWnd.

◆ SetNumLines()

void ScTextWndGroup::SetNumLines ( tools::Long  nLines)

Definition at line 1301 of file inputwin.cxx.

References mxTextWnd.

◆ SetScrollPolicy()

void ScTextWndGroup::SetScrollPolicy ( )

Definition at line 1293 of file inputwin.cxx.

References mxScrollWin, and mxTextWnd.

◆ SetTextString()

void ScTextWndGroup::SetTextString ( const OUString &  rString)
overridevirtual

Implements ScTextWndBase.

Definition at line 1311 of file inputwin.cxx.

References mxTextWnd.

◆ StartEditEngine()

void ScTextWndGroup::StartEditEngine ( )
overridevirtual

Implements ScTextWndBase.

Definition at line 1316 of file inputwin.cxx.

References mxTextWnd.

◆ StopEditEngine()

void ScTextWndGroup::StopEditEngine ( bool  bAll)
overridevirtual

Implements ScTextWndBase.

Definition at line 1321 of file inputwin.cxx.

References mxTextWnd.

◆ TextGrabFocus()

void ScTextWndGroup::TextGrabFocus ( )
overridevirtual

Implements ScTextWndBase.

Definition at line 1326 of file inputwin.cxx.

References mxTextWnd.

Member Data Documentation

◆ mrParent

vcl::Window& ScTextWndGroup::mrParent
private

Definition at line 237 of file inputwin.hxx.

Referenced by GetCursorScreenPixelPos(), and GetVclParent().

◆ mxScrollWin

std::unique_ptr<weld::ScrolledWindow> ScTextWndGroup::mxScrollWin
private

Definition at line 235 of file inputwin.hxx.

Referenced by GetScrollWin(), ScTextWndGroup(), and SetScrollPolicy().

◆ mxTextWnd

std::unique_ptr<ScTextWnd> ScTextWndGroup::mxTextWnd
private

◆ mxTextWndWin

std::unique_ptr<weld::CustomWeld> ScTextWndGroup::mxTextWndWin
private

Definition at line 236 of file inputwin.hxx.


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