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