LibreOffice Module sc (master) 1
|
#include <inputwin.hxx>
Public Member Functions | |
ScTextWndGroup (ScInputBarGroup &pParent, ScTabViewShell *pViewSh) | |
virtual | ~ScTextWndGroup () override |
virtual void | InsertAccessibleTextData (ScAccessibleEditLineTextData &rTextData) override |
virtual EditView * | GetEditView () const override |
const OutputDevice & | GetEditViewDevice () 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::ScrolledWindow & | GetScrollWin () |
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::Window & | GetVclParent () |
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 EditView * | GetEditView () 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< ScTextWnd > | mxTextWnd |
std::unique_ptr< weld::ScrolledWindow > | mxScrollWin |
std::unique_ptr< weld::CustomWeld > | mxTextWndWin |
vcl::Window & | mrParent |
Definition at line 203 of file inputwin.hxx.
ScTextWndGroup::ScTextWndGroup | ( | ScInputBarGroup & | pParent, |
ScTabViewShell * | pViewSh | ||
) |
Definition at line 1191 of file inputwin.cxx.
References SfxViewShell::Current(), comphelper::LibreOfficeKit::isActive(), LINK, ScInputHandler::LOKSendFormulabarUpdate(), mrParent, and mxScrollWin.
|
overridevirtual |
Definition at line 1224 of file inputwin.cxx.
|
private |
Point ScTextWndGroup::GetCursorScreenPixelPos | ( | bool | bBelowLine | ) |
Definition at line 1202 of file inputwin.cxx.
References Point::AdjustX(), Point::AdjustY(), EditView::GetCursor(), GetEditView(), GetEditViewDevice(), vcl::Cursor::GetHeight(), vcl::Cursor::GetPos(), gnBorderWidth, HasEditView(), vcl::Window::IsRTLEnabled(), OutputDevice::LogicToPixel(), mrParent, mxTextWnd, vcl::Window::OutputToScreenPixel(), Point::setX(), and Point::X().
|
overridevirtual |
Implements ScTextWndBase.
Definition at line 1233 of file inputwin.cxx.
References mxTextWnd.
Referenced by GetCursorScreenPixelPos().
const OutputDevice & ScTextWndGroup::GetEditViewDevice | ( | ) | const |
Definition at line 1238 of file inputwin.cxx.
References mxTextWnd.
Referenced by GetCursorScreenPixelPos().
tools::Long ScTextWndGroup::GetLastNumExpandedLines | ( | ) | const |
Definition at line 1243 of file inputwin.cxx.
References mxTextWnd.
|
overridevirtual |
int ScTextWndGroup::GetPixelHeightForLines | ( | tools::Long | nLines | ) |
Definition at line 1258 of file inputwin.cxx.
References gnBorderHeight, and mxTextWnd.
weld::ScrolledWindow & ScTextWndGroup::GetScrollWin | ( | ) |
Definition at line 1263 of file inputwin.cxx.
References mxScrollWin.
Referenced by ScTextWnd::DoScroll(), and ScTextWnd::SetScrollBarRange().
|
overridevirtual |
|
inline |
Definition at line 231 of file inputwin.hxx.
References mrParent.
Referenced by ScTextWnd::Command().
|
overridevirtual |
Implements ScTextWndBase.
Definition at line 1273 of file inputwin.cxx.
References mxTextWnd.
Referenced by GetCursorScreenPixelPos().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
void ScTextWndGroup::SetLastNumExpandedLines | ( | tools::Long | nLastExpandedLines | ) |
Definition at line 1248 of file inputwin.cxx.
References mxTextWnd.
void ScTextWndGroup::SetNumLines | ( | tools::Long | nLines | ) |
Definition at line 1301 of file inputwin.cxx.
References mxTextWnd.
void ScTextWndGroup::SetScrollPolicy | ( | ) |
Definition at line 1293 of file inputwin.cxx.
References mxScrollWin, and mxTextWnd.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 237 of file inputwin.hxx.
Referenced by GetCursorScreenPixelPos(), and GetVclParent().
|
private |
Definition at line 235 of file inputwin.hxx.
Referenced by GetScrollWin(), ScTextWndGroup(), and SetScrollPolicy().
|
private |
Definition at line 234 of file inputwin.hxx.
Referenced by GetCursorScreenPixelPos(), GetEditView(), GetEditViewDevice(), GetLastNumExpandedLines(), GetNumLines(), GetPixelHeightForLines(), GetTextString(), HasEditView(), InsertAccessibleTextData(), IsInputActive(), MakeDialogEditView(), RemoveAccessibleTextData(), SetFormulaMode(), SetLastNumExpandedLines(), SetNumLines(), SetScrollPolicy(), SetTextString(), StartEditEngine(), StopEditEngine(), and TextGrabFocus().
|
private |
Definition at line 236 of file inputwin.hxx.