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 #ifndef INCLUDED_SC_SOURCE_UI_INC_INPUTWIN_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_INPUTWIN_HXX
22 
23 #include <vector>
24 #include <memory>
25 #include <cppuhelper/weakref.hxx>
26 #include <vcl/customweld.hxx>
27 #include <vcl/toolbox.hxx>
29 #include <sfx2/childwin.hxx>
30 #include <svl/lstner.hxx>
32 #include <vcl/window.hxx>
33 #include <vcl/transfer.hxx>
34 #include <vcl/menu.hxx>
35 #include <formula/opcode.hxx>
36 #include <svx/weldeditview.hxx>
37 
38 namespace com::sun::star::accessibility { class XAccessible; }
39 
40 class EditView;
44 class ScTextWndGroup;
45 class ScInputBarGroup;
46 class ScInputHandler;
47 class ScTabViewShell;
48 struct EENotify;
49 
51 {
52 public:
53  virtual void InsertAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) = 0;
54  virtual void RemoveAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) = 0;
55  virtual void SetTextString( const OUString& rString ) = 0;
56  virtual const OUString& GetTextString() const = 0;
57  virtual void StartEditEngine() = 0;
58  virtual void StopEditEngine( bool bAll ) = 0;
59  virtual EditView* GetEditView() = 0;
60  virtual bool HasEditView() const = 0;
61  virtual void MakeDialogEditView() = 0;
62  virtual void SetFormulaMode( bool bSet ) = 0;
63  virtual bool IsInputActive() = 0;
64  virtual void TextGrabFocus() = 0;
65  virtual tools::Long GetNumLines() const = 0;
66  virtual ~ScTextWndBase() {}
67 };
68 
69 class ScTextWnd : public WeldEditView
70  , public ScTextWndBase
71 {
72 public:
73  ScTextWnd(ScTextWndGroup& rParent, ScTabViewShell* pViewSh);
74  virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override;
75  virtual ~ScTextWnd() override;
76 
77  virtual void SetTextString( const OUString& rString ) override;
78  virtual const OUString& GetTextString() const override;
79 
80  bool IsInputActive() override;
81  virtual EditView* GetEditView() override;
82  virtual bool HasEditView() const override;
83 
84  // for function autopilots
85  virtual void MakeDialogEditView() override;
86 
87  virtual void StartEditEngine() override;
88  virtual void StopEditEngine( bool bAll ) override;
89 
90  virtual void TextGrabFocus() override;
91 
92  virtual void StyleUpdated() override;
93 
94  // Triggered if scroll bar state should change
95  virtual void EditViewScrollStateChange() override;
96 
97  virtual void SetFormulaMode( bool bSet ) override;
98 
99  virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override;
100 
101  virtual void InsertAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) override;
102  virtual void RemoveAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) override;
103 
104  virtual void Resize() override;
105 
107  int GetEditEngTxtHeight() const;
108 
109  virtual tools::Long GetNumLines() const override { return mnLines; }
110  void SetNumLines(tools::Long nLines);
112 
113  void DoScroll();
114 
115  DECL_LINK(ModifyHdl, LinkParamNone*, void);
116 
117 protected:
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 void GetFocus() override;
126 
127  virtual bool StartDrag() override;
128 
129 //TODO virtual OUString GetText() const override;
130 
131 private:
132  void ImplInitSettings();
133  void UpdateAutoCorrFlag();
134 
135  void SetScrollBarRange();
136 
137  void InitEditEngine();
138 
140 
141  typedef ::std::vector< ScAccessibleEditLineTextData* > AccTextDataVector;
142 
144 
145  OUString aString;
147  AccTextDataVector maAccTextDatas; // #i105267# text data may be cloned, remember all copies
148  bool bIsRTL;
151 
152  // #102710#; this flag should be true if a key input or a command is handled
153  // it prevents the call of InputChanged in the ModifyHandler of the EditEngine
155 
161 };
162 
163 class ScPosWnd final : public InterimItemWindow, public SfxListener // Display position
164 {
165 private:
166  std::unique_ptr<weld::ComboBox> m_xWidget;
167 
169 
170  OUString aPosStr;
171  void* nTipVisible;
173 
174 public:
175  ScPosWnd( vcl::Window* pParent );
176  virtual ~ScPosWnd() override;
177  virtual void dispose() override;
178 
179  void SetPos( const OUString& rPosStr ); // Displayed Text
180  void SetFormulaMode( bool bSet );
181 
182 private:
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 
192 private:
193  void FillRangeNames();
194  void FillFunctions();
195  void DoEnter();
196  void HideTip();
197 
198  void ReleaseFocus_Impl();
199 };
200 
202 {
203 public:
204  ScTextWndGroup(ScInputBarGroup& pParent, ScTabViewShell* pViewSh);
205  virtual ~ScTextWndGroup() override;
206 
207  virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
208  virtual EditView* GetEditView() override;
210  virtual tools::Long GetNumLines() const override;
213  virtual const OUString& GetTextString() const override;
214  virtual bool HasEditView() const override;
215  virtual bool IsInputActive() override;
216  virtual void MakeDialogEditView() override;
217  virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
218  void SetScrollPolicy();
219  void SetNumLines(tools::Long nLines);
220  virtual void SetFormulaMode(bool bSet) override;
221  virtual void SetTextString(const OUString& rString) override;
222  virtual void StartEditEngine() override;
223  virtual void StopEditEngine(bool bAll) override;
224  virtual void TextGrabFocus() override;
225 
227 
228 private:
229  std::unique_ptr<ScTextWnd> mxTextWnd;
230  std::unique_ptr<weld::ScrolledWindow> mxScrollWin;
231  std::unique_ptr<weld::CustomWeld> mxTextWndWin;
233 
234  DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow&, void);
235 };
236 
238  , public ScTextWndBase
239 {
240 public:
242  virtual ~ScInputBarGroup() override;
243  virtual void dispose() override;
244  virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
245  virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
246  void SetTextString(const OUString& rString) override;
247  void StartEditEngine() override;
248  virtual EditView* GetEditView() override;
249  virtual bool HasEditView() const override;
250  virtual void Resize() override;
251  virtual const OUString& GetTextString() const override;
252  virtual void StopEditEngine(bool bAll) override;
253  virtual void TextGrabFocus() override;
254  void SetFormulaMode(bool bSet) override;
255  void MakeDialogEditView() override;
256  bool IsInputActive() override;
257  void IncrementVerticalSize();
258  void DecrementVerticalSize();
259  virtual tools::Long GetNumLines() const override { return mxTextWndGroup->GetNumLines(); }
261 
263  {
264  return mxTextWndGroup->GetPixelHeightForLines(GetNumLines());
265  }
266 
268 
269 private:
270  void TriggerToolboxLayout();
271 
272  std::unique_ptr<weld::Container> mxBackground;
273  std::unique_ptr<ScTextWndGroup> mxTextWndGroup;
274  std::unique_ptr<weld::Button> mxButtonUp;
275  std::unique_ptr<weld::Button> mxButtonDown;
277 
278  DECL_LINK(ClickHdl, weld::Button&, void);
279 };
280 
281 class ScInputWindow final : public ToolBox // Parent toolbox
282 {
283 public:
284  ScInputWindow( vcl::Window* pParent, const SfxBindings* pBind );
285  virtual ~ScInputWindow() override;
286  virtual void dispose() override;
287 
288  virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
289  virtual void PixelInvalidate(const tools::Rectangle* pRectangle) override;
290  virtual void SetSizePixel( const Size& rNewSize ) override;
291  virtual void Resize() override;
292  virtual void Select() override;
293 
294  void SetFuncString( const OUString& rString, bool bDoEdit = true );
295  void SetPosString( const OUString& rStr );
296  void SetTextString( const OUString& rString );
297 
298  void SetOkCancelMode();
299  void SetSumAssignMode();
300  void EnableButtons( bool bEnable );
301 
302  void SetFormulaMode( bool bSet );
303 
304  bool IsInputActive();
306 
307  void TextGrabFocus();
308  void TextInvalidate();
309  void SwitchToTextWin();
310 
311  void PosGrabFocus();
312 
313  // For function autopilots
314  void MakeDialogEditView();
315 
316  void StopEditEngine( bool bAll );
317 
318  void SetInputHandler( ScInputHandler* pNew );
319 
321 
322  void StateChanged( StateChangedType nType ) override;
323  virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
324  virtual void MouseButtonUp( const MouseEvent& rMEvt ) override;
325  virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
326  virtual void MouseMove( const MouseEvent& rMEvt ) override;
327 
328  void NotifyLOKClient();
329 
330  DECL_LINK( MenuHdl, Menu *, bool );
331  DECL_LINK( DropdownClickHdl, ToolBox*, void );
332 
333  void AutoSum( bool& bRangeFinder, bool& bSubTotal, OpCode eCode );
334 
335 private:
336  bool IsPointerAtResizePos();
337 
344  bool bInResize;
345 };
346 
348 {
349 public:
351  sal_uInt16 nId,
352  SfxBindings* pBindings,
353  SfxChildWinInfo* pInfo );
354 
356 };
357 
358 #endif
359 
360 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
int GetPixelHeightForLines() const
Definition: inputwin.hxx:262
tools::Long mnVertOffset
Definition: inputwin.hxx:276
void StateChanged(StateChangedType nType) override
Definition: inputwin.cxx:705
tools::Long mnLastExpandedLines
Definition: inputwin.hxx:159
virtual void TextGrabFocus()=0
vcl::Window & GetVclParent()
Definition: inputwin.hxx:226
DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow &, void)
void ReleaseFocus_Impl()
Definition: inputwin.cxx:2522
bool bFormulaMode
Definition: inputwin.hxx:172
virtual void StopEditEngine(bool bAll)=0
std::unique_ptr< weld::Container > mxBackground
Definition: inputwin.hxx:272
virtual void TextGrabFocus() override
Definition: inputwin.cxx:1094
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:1145
void SetNumLines(tools::Long nLines)
Definition: inputwin.cxx:1252
virtual void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:1820
virtual void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1183
void FillRangeNames()
Definition: inputwin.cxx:2143
ScTextWndGroup & mrGroupBar
Definition: inputwin.hxx:157
virtual ~ScInputWindow() override
Definition: inputwin.cxx:275
virtual tools::Long GetNumLines() const override
Definition: inputwin.cxx:1130
VclPtr< ScInputBarGroup > mxTextWindow
Definition: inputwin.hxx:339
virtual void StyleUpdated() override
Definition: inputwin.cxx:2049
void StopEditEngine(bool bAll)
Definition: inputwin.cxx:654
tools::Long mnMaxY
Definition: inputwin.hxx:342
DECL_LINK(OnAsyncGetFocus, void *, void)
virtual bool HasEditView() const override
Definition: inputwin.cxx:948
ScAccessibleEditObject * pAcc
Definition: inputwin.hxx:143
virtual void MouseButtonUp(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:806
virtual void TextGrabFocus() override
Definition: inputwin.cxx:1203
virtual void dispose() override
Definition: inputwin.cxx:2094
long Long
virtual bool MouseMove(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1526
void * nTipVisible
Definition: inputwin.hxx:171
virtual void dispose() override
Definition: inputwin.cxx:893
std::unique_ptr< weld::ComboBox > m_xWidget
Definition: inputwin.hxx:166
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:928
virtual void MakeDialogEditView() override
Definition: inputwin.cxx:1160
virtual EditView * GetEditView()=0
ScPosWnd(vcl::Window *pParent)
Definition: inputwin.cxx:2061
virtual void StartEditEngine() override
Definition: inputwin.cxx:1334
sal_Int16 nId
ScTextWndGroup(ScInputBarGroup &pParent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:1102
virtual tools::Long GetNumLines() const override
Definition: inputwin.hxx:109
virtual tools::Long GetNumLines() const =0
bool bFormulaMode
Definition: inputwin.hxx:150
virtual void EditViewScrollStateChange() override
Definition: inputwin.cxx:1739
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:1900
virtual void StartEditEngine()=0
tools::Long mnLines
Definition: inputwin.hxx:158
virtual void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:1188
void SetSumAssignMode()
Definition: inputwin.cxx:609
virtual const OUString & GetTextString() const =0
void SetPosString(const OUString &rStr)
Definition: inputwin.cxx:574
void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:958
void SetNumLines(tools::Long nLines)
Definition: inputwin.cxx:1178
void MakeDialogEditView()
Definition: inputwin.cxx:649
StateChangedType
weld::Builder & GetBuilder()
Definition: inputwin.hxx:267
EditView * GetEditView()
Definition: inputwin.cxx:644
virtual bool StartDrag() override
Definition: inputwin.cxx:1680
void DoEnter()
Definition: inputwin.cxx:2363
OpCode
void SetScrollBarRange()
Definition: inputwin.cxx:1292
bool bIsRTL
Definition: inputwin.hxx:148
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:2033
ScTextWnd(ScTextWndGroup &rParent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:1505
virtual bool KeyInput(const KeyEvent &rKEvt) override
Definition: inputwin.cxx:1691
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:1115
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:782
void MakeDialogEditView() override
Definition: inputwin.cxx:938
bool IsInputActive()
Definition: inputwin.cxx:639
virtual EditView * GetEditView() override
Definition: inputwin.cxx:943
void SetFormulaMode(bool bSet)
Definition: inputwin.cxx:633
int GetPixelHeightForLines(tools::Long nLines)
Definition: inputwin.cxx:1135
bool IsPointerAtResizePos()
Definition: inputwin.cxx:733
virtual ~ScTextWnd() override
Definition: inputwin.cxx:1519
virtual bool IsInputActive() override
Definition: inputwin.cxx:1155
tools::Long GetLastNumExpandedLines() const
Definition: inputwin.hxx:111
OUString aString
Definition: inputwin.hxx:145
virtual ~ScTextWndGroup() override
Definition: inputwin.cxx:1111
std::unique_ptr< ScTextWndGroup > mxTextWndGroup
Definition: inputwin.hxx:273
ScTabViewShell * mpViewShell
Definition: inputwin.hxx:341
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData)=0
bool bInputMode
Definition: inputwin.hxx:154
void UpdateAutoCorrFlag()
Definition: inputwin.cxx:1723
virtual ~ScPosWnd() override
Definition: inputwin.cxx:2089
OUString aPosStr
Definition: inputwin.hxx:170
virtual EditView * GetEditView() override
Definition: inputwin.cxx:1236
virtual bool HasEditView() const override
Definition: inputwin.cxx:1243
std::unique_ptr< weld::CustomWeld > mxTextWndWin
Definition: inputwin.hxx:231
void SwitchToTextWin()
Definition: inputwin.cxx:669
void SetScrollPolicy()
Definition: inputwin.cxx:1170
virtual bool Command(const CommandEvent &rCEvt) override
Definition: inputwin.cxx:1576
virtual void MakeDialogEditView() override
Definition: inputwin.cxx:1910
void AutoSum(bool &bRangeFinder, bool &bSubTotal, OpCode eCode)
Definition: inputwin.cxx:818
virtual void MakeDialogEditView()=0
void SetInputHandler(ScInputHandler *pNew)
Definition: inputwin.cxx:318
virtual void StartEditEngine() override
Definition: inputwin.cxx:1193
ScInputHandler * pInputHdl
Definition: inputwin.hxx:340
virtual bool HasEditView() const =0
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:902
std::unique_ptr< weld::ScrolledWindow > mxScrollWin
Definition: inputwin.hxx:230
ScInputHandler * GetInputHandler()
Definition: inputwin.hxx:320
::std::vector< ScAccessibleEditLineTextData * > AccTextDataVector
Definition: inputwin.hxx:141
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1559
int GetPixelHeightForLines(tools::Long nLines)
Definition: inputwin.cxx:1245
bool bIsOkCancelMode
Definition: inputwin.hxx:343
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:912
std::unique_ptr< ScTextWnd > mxTextWnd
Definition: inputwin.hxx:229
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData)=0
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
Definition: inputwin.cxx:421
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:907
rtl::Reference< svt::OStringTransferable > m_xHelper
Definition: inputwin.hxx:139
virtual void MouseMove(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:738
virtual ~ScInputBarGroup() override
Definition: inputwin.cxx:888
VclPtr< vcl::Window > pParent
ScInputWindow(vcl::Window *pParent, const SfxBindings *pBind)
Definition: inputwin.cxx:153
void InitEditEngine()
Definition: inputwin.cxx:1414
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override
Definition: inputwin.cxx:2027
void SetTextString(const OUString &rString)
Definition: inputwin.cxx:579
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
Definition: inputwin.cxx:1213
DECL_LINK(ClickHdl, weld::Button &, void)
void TextGrabFocus()
Definition: inputwin.cxx:659
void SetFormulaMode(bool bSet)
Definition: inputwin.cxx:2110
void TriggerToolboxLayout()
Definition: inputwin.cxx:1047
void HideTip()
Definition: inputwin.cxx:2247
void SetFuncString(const OUString &rString, bool bDoEdit=true)
Definition: inputwin.cxx:541
virtual void SetSizePixel(const Size &rNewSize) override
Definition: inputwin.cxx:456
virtual void Resize() override
Definition: inputwin.cxx:922
DECL_LINK(MenuHdl, Menu *, bool)
void FillFunctions()
Definition: inputwin.cxx:2188
void DecrementVerticalSize()
Definition: inputwin.cxx:969
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Definition: inputwin.cxx:2227
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: inputwin.cxx:1975
vcl::Window & mrParent
Definition: inputwin.hxx:232
bool IsInputActive() override
Definition: inputwin.cxx:1905
ScTabViewShell * mpViewShell
Definition: inputwin.hxx:156
virtual void Resize() override
Definition: inputwin.cxx:478
bool bIsInsertMode
Definition: inputwin.hxx:149
DECL_LINK(ModifyHdl, LinkParamNone *, void)
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:1198
virtual void dispose() override
Definition: inputwin.cxx:280
void TextInvalidate()
Definition: inputwin.cxx:664
virtual void SetTextString(const OUString &rString)=0
tools::Long GetVertOffset() const
Definition: inputwin.hxx:260
ScInputBarGroup(vcl::Window *Parent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:855
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:401
virtual EditView * GetEditView() override
Definition: inputwin.cxx:1120
virtual ~ScTextWndBase()
Definition: inputwin.hxx:66
std::unique_ptr< weld::Builder > m_xBuilder
std::unique_ptr< weld::Button > mxButtonDown
Definition: inputwin.hxx:275
virtual void Select() override
Definition: inputwin.cxx:331
virtual bool IsInputActive()=0
virtual void SetFormulaMode(bool bSet)=0
void StartEditEngine() override
Definition: inputwin.cxx:933
virtual void PixelInvalidate(const tools::Rectangle *pRectangle) override
Definition: inputwin.cxx:439
void NotifyLOKClient()
Definition: inputwin.cxx:520
void IncrementVerticalSize()
Definition: inputwin.cxx:963
tools::Long GetLastNumExpandedLines() const
Definition: inputwin.cxx:1125
void EnableButtons(bool bEnable)
Definition: inputwin.cxx:693
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:2040
VclPtr< ScPosWnd > aWndPos
Definition: inputwin.hxx:338
virtual void TextGrabFocus() override
Definition: inputwin.cxx:2055
int GetEditEngTxtHeight() const
Definition: inputwin.cxx:1287
void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:917
std::unique_ptr< weld::Button > mxButtonUp
Definition: inputwin.hxx:274
virtual void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1714
SFX_DECL_CHILDWINDOW_WITHID(ScInputWindowWrapper)
bool IsInputActive() override
Definition: inputwin.cxx:953
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: inputwin.cxx:712
ScInputWindowWrapper(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
Definition: inputwin.cxx:112
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1531
bool mbInvalidate
Definition: inputwin.hxx:160
virtual bool HasEditView() const override
Definition: inputwin.cxx:1150
void DoScroll()
Definition: inputwin.cxx:1321
void SetOkCancelMode()
Definition: inputwin.cxx:587
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:1165
virtual void GetFocus() override
Definition: inputwin.cxx:1706
virtual tools::Long GetNumLines() const override
Definition: inputwin.hxx:259
AccTextDataVector maAccTextDatas
Definition: inputwin.hxx:147
ImplSVEvent * m_nAsyncGetFocusId
Definition: inputwin.hxx:168
virtual void Resize() override
Definition: inputwin.cxx:1262
weld::ScrolledWindow & GetScrollWin()
Definition: inputwin.cxx:1140
void ImplInitSettings()
Definition: inputwin.cxx:1961
void PosGrabFocus()
Definition: inputwin.cxx:688
void SetPos(const OUString &rPosStr)
Definition: inputwin.cxx:2125
vcl::Font aTextFont
Definition: inputwin.hxx:146
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:1759
This base class provides an implementation of the AccessibleCell service.