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
138 void UpdateFocus();
139
141
142 typedef ::std::vector< ScAccessibleEditLineTextData* > AccTextDataVector;
143
145
146 OUString aString;
148 AccTextDataVector maAccTextDatas; // #i105267# text data may be cloned, remember all copies
149 bool bIsRTL;
152
153 // #102710#; this flag should be true if a key input or a command is handled
154 // it prevents the call of InputChanged in the ModifyHandler of the EditEngine
156
161};
162
163class ScPosWnd final : public InterimItemWindow, public SfxListener // Display position
164{
165private:
166 std::unique_ptr<weld::ComboBox> m_xWidget;
167
169
170 OUString aPosStr;
173
174public:
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 static OUString createLocalRangeName(std::u16string_view rName, std::u16string_view rTableName);
183
184private:
185 DECL_LINK(OnAsyncGetFocus, void*, void);
186 DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
187 DECL_LINK(ActivateHdl, weld::ComboBox&, bool);
188 DECL_LINK(ModifyHdl, weld::ComboBox&, void);
189 DECL_LINK(FocusInHdl, weld::Widget&, void);
190 DECL_LINK(FocusOutHdl, weld::Widget&, void);
191
192 virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
193
194private:
195 void FillRangeNames();
196 void FillFunctions();
197 void DoEnter();
198 void HideTip();
199
200 void ReleaseFocus_Impl();
201};
202
204{
205public:
207 virtual ~ScTextWndGroup() override;
208
209 virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
210 virtual EditView* GetEditView() const override;
211 const OutputDevice& GetEditViewDevice() const;
212 Point GetCursorScreenPixelPos(bool bBelowLine);
214 void SetLastNumExpandedLines(tools::Long nLastExpandedLines);
215 virtual tools::Long GetNumLines() const override;
218 virtual const OUString& GetTextString() const override;
219 virtual bool HasEditView() const override;
220 virtual bool IsInputActive() override;
221 virtual void MakeDialogEditView() override;
222 virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
223 void SetScrollPolicy();
224 void SetNumLines(tools::Long nLines);
225 virtual void SetFormulaMode(bool bSet) override;
226 virtual void SetTextString(const OUString& rString) override;
227 virtual void StartEditEngine() override;
228 virtual void StopEditEngine(bool bAll) override;
229 virtual void TextGrabFocus() override;
230
232
233private:
234 std::unique_ptr<ScTextWnd> mxTextWnd;
235 std::unique_ptr<weld::ScrolledWindow> mxScrollWin;
236 std::unique_ptr<weld::CustomWeld> mxTextWndWin;
238
239 DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow&, void);
240};
241
243 , public ScTextWndBase
244{
245public:
247 virtual ~ScInputBarGroup() override;
248 virtual void dispose() override;
249 virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
250 virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData& rTextData) override;
251 void SetTextString(const OUString& rString) override;
252 void StartEditEngine() override;
253 virtual EditView* GetEditView() const override;
254 virtual bool HasEditView() const override;
255 Point GetCursorScreenPixelPos(bool bBelowLine);
256 virtual void Resize() override;
257 virtual void DataChanged(const DataChangedEvent& rDCEvt) override;
258 virtual const OUString& GetTextString() const override;
259 virtual void StopEditEngine(bool bAll) override;
260 virtual void TextGrabFocus() override;
261 void SetFormulaMode(bool bSet) override;
262 void MakeDialogEditView() override;
263 bool IsInputActive() override;
266 void NumLinesChanged();
267 virtual tools::Long GetNumLines() const override { return mxTextWndGroup->GetNumLines(); }
268
270 {
271 return mxTextWndGroup->GetPixelHeightForLines(nLines);
272 }
273
275
276private:
278 void SetBackgrounds();
279
280 std::unique_ptr<weld::Container> mxBackground;
281 std::unique_ptr<ScTextWndGroup> mxTextWndGroup;
282 std::unique_ptr<weld::Button> mxButtonUp;
283 std::unique_ptr<weld::Button> mxButtonDown;
284
285 DECL_LINK(ClickHdl, weld::Button&, void);
286};
287
288class ScInputWindow final : public ToolBox // Parent toolbox
289{
290public:
291 ScInputWindow( vcl::Window* pParent, const SfxBindings* pBind );
292 virtual ~ScInputWindow() override;
293 virtual void dispose() override;
294
295 virtual void PixelInvalidate(const tools::Rectangle* pRectangle) override;
296 virtual void SetSizePixel( const Size& rNewSize ) override;
297 virtual void Resize() override;
298 virtual void Select() override;
299
300 void SetFuncString( const OUString& rString, bool bDoEdit = true );
301 void SetPosString( const OUString& rStr );
302 void SetTextString( const OUString& rString );
303
304 void SetOkCancelMode();
305 void SetSumAssignMode();
306 void EnableButtons( bool bEnable );
308 void NumLinesChanged();
309
310 void StartFormula();
311 void SetFormulaMode( bool bSet );
312
313 bool IsInputActive();
316 Point GetCursorScreenPixelPos(bool bBelowLine = false);
317
318 void TextGrabFocus();
319 void TextInvalidate();
320 void SwitchToTextWin();
321
322 void PosGrabFocus();
323
324 // For function autopilots
325 void MakeDialogEditView();
326
327 void StopEditEngine( bool bAll );
328
329 void SetInputHandler( ScInputHandler* pNew );
330
332
333 void StateChanged( StateChangedType nType ) override;
334 virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
335 virtual void MouseButtonUp( const MouseEvent& rMEvt ) override;
336 virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
337 virtual void MouseMove( const MouseEvent& rMEvt ) override;
338
339 void NotifyLOKClient();
340
341 void MenuHdl(std::u16string_view command);
342 DECL_LINK( DropdownClickHdl, ToolBox*, void );
343
344 void AutoSum( bool& bRangeFinder, bool& bSubTotal, OpCode eCode );
345
346private:
348
357};
358
360{
361public:
363 sal_uInt16 nId,
364 SfxBindings* pBindings,
365 SfxChildWinInfo* pInfo );
366
368};
369
370/* 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 SetBackgrounds()
Definition: inputwin.cxx:926
void NumLinesChanged()
Definition: inputwin.cxx:1121
virtual ~ScInputBarGroup() override
Definition: inputwin.cxx:950
weld::Builder & GetBuilder()
Definition: inputwin.hxx:274
std::unique_ptr< weld::Button > mxButtonUp
Definition: inputwin.hxx:282
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: inputwin.cxx:935
int GetPixelHeightForLines(tools::Long nLines) const
Definition: inputwin.hxx:269
void IncrementVerticalSize()
Definition: inputwin.cxx:1025
void TriggerToolboxLayout()
Definition: inputwin.cxx:1142
void DecrementVerticalSize()
Definition: inputwin.cxx:1031
Point GetCursorScreenPixelPos(bool bBelowLine)
Definition: inputwin.cxx:945
void MakeDialogEditView() override
Definition: inputwin.cxx:1000
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:969
std::unique_ptr< weld::Container > mxBackground
Definition: inputwin.hxx:280
void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:979
virtual tools::Long GetNumLines() const override
Definition: inputwin.hxx:267
virtual bool HasEditView() const override
Definition: inputwin.cxx:1010
virtual EditView * GetEditView() const override
Definition: inputwin.cxx:1005
void StartEditEngine() override
Definition: inputwin.cxx:995
virtual void dispose() override
Definition: inputwin.cxx:955
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:964
virtual void TextGrabFocus() override
Definition: inputwin.cxx:1183
bool IsInputActive() override
Definition: inputwin.cxx:1015
void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1020
std::unique_ptr< ScTextWndGroup > mxTextWndGroup
Definition: inputwin.hxx:281
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:974
virtual void Resize() override
Definition: inputwin.cxx:984
DECL_LINK(ClickHdl, weld::Button &, void)
ScInputBarGroup(vcl::Window *Parent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:890
std::unique_ptr< weld::Button > mxButtonDown
Definition: inputwin.hxx:283
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:990
ScInputWindowWrapper(vcl::Window *pParent, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo)
Definition: inputwin.cxx:120
SFX_DECL_CHILDWINDOW_WITHID(ScInputWindowWrapper)
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:817
void SetInputHandler(ScInputHandler *pNew)
Definition: inputwin.cxx:325
ScTabViewShell * mpViewShell
Definition: inputwin.hxx:352
void SetFuncString(const OUString &rString, bool bDoEdit=true)
Definition: inputwin.cxx:558
void SetSumAssignMode()
Definition: inputwin.cxx:627
ScInputHandler * GetInputHandler()
Definition: inputwin.hxx:331
EditView * GetEditView()
Definition: inputwin.cxx:663
vcl::Window * GetEditWindow()
Definition: inputwin.cxx:668
tools::Long mnMaxY
Definition: inputwin.hxx:353
tools::Long mnStandardItemHeight
Definition: inputwin.hxx:354
void MenuHdl(std::u16string_view command)
Definition: inputwin.cxx:1040
virtual void dispose() override
Definition: inputwin.cxx:290
ScInputHandler * pInputHdl
Definition: inputwin.hxx:351
virtual void Resize() override
Definition: inputwin.cxx:514
void PosGrabFocus()
Definition: inputwin.cxx:717
ScInputWindow(vcl::Window *pParent, const SfxBindings *pBind)
Definition: inputwin.cxx:161
void StartFormula()
Definition: inputwin.cxx:412
virtual void MouseMove(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:773
VclPtr< ScPosWnd > aWndPos
Definition: inputwin.hxx:349
bool IsInputActive()
Definition: inputwin.cxx:658
void NumLinesChanged()
Update Input bar after the number of lines was changed externally.
Definition: inputwin.cxx:735
void EnableButtons(bool bEnable)
Definition: inputwin.cxx:723
void AutoSum(bool &bRangeFinder, bool &bSubTotal, OpCode eCode)
Definition: inputwin.cxx:853
void MakeDialogEditView()
Definition: inputwin.cxx:678
VclPtr< ScInputBarGroup > mxTextWindow
Definition: inputwin.hxx:350
void StateChanged(StateChangedType nType) override
Definition: inputwin.cxx:740
Point GetCursorScreenPixelPos(bool bBelowLine=false)
Definition: inputwin.cxx:673
void SetTextString(const OUString &rString)
Definition: inputwin.cxx:597
virtual void MouseButtonUp(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:841
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: inputwin.cxx:747
void TextInvalidate()
Definition: inputwin.cxx:693
void SetPosString(const OUString &rStr)
Definition: inputwin.cxx:591
virtual ~ScInputWindow() override
Definition: inputwin.cxx:285
DECL_LINK(DropdownClickHdl, ToolBox *, void)
virtual void SetSizePixel(const Size &rNewSize) override
Definition: inputwin.cxx:492
void StopEditEngine(bool bAll)
Definition: inputwin.cxx:683
void SetOkCancelMode()
Definition: inputwin.cxx:605
virtual void PixelInvalidate(const tools::Rectangle *pRectangle) override
Definition: inputwin.cxx:475
bool bIsOkCancelMode
Definition: inputwin.hxx:355
void NotifyLOKClient()
Definition: inputwin.cxx:552
bool IsPointerAtResizePos()
Definition: inputwin.cxx:768
void SwitchToTextWin()
Definition: inputwin.cxx:698
virtual void Select() override
Definition: inputwin.cxx:338
void TextGrabFocus()
Definition: inputwin.cxx:688
void SetFormulaMode(bool bSet)
Definition: inputwin.cxx:651
std::unique_ptr< weld::ComboBox > m_xWidget
Definition: inputwin.hxx:166
void HideTip()
Definition: inputwin.cxx:2457
void * nTipVisible
Definition: inputwin.hxx:171
DECL_LINK(OnAsyncGetFocus, void *, void)
void ReleaseFocus_Impl()
Definition: inputwin.cxx:2758
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
DECL_LINK(FocusOutHdl, weld::Widget &, void)
DECL_LINK(FocusInHdl, weld::Widget &, void)
void FillFunctions()
Definition: inputwin.cxx:2398
OUString aPosStr
Definition: inputwin.hxx:170
DECL_LINK(ActivateHdl, weld::ComboBox &, bool)
void SetPos(const OUString &rPosStr)
Definition: inputwin.cxx:2338
void SetFormulaMode(bool bSet)
Definition: inputwin.cxx:2323
ScPosWnd(vcl::Window *pParent)
Definition: inputwin.cxx:2274
ImplSVEvent * m_nAsyncGetFocusId
Definition: inputwin.hxx:168
DECL_LINK(ModifyHdl, weld::ComboBox &, void)
void FillRangeNames()
Definition: inputwin.cxx:2353
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
Definition: inputwin.cxx:2437
virtual void dispose() override
Definition: inputwin.cxx:2307
virtual ~ScPosWnd() override
Definition: inputwin.cxx:2302
void DoEnter()
Definition: inputwin.cxx:2584
static OUString createLocalRangeName(std::u16string_view rName, std::u16string_view rTableName)
Definition: inputwin.cxx:2348
bool bFormulaMode
Definition: inputwin.hxx:172
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:1243
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:1288
std::unique_ptr< ScTextWnd > mxTextWnd
Definition: inputwin.hxx:234
virtual EditView * GetEditView() const override
Definition: inputwin.cxx:1233
std::unique_ptr< weld::CustomWeld > mxTextWndWin
Definition: inputwin.hxx:236
const OutputDevice & GetEditViewDevice() const
Definition: inputwin.cxx:1238
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:1321
virtual bool HasEditView() const override
Definition: inputwin.cxx:1273
virtual void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1306
void SetNumLines(tools::Long nLines)
Definition: inputwin.cxx:1301
int GetPixelHeightForLines(tools::Long nLines)
Definition: inputwin.cxx:1258
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:1268
virtual void StartEditEngine() override
Definition: inputwin.cxx:1316
virtual ~ScTextWndGroup() override
Definition: inputwin.cxx:1224
std::unique_ptr< weld::ScrolledWindow > mxScrollWin
Definition: inputwin.hxx:235
virtual bool IsInputActive() override
Definition: inputwin.cxx:1278
DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow &, void)
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:1228
virtual tools::Long GetNumLines() const override
Definition: inputwin.cxx:1253
void SetScrollPolicy()
Definition: inputwin.cxx:1293
ScTextWndGroup(ScInputBarGroup &pParent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:1191
vcl::Window & GetVclParent()
Definition: inputwin.hxx:231
virtual void MakeDialogEditView() override
Definition: inputwin.cxx:1283
Point GetCursorScreenPixelPos(bool bBelowLine)
Definition: inputwin.cxx:1202
virtual void TextGrabFocus() override
Definition: inputwin.cxx:1326
weld::ScrolledWindow & GetScrollWin()
Definition: inputwin.cxx:1263
void SetLastNumExpandedLines(tools::Long nLastExpandedLines)
Definition: inputwin.cxx:1248
vcl::Window & mrParent
Definition: inputwin.hxx:237
virtual void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:1311
ScTextWndGroup & mrGroupBar
Definition: inputwin.hxx:158
virtual void GetFocus() override
Definition: inputwin.cxx:1902
virtual void Resize() override
Definition: inputwin.cxx:1406
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1721
AccTextDataVector maAccTextDatas
Definition: inputwin.hxx:148
DECL_LINK(EditStatusHdl, EditStatus &, void)
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Definition: inputwin.cxx:2189
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
Definition: inputwin.cxx:1336
bool IsInputActive() override
Definition: inputwin.cxx:2115
void UpdateAutoCorrFlag()
Definition: inputwin.cxx:1919
rtl::Reference< ScAccessibleEditObject > pAcc
Definition: inputwin.hxx:144
virtual void RemoveAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:2253
const OutputDevice & GetEditViewDevice() const
Definition: inputwin.cxx:1377
virtual const OUString & GetTextString() const override
Definition: inputwin.cxx:2110
int GetEditEngTxtHeight() const
Definition: inputwin.cxx:1431
virtual void EditViewScrollStateChange() override
Definition: inputwin.cxx:1935
OUString aString
Definition: inputwin.hxx:146
void DoScroll()
Definition: inputwin.cxx:1465
bool mbInvalidate
Definition: inputwin.hxx:160
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1698
virtual void StartEditEngine() override
Definition: inputwin.cxx:1478
bool bIsRTL
Definition: inputwin.hxx:149
tools::Long GetLastNumExpandedLines() const
Definition: inputwin.hxx:109
void SetLastNumExpandedLines(tools::Long nLastExpandedLines)
Definition: inputwin.hxx:110
void ImplInitSettings()
Definition: inputwin.cxx:2175
virtual bool CanFocus() const override
Definition: inputwin.cxx:1683
ScTabViewShell * mpViewShell
Definition: inputwin.hxx:157
int GetPixelHeightForLines(tools::Long nLines)
Definition: inputwin.cxx:1382
bool bFormulaMode
Definition: inputwin.hxx:151
virtual void InsertAccessibleTextData(ScAccessibleEditLineTextData &rTextData) override
Definition: inputwin.cxx:2246
virtual bool StartDrag() override
Definition: inputwin.cxx:1875
virtual void MakeDialogEditView() override
Definition: inputwin.cxx:2120
virtual bool MouseMove(const MouseEvent &rMEvt) override
Definition: inputwin.cxx:1678
virtual void StopEditEngine(bool bAll) override
Definition: inputwin.cxx:1962
void InitEditEngine()
Definition: inputwin.cxx:1558
bool bInputMode
Definition: inputwin.hxx:155
bool bIsInsertMode
Definition: inputwin.hxx:150
virtual ~ScTextWnd() override
Definition: inputwin.cxx:1671
virtual void TextGrabFocus() override
Definition: inputwin.cxx:2268
void SetScrollBarRange()
Definition: inputwin.cxx:1436
void SetNumLines(tools::Long nLines)
Definition: inputwin.cxx:1394
virtual void SetFormulaMode(bool bSet) override
Definition: inputwin.cxx:1910
virtual void StyleUpdated() override
Definition: inputwin.cxx:2262
tools::Long mnLastExpandedLines
Definition: inputwin.hxx:159
void UpdateFocus()
Definition: inputwin.cxx:1688
vcl::Font aTextFont
Definition: inputwin.hxx:147
virtual EditView * GetEditView() const override
Definition: inputwin.cxx:1368
virtual bool Command(const CommandEvent &rCEvt) override
Definition: inputwin.cxx:1738
virtual void SetTextString(const OUString &rString) override
Definition: inputwin.cxx:2024
virtual tools::Long GetNumLines() const override
Definition: inputwin.cxx:1388
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override
Definition: inputwin.cxx:2240
virtual bool HasEditView() const override
Definition: inputwin.cxx:1375
virtual bool KeyInput(const KeyEvent &rKEvt) override
Definition: inputwin.cxx:1887
ScTextWnd(ScTextWndGroup &rParent, ScTabViewShell *pViewSh)
Definition: inputwin.cxx:1659
DECL_LINK(ModifyHdl, LinkParamNone *, void)
rtl::Reference< svt::OStringTransferable > m_xHelper
Definition: inputwin.hxx:140
::std::vector< ScAccessibleEditLineTextData * > AccTextDataVector
Definition: inputwin.hxx:142
VclPtr< vcl::Window > pParent
long Long
sal_Int16 nId
OpCode
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:398
StateChangedType