LibreOffice Module sc (master)  1
tabview.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 #pragma once
20 
21 #include <sal/config.h>
22 
23 #include <array>
24 #include <memory>
25 #include <vcl/scrbar.hxx>
26 #include <vcl/help.hxx>
27 
28 #include "hiranges.hxx"
29 #include "viewutil.hxx"
30 #include "select.hxx"
31 #include "gridwin.hxx"
32 #include "drawview.hxx"
33 
34 namespace editeng {
35  struct MisspellRanges;
36 }
37 
39 class ScOutlineWindow;
40 class ScRowBar;
41 class ScColBar;
42 class ScTabControl;
43 class ScTabViewShell;
44 struct ScRangeFindData;
45 class SvBorder;
46 class FuPoor;
47 class Splitter;
48 class ScTabSplitter;
49 class SdrView;
50 class SdrObject;
51 class ScPageBreakData;
52 class SdrHdlList;
53 class TabBar;
54 namespace com::sun::star::chart2::data { struct HighlightedRange; }
55 namespace tools { class JsonWriter; }
56 
58 {
62 };
63 
64 // Help - Window
65 
67 {
68 private:
70 
71 protected:
72  virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
73  virtual void Resize() override;
74  virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
75 public:
76  ScCornerButton( vcl::Window* pParent, ScViewData* pData );
77  virtual ~ScCornerButton() override;
78 
79  virtual void StateChanged( StateChangedType nType ) override;
80  virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
81 };
82 
84 {
85 private:
87 
88 public:
89  ScExtraEditViewManager(ScTabViewShell* pThisViewShell, std::array<VclPtr<ScGridWindow>, 4> const & pGridWin)
90  : mpThisViewShell(pThisViewShell)
91  , mpGridWin(pGridWin)
92  , mpOtherEditView(nullptr)
93  , nTotalWindows(0)
94  {}
95 
97 
98  void Add(SfxViewShell* pViewShell, ScSplitPos eWhich);
99 
100  void Remove(SfxViewShell* pViewShell, ScSplitPos eWhich);
101 
102 private:
103  template<ModifierTagType ModifierTag>
104  void Apply(SfxViewShell* pViewShell, ScSplitPos eWhich);
105 
106  template<ModifierTagType ModifierTag>
107  void Modifier(ScGridWindow* pWin);
108 
109 private:
111  std::array<VclPtr<ScGridWindow>, 4> const & mpGridWin;
114 };
115 
117 {
118 private:
119  enum BlockMode { None = 0, Normal = 1, Own = 2 };
120 
122  ScViewData aViewData; // must be at the front !
123 
124  std::unique_ptr<ScViewSelectionEngine> pSelEngine;
126 
127  std::unique_ptr<ScHeaderSelectionEngine> pHdrSelEng;
129 
130  std::unique_ptr<ScDrawView> pDrawView;
131 
132  Size aFrameSize; // passed on as for DoResize
134 
135  // The ownership of these two is rather weird. we seem to need
136  // to keep an old copy alive for some period of time to avoid crashing.
139 
140  std::shared_ptr<weld::MessageDialog> m_xMessageBox;
141 
142  std::array<VclPtr<ScGridWindow>, 4> pGridWin;
143  std::array<VclPtr<ScColBar>, 2> pColBar;
144  std::array<VclPtr<ScRowBar>, 2> pRowBar;
145  std::array<VclPtr<ScOutlineWindow>, 2> pColOutline;
146  std::array<VclPtr<ScOutlineWindow>, 2> pRowOutline;
151  VclPtr<ScrollBar> aVScrollBottom; // initially visible
152  VclPtr<ScrollBar> aHScrollLeft; // initially visible
157 
158  std::shared_ptr<sc::SpellCheckContext> mpSpellCheckCxt;
159 
160  std::unique_ptr<sdr::overlay::OverlayObjectList> mxInputHintOO; // help hint for data validation
161 
162  std::unique_ptr<ScPageBreakData> pPageBreakData;
163  std::vector<ScHighlightEntry> maHighlightRanges;
164 
165  ScDocumentUniquePtr pBrushDocument; // cell formats for format paint brush
166  std::unique_ptr<SfxItemSet> pDrawBrushSet; // drawing object attributes for paint brush
167 
171 
173 
174  void* nTipVisible;
177  OUString sTipString;
179 
181 
182  BlockMode meBlockMode; // Marks block
183 
187 
191 
194 
197 
198  double mfPendingTabBarWidth; // Tab bar width relative to frame window width.
199 
204 
205  bool bMinimized:1;
209  bool bMoveIsShift:1;
210  bool bDrawSelMode:1; // Only select draw objects ?
211  bool bLockPaintBrush:1; // keep for more than one use?
212  bool bDragging:1; // for scroll bars
213  bool bBlockNeg:1; // is no longer highlighted?
214  bool bBlockCols:1; // are whole columns selected?
215  bool bBlockRows:1; // are whole rows selected?
216  bool mbInlineWithScrollbar:1; // should inline with scrollbar?
217 
218  void Init();
219 
220  void DoAddWin( ScGridWindow* pWin );
221 
222  void InitScrollBar( ScrollBar& rScrollBar, tools::Long nMaxVal );
223  DECL_LINK(ScrollHdl, ScrollBar*, void );
224  DECL_LINK(EndScrollHdl, ScrollBar*, void );
225 
226  DECL_LINK(SplitHdl, Splitter*, void);
227  void DoHSplit(tools::Long nSplitPos);
228  void DoVSplit(tools::Long nSplitPos);
229 
230  DECL_LINK( TimerHdl, Timer*, void );
231 
232  void UpdateVarZoom();
233 
234  static void SetScrollBar( ScrollBar& rScroll, tools::Long nRangeMax, tools::Long nVisible, tools::Long nPos, bool bLayoutRTL );
235  static tools::Long GetScrollBarPos( const ScrollBar& rScroll );
236 
237  void GetAreaMoveEndPosition(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode,
238  SCCOL& rAreaX, SCROW& rAreaY, ScFollowMode& rMode);
239 
240  void SkipCursorHorizontal(SCCOL& rCurX, SCROW& rCurY, SCCOL nOldX, SCCOL nMovX);
241  void SkipCursorVertical(SCCOL& rCurX, SCROW& rCurY, SCROW nOldY, SCROW nMovY);
242 
253  void PaintRangeFinderEntry (const ScRangeFindData* pData, SCTAB nTab);
254 
255 protected:
256  void UpdateHeaderWidth( const ScVSplitPos* pWhich = nullptr,
257  const SCROW* pPosY = nullptr );
258 
259  void HideTip();
260  void ShowRefTip();
261 
262  void ZoomChanged();
263  void UpdateShow();
264  bool UpdateVisibleRange();
265  void GetBorderSize( SvBorder& rBorder, const Size& rSize );
266 
267  void ResetDrawDragMode();
268  bool IsDrawTextEdit() const;
269  void DrawEnableAnim(bool bSet);
270 
271  void MakeDrawView( TriState nForceDesignMode );
272 
273  void HideNoteMarker();
274 
275  void UpdateIMap( SdrObject* pObj );
276 
277 public:
279  ScTabView(const ScTabView&) = delete;
280  const ScTabView& operator=(const ScTabView&) = delete;
281 
282  ScTabView( vcl::Window* pParent, ScDocShell& rDocSh, ScTabViewShell* pViewShell );
283  ~ScTabView();
284 
286 
287  void MakeDrawLayer();
288 
289  void HideListBox();
290 
291  bool HasHintWindow() const;
292  void RemoveHintWindow();
293  void TestHintWindow();
294 
295  DECL_LINK( TabBarResize, ::TabBar*, void );
297  void SetTabBarWidth( tools::Long nNewWidth );
300  SC_DLLPUBLIC void SetRelTabBarWidth( double fRelTabBarWidth );
303  void SetPendingRelTabBarWidth( double fRelTabBarWidth );
305  tools::Long GetTabBarWidth() const;
307  SC_DLLPUBLIC static double GetRelTabBarWidth();
310 
311  void DoResize( const Point& rOffset, const Size& rSize, bool bInner = false );
312  void RepeatResize( bool bUpdateFix = true );
313  void UpdateFixPos();
314  Point GetGridOffset() const;
315 
316  bool IsDrawSelMode() const { return bDrawSelMode; }
317  void SetDrawSelMode(bool bNew) { bDrawSelMode = bNew; }
318 
319  void SetDrawFuncPtr(FuPoor* pFuncPtr) { pDrawActual = pFuncPtr; }
320  void SetDrawFuncOldPtr(FuPoor* pFuncPtr) { pDrawOld = pFuncPtr; }
323 
324  void DrawDeselectAll();
325  void DrawMarkListHasChanged();
326  void UpdateAnchorHandles();
327 
328  ScPageBreakData* GetPageBreakData() { return pPageBreakData.get(); }
329  const std::vector<ScHighlightEntry>& GetHighlightRanges() const { return maHighlightRanges; }
330 
331  void UpdatePageBreakData( bool bForcePaint = false );
332 
334  const ScViewData& GetViewData() const { return aViewData; }
335 
337  ScViewSelectionEngine* GetSelEngine() { return pSelEngine.get(); }
338 
339  bool SelMouseButtonDown( const MouseEvent& rMEvt );
340 
341  ScDrawView* GetScDrawView() { return pDrawView.get(); }
342 
343  bool IsMinimized() const { return bMinimized; }
344 
350  void TabChanged( bool bSameTabButMoved = false );
351  void SetZoom( const Fraction& rNewX, const Fraction& rNewY, bool bAll );
352  SC_DLLPUBLIC void RefreshZoom();
353  void SetPagebreakMode( bool bSet );
354 
355  void UpdateLayerLocks();
356 
357  void UpdateDrawTextOutliner();
358  void DigitLanguageChanged();
359 
360  static void UpdateInputLine();
361 
362  void InitRefMode( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, ScRefType eType );
363  void DoneRefMode( bool bContinue = false );
364  void UpdateRef( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ );
365  void StopRefMode();
366 
367  void StopMarking();
368  void FakeButtonUp( ScSplitPos eWhich );
369 
371  vcl::Window* GetWindowByPos( ScSplitPos ePos ) const { return pGridWin[ePos]; }
372 
373  ScSplitPos FindWindow( const vcl::Window* pWindow ) const;
374 
375  void SetActivePointer( PointerStyle nPointer );
376 
377  void ActiveGrabFocus();
378 
379  void ClickCursor( SCCOL nPosX, SCROW nPosY, bool bControl );
380 
381  SC_DLLPUBLIC void SetCursor( SCCOL nPosX, SCROW nPosY, bool bNew = false );
382 
384  void SelectionChanged( bool bFromPaste = false );
385  void CursorPosChanged();
386  void UpdateInputContext();
387 
388  void CheckSelectionTransfer();
389 
390  void InvertHorizontal( ScVSplitPos eWhich, tools::Long nDragPos );
391  void InvertVertical( ScHSplitPos eWhich, tools::Long nDragPos );
392 
393  Point GetInsertPos() const;
394 
395  Point GetChartInsertPos( const Size& rSize, const ScRange& rCellRange );
396  Point GetChartDialogPos( const Size& rDialogSize, const tools::Rectangle& rLogicChart );
397 
398  void UpdateAutoFillMark( bool bFromPaste = false );
399 
400  void ShowCursor();
401  void HideAllCursors();
402  void ShowAllCursors();
403 
404  void AlignToCursor( SCCOL nCurX, SCROW nCurY, ScFollowMode eMode,
405  const ScSplitPos* pWhich = nullptr );
406 
407  SvxZoomType GetZoomType() const;
408  void SetZoomType( SvxZoomType eNew, bool bAll );
409  sal_uInt16 CalcZoom( SvxZoomType eType, sal_uInt16 nOldZoom );
410 
411  bool HasPageFieldDataAtCursor() const;
412  void StartDataSelect();
413 
414  // MoveCursorAbs - absolute
415  // MoveCursorRel - single cells
416  // MoveCursorPage - screen
417  // MoveCursorArea - Data block
418  // MoveCursorEnd - top left / user range
419 
420  SC_DLLPUBLIC void MoveCursorAbs( SCCOL nCurX, SCROW nCurY, ScFollowMode eMode,
421  bool bShift, bool bControl,
422  bool bKeepOld = false, bool bKeepSel = false );
423  void MoveCursorRel( SCCOL nMovX, SCROW nMovY, ScFollowMode eMode,
424  bool bShift, bool bKeepSel = false );
425  void MoveCursorPage( SCCOL nMovX, SCROW nMovY, ScFollowMode eMode,
426  bool bShift, bool bKeepSel = false );
427  void MoveCursorArea( SCCOL nMovX, SCROW nMovY, ScFollowMode eMode,
428  bool bShift, bool bKeepSel = false );
429  void MoveCursorEnd( SCCOL nMovX, SCROW nMovY, ScFollowMode eMode,
430  bool bShift, bool bKeepSel = false );
431  void MoveCursorScreen( SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, bool bShift );
432 
433  void MoveCursorEnter( bool bShift ); // Shift for direction (select nothing)
434 
435  bool MoveCursorKeyInput( const KeyEvent& rKeyEvent );
436 
437  void FindNextUnprot( bool bShift, bool bInSelection );
438 
439  void GetPageMoveEndPosition(SCCOL nMovX, SCROW nMovY, SCCOL& rPageX, SCROW& rPageY);
440 
441  SC_DLLPUBLIC void SetTabNo( SCTAB nTab, bool bNew = false, bool bExtendSelection = false, bool bSameTabButMoved = false );
442  void SelectNextTab( short nDir, bool bExtendSelection );
443  void SelectTabPage( const sal_uInt16 nTab );
444 
445  void ActivateView( bool bActivate, bool bFirst );
446  void ActivatePart( ScSplitPos eWhich );
447  bool IsInActivatePart() const { return bInActivatePart; }
448 
449  void SetTimer( ScGridWindow* pWin, const MouseEvent& rMEvt );
450  void ResetTimer();
451 
452  void ScrollX( tools::Long nDeltaX, ScHSplitPos eWhich, bool bUpdBars = true );
453  void ScrollY( tools::Long nDeltaY, ScVSplitPos eWhich, bool bUpdBars = true );
454  SC_DLLPUBLIC void ScrollLines( tools::Long nDeltaX, tools::Long nDeltaY ); // active
455 
456  bool ScrollCommand( const CommandEvent& rCEvt, ScSplitPos ePos );
457 
458  void ScrollToObject( const SdrObject* pDrawObj );
459  void MakeVisible( const tools::Rectangle& rHMMRect );
460 
461  // Drawing
462 
463  void PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
465 
466  void PaintGrid();
467 
468  void PaintTopArea( SCCOL nStartCol, SCCOL nEndCol );
469  void PaintTop();
470 
471  void PaintLeftArea( SCROW nStartRow, SCROW nEndRow );
472  void PaintLeft();
473 
474  bool PaintExtras();
475 
476  void RecalcPPT();
477 
478  void CreateAnchorHandles(SdrHdlList& rHdl, const ScAddress& rAddress);
479 
481  void UpdateSelectionOverlay();
482  void UpdateShrinkOverlay();
483  void UpdateAllOverlays();
484 
485  void UpdateFormulas( SCCOL nStartCol = -1, SCROW nStartRow = -1, SCCOL nEndCol = -1, SCROW nEndRow = -1 );
486  void InterpretVisible();
487  void CheckNeedsRepaint();
488  bool NeedsRepaint();
489 
490  void PaintRangeFinder( tools::Long nNumber );
491  void AddHighlightRange( const ScRange& rRange, const Color& rColor );
492  void ClearHighlightRanges();
493 
494  void DoChartSelection( const css::uno::Sequence< css::chart2::data::HighlightedRange > & rHilightRanges );
495  void DoDPFieldPopup(std::u16string_view rPivotTableName, sal_Int32 nDimensionIndex, Point aPoint, Size aSize);
496 
499 
500  void UpdateScrollBars( HeaderType eHeaderType = BOTH_HEADERS );
501  void SetNewVisArea();
502  void SetTabProtectionSymbol( SCTAB nTab, const bool bProtect ); // for protection icon of a tab on tabbar
503 
504  void InvalidateAttribs();
505 
507  void AddWindowToForeignEditView(SfxViewShell* pViewShell, ScSplitPos eWhich);
508  void RemoveWindowFromForeignEditView(SfxViewShell* pViewShell, ScSplitPos eWhich);
509  void MakeEditView( ScEditEngineDefaulter* pEngine, SCCOL nCol, SCROW nRow );
510  void KillEditView( bool bNoPaint );
511  void UpdateEditView();
512 
513  // Blocks
514 
515  void SelectAll( bool bContinue = false );
516  void SelectAllTables();
517  void DeselectAllTables();
518 
519  void MarkCursor( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ,
520  bool bCols = false, bool bRows = false, bool bCellSelection = false );
521  void InitBlockMode( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ,
522  bool bTestNeg = false,
523  bool bCols = false, bool bRows = false, bool bForceNeg = false );
524  void InitOwnBlockMode();
525  void DoneBlockMode( bool bContinue = false );
526 
527  bool IsBlockMode() const;
528 
529  void ExpandBlock(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode);
530  void ExpandBlockPage(SCCOL nMovX, SCROW nMovY);
531  void ExpandBlockArea(SCCOL nMovX, SCROW nMovY);
532 
533  void MarkColumns();
534  void MarkRows();
535 
543  void MarkColumns(SCCOL nCol, sal_Int16 nModifier);
550  void MarkRows(SCROW nRow, sal_Int16 nModifier);
551 
552  void MarkDataArea( bool bIncludeCursor = true );
553  void MarkMatrixFormula();
554  void Unmark();
555 
556  void MarkRange( const ScRange& rRange, bool bSetCursor = true, bool bContinue = false );
557 
558  bool IsMarking( SCCOL nCol, SCROW nRow, SCTAB nTab ) const;
559 
560  void PaintMarks( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow );
561  void PaintBlock( bool bReset );
562 
563  void SetMarkData( const ScMarkData& rNew );
564  void MarkDataChanged();
565 
566  void LockModifiers( sal_uInt16 nModifiers );
567  sal_uInt16 GetLockedModifiers() const;
568  void ViewOptionsHasChanged( bool bHScrollChanged,
569  bool bGraphicsChanged);
570 
572 
573  void FreezeSplitters( bool bFreeze, SplitMethod eSplitMethod = SC_SPLIT_METHOD_CURSOR, SCCOLROW nFreezeIndex = -1 );
574  void RemoveSplit();
575  void SplitAtCursor();
576  void SplitAtPixel( const Point& rPixel );
577  void InvalidateSplit();
578 
579  void ErrorMessage(const char* pGlobStrId);
580 
581  void EnableRefInput(bool bFlag);
582 
583  vcl::Window* GetFrameWin() const { return pFrameWin; }
584 
585  bool HasPaintBrush() const { return pBrushDocument || pDrawBrushSet; }
586  ScDocument* GetBrushDocument() const { return pBrushDocument.get(); }
587  SfxItemSet* GetDrawBrushSet() const { return pDrawBrushSet.get(); }
588  bool IsPaintBrushLocked() const { return bLockPaintBrush; }
589  void SetBrushDocument( ScDocumentUniquePtr pNew, bool bLock );
590  void SetDrawBrushSet( std::unique_ptr<SfxItemSet> pNew, bool bLock );
591  void ResetBrushDocument();
592 
593  void EnableAutoSpell( bool bEnable );
594  void ResetAutoSpell();
596  void SetAutoSpellData( SCCOL nPosX, SCROW nPosY, const std::vector<editeng::MisspellRanges>* pRanges );
598  void getRowColumnHeaders(const tools::Rectangle& rRectangle, tools::JsonWriter& rJsonWriter);
600  OString getSheetGeometryData(bool bColumns, bool bRows, bool bSizes, bool bHidden,
601  bool bFiltered, bool bGroups);
603 
604  static void OnLOKNoteStateChanged(const ScPostIt* pNote);
605 
610 };
611 
612 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void FindNextUnprot(bool bShift, bool bInSelection)
Definition: tabview3.cxx:1536
void TestHintWindow()
Definition: tabview3.cxx:777
SvxZoomType GetZoomType() const
Definition: tabview5.cxx:409
std::array< VclPtr< ScGridWindow >, 4 > const & mpGridWin
Definition: tabview.hxx:111
SCROW GetLOKStartHeaderRow() const
Definition: tabview.hxx:606
void DoChartSelection(const css::uno::Sequence< css::chart2::data::HighlightedRange > &rHilightRanges)
Definition: tabview3.cxx:2545
void InitRefMode(SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, ScRefType eType)
Definition: tabview4.cxx:309
void SelectAll(bool bContinue=false)
Definition: tabview2.cxx:1064
void MarkDataArea(bool bIncludeCursor=true)
Definition: tabview3.cxx:1654
void InvertVertical(ScHSplitPos eWhich, tools::Long nDragPos)
Definition: tabview4.cxx:484
DECL_LINK(ScrollHdl, ScrollBar *, void)
const ScViewData & GetViewData() const
Definition: tabview.hxx:334
void ResetBrushDocument()
Definition: tabview5.cxx:646
bool IsDrawSelMode() const
Definition: tabview.hxx:316
virtual void MouseButtonDown(const MouseEvent &rMEvt) override
Definition: tabview.cxx:131
void DoHSplit(tools::Long nSplitPos)
Definition: tabview.cxx:1527
void FreezeSplitters(bool bFreeze, SplitMethod eSplitMethod=SC_SPLIT_METHOD_CURSOR, SCCOLROW nFreezeIndex=-1)
Definition: tabview.cxx:1912
bool bInUpdateHeader
Definition: tabview.hxx:206
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
Definition: markdata.hxx:42
std::array< VclPtr< ScRowBar >, 2 > pRowBar
Definition: tabview.hxx:144
bool bBlockCols
Definition: tabview.hxx:214
void RemoveWindowFromForeignEditView(SfxViewShell *pViewShell, ScSplitPos eWhich)
Definition: tabview3.cxx:2041
VclPtr< ScrollBar > aHScrollLeft
Definition: tabview.hxx:152
SC_DLLPUBLIC void RefreshZoom()
Definition: tabview5.cxx:427
static tools::Long GetScrollBarPos(const ScrollBar &rScroll)
Definition: tabview4.cxx:355
SCROW mnLOKEndHeaderRow
Definition: tabview.hxx:201
ScVSplitPos
Definition: viewdata.hxx:46
ScSplitPos FindWindow(const vcl::Window *pWindow) const
Definition: tabview.cxx:908
HeaderType
Definition: tabview.hxx:57
FuPoor * pDrawActual
Definition: tabview.hxx:137
QuickHelpFlags nTipAlign
Definition: tabview.hxx:176
SCCOL mnLOKStartHeaderCol
Definition: tabview.hxx:202
VclPtr< ScrollBar > aVScrollBottom
Definition: tabview.hxx:151
void SetBrushDocument(ScDocumentUniquePtr pNew, bool bLock)
Definition: tabview5.cxx:626
void SetTabProtectionSymbol(SCTAB nTab, const bool bProtect)
Definition: tabview3.cxx:526
void UpdateInputContext()
Definition: tabview3.cxx:2971
void CursorPosChanged()
Definition: tabview3.cxx:628
bool PaintExtras()
Definition: tabview3.cxx:2753
const std::vector< ScHighlightEntry > & GetHighlightRanges() const
Definition: tabview.hxx:329
VclPtr< ScrollBar > aHScrollRight
Definition: tabview.hxx:153
void MarkRange(const ScRange &rRange, bool bSetCursor=true, bool bContinue=false)
Definition: tabview3.cxx:1685
bool bBlockRows
Definition: tabview.hxx:215
void DoneRefMode(bool bContinue=false)
Definition: tabview4.cxx:159
void SelectAllTables()
Definition: tabview2.cxx:1085
Point aBorderPos
Definition: tabview.hxx:133
virtual void Resize() override
Definition: tabview.cxx:126
void SetPagebreakMode(bool bSet)
Definition: tabview5.cxx:435
void RepeatResize(bool bUpdateFix=true)
Definition: tabview.cxx:772
long Long
Point GetChartInsertPos(const Size &rSize, const ScRange &rCellRange)
Definition: tabview.cxx:1686
void HideNoteMarker()
Definition: tabview2.cxx:1387
SCTAB nBlockEndZ
Definition: tabview.hxx:193
ScTabViewShell * mpThisViewShell
Definition: tabview.hxx:110
ScDocument * GetBrushDocument() const
Definition: tabview.hxx:586
vcl::Window * GetFrameWin() const
Definition: tabview.hxx:583
ScFollowMode
Screen behavior related to cursor movements.
Definition: viewdata.hxx:52
bool IsMinimized() const
Definition: tabview.hxx:343
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
Definition: tabview.cxx:88
double mfPendingTabBarWidth
Definition: tabview.hxx:198
VclPtr< ScTabSplitter > pHSplitter
Definition: tabview.hxx:147
void Remove(SfxViewShell *pViewShell, ScSplitPos eWhich)
Definition: tabview3.cxx:109
void InitScrollBar(ScrollBar &rScrollBar, tools::Long nMaxVal)
Definition: tabview.cxx:224
sal_uInt16 GetLockedModifiers() const
Definition: tabview.cxx:1896
SCROW mnLOKStartHeaderRow
Definition: tabview.hxx:200
FuPoor * pDrawOld
Definition: tabview.hxx:138
void ViewOptionsHasChanged(bool bHScrollChanged, bool bGraphicsChanged)
Definition: tabview5.cxx:449
void UpdateIMap(SdrObject *pObj)
Definition: tabview5.cxx:490
void PaintGrid()
Definition: tabview3.cxx:2626
void Unmark()
Definition: tabview3.cxx:1721
tools::Long GetGridWidth(ScHSplitPos eWhich)
Definition: tabview3.cxx:2983
void GetBorderSize(SvBorder &rBorder, const Size &rSize)
Definition: tabview.cxx:796
static void UpdateInputLine()
Definition: tabview3.cxx:3003
std::shared_ptr< weld::MessageDialog > m_xMessageBox
Definition: tabview.hxx:140
OString getSheetGeometryData(bool bColumns, bool bRows, bool bSizes, bool bHidden, bool bFiltered, bool bGroups)
Definition: tabview.cxx:2834
void RemoveHintWindow()
Definition: tabview3.cxx:875
void SetAutoSpellData(SCCOL nPosX, SCROW nPosY, const std::vector< editeng::MisspellRanges > *pRanges)
Definition: tabview.cxx:2281
bool NeedsRepaint()
Definition: tabview3.cxx:3066
void UpdateAllOverlays()
Definition: tabview2.cxx:1000
void AddHighlightRange(const ScRange &rRange, const Color &rColor)
Definition: tabview3.cxx:2521
tools::Long GetTabBarWidth() const
Returns the current tab bar width in pixels.
Definition: tabview.cxx:877
void TabChanged(bool bSameTabButMoved=false)
Called after moving, copying, inserting or deleting a sheet.
Definition: tabview5.cxx:282
void LockModifiers(sal_uInt16 nModifiers)
Definition: tabview.cxx:1890
SC_DLLPUBLIC void SetCursor(SCCOL nPosX, SCROW nPosY, bool bNew=false)
Definition: tabview3.cxx:361
ScExtraEditViewManager(ScTabViewShell *pThisViewShell, std::array< VclPtr< ScGridWindow >, 4 > const &pGridWin)
Definition: tabview.hxx:89
bool bLockPaintBrush
Definition: tabview.hxx:211
void PaintRangeFinderEntry(const ScRangeFindData *pData, SCTAB nTab)
Update marks for a selected Range.
Definition: tabview3.cxx:2432
VclPtr< vcl::Window > sTopParent
Definition: tabview.hxx:178
SC_DLLPUBLIC void ScrollLines(tools::Long nDeltaX, tools::Long nDeltaY)
Definition: tabview.cxx:1319
virtual void StateChanged(StateChangedType nType) override
Definition: tabview.cxx:108
void ResetAutoSpell()
Definition: tabview.cxx:2259
ScSplitPos
Definition: viewdata.hxx:44
void ScrollX(tools::Long nDeltaX, ScHSplitPos eWhich, bool bUpdBars=true)
Definition: tabview.cxx:1152
virtual ~ScCornerButton() override
Definition: tabview.cxx:84
SC_DLLPUBLIC void MoveCursorAbs(SCCOL nCurX, SCROW nCurY, ScFollowMode eMode, bool bShift, bool bControl, bool bKeepOld=false, bool bKeepSel=false)
Definition: tabview3.cxx:1188
SCCOL nBlockStartXOrig
Definition: tabview.hxx:185
void DeselectAllTables()
Definition: tabview2.cxx:1103
StateChangedType
void UpdateCopySourceOverlay()
Definition: tabview2.cxx:979
void KillEditView(bool bNoPaint)
Definition: tabview3.cxx:2169
tools::Long GetGridHeight(ScVSplitPos eWhich)
Definition: tabview3.cxx:2994
void MoveCursorScreen(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, bool bShift)
Definition: tabview3.cxx:1367
void UpdateAutoFillMark(bool bFromPaste=false)
Definition: tabview3.cxx:185
SCCOL GetLOKEndHeaderCol() const
Definition: tabview.hxx:609
void StartDataSelect()
Definition: tabview.cxx:2181
BlockMode meBlockMode
Definition: tabview.hxx:182
void UpdateFixPos()
Definition: tabview.cxx:759
void PaintLeft()
Definition: tabview3.cxx:2702
void InvertHorizontal(ScVSplitPos eWhich, tools::Long nDragPos)
Definition: tabview4.cxx:469
void PaintLeftArea(SCROW nStartRow, SCROW nEndRow)
Definition: tabview3.cxx:2713
ScPageBreakData * GetPageBreakData()
Definition: tabview.hxx:328
void MoveCursorEnd(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, bool bShift, bool bKeepSel=false)
Definition: tabview3.cxx:1337
void * nTipVisible
Definition: tabview.hxx:174
std::array< VclPtr< ScGridWindow >, 4 > pGridWin
Definition: tabview.hxx:142
void HideTip()
Definition: tabview4.cxx:34
SC_DLLPUBLIC void SetRelTabBarWidth(double fRelTabBarWidth)
Sets a relative tab bar width.
Definition: tabview.cxx:864
sal_Int32 SCCOLROW
a type capable of holding either SCCOL or SCROW
Definition: types.hxx:23
Additional class containing cell annotation data.
Definition: postit.hxx:159
std::shared_ptr< sc::SpellCheckContext > mpSpellCheckCxt
Definition: tabview.hxx:158
void SetPendingRelTabBarWidth(double fRelTabBarWidth)
Sets a relative tab bar width.
Definition: tabview.cxx:871
SCROW GetLOKEndHeaderRow() const
Definition: tabview.hxx:607
void SetDrawFuncPtr(FuPoor *pFuncPtr)
Definition: tabview.hxx:319
void MarkDataChanged()
Definition: tabview3.cxx:1744
void OnLibreOfficeKitTabChanged()
Definition: tabview3.cxx:2046
SCROW nOldCurY
Definition: tabview.hxx:196
void PaintBlock(bool bReset)
divide PaintBlock into two methods: RepaintBlock and RemoveBlock or similar
Definition: tabview2.cxx:1011
void PaintRangeFinder(tools::Long nNumber)
Definition: tabview3.cxx:2493
std::unique_ptr< SfxItemSet > pDrawBrushSet
Definition: tabview.hxx:166
void Modifier(ScGridWindow *pWin)
Definition: tabview3.cxx:138
SCCOL mnLOKEndHeaderCol
Definition: tabview.hxx:203
void UpdateShrinkOverlay()
Definition: tabview2.cxx:993
bool SelMouseButtonDown(const MouseEvent &rMEvt)
Definition: tabview3.cxx:1166
void UpdateFormulas(SCCOL nStartCol=-1, SCROW nStartRow=-1, SCCOL nEndCol=-1, SCROW nEndRow=-1)
Definition: tabview3.cxx:2281
bool IsPaintBrushLocked() const
Definition: tabview.hxx:588
void UpdateEditView()
Definition: tabview3.cxx:2146
void ActivatePart(ScSplitPos eWhich)
Definition: tabview3.cxx:2873
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: tabview.cxx:117
void RecalcPPT()
Definition: tabview3.cxx:2768
void DrawMarkListHasChanged()
Definition: tabview5.cxx:478
void DoneBlockMode(bool bContinue=false)
Definition: tabview2.cxx:409
void ClearHighlightRanges()
Definition: tabview3.cxx:2531
bool IsBlockMode() const
Definition: tabview2.cxx:444
void ActivateView(bool bActivate, bool bFirst)
Definition: tabview3.cxx:2797
void SkipCursorVertical(SCCOL &rCurX, SCROW &rCurY, SCROW nOldY, SCROW nMovY)
Definition: tabview2.cxx:788
std::unique_ptr< sdr::overlay::OverlayObjectList > mxInputHintOO
Definition: tabview.hxx:160
ScViewData & GetViewData()
Definition: tabview.hxx:333
SCCOL nBlockEndX
Definition: tabview.hxx:186
void PaintTop()
Definition: tabview3.cxx:2637
ScGridWindow * GetActiveWin()
Definition: tabview.cxx:887
void CheckNeedsRepaint()
Definition: tabview3.cxx:3057
void SelectionChanged(bool bFromPaste=false)
Definition: tabview3.cxx:531
bool HasHintWindow() const
Definition: tabview3.cxx:873
bool IsInActivatePart() const
Definition: tabview.hxx:447
void ScrollToObject(const SdrObject *pDrawObj)
Definition: tabview5.cxx:541
void InterpretVisible()
Definition: tabview4.cxx:499
void PaintArea(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScUpdateMode eMode=ScUpdateMode::All)
Definition: tabview3.cxx:2304
void SelectTabPage(const sal_uInt16 nTab)
Definition: tabview3.cxx:1789
std::unique_ptr< ScPageBreakData > pPageBreakData
Definition: tabview.hxx:162
void ExpandBlock(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode)
Definition: tabview2.cxx:848
void SetZoom(const Fraction &rNewX, const Fraction &rNewY, bool bAll)
Definition: tabview5.cxx:419
SCROW nBlockStartYOrig
Definition: tabview.hxx:189
EditView * mpOtherEditView
Definition: tabview.hxx:112
vcl::Window * GetWindowByPos(ScSplitPos ePos) const
Definition: tabview.hxx:371
OUString sTipString
Definition: tabview.hxx:177
ScDocumentUniquePtr pBrushDocument
Definition: tabview.hxx:165
bool ScrollCommand(const CommandEvent &rCEvt, ScSplitPos ePos)
Definition: tabview.cxx:948
VclPtr< ScTabControl > pTabControl
Definition: tabview.hxx:149
SCTAB nBlockStartZ
Definition: tabview.hxx:192
void DoAddWin(ScGridWindow *pWin)
Definition: tabview5.cxx:272
Size aFrameSize
Definition: tabview.hxx:132
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > ScDocumentUniquePtr
Definition: document.hxx:2613
sal_Int16 SCCOL
Definition: types.hxx:21
void CreateAnchorHandles(SdrHdlList &rHdl, const ScAddress &rAddress)
Definition: tabview3.cxx:2648
void SetActivePointer(PointerStyle nPointer)
Definition: tabview.cxx:894
void FakeButtonUp(ScSplitPos eWhich)
Definition: tabview3.cxx:212
void UpdateHeaderWidth(const ScVSplitPos *pWhich=nullptr, const SCROW *pPosY=nullptr)
Definition: tabview.cxx:1347
QuickHelpFlags
SC_DLLPUBLIC void SetTabNo(SCTAB nTab, bool bNew=false, bool bExtendSelection=false, bool bSameTabButMoved=false)
Definition: tabview3.cxx:1796
void ExpandBlockArea(SCCOL nMovX, SCROW nMovY)
Definition: tabview2.cxx:970
void DrawEnableAnim(bool bSet)
Definition: tabview5.cxx:496
void DoVSplit(tools::Long nSplitPos)
Definition: tabview.cxx:1597
void MakeVisible(const tools::Rectangle &rHMMRect)
Definition: tabview5.cxx:550
void ResetDrawDragMode()
Definition: tabview5.cxx:443
void InvalidateSplit()
Definition: tabview.cxx:2111
const ScTabView & operator=(const ScTabView &)=delete
void InitOwnBlockMode()
Definition: tabview2.cxx:332
tools::Long nPrevDragPos
Definition: tabview.hxx:180
SCCOL nBlockStartX
Definition: tabview.hxx:184
VclPtr< ScrollBar > aVScrollTop
Definition: tabview.hxx:150
bool HasPageFieldDataAtCursor() const
Definition: tabview.cxx:2170
void MakeEditView(ScEditEngineDefaulter *pEngine, SCCOL nCol, SCROW nRow)
Definition: tabview3.cxx:2089
sal_uInt16 CalcZoom(SvxZoomType eType, sal_uInt16 nOldZoom)
Definition: tabview2.cxx:1181
static SC_DLLPUBLIC double GetRelTabBarWidth()
Returns the current tab bar width relative to the frame window width (0.0 ...
Definition: tabview.cxx:882
void RemoveSplit()
Definition: tabview.cxx:2067
void EnableAutoSpell(bool bEnable)
Definition: tabview.cxx:2241
VclPtr< ScrollBarBox > aScrollBarBox
Definition: tabview.hxx:156
void SplitAtCursor()
Definition: tabview.cxx:2074
void DoDPFieldPopup(std::u16string_view rPivotTableName, sal_Int32 nDimensionIndex, Point aPoint, Size aSize)
Definition: tabview3.cxx:2603
Base class for all functions.
Definition: fupoor.hxx:39
void UpdateSelectionOverlay()
Definition: tabview2.cxx:986
void ResetTimer()
Definition: tabview.cxx:246
void UpdateScrollBars(HeaderType eHeaderType=BOTH_HEADERS)
Definition: tabview4.cxx:390
bool bMinimized
Definition: tabview.hxx:205
VclPtr< ScCornerButton > aTopButton
Definition: tabview.hxx:155
void InvalidateAttribs()
Definition: tabview3.cxx:250
void Apply(SfxViewShell *pViewShell, ScSplitPos eWhich)
Definition: tabview3.cxx:116
void EnableRefInput(bool bFlag)
Definition: tabview.cxx:2218
void extendTiledAreaIfNeeded()
Definition: tabview.cxx:2908
void SetNewVisArea()
Definition: tabview.cxx:2123
void StopRefMode()
Definition: tabview4.cxx:113
void DigitLanguageChanged()
Definition: tabview5.cxx:533
void UpdateShow()
Definition: tabview.cxx:1416
bool bInZoomUpdate
Definition: tabview.hxx:208
void Add(SfxViewShell *pViewShell, ScSplitPos eWhich)
Definition: tabview3.cxx:104
std::array< VclPtr< ScOutlineWindow >, 2 > pColOutline
Definition: tabview.hxx:145
void ClickCursor(SCCOL nPosX, SCROW nPosY, bool bControl)
Definition: tabview3.cxx:160
ScViewFunctionSet & GetFunctionSet()
Definition: tabview.hxx:336
The window left of or above the spreadsheet containing the outline groups and controls to expand/coll...
Definition: olinewin.hxx:32
bool mbInlineWithScrollbar
Definition: tabview.hxx:216
bool HasPaintBrush() const
Definition: tabview.hxx:585
void PaintMarks(SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow)
Definition: tabview2.cxx:303
SfxItemSet * GetDrawBrushSet() const
Definition: tabview.hxx:587
ScHSplitPos
Definition: viewdata.hxx:45
void MarkRows()
Definition: tabview3.cxx:1591
sal_Int32 SCROW
Definition: types.hxx:17
void ShowRefTip()
Definition: tabview4.cxx:49
void MakeDrawLayer()
Definition: tabview2.cxx:1394
void UpdateVarZoom()
Definition: tabview.cxx:730
void MoveCursorEnter(bool bShift)
Definition: tabview3.cxx:1404
void ResetAutoSpellForContentChange()
Definition: tabview.cxx:2270
void HideAllCursors()
Definition: tabview3.cxx:218
std::vector< ScHighlightEntry > maHighlightRanges
Definition: tabview.hxx:163
tools::Rectangle aTipRectangle
Definition: tabview.hxx:175
MouseEvent aTimerMEvt
Definition: tabview.hxx:170
void SetTimer(ScGridWindow *pWin, const MouseEvent &rMEvt)
Definition: tabview.cxx:239
ScDrawView * GetScDrawView()
Definition: tabview.hxx:341
void SetDrawFuncOldPtr(FuPoor *pFuncPtr)
Definition: tabview.hxx:320
ScUpdateMode
Definition: viewutil.hxx:39
void DrawDeselectAll()
Definition: tabview5.cxx:380
std::unique_ptr< ScHeaderSelectionEngine > pHdrSelEng
Definition: tabview.hxx:127
void ErrorMessage(const char *pGlobStrId)
Definition: tabview2.cxx:1413
bool UpdateVisibleRange()
Definition: tabview.cxx:1497
void MoveCursorPage(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, bool bShift, bool bKeepSel=false)
Definition: tabview3.cxx:1321
void getRowColumnHeaders(const tools::Rectangle &rRectangle, tools::JsonWriter &rJsonWriter)
Definition: tabview.cxx:2604
void CheckSelectionTransfer()
Definition: tabview3.cxx:472
void AddWindowToForeignEditView(SfxViewShell *pViewShell, ScSplitPos eWhich)
Definition: tabview3.cxx:2036
void ScrollY(tools::Long nDeltaY, ScVSplitPos eWhich, bool bUpdBars=true)
Definition: tabview.cxx:1235
bool bDragging
Definition: tabview.hxx:212
ScHeaderFunctionSet aHdrFunc
Definition: tabview.hxx:128
bool IsDrawTextEdit() const
Definition: tabview5.cxx:401
void MoveCursorArea(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, bool bShift, bool bKeepSel=false)
Definition: tabview3.cxx:1329
void MoveCursorRel(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, bool bShift, bool bKeepSel=false)
Definition: tabview3.cxx:1263
void ActiveGrabFocus()
Definition: tabview.cxx:901
Timer aScrollTimer
Definition: tabview.hxx:168
void StopMarking()
Definition: tabview2.cxx:1372
VclPtr< ScCornerButton > aCornerButton
Definition: tabview.hxx:154
FuPoor * GetDrawFuncPtr()
Definition: tabview.hxx:321
bool bBlockNeg
Definition: tabview.hxx:213
VclPtr< ScTabSplitter > pVSplitter
Definition: tabview.hxx:148
bool bInActivatePart
Definition: tabview.hxx:207
ScRefType
Mouse mode to select areas.
Definition: viewdata.hxx:55
void ZoomChanged()
Definition: tabview3.cxx:3008
QPRO_FUNC_TYPE nType
Definition: qproform.cxx:400
static void OnLOKNoteStateChanged(const ScPostIt *pNote)
Definition: tabview5.cxx:655
ScViewData * pViewData
Definition: tabview.hxx:69
void GetPageMoveEndPosition(SCCOL nMovX, SCROW nMovY, SCCOL &rPageX, SCROW &rPageY)
Definition: tabview2.cxx:600
SCCOL GetLOKStartHeaderCol() const
Definition: tabview.hxx:608
void GetAreaMoveEndPosition(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, SCCOL &rAreaX, SCROW &rAreaY, ScFollowMode &rMode)
Definition: tabview2.cxx:650
ScViewSelectionEngine * GetSelEngine()
Definition: tabview.hxx:337
bool bDrawSelMode
Definition: tabview.hxx:210
PointerStyle
std::array< VclPtr< ScColBar >, 2 > pColBar
Definition: tabview.hxx:143
std::unique_ptr< ScViewSelectionEngine > pSelEngine
Definition: tabview.hxx:124
void AlignToCursor(SCCOL nCurX, SCROW nCurY, ScFollowMode eMode, const ScSplitPos *pWhich=nullptr)
Definition: tabview3.cxx:914
void HideListBox()
Definition: tabview3.cxx:2962
void ShowCursor()
Definition: tabview3.cxx:244
void UpdateAnchorHandles()
Definition: tabview5.cxx:484
void SelectNextTab(short nDir, bool bExtendSelection)
Definition: tabview3.cxx:1751
void SetZoomType(SvxZoomType eNew, bool bAll)
Definition: tabview5.cxx:414
VclPtr< vcl::Window > pFrameWin
Definition: tabview.hxx:121
ScExtraEditViewManager aExtraEditViewManager
Definition: tabview.hxx:172
SCCOL nOldCurX
Definition: tabview.hxx:195
Point GetInsertPos() const
Definition: tabview.cxx:1669
std::array< VclPtr< ScOutlineWindow >, 2 > pRowOutline
Definition: tabview.hxx:146
void SkipCursorHorizontal(SCCOL &rCurX, SCROW &rCurY, SCCOL nOldX, SCCOL nMovX)
Definition: tabview2.cxx:728
Point GetChartDialogPos(const Size &rDialogSize, const tools::Rectangle &rLogicChart)
Definition: tabview.cxx:1804
void UpdateDrawTextOutliner()
Definition: tabview5.cxx:523
ScViewData aViewData
Definition: tabview.hxx:122
SvxZoomType
void UpdateRef(SCCOL nCurX, SCROW nCurY, SCTAB nCurZ)
Definition: tabview4.cxx:186
std::unique_ptr< ScDrawView > pDrawView
Definition: tabview.hxx:130
FuPoor * GetDrawFuncOldPtr()
Definition: tabview.hxx:322
VclPtr< ScGridWindow > pTimerWindow
Definition: tabview.hxx:169
void PaintTopArea(SCCOL nStartCol, SCCOL nEndCol)
Definition: tabview3.cxx:2657
ScTabView(const ScTabView &)=delete
make noncopyable
void UpdateLayerLocks()
Definition: tabview5.cxx:347
void MarkColumns()
Definition: tabview3.cxx:1563
TriState
void MarkCursor(SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, bool bCols=false, bool bRows=false, bool bCellSelection=false)
Definition: tabview2.cxx:449
double GetPendingRelTabBarWidth() const
Returns the pending tab bar width relative to the frame window width (0.0 ...
Definition: tabview.hxx:309
Point GetGridOffset() const
Definition: tabview.cxx:918
Point GetMousePosPixel()
Definition: tabview.cxx:1901
void SetTabBarWidth(tools::Long nNewWidth)
Sets an absolute tab bar width (in pixels).
Definition: tabview.cxx:853
SCROW nBlockStartY
Definition: tabview.hxx:188
void DoResize(const Point &rOffset, const Size &rSize, bool bInner=false)
Definition: tabview.cxx:277
void MarkMatrixFormula()
Definition: tabview3.cxx:1674
void ExpandBlockPage(SCCOL nMovX, SCROW nMovY)
Definition: tabview2.cxx:962
SC_DLLPUBLIC void CellContentChanged()
Definition: tabview3.cxx:512
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
void UpdatePageBreakData(bool bForcePaint=false)
Definition: tabview2.cxx:1446
void SetDrawBrushSet(std::unique_ptr< SfxItemSet > pNew, bool bLock)
Definition: tabview5.cxx:636
ScViewFunctionSet aFunctionSet
Definition: tabview.hxx:125
SCROW nBlockEndY
Definition: tabview.hxx:190
void SplitAtPixel(const Point &rPixel)
Definition: tabview.cxx:2096
bool bMoveIsShift
Definition: tabview.hxx:209
void InitBlockMode(SCCOL nCurX, SCROW nCurY, SCTAB nCurZ, bool bTestNeg=false, bool bCols=false, bool bRows=false, bool bForceNeg=false)
Definition: tabview2.cxx:353
bool IsMarking(SCCOL nCol, SCROW nRow, SCTAB nTab) const
Definition: tabview2.cxx:324
sal_Int16 SCTAB
Definition: types.hxx:22
bool MoveCursorKeyInput(const KeyEvent &rKeyEvent)
Definition: tabview3.cxx:1461
void ShowAllCursors()
Definition: tabview3.cxx:232
void MakeDrawView(TriState nForceDesignMode)
Definition: tabview5.cxx:229
void SetDrawSelMode(bool bNew)
Definition: tabview.hxx:317
void SetMarkData(const ScMarkData &rNew)
Definition: tabview3.cxx:1735
ScCornerButton(vcl::Window *pParent, ScViewData *pData)
Definition: tabview.cxx:77
static void SetScrollBar(ScrollBar &rScroll, tools::Long nRangeMax, tools::Long nVisible, tools::Long nPos, bool bLayoutRTL)
Definition: tabview4.cxx:343
void Init()
Definition: tabview5.cxx:60