LibreOffice Module sc (master) 1
inputhdl.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 <global.hxx>
23#include <address.hxx>
24#include <tools/solar.h>
25#include <typedstrdata.hxx>
26
27#include <tools/fract.hxx>
28#include <tools/gen.hxx>
29#include <tools/link.hxx>
30#include <vcl/vclptr.hxx>
31#include <editeng/svxenum.hxx>
32#include "viewdata.hxx"
33
34#include <set>
35#include <memory>
36#include <vector>
37
38class ScDocument;
39class ScTabViewShell;
40class ScInputWindow;
41class ScPatternAttr;
43class EditView;
44class EditTextObject;
45class ScInputHdlState;
46class ScRangeFindList;
47class Timer;
48class KeyEvent;
49class CommandEvent;
50class VclWindowEvent;
51namespace vcl { class Window; }
52struct ReferenceMark;
53struct ESelection;
54
55// ScInputHandler
56
57class ScInputHandler final
58{
59private:
61
62 std::unique_ptr<ScEditEngineDefaulter> mpEditEngine;
63 EditView* pTableView; // associated active EditView
64 EditView* pTopView; // EditView in the input row
65
66 std::unique_ptr<ScTypedCaseStrSet> pColumnData;
67 std::unique_ptr<ScTypedCaseStrSet> pFormulaData;
68 std::unique_ptr<ScTypedCaseStrSet> pFormulaDataPara;
69 ScTypedCaseStrSet::const_iterator miAutoPosColumn;
70 ScTypedCaseStrSet::const_iterator miAutoPosFormula;
71 std::set<sal_Unicode> maFormulaChar;
72
77 OUString aManualTip;
78 OUString aAutoSearch;
79
80 OUString aCurrentText;
81
82 OUString aFormText; // for autopilot function
83 sal_Int32 nFormSelStart; // Selection for autopilot function
84 sal_Int32 nFormSelEnd;
85
86 sal_Unicode nCellPercentFormatDecSep; // 0:= no percent format, else which decimal separator
87
88 sal_uInt16 nAutoPar; // autom.parentheses than can be overwritten
89
92 bool bUseTab:1; // Scrolling possible
93 bool bTextValid:1; // Text is not in edit engine
94 bool bModified:1;
95 bool bSelIsRef:1;
103
110
113
114 Fraction aScaleX; // for ref MapMode
116
119
121 std::unique_ptr<SfxItemSet>
123
124 std::unique_ptr<ScInputHdlState>
126 std::unique_ptr<Timer> pDelayTimer;
127
128 std::unique_ptr<ScRangeFindList>
130
131private:
132 void UpdateActiveView();
133 void SyncViews( const EditView* pSourceView = nullptr );
144 bool StartTable( sal_Unicode cTyped, bool bFromCommand, bool bInputActivated,
145 ScEditEngineDefaulter* pTopEngine );
146 void RemoveSelection();
147 bool StartsLikeFormula( std::u16string_view rStr ) const;
148 void UpdateFormulaMode();
149 static void InvalidateAttribs();
151 DECL_LINK( DelayTimer, Timer*, void );
152 void GetColData();
153 void UseColData();
154 void NextAutoEntry( bool bBack );
155 void UpdateAdjust( sal_Unicode cTyped );
156 void GetFormulaData();
157 void UseFormulaData();
158 void NextFormulaEntry( bool bBack );
159 void PasteFunctionData();
160 void PasteManualTip();
162 void RemoveAdjust();
163 void RemoveRangeFinder();
164 void DeleteRangeFinder();
165 void UpdateParenthesis();
166 void UpdateAutoCorrFlag();
167 void ResetAutoPar();
168 void AutoParAdded();
169 bool CursorAtClosingPar();
170 void SkipClosingPar();
171 bool GetFuncName( OUString& aStart, OUString& aResult ); // fdo75264
172 void ShowArgumentsTip( OUString& rSelText );
173 DECL_LINK( ModifyHdl, LinkParamNone*, void );
174 DECL_LINK( ShowHideTipVisibleParentListener, VclWindowEvent&, void );
175 DECL_LINK( ShowHideTipVisibleSecParentListener, VclWindowEvent&, void );
176
177public:
179 const ScInputHandler& operator=(const ScInputHandler&) = delete;
180
183
184 void SetMode( ScInputMode eNewMode, const OUString* pInitText = nullptr,
185 ScEditEngineDefaulter* pTopEngine = nullptr );
186 bool IsInputMode() const { return (eMode != SC_INPUT_NONE); }
187 bool IsEditMode() const { return (eMode != SC_INPUT_NONE &&
188 eMode != SC_INPUT_TYPE); }
189 bool IsTopMode() const { return (eMode == SC_INPUT_TOP); }
190
191 const OUString& GetEditString();
192 const OUString& GetFormString() const { return aFormText; }
193
194 const ScAddress& GetCursorPos() const { return aCursorPos; }
195
196 bool GetTextAndFields( ScEditEngineDefaulter& rDestEngine );
197 void MergeLanguageAttributes( ScEditEngineDefaulter& rDestEngine ) const;
198
199 bool KeyInput( const KeyEvent& rKEvt, bool bStartEdit );
200 void EnterHandler( ScEnterMode nBlockMode = ScEnterMode::NORMAL, bool bBeforeSavingInLOK = false );
201 void CancelHandler();
202 void SetReference( const ScRange& rRef, const ScDocument& rDoc );
203 void AddRefEntry();
204
205 void InputCommand( const CommandEvent& rCEvt );
206
207 OUString GetSurroundingText();
209 bool DeleteSurroundingText(const Selection& rSelection);
210
211 void InsertFunction( const OUString& rFuncName, bool bAddPar = true );
212 void ClearText();
213
214 void InputSelection( const EditView* pView );
215 void InputChanged( const EditView* pView, bool bFromNotify );
216
217 void ViewShellGone(const ScTabViewShell* pViewSh);
218 void SetRefViewShell(ScTabViewShell* pRefVsh) {pRefViewSh=pRefVsh;}
219
220 void NotifyChange( const ScInputHdlState* pState, bool bForce = false,
221 ScTabViewShell* pSourceSh = nullptr,
222 bool bStopEditing = true);
224
225 void ResetDelayTimer(); //BugId 54702
226
227 void HideTip();
228 void HideTipBelow();
229 void ShowTipCursor();
230 void ShowTip( const OUString& rText ); // at Cursor
231 void ShowTipBelow( const OUString& rText );
232 void ShowFuncList( const ::std::vector< OUString > & rFuncStrVec );
233
234 void SetRefScale( const Fraction& rX, const Fraction& rY );
235 void UpdateRefDevice();
236
240
241 bool DataChanging( sal_Unicode cTyped = 0, bool bFromCommand = false );
242 void DataChanged( bool bFromTopNotify = false, bool bSetModified = true );
243
244 bool TakesReturn() const { return ( nTipVisible != nullptr ); }
245
246 void SetModified() { bModified = true; }
247
248 bool GetSelIsRef() const { return bSelIsRef; }
249 void SetSelIsRef(bool bSet) { bSelIsRef = bSet; }
250
251 void ShowRefFrame();
252
254
255 void UpdateRange( sal_uInt16 nIndex, const ScRange& rNew );
256
257 // Communication with the autopilot function
258 void InputGetSelection ( sal_Int32& rStart, sal_Int32& rEnd );
259 void InputSetSelection ( sal_Int32 nStart, sal_Int32 nEnd );
260 void InputReplaceSelection ( std::u16string_view aStr );
262
263 bool IsFormulaMode() const { return bFormulaMode; }
265 void SetInputWindow( ScInputWindow* pNew );
266 void StopInputWinEngine( bool bAll );
267
268 bool IsInEnterHandler() const { return bInEnterHandler; }
269 bool IsInOwnChange() const { return bInOwnChange; }
270
272 bool HasPartialComplete() const { return mbPartialPrefix; };
273
274 bool IsModalMode( const SfxObjectShell* pDocSh );
275
276 void ForgetLastPattern();
277
278 void UpdateSpellSettings( bool bFromStartTab = false );
279
280 void FormulaPreview();
281
282 Size GetTextSize(); // in 1/100mm
283
284 // actually private, public for SID_INPUT_SUM
285 void InitRangeFinder(const OUString& rFormula);
286
288 static void SendReferenceMarks( const SfxViewShell* pViewShell,
289 const std::vector<ReferenceMark>& rReferenceMarks );
290
291 void SetDocumentDisposing( bool b );
292
293 static ReferenceMark GetReferenceMark( const ScViewData& rViewData, ScDocShell* pDocSh,
295 tools::Long nTab, const Color& rColor );
296
297 void LOKPasteFunctionData(const OUString& rFunctionName);
298 static void LOKSendFormulabarUpdate(EditView* pEditView, const SfxViewShell* pActiveViewSh,
299 const OUString& rText, const ESelection& rSelection);
300};
301
302// ScInputHdlState
303
305{
306 friend class ScInputHandler;
307
308public:
309 ScInputHdlState( const ScAddress& rCurPos,
310 const ScAddress& rStartPos,
311 const ScAddress& rEndPos,
312 OUString aString,
313 const EditTextObject* pData );
314 ScInputHdlState( const ScInputHdlState& rCpy );
316
318 bool operator==( const ScInputHdlState& r ) const;
319
320 const ScAddress& GetPos() const { return aCursorPos; }
321 const ScAddress& GetStartPos() const { return aStartPos; }
322 const ScAddress& GetEndPos() const { return aEndPos; }
323 const OUString& GetString() const { return aString; }
324 const EditTextObject* GetEditData() const { return pEditData.get(); }
325
326private:
330 OUString aString;
331 std::unique_ptr<EditTextObject> pEditData;
332};
333
334/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::set< sal_Unicode > maFormulaChar
Definition: inputhdl.hxx:71
DECL_LINK(ShowHideTipVisibleSecParentListener, VclWindowEvent &, void)
bool IsInputMode() const
Definition: inputhdl.hxx:186
OUString aCurrentText
Definition: inputhdl.hxx:80
SvxCellHorJustify eAttrAdjust
Definition: inputhdl.hxx:112
bool IsTopMode() const
Definition: inputhdl.hxx:189
void CancelHandler()
Definition: inputhdl.cxx:3453
void ForgetLastPattern()
Definition: inputhdl.cxx:2361
void SetReference(const ScRange &rRef, const ScDocument &rDoc)
Definition: inputhdl.cxx:3558
bool mbEditingExistingContent
Definition: inputhdl.hxx:109
bool KeyInput(const KeyEvent &rKEvt, bool bStartEdit)
Definition: inputhdl.cxx:3738
void * nTipVisibleSec
Definition: inputhdl.hxx:76
void SetDocumentDisposing(bool b)
Definition: inputhdl.cxx:617
EditView * GetFuncEditView()
Definition: inputhdl.cxx:4548
void InputCommand(const CommandEvent &rCEvt)
Definition: inputhdl.cxx:4070
void AddRefEntry()
Definition: inputhdl.cxx:3525
void ShowArgumentsTip(OUString &rSelText)
Definition: inputhdl.cxx:1133
std::unique_ptr< ScInputHdlState > pLastState
Definition: inputhdl.hxx:125
void ViewShellGone(const ScTabViewShell *pViewSh)
Definition: inputhdl.cxx:2259
void UpdateSpellSettings(bool bFromStartTab=false)
Definition: inputhdl.cxx:965
void InputTurnOffWinEngine()
Definition: inputhdl.cxx:4625
ScInputMode eMode
Definition: inputhdl.hxx:91
bool IsInOwnChange() const
Definition: inputhdl.hxx:269
static void LOKSendFormulabarUpdate(EditView *pEditView, const SfxViewShell *pActiveViewSh, const OUString &rText, const ESelection &rSelection)
Definition: inputhdl.cxx:1808
OUString aAutoSearch
Definition: inputhdl.hxx:78
void ShowTip(const OUString &rText)
Definition: inputhdl.cxx:1319
void FormulaPreview()
Definition: inputhdl.cxx:1899
Fraction aScaleX
Definition: inputhdl.hxx:114
ScTabViewShell * pActiveViewSh
Definition: inputhdl.hxx:118
void UpdateAdjust(sal_Unicode cTyped)
Definition: inputhdl.cxx:2370
Size GetTextSize()
Definition: inputhdl.cxx:4494
bool bFormulaMode
Definition: inputhdl.hxx:96
bool GetFuncName(OUString &aStart, OUString &aResult)
Definition: inputhdl.cxx:1382
void ResetDelayTimer()
Definition: inputhdl.cxx:4395
void SetModified()
Definition: inputhdl.hxx:246
void PasteManualTip()
Definition: inputhdl.cxx:1923
static void SendReferenceMarks(const SfxViewShell *pViewShell, const std::vector< ReferenceMark > &rReferenceMarks)
Definition: inputhdl.cxx:306
bool GetTextAndFields(ScEditEngineDefaulter &rDestEngine)
Definition: inputhdl.cxx:4503
sal_uLong nValidation
Definition: inputhdl.hxx:111
void NotifyChange(const ScInputHdlState *pState, bool bForce=false, ScTabViewShell *pSourceSh=nullptr, bool bStopEditing=true)
Definition: inputhdl.cxx:4172
bool bLastIsSymbol
Definition: inputhdl.hxx:105
void ShowFuncList(const ::std::vector< OUString > &rFuncStrVec)
Definition: inputhdl.cxx:1426
bool IsEditMode() const
Definition: inputhdl.hxx:187
bool StartTable(sal_Unicode cTyped, bool bFromCommand, bool bInputActivated, ScEditEngineDefaulter *pTopEngine)
Definition: inputhdl.cxx:2452
DECL_LINK(ModifyHdl, LinkParamNone *, void)
bool bCreatingFuncView
Definition: inputhdl.hxx:99
ScInputWindow * GetInputWindow()
Definition: inputhdl.hxx:264
void ShowTipCursor()
Definition: inputhdl.cxx:1294
void UpdateRange(sal_uInt16 nIndex, const ScRange &rNew)
Definition: inputhdl.cxx:645
void UseFormulaData()
Definition: inputhdl.cxx:1543
static void InvalidateAttribs()
Definition: inputhdl.cxx:2925
void UpdateCellAdjust(SvxCellHorJustify eJust)
Definition: inputhdl.cxx:4389
std::unique_ptr< ScEditEngineDefaulter > mpEditEngine
Edited data in the sheet (when the user clicks into the sheet, and starts writing there).
Definition: inputhdl.hxx:62
sal_uInt16 nAutoPar
Definition: inputhdl.hxx:88
void HideTipBelow()
Definition: inputhdl.cxx:1111
void DeleteRangeFinder()
Definition: inputhdl.cxx:702
void ResetAutoPar()
Definition: inputhdl.cxx:1982
OUString aFormText
Definition: inputhdl.hxx:82
ScAddress aCursorPos
Definition: inputhdl.hxx:90
void * nTipVisible
Definition: inputhdl.hxx:74
const ScInputHandler & operator=(const ScInputHandler &)=delete
void PasteFunctionData()
Definition: inputhdl.cxx:1729
ScTabViewShell * pRefViewSh
Definition: inputhdl.hxx:117
bool mbDocumentDisposing
Definition: inputhdl.hxx:106
bool TakesReturn() const
Definition: inputhdl.hxx:244
EditView * pTopView
Definition: inputhdl.hxx:64
void DataChanged(bool bFromTopNotify=false, bool bSetModified=true)
Definition: inputhdl.cxx:2722
EditView * GetTopView()
Definition: inputhdl.hxx:239
void UpdateRefDevice()
Definition: inputhdl.cxx:897
bool mbPartialPrefix
To indicate if there is a partial prefix completion.
Definition: inputhdl.hxx:108
void NextAutoEntry(bool bBack)
Definition: inputhdl.cxx:2133
void SetRefViewShell(ScTabViewShell *pRefVsh)
Definition: inputhdl.hxx:218
ScInputHandler(const ScInputHandler &)=delete
void GetFormulaData()
Definition: inputhdl.cxx:1021
OUString GetSurroundingText()
Definition: inputhdl.cxx:4022
void SetMode(ScInputMode eNewMode, const OUString *pInitText=nullptr, ScEditEngineDefaulter *pTopEngine=nullptr)
Definition: inputhdl.cxx:2960
EditView * pTableView
Definition: inputhdl.hxx:63
OUString aManualTip
Definition: inputhdl.hxx:77
Fraction aScaleY
Definition: inputhdl.hxx:115
ScTypedCaseStrSet::const_iterator miAutoPosFormula
Definition: inputhdl.hxx:70
void UpdateLokReferenceMarks()
Definition: inputhdl.cxx:535
DECL_LINK(DelayTimer, Timer *, void)
void RemoveSelection()
Definition: inputhdl.cxx:2910
void ImplCreateEditEngine()
Definition: inputhdl.cxx:926
const OUString & GetFormString() const
Definition: inputhdl.hxx:192
std::unique_ptr< Timer > pDelayTimer
Definition: inputhdl.hxx:126
bool StartsLikeFormula(std::u16string_view rStr) const
Definition: inputhdl.cxx:2822
void NextFormulaEntry(bool bBack)
Definition: inputhdl.cxx:1612
bool CursorAtClosingPar()
Definition: inputhdl.cxx:1992
void GetColData()
Definition: inputhdl.cxx:2035
std::unique_ptr< ScTypedCaseStrSet > pFormulaData
Definition: inputhdl.hxx:67
void InputGetSelection(sal_Int32 &rStart, sal_Int32 &rEnd)
Methods for FunctionAutoPilot: InputGetSelection, InputSetSelection, InputReplaceSelection,...
Definition: inputhdl.cxx:4542
EditView * GetActiveView()
Definition: inputhdl.cxx:2355
const ScAddress & GetCursorPos() const
Definition: inputhdl.hxx:194
void ShowRefFrame()
Definition: inputhdl.cxx:2877
void LOKPasteFunctionData(const OUString &rFunctionName)
Definition: inputhdl.cxx:1758
void AutoParAdded()
Definition: inputhdl.cxx:1987
sal_Int32 nFormSelEnd
Definition: inputhdl.hxx:84
bool IsFormulaMode() const
Definition: inputhdl.hxx:263
ScTypedCaseStrSet::const_iterator miAutoPosColumn
Definition: inputhdl.hxx:69
void RemoveRangeFinder()
Definition: inputhdl.cxx:2437
void InsertFunction(const OUString &rFuncName, bool bAddPar=true)
Definition: inputhdl.cxx:3663
void SetInputWindow(ScInputWindow *pNew)
Definition: inputhdl.cxx:2342
void UseColData()
Definition: inputhdl.cxx:2056
void ShowTipBelow(const OUString &rText)
Definition: inputhdl.cxx:1350
ScRangeFindList * GetRangeFindList()
Definition: inputhdl.hxx:253
sal_Int32 nFormSelStart
Definition: inputhdl.hxx:83
bool bParenthesisShown
Definition: inputhdl.hxx:98
bool IsInEnterHandler() const
Definition: inputhdl.hxx:268
DECL_LINK(ShowHideTipVisibleParentListener, VclWindowEvent &, void)
void RemoveAdjust()
Definition: inputhdl.cxx:2421
void InitRangeFinder(const OUString &rFormula)
Definition: inputhdl.cxx:358
const ScPatternAttr * pLastPattern
Definition: inputhdl.hxx:120
void InputChanged(const EditView *pView, bool bFromNotify)
Definition: inputhdl.cxx:4454
void UpdateFormulaMode()
Definition: inputhdl.cxx:2829
void InputSelection(const EditView *pView)
Definition: inputhdl.cxx:4437
VclPtr< vcl::Window > pTipVisibleSecParent
Definition: inputhdl.hxx:75
VclPtr< ScInputWindow > pInputWin
Definition: inputhdl.hxx:60
void UpdateParenthesis()
Definition: inputhdl.cxx:2196
std::unique_ptr< ScTypedCaseStrSet > pFormulaDataPara
Definition: inputhdl.hxx:68
Selection GetSurroundingTextSelection()
Definition: inputhdl.cxx:4038
bool DeleteSurroundingText(const Selection &rSelection)
Definition: inputhdl.cxx:4054
static ReferenceMark GetReferenceMark(const ScViewData &rViewData, ScDocShell *pDocSh, tools::Long nX1, tools::Long nX2, tools::Long nY1, tools::Long nY2, tools::Long nTab, const Color &rColor)
Definition: inputhdl.cxx:485
bool IsModalMode(const SfxObjectShell *pDocSh)
Definition: inputhdl.cxx:3517
void ClearText()
Definition: inputhdl.cxx:3710
void UpdateActiveView()
Definition: inputhdl.cxx:2293
bool bCommandErrorShown
Definition: inputhdl.hxx:101
bool DataChanging(sal_Unicode cTyped=0, bool bFromCommand=false)
Definition: inputhdl.cxx:2710
void SkipClosingPar()
Definition: inputhdl.cxx:2008
EditView * GetTableView()
Definition: inputhdl.hxx:238
sal_Unicode nCellPercentFormatDecSep
Definition: inputhdl.hxx:86
void SetRefScale(const Fraction &rX, const Fraction &rY)
Definition: inputhdl.cxx:883
VclPtr< vcl::Window > pTipVisibleParent
Definition: inputhdl.hxx:73
void EnterHandler(ScEnterMode nBlockMode=ScEnterMode::NORMAL, bool bBeforeSavingInLOK=false)
Definition: inputhdl.cxx:3069
void SetSelIsRef(bool bSet)
Definition: inputhdl.hxx:249
bool HasPartialComplete() const
Returns true if there is a partial autocomplete suggestion.
Definition: inputhdl.hxx:272
void StopInputWinEngine(bool bAll)
Definition: inputhdl.cxx:2347
std::unique_ptr< SfxItemSet > pEditDefaults
Definition: inputhdl.hxx:122
void SyncViews(const EditView *pSourceView=nullptr)
Definition: inputhdl.cxx:2667
bool GetSelIsRef() const
Definition: inputhdl.hxx:248
void MergeLanguageAttributes(ScEditEngineDefaulter &rDestEngine) const
Definition: inputhdl.cxx:2629
bool bInEnterHandler
Definition: inputhdl.hxx:100
std::unique_ptr< ScRangeFindList > pRangeFindList
Definition: inputhdl.hxx:129
void UpdateAutoCorrFlag()
Definition: inputhdl.cxx:949
void InputReplaceSelection(std::u16string_view aStr)
Definition: inputhdl.cxx:4594
const OUString & GetEditString()
Definition: inputhdl.cxx:4483
void InputSetSelection(sal_Int32 nStart, sal_Int32 nEnd)
Definition: inputhdl.cxx:4574
bool bInRangeUpdate
Definition: inputhdl.hxx:97
std::unique_ptr< ScTypedCaseStrSet > pColumnData
Definition: inputhdl.hxx:66
ScInputHdlState(const ScAddress &rCurPos, const ScAddress &rStartPos, const ScAddress &rEndPos, OUString aString, const EditTextObject *pData)
ScInputHdlState.
Definition: inputhdl.cxx:4642
const ScAddress & GetEndPos() const
Definition: inputhdl.hxx:322
ScAddress aCursorPos
Definition: inputhdl.hxx:327
ScAddress aEndPos
Definition: inputhdl.hxx:329
std::unique_ptr< EditTextObject > pEditData
Definition: inputhdl.hxx:331
ScInputHdlState & operator=(const ScInputHdlState &r)
Definition: inputhdl.cxx:4673
const OUString & GetString() const
Definition: inputhdl.hxx:323
const ScAddress & GetStartPos() const
Definition: inputhdl.hxx:321
ScAddress aStartPos
Definition: inputhdl.hxx:328
const EditTextObject * GetEditData() const
Definition: inputhdl.hxx:324
const ScAddress & GetPos() const
Definition: inputhdl.hxx:320
bool operator==(const ScInputHdlState &r) const
Definition: inputhdl.cxx:4664
OUString aString
Definition: inputhdl.hxx:330
ScInputMode
Definition: global.hxx:360
@ SC_INPUT_TYPE
Definition: global.hxx:362
@ SC_INPUT_NONE
Definition: global.hxx:361
@ SC_INPUT_TOP
Definition: global.hxx:364
ScEnterMode
Definition: global.hxx:219
long Long
sal_uIntPtr sal_uLong
Describes reference mark to be drawn, position & size in TWIPs.
Definition: output.hxx:65
SvxCellHorJustify
sal_uInt16 sal_Unicode