LibreOffice Module sc (master) 1
inputwin.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <vector>
23#include <memory>
24#include <vcl/customweld.hxx>
25#include <vcl/toolbox.hxx>
27#include <sfx2/childwin.hxx>
28#include <svl/lstner.hxx>
30#include <vcl/window.hxx>
31#include <formula/opcode.hxx>
32#include <svx/weldeditview.hxx>
33
34namespace com::sun::star::accessibility { class XAccessible; }
35
36class EditView;
40class ScTextWndGroup;
41class ScInputBarGroup;
42class ScInputHandler;
43class ScTabViewShell;
44struct EENotify;
45
47{
48public:
51 virtual void SetTextString( const OUString& rString ) = 0;
52 virtual const OUString& GetTextString() const = 0;
53 virtual void StartEditEngine() = 0;
54 virtual void StopEditEngine( bool bAll ) = 0;
55 virtual EditView* GetEditView() const = 0;
56 virtual bool HasEditView() const = 0;
57 virtual void MakeDialogEditView() = 0;
58 virtual void SetFormulaMode( bool bSet ) = 0;
59 virtual bool IsInputActive() = 0;
60 virtual void TextGrabFocus() = 0;
61 virtual tools::Long GetNumLines() const = 0;
62 virtual ~ScTextWndBase() {}
63};
64
65class ScTextWnd : public WeldEditView
66 , public ScTextWndBase
67{
68public:
69 ScTextWnd(ScTextWndGroup& rParent, ScTabViewShell* pViewSh);
70 virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
71 virtual ~ScTextWnd() override;
72
73 virtual void SetTextString( const OUString& rString ) override;
74 virtual const OUString& GetTextString() const override;
75
76 bool IsInputActive() override;
77 virtual EditView* GetEditView() const override;
78 virtual bool HasEditView() const override;
79
80 const OutputDevice& GetEditViewDevice() const;
81
82 // for function autopilots
83 virtual void MakeDialogEditView() override;
84
85 virtual void StartEditEngine() override;
86 virtual void StopEditEngine( bool bAll ) override;
87
88 virtual void TextGrabFocus() override;
89
90 virtual void StyleUpdated() override;
91
92 // Triggered if scroll bar state should change
93 virtual void EditViewScrollStateChange() override;
94
95 virtual void SetFormulaMode( bool bSet ) override;
96
97 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override;
98
99 virtual void InsertAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) override;
100 virtual void RemoveAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) override;
101
102 virtual void Resize() override;
103
105 int GetEditEngTxtHeight() const;
106
107 virtual tools::Long GetNumLines() const override;
108 void SetNumLines(tools::Long nLines);
110 void SetLastNumExpandedLines(tools::Long nLastExpandedLines) { mnLastExpandedLines = nLastExpandedLines; }
111
112 void DoScroll();
113
114 DECL_LINK(ModifyHdl, LinkParamNone*, void);
115 DECL_LINK(EditStatusHdl, EditStatus&, void);
116
117protected:
118 virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
119
120 virtual bool MouseMove( const MouseEvent& rMEvt ) override;
121 virtual bool MouseButtonDown( const MouseEvent& rMEvt ) override;
122 virtual bool MouseButtonUp( const MouseEvent& rMEvt ) override;
123 virtual bool Command( const CommandEvent& rCEvt ) override;
124 virtual bool KeyInput(const KeyEvent& rKEvt) override;
125 virtual bool CanFocus() const override;
126 virtual void GetFocus() override;
127
128 virtual bool StartDrag() override;
129
130private:
131 void ImplInitSettings();
132 void UpdateAutoCorrFlag();
133
134 void SetScrollBarRange();
135
136 void InitEditEngine();
137
139
140 typedef ::std::vector< ScAccessibleEditLineTextData* > AccTextDataVector;
141
143
144 OUString aString;
146 AccTextDataVector maAccTextDatas; // #i105267# text data may be cloned, remember all copies
147 bool bIsRTL;
150
151 // #102710#; this flag should be true if a key input or a command is handled
152 // it prevents the call of InputChanged in the ModifyHandler of the EditEngine
154
159};
160
161class ScPosWnd final : public InterimItemWindow, public SfxListener // Display position
162{
163private:
164 std::unique_ptr<weld::ComboBox> m_xWidget;
165
167
168 OUString aPosStr;
171
172public:
173 ScPosWnd( vcl::Window* pParent );
174 virtual ~ScPosWnd() override;
175 virtual void dispose() override;
176
177 void SetPos( const OUString& rPosStr ); // Displayed Text
178 void SetFormulaMode( bool bSet );
179
180 static OUString createLocalRangeName(std::u16string_view rName, std::u16string_view rTableName);
181
182private:
183 DECL_LINK(OnAsyncGetFocus, void*, void);
184 DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
185 DECL_LINK(ActivateHdl, weld::ComboBox&, bool);
186 DECL_LINK(ModifyHdl, weld::ComboBox&, void);
187 DECL_LINK(FocusInHdl, weld::Widget&, void);
188 DECL_LINK(FocusOutHdl, weld::Widget&, void);
189
190 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
191
192private:
193 void FillRangeNames();
194 void FillFunctions();
195 void DoEnter();
196 void HideTip();
197
198 void ReleaseFocus_Impl();
199};
200
202{
203public:
205 virtual ~ScTextWndGroup() override;
206
207 virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
208 virtual EditView* GetEditView() const override;
209 const OutputDevice& GetEditViewDevice() const;
210 Point GetCursorScreenPixelPos(bool bBelowLine);
212 void SetLastNumExpandedLines(tools::Long nLastExpandedLines);
213 virtual tools::Long GetNumLines() const override;
216 virtual const OUString& GetTextString() const override;
217 virtual bool HasEditView() const override;
218 virtual bool IsInputActive() override;
219 virtual void MakeDialogEditView() override;
220 virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
221 void SetScrollPolicy();
222 void SetNumLines(tools::Long nLines);
223 virtual void SetFormulaMode(bool bSet) override;
224 virtual void SetTextString(const OUString& rString) override;
225 virtual void StartEditEngine() override;
226 virtual void StopEditEngine(bool bAll) override;
227 virtual void TextGrabFocus() override;
228
230
231private:
232 std::unique_ptr<ScTextWnd> mxTextWnd;
233 std::unique_ptr<weld::ScrolledWindow> mxScrollWin;
234 std::unique_ptr<weld::CustomWeld> mxTextWndWin;
236
237 DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow&, void);
238};
239
241 , public ScTextWndBase
242{
243public:
245 virtual ~ScInputBarGroup() override;
246 virtual void dispose() override;
247 virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
248 virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
249 void SetTextString(const OUString& rString) override;
250 void StartEditEngine() override;
251 virtual EditView* GetEditView() const override;
252 virtual bool HasEditView() const override;
253 Point GetCursorScreenPixelPos(bool bBelowLine);
254 virtual void Resize() override;
255 virtual const OUString& GetTextString() const override;
256 virtual void StopEditEngine(bool bAll) override;
257 virtual void TextGrabFocus() override;
258 void SetFormulaMode(bool bSet) override;
259 void MakeDialogEditView() override;
260 bool IsInputActive() override;
263 void NumLinesChanged();
264 virtual tools::Long GetNumLines() const override { return mxTextWndGroup->GetNumLines(); }
265
267 {
268 return mxTextWndGroup->GetPixelHeightForLines(GetNumLines());
269 }
270
272
273private:
275
276 std::unique_ptr<weld::Container> mxBackground;
277 std::unique_ptr<ScTextWndGroup> mxTextWndGroup;
278 std::unique_ptr<weld::Button> mxButtonUp;
279 std::unique_ptr<weld::Button> mxButtonDown;
280
281 DECL_LINK(ClickHdl, weld::Button&, void);
282};
283
284class ScInputWindow final : public ToolBox // Parent toolbox
285{
286public:
287 ScInputWindow( vcl::Window* pParent, const SfxBindings* pBind );
288 virtual ~ScInputWindow() override;
289 virtual void dispose() override;
290
291 virtual void PixelInvalidate(const tools::Rectangle* pRectangle) override;
292 virtual void SetSizePixel( const Size& rNewSize ) override;
293 virtual void Resize() override;
294 virtual void Select() override;
295
296 void SetFuncString( const OUString& rString, bool bDoEdit = true );
297 void SetPosString( const OUString& rStr );
298 void SetTextString( const OUString& rString );
299
300 void SetOkCancelMode();
301 void SetSumAssignMode();
302 void EnableButtons( bool bEnable );
304 void NumLinesChanged();
305
306 void StartFormula();
307 void SetFormulaMode( bool bSet );
308
309 bool IsInputActive();
312 Point GetCursorScreenPixelPos(bool bBelowLine = false);
313
314 void TextGrabFocus();
315 void TextInvalidate();
316 void SwitchToTextWin();
317
318 void PosGrabFocus();
319
320 // For function autopilots
321 void MakeDialogEditView();
322
323 void StopEditEngine( bool bAll );
324
325 void SetInputHandler( ScInputHandler* pNew );
326
328
329 void StateChanged( StateChangedType nType ) override;
330 virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
331 virtual void MouseButtonUp( const MouseEvent& rMEvt ) override;
332 virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
333 virtual void MouseMove( const MouseEvent& rMEvt ) override;
334
335 void NotifyLOKClient();
336
337 void MenuHdl(std::string_view command);
338 DECL_LINK( DropdownClickHdl, ToolBox*, void );
339
340 void AutoSum( bool& bRangeFinder, bool& bSubTotal, OpCode eCode );
341
342private:
344
352};
353
355{
356public:
358 sal_uInt16 nId,
359 SfxBindings* pBindings,
360 SfxChildWinInfo* pInfo );
361
363};
364
365/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Builder > m_xBuilder
@descr This base class provides an implementation of the AccessibleCell service.
void NumLinesChanged()
Definition: inputwin.cxx:1061
virtual ~ScInputBarGroup() override
Definition: inputwin.cxx:889
int GetPixelHeightForLines() const
Definition: inputwin.hxx:266
weld::Builder & GetBuilder()
Definition: inputwin.hxx:271
std::unique_ptr< weld::Button > mxButtonUp
Definition: inputwin.hxx:278
void IncrementVerticalSize()
Definition: inputwin.cxx:965
void TriggerToolboxLayout()
Definition: inputwin.cxx:1082
void DecrementVerticalSize()
Definition: inputwin.cxx:971
Point GetCursorScreenPixelPos(bool bBelowLine)
Definition: inputwin.cxx:884
void MakeDialogEditView() override
Definition: inputwin.cxx:940
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:908
std::unique_ptr< weld::Container > mxBackground
Definition: inputwin.hxx:276
void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:918
virtual tools::Long GetNumLines() const override
Definition: inputwin.hxx:264
virtual bool HasEditView() const override
Definition: inputwin.cxx:950
virtual EditView * GetEditView() const override
Definition: inputwin.cxx:945
void StartEditEngine() override
Definition: inputwin.cxx:935
virtual void dispose() override
Definition: inputwin.cxx:894
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:903
virtual void TextGrabFocus() override
Definition: inputwin.cxx:1123
bool IsInputActive() override
Definition: inputwin.cxx:955
void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:960
std::unique_ptr< ScTextWndGroup > mxTextWndGroup
Definition: inputwin.hxx:277
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:913
virtual void Resize() override
Definition: inputwin.cxx:923
DECL_LINK(ClickHdl, weld::Button &, void)
ScInputBarGroup(vcl::Window *Parent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:847
std::unique_ptr< weld::Button > mxButtonDown
Definition: inputwin.hxx:279
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:930
ScInputWindowWrapper(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
Definition: inputwin.cxx:119
SFX_DECL_CHILDWINDOW_WITHID(ScInputWindowWrapper)
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:774
void SetInputHandler(ScInputHandler *pNew)
Definition: inputwin.cxx:321
ScTabViewShell * mpViewShell
Definition: inputwin.hxx:348
void SetFuncString(const OUString &rString, bool bDoEdit=true)
Definition: inputwin.cxx:515
void MenuHdl(std::string_view command)
Definition: inputwin.cxx:980
void SetSumAssignMode()
Definition: inputwin.cxx:584
ScInputHandler * GetInputHandler()
Definition: inputwin.hxx:327
EditView * GetEditView()
Definition: inputwin.cxx:620
vcl::Window * GetEditWindow()
Definition: inputwin.cxx:625
tools::Long mnMaxY
Definition: inputwin.hxx:349
virtual void dispose() override
Definition: inputwin.cxx:286
ScInputHandler * pInputHdl
Definition: inputwin.hxx:347
virtual void Resize() override
Definition: inputwin.cxx:473
void PosGrabFocus()
Definition: inputwin.cxx:674
ScInputWindow(vcl::Window *pParent, const SfxBindings *pBind)
Definition: inputwin.cxx:160
void StartFormula()
Definition: inputwin.cxx:371
virtual void MouseMove(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:730
VclPtr< ScPosWnd > aWndPos
Definition: inputwin.hxx:345
bool IsInputActive()
Definition: inputwin.cxx:615
void NumLinesChanged()
Update Input bar after the number of lines was changed externally.
Definition: inputwin.cxx:692
void EnableButtons(bool bEnable)
Definition: inputwin.cxx:680
void AutoSum(bool &bRangeFinder, bool &bSubTotal, OpCode eCode)
Definition: inputwin.cxx:810
void MakeDialogEditView()
Definition: inputwin.cxx:635
VclPtr< ScInputBarGroup > mxTextWindow
Definition: inputwin.hxx:346
void StateChanged(StateChangedType nType) override
Definition: inputwin.cxx:697
Point GetCursorScreenPixelPos(bool bBelowLine=false)
Definition: inputwin.cxx:630
void SetTextString(const OUString &rString)
Definition: inputwin.cxx:554
virtual void MouseButtonUp(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:798
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: inputwin.cxx:704
void TextInvalidate()
Definition: inputwin.cxx:650
void SetPosString(const OUString &rStr)
Definition: inputwin.cxx:548
virtual ~ScInputWindow() override
Definition: inputwin.cxx:281
DECL_LINK(DropdownClickHdl, ToolBox *, void)
virtual void SetSizePixel(const Size &rNewSize) override
Definition: inputwin.cxx:451
void StopEditEngine(bool bAll)
Definition: inputwin.cxx:640
void SetOkCancelMode()
Definition: inputwin.cxx:562
virtual void PixelInvalidate(const tools::Rectangle *pRectangle) override
Definition: inputwin.cxx:434
bool bIsOkCancelMode
Definition: inputwin.hxx:350
void NotifyLOKClient()
Definition: inputwin.cxx:509
bool IsPointerAtResizePos()
Definition: inputwin.cxx:725
void SwitchToTextWin()
Definition: inputwin.cxx:655
virtual void Select() override
Definition: inputwin.cxx:334
void TextGrabFocus()
Definition: inputwin.cxx:645
void SetFormulaMode(bool bSet)
Definition: inputwin.cxx:608
std::unique_ptr< weld::ComboBox > m_xWidget
Definition: inputwin.hxx:164
void HideTip()
Definition: inputwin.cxx:2403
void * nTipVisible
Definition: inputwin.hxx:169
DECL_LINK(OnAsyncGetFocus, void *, void)
void ReleaseFocus_Impl()
Definition: inputwin.cxx:2696
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
DECL_LINK(FocusOutHdl, weld::Widget &, void)
DECL_LINK(FocusInHdl, weld::Widget &, void)
void FillFunctions()
Definition: inputwin.cxx:2344
OUString aPosStr
Definition: inputwin.hxx:168
DECL_LINK(ActivateHdl, weld::ComboBox &, bool)
void SetPos(const OUString &rPosStr)
Definition: inputwin.cxx:2284
void SetFormulaMode(bool bSet)
Definition: inputwin.cxx:2269
ScPosWnd(vcl::Window *pParent)
Definition: inputwin.cxx:2220
ImplSVEvent * m_nAsyncGetFocusId
Definition: inputwin.hxx:166
DECL_LINK(ModifyHdl, weld::ComboBox &, void)
void FillRangeNames()
Definition: inputwin.cxx:2299
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Definition: inputwin.cxx:2383
virtual void dispose() override
Definition: inputwin.cxx:2253
virtual ~ScPosWnd() override
Definition: inputwin.cxx:2248
void DoEnter()
Definition: inputwin.cxx:2530
static OUString createLocalRangeName(std::u16string_view rName, std::u16string_view rTableName)
Definition: inputwin.cxx:2294
bool bFormulaMode
Definition: inputwin.hxx:170
virtual void StartEditEngine()=0
virtual ~ScTextWndBase()
Definition: inputwin.hxx:62
virtual void TextGrabFocus()=0
virtual tools::Long GetNumLines() const =0
virtual void SetFormulaMode(bool bSet)=0
virtual void SetTextString(const OUString &rString)=0
virtual bool IsInputActive()=0
virtual void StopEditEngine(bool bAll)=0
virtual void MakeDialogEditView()=0
virtual const OUString & GetTextString() const =0
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData)=0
virtual EditView * GetEditView() const =0
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData)=0
virtual bool HasEditView() const =0
tools::Long GetLastNumExpandedLines() const
Definition: inputwin.cxx:1183
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:1228
std::unique_ptr< ScTextWnd > mxTextWnd
Definition: inputwin.hxx:232
virtual EditView * GetEditView() const override
Definition: inputwin.cxx:1173
std::unique_ptr< weld::CustomWeld > mxTextWndWin
Definition: inputwin.hxx:234
const OutputDevice & GetEditViewDevice() const
Definition: inputwin.cxx:1178
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:1261
virtual bool HasEditView() const override
Definition: inputwin.cxx:1213
virtual void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1246
void SetNumLines(tools::Long nLines)
Definition: inputwin.cxx:1241
int GetPixelHeightForLines(tools::Long nLines)
Definition: inputwin.cxx:1198
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:1208
virtual void StartEditEngine() override
Definition: inputwin.cxx:1256
virtual ~ScTextWndGroup() override
Definition: inputwin.cxx:1164
std::unique_ptr< weld::ScrolledWindow > mxScrollWin
Definition: inputwin.hxx:233
virtual bool IsInputActive() override
Definition: inputwin.cxx:1218
DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow &, void)
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:1168
virtual tools::Long GetNumLines() const override
Definition: inputwin.cxx:1193
void SetScrollPolicy()
Definition: inputwin.cxx:1233
ScTextWndGroup(ScInputBarGroup &pParent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:1131
vcl::Window & GetVclParent()
Definition: inputwin.hxx:229
virtual void MakeDialogEditView() override
Definition: inputwin.cxx:1223
Point GetCursorScreenPixelPos(bool bBelowLine)
Definition: inputwin.cxx:1142
virtual void TextGrabFocus() override
Definition: inputwin.cxx:1266
weld::ScrolledWindow & GetScrollWin()
Definition: inputwin.cxx:1203
void SetLastNumExpandedLines(tools::Long nLastExpandedLines)
Definition: inputwin.cxx:1188
vcl::Window & mrParent
Definition: inputwin.hxx:235
virtual void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:1251
ScTextWndGroup & mrGroupBar
Definition: inputwin.hxx:156
virtual void GetFocus() override
Definition: inputwin.cxx:1848
virtual void Resize() override
Definition: inputwin.cxx:1347
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1657
AccTextDataVector maAccTextDatas
Definition: inputwin.hxx:146
DECL_LINK(EditStatusHdl, EditStatus &, void)
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: inputwin.cxx:2135
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
Definition: inputwin.cxx:1276
bool IsInputActive() override
Definition: inputwin.cxx:2061
void UpdateAutoCorrFlag()
Definition: inputwin.cxx:1865
rtl::Reference< ScAccessibleEditObject > pAcc
Definition: inputwin.hxx:142
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:2199
const OutputDevice & GetEditViewDevice() const
Definition: inputwin.cxx:1317
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:2056
int GetEditEngTxtHeight() const
Definition: inputwin.cxx:1372
virtual void EditViewScrollStateChange() override
Definition: inputwin.cxx:1881
OUString aString
Definition: inputwin.hxx:144
void DoScroll()
Definition: inputwin.cxx:1406
bool mbInvalidate
Definition: inputwin.hxx:158
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1629
virtual void StartEditEngine() override
Definition: inputwin.cxx:1419
bool bIsRTL
Definition: inputwin.hxx:147
tools::Long GetLastNumExpandedLines() const
Definition: inputwin.hxx:109
void SetLastNumExpandedLines(tools::Long nLastExpandedLines)
Definition: inputwin.hxx:110
void ImplInitSettings()
Definition: inputwin.cxx:2121
virtual bool CanFocus() const override
Definition: inputwin.cxx:1624
ScTabViewShell * mpViewShell
Definition: inputwin.hxx:155
int GetPixelHeightForLines(tools::Long nLines)
Definition: inputwin.cxx:1322
bool bFormulaMode
Definition: inputwin.hxx:149
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:2192
virtual bool StartDrag() override
Definition: inputwin.cxx:1821
virtual void MakeDialogEditView() override
Definition: inputwin.cxx:2066
virtual bool MouseMove(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1619
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:1908
void InitEditEngine()
Definition: inputwin.cxx:1499
bool bInputMode
Definition: inputwin.hxx:153
bool bIsInsertMode
Definition: inputwin.hxx:148
virtual ~ScTextWnd() override
Definition: inputwin.cxx:1612
virtual void TextGrabFocus() override
Definition: inputwin.cxx:2214
void SetScrollBarRange()
Definition: inputwin.cxx:1377
void SetNumLines(tools::Long nLines)
Definition: inputwin.cxx:1335
virtual void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1856
virtual void StyleUpdated() override
Definition: inputwin.cxx:2208
tools::Long mnLastExpandedLines
Definition: inputwin.hxx:157
vcl::Font aTextFont
Definition: inputwin.hxx:145
virtual EditView * GetEditView() const override
Definition: inputwin.cxx:1308
virtual bool Command(const CommandEvent &rCEvt) override
Definition: inputwin.cxx:1674
virtual void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:1970
virtual tools::Long GetNumLines() const override
Definition: inputwin.cxx:1329
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override
Definition: inputwin.cxx:2186
virtual bool HasEditView() const override
Definition: inputwin.cxx:1315
virtual bool KeyInput(const KeyEvent &rKEvt) override
Definition: inputwin.cxx:1833
ScTextWnd(ScTextWndGroup &rParent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:1600
DECL_LINK(ModifyHdl, LinkParamNone *, void)
rtl::Reference< svt::OStringTransferable > m_xHelper
Definition: inputwin.hxx:138
::std::vector< ScAccessibleEditLineTextData * > AccTextDataVector
Definition: inputwin.hxx:140
VclPtr< vcl::Window > pParent
long Long
sal_Int16 nId
OpCode
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:398
StateChangedType