LibreOffice Module sc (master) 1
Classes | Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
ScGridWindow Class Reference

#include <gridwin.hxx>

Inheritance diagram for ScGridWindow:
[legend]
Collaboration diagram for ScGridWindow:
[legend]

Classes

struct  LOKCursorEntry
 
struct  MouseEventState
 
struct  VisibleRange
 Stores current visible column and row ranges, used to avoid expensive operations on objects that are outside visible area. More...
 

Public Types

enum class  AutoFilterMode {
  Normal ,
  Empty ,
  NonEmpty ,
  Top10 ,
  Bottom10 ,
  Custom ,
  TextColor ,
  BackgroundColor ,
  SortAscending ,
  SortDescending ,
  Clear
}
 

Public Member Functions

 ScGridWindow (vcl::Window *pParent, ScViewData &rData, ScSplitPos eWhichPos)
 
virtual ~ScGridWindow () override
 
virtual void dispose () override
 
virtual void KeyInput (const KeyEvent &rKEvt) override
 
rtl::Reference< sdr::overlay::OverlayManagergetOverlayManager () const
 
void flushOverlayManager ()
 
virtual OUString GetSurroundingText () const override
 
virtual Selection GetSurroundingTextSelection () const override
 
virtual bool DeleteSurroundingText (const Selection &rSelection) override
 
virtual void Command (const CommandEvent &rCEvt) override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
virtual bool PreNotify (NotifyEvent &rNEvt) override
 
virtual void Tracking (const TrackingEvent &rTEvt) override
 
void PaintTile (VirtualDevice &rDevice, int nOutputWidth, int nOutputHeight, int nTilePosX, int nTilePosY, tools::Long nTileWidth, tools::Long nTileHeight, SCCOL nTiledRenderingAreaEndCol, SCROW nTiledRenderingAreaEndRow)
 
void LogicInvalidate (const tools::Rectangle *pRectangle) override
 
void SetCellSelectionPixel (int nType, int nPixelX, int nPixelY)
 Update the cell selection according to what handles have been dragged. More...
 
void GetCellSelection (std::vector< tools::Rectangle > &rLogicRects)
 Get the cell selection, coordinates are in logic units. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
void FakeButtonUp ()
 
const PointGetMousePosPixel () const
 
void UpdateStatusPosSize ()
 
void ClickExtern ()
 
void MoveMouseStatus (ScGridWindow &rDestWin)
 
void ScrollPixel (tools::Long nDifX, tools::Long nDifY)
 
void UpdateEditViewPos ()
 
void UpdateFormulas (SCCOL nX1=-1, SCROW nY1=-1, SCCOL nX2=-1, SCROW nY2=-1)
 
void ShowFilterMenu (weld::Window *pParent, const tools::Rectangle &rCellRect, bool bLayoutRTL)
 
void LaunchDataSelectMenu (SCCOL nCol, SCROW nRow)
 
void DoScenarioMenu (const ScRange &rScenRange)
 
void LaunchAutoFilterMenu (SCCOL nCol, SCROW nRow)
 
void RefreshAutoFilterButton (const ScAddress &rPos)
 
void UpdateAutoFilterFromMenu (AutoFilterMode eMode)
 
void LaunchPageFieldMenu (SCCOL nCol, SCROW nRow)
 
void LaunchDPFieldMenu (SCCOL nCol, SCROW nRow)
 
css::sheet::DataPilotFieldOrientation GetDPFieldOrientation (SCCOL nCol, SCROW nRow) const
 
void DPLaunchFieldPopupMenu (const Point &rScrPos, const Size &rScrSize, tools::Long nDimIndex, ScDPObject *pDPObj)
 
void DrawButtons (SCCOL nX1, SCCOL nX2, const ScTableInfo &rTabInfo, OutputDevice *pContentDev, const ScLokRTLContext *pLokRTLContext)
 
void Draw (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMode eMode)
 
void DrawContent (OutputDevice &rDevice, const ScTableInfo &rTableInfo, ScOutputData &aOutputData, bool bLogicText)
 Draw content of the gridwindow; shared between the desktop and the tiled rendering. More...
 
void CreateAnchorHandle (SdrHdlList &rHdl, const ScAddress &rAddress)
 
void HideCursor ()
 
void ShowCursor ()
 
void UpdateAutoFillMark (bool bMarked, const ScRange &rMarkRange)
 
void UpdateListValPos (bool bVisible, const ScAddress &rPos)
 
bool ShowNoteMarker (SCCOL nPosX, SCROW nPosY, bool bKeyboard)
 
void HideNoteMarker ()
 
MapMode GetDrawMapMode (bool bForce=false)
 MapMode for the drawinglayer objects. More...
 
void StopMarking ()
 
void UpdateInputContext ()
 
bool NeedsRepaint () const
 
void DoInvertRect (const tools::Rectangle &rPixel)
 
void CheckNeedsRepaint ()
 
void UpdateDPPopupMenuForFieldChange ()
 
void UpdateDPFromFieldPopupMenu ()
 
bool UpdateVisibleRange ()
 
void CursorChanged ()
 
void DrawLayerCreated ()
 
void SetAutoSpellContext (const std::shared_ptr< sc::SpellCheckContext > &ctx)
 
void ResetAutoSpell ()
 
void ResetAutoSpellForContentChange ()
 
void SetAutoSpellData (SCCOL nPosX, SCROW nPosY, const std::vector< editeng::MisspellRanges > *pRanges)
 
const std::vector< editeng::MisspellRanges > * GetAutoSpellData (SCCOL nPosX, SCROW nPosY)
 
bool InsideVisibleRange (SCCOL nPosX, SCROW nPosY)
 
void UpdateSparklineGroupOverlay ()
 
void DeleteSparklineGroupOverlay ()
 
void DeleteCopySourceOverlay ()
 
void UpdateCopySourceOverlay ()
 
void DeleteCursorOverlay ()
 
void UpdateCursorOverlay ()
 
void DeleteSelectionOverlay ()
 
void UpdateSelectionOverlay ()
 
void DeleteAutoFillOverlay ()
 
void UpdateAutoFillOverlay ()
 
void DeleteDragRectOverlay ()
 
void UpdateDragRectOverlay ()
 
void DeleteHeaderOverlay ()
 
void UpdateHeaderOverlay ()
 
void DeleteShrinkOverlay ()
 
void UpdateShrinkOverlay ()
 
void UpdateAllOverlays ()
 
OString getCellCursor () const
 get Cell cursor in this view's co-ordinate system More...
 
void notifyKitCellCursor () const
 
void notifyKitCellViewCursor (const SfxViewShell *pForShell) const
 
void updateKitCellCursor (const SfxViewShell *pOtherShell) const
 
void updateKitOtherCursors () const
 notify this view with new positions for other view's cursors (after zoom) More...
 
void updateOtherKitSelections () const
 Fetch the selection ranges for other views into the LibreOfficeKit selection, map them into our view co-ordinates and send to our view. More...
 
void notifyKitCellFollowJump () const
 
ScViewDatagetViewData ()
 
virtual FactoryFunction GetUITestFactory () const override
 
void updateLOKValListButton (bool bVisible, const ScAddress &rPos) const
 
void updateLOKInputHelp (const OUString &title, const OUString &content) const
 
void initiatePageBreaks ()
 
- Public Member Functions inherited from vcl::DocWindow
virtual void SetPointer (PointerStyle) override
 
- Public Member Functions inherited from vcl::Window
 DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void)
 
SAL_DLLPRIVATE vcl::WindowImplGetFrameWindow () const
 
weld::WindowGetFrameWeld () const
 
vcl::WindowGetFrameWindow () const
 
SalFrameImplGetFrame () const
 
SAL_DLLPRIVATE ImplFrameDataImplGetFrameData ()
 
vcl::WindowImplGetWindow () const
 
SAL_DLLPRIVATE ImplWinDataImplGetWinData () const
 
SAL_DLLPRIVATE vcl::WindowImplGetClientWindow () const
 
SAL_DLLPRIVATE vcl::WindowImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr)
 
SAL_DLLPRIVATE vcl::WindowImplGetParent () const
 
SAL_DLLPRIVATE vcl::WindowImplFindWindow (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE bool ImplSetClipFlag (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE bool ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsFloatingWindow () const
 
SAL_DLLPRIVATE bool ImplIsPushButton () const
 
SAL_DLLPRIVATE bool ImplIsSplitter () const
 
SAL_DLLPRIVATE bool ImplIsOverlapWindow () const
 
SAL_DLLPRIVATE void ImplIsInTaskPaneList (bool mbIsInTaskList)
 
SAL_DLLPRIVATE WindowImplImplGetWindowImpl () const
 
SAL_DLLPRIVATE void ImplGrabFocus (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplGrabFocusToDocument (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvertFocus (const tools::Rectangle &rRect)
 
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer () const
 
SAL_DLLPRIVATE void ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false)
 
SAL_DLLPRIVATE void ImplGenerateMouseMove ()
 
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE void ImplNotifyIconifiedState (bool bIconified)
 
SAL_DLLPRIVATE void ImplUpdateAll ()
 
SAL_DLLPRIVATE void ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE)
 
SAL_DLLPRIVATE void ImplMirrorFramePos (Point &pt) const
 
SAL_DLLPRIVATE void ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
 
SAL_DLLPRIVATE void ImplCallResize ()
 
SAL_DLLPRIVATE void ImplCallMove ()
 
SAL_DLLPRIVATE void CompatGetFocus ()
 
SAL_DLLPRIVATE void CompatLoseFocus ()
 
SAL_DLLPRIVATE void CompatStateChanged (StateChangedType nStateChange)
 
SAL_DLLPRIVATE void CompatDataChanged (const DataChangedEvent &rDCEvt)
 
SAL_DLLPRIVATE bool CompatPreNotify (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE bool CompatNotify (NotifyEvent &rNEvt)
 
void IncModalCount ()
 
void DecModalCount ()
 
 Window (vcl::Window *pParent, WinBits nStyle=0)
 
virtual ~Window () override
 
::OutputDevice const * GetOutDev () const
 
::OutputDeviceGetOutDev ()
 
Color GetBackgroundColor () const
 
const WallpaperGetBackground () const
 
bool IsBackground () const
 
const MapModeGetMapMode () const
 
void SetBackground ()
 
void SetBackground (const Wallpaper &rBackground)
 
virtual void MouseMove (const MouseEvent &rMEvt)
 
virtual void MouseButtonDown (const MouseEvent &rMEvt)
 
virtual void MouseButtonUp (const MouseEvent &rMEvt)
 
virtual void KeyInput (const KeyEvent &rKEvt)
 
virtual void KeyUp (const KeyEvent &rKEvt)
 
virtual void PrePaint (vcl::RenderContext &rRenderContext)
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
virtual void PostPaint (vcl::RenderContext &rRenderContext)
 
void Erase (vcl::RenderContext &rRenderContext)
 
virtual void Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
 
virtual void Move ()
 
virtual void Resize ()
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void RequestHelp (const HelpEvent &rHEvt)
 
virtual void Command (const CommandEvent &rCEvt)
 
virtual void Tracking (const TrackingEvent &rTEvt)
 
virtual void StateChanged (StateChangedType nStateChange)
 
virtual void DataChanged (const DataChangedEvent &rDCEvt)
 
virtual bool PreNotify (NotifyEvent &rNEvt)
 
virtual bool EventNotify (NotifyEvent &rNEvt)
 
void AddEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
ImplSVEventPostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
 
void RemoveUserEvent (ImplSVEvent *nUserEvent)
 
LanguageType GetInputLanguage () const
 
void SetStyle (WinBits nStyle)
 
WinBits GetStyle () const
 
WinBits GetPrevStyle () const
 
void SetExtendedStyle (WindowExtendedStyle nExtendedStyle)
 
WindowExtendedStyle GetExtendedStyle () const
 
void SetType (WindowType nType)
 
WindowType GetType () const
 
bool IsSystemWindow () const
 
bool IsDockingWindow () const
 
bool IsDialog () const
 
bool IsMenuFloatingWindow () const
 
bool IsToolbarFloatingWindow () const
 
bool IsTopWindow () const
 
SystemWindowGetSystemWindow () const
 
bool SupportsDoubleBuffering () const
 
void RequestDoubleBuffering (bool bRequest)
 
void EnableAllResize ()
 
void SetBorderStyle (WindowBorderStyle nBorderStyle)
 
WindowBorderStyle GetBorderStyle () const
 
void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const
 
Size CalcWindowSize (const Size &rOutSz) const
 
Size CalcOutputSize (const Size &rWinSz) const
 
tools::Long CalcTitleWidth () const
 
void EnableClipSiblings (bool bClipSiblings=true)
 
void EnableChildTransparentMode (bool bEnable=true)
 
bool IsChildTransparentModeEnabled () const
 
void SetMouseTransparent (bool bTransparent)
 
bool IsMouseTransparent () const
 
void SetPaintTransparent (bool bTransparent)
 
bool IsPaintTransparent () const
 
void SetDialogControlStart (bool bStart)
 
bool IsDialogControlStart () const
 
void SetDialogControlFlags (DialogControlFlags nFlags)
 
DialogControlFlags GetDialogControlFlags () const
 
PointerState GetPointerState ()
 
bool IsMouseOver () const
 
void SetInputContext (const InputContext &rInputContext)
 
const InputContextGetInputContext () const
 
void PostExtTextInputEvent (VclEventId nType, const OUString &rText)
 
void EndExtTextInput ()
 
void SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0)
 
const tools::RectangleGetCursorRect () const
 
tools::Long GetCursorExtTextInputWidth () const
 
void SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false)
 
void UpdateSettings (const AllSettings &rSettings, bool bChild=false)
 
void NotifyAllChildren (DataChangedEvent &rDCEvt)
 
void SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
vcl::Font GetPointFont (vcl::RenderContext const &rRenderContext) const
 
void SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
tools::Long GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const
 
vcl::Font GetDrawPixelFont (::OutputDevice const *pDev) const
 
void SetControlFont ()
 
void SetControlFont (const vcl::Font &rFont)
 
vcl::Font GetControlFont () const
 
bool IsControlFont () const
 
void ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont)
 
void SetControlForeground ()
 
void SetControlForeground (const Color &rColor)
 
const ColorGetControlForeground () const
 
bool IsControlForeground () const
 
void ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetControlBackground ()
 
void SetControlBackground (const Color &rColor)
 
const ColorGetControlBackground () const
 
bool IsControlBackground () const
 
void ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE)
 
ParentClipMode GetParentClipMode () const
 
void SetWindowRegionPixel ()
 
void SetWindowRegionPixel (const vcl::Region &rRegion)
 
vcl::Region GetWindowClipRegionPixel () const
 
vcl::Region GetPaintRegion () const
 
bool IsInPaint () const
 
void ExpandPaintClipRegion (const vcl::Region &rRegion)
 
void SetParent (vcl::Window *pNewParent)
 
vcl::WindowGetParent () const
 
DialogGetParentDialog () const
 
bool IsAncestorOf (const vcl::Window &rWindow) const
 
void Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
 
void Hide ()
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsReallyShown () const
 
bool IsInInitShow () const
 
void Enable (bool bEnable=true, bool bChild=true)
 
void Disable (bool bChild=true)
 
bool IsEnabled () const
 
void EnableInput (bool bEnable=true, bool bChild=true)
 
void EnableInput (bool bEnable, const vcl::Window *pExcludeWindow)
 
bool IsInputEnabled () const
 
void AlwaysEnableInput (bool bAlways, bool bChild=true)
 
bool IsAlwaysEnableInput () const
 
bool IsInModalMode () const
 
void SetActivateMode (ActivateModeFlags nMode)
 
ActivateModeFlags GetActivateMode () const
 
void ToTop (ToTopFlags nFlags=ToTopFlags::NONE)
 
void SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags)
 
void EnableAlwaysOnTop (bool bEnable=true)
 
bool IsAlwaysOnTopEnabled () const
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
 
virtual void SetPosPixel (const Point &rNewPos)
 
virtual Point GetPosPixel () const
 
virtual void SetSizePixel (const Size &rNewSize)
 
virtual Size GetSizePixel () const
 
virtual void SetPosSizePixel (const Point &rNewPos, const Size &rNewSize)
 
virtual void SetOutputSizePixel (const Size &rNewSize)
 
bool IsDefaultPos () const
 
bool IsDefaultSize () const
 
Point GetOffsetPixelFrom (const vcl::Window &rWindow) const
 
Point OutputToScreenPixel (const Point &rPos) const
 
Point ScreenToOutputPixel (const Point &rPos) const
 
Point OutputToNormalizedScreenPixel (const Point &rPos) const
 
Point NormalizedScreenToOutputPixel (const Point &rPos) const
 
Point OutputToAbsoluteScreenPixel (const Point &rPos) const
 
Point AbsoluteScreenToOutputPixel (const Point &rPos) const
 
tools::Rectangle GetDesktopRectPixel () const
 
tools::Rectangle GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const
 
tools::Rectangle GetWindowExtentsAbsolute () const
 
bool IsScrollable () const
 
virtual void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
 
void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void LogicInvalidate (const tools::Rectangle *pRectangle)
 
virtual void PixelInvalidate (const tools::Rectangle *pRectangle)
 
void Validate ()
 
bool HasPaintEvent () const
 
void PaintImmediately ()
 
void EnableDocking (bool bEnable=true)
 
void EnablePaint (bool bEnable)
 
bool IsPaintEnabled () const
 
void SetUpdateMode (bool bUpdate)
 
bool IsUpdateMode () const
 
void SetParentUpdateMode (bool bUpdate)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildPathFocus (bool bSystemWindow=false) const
 
bool IsActive () const
 
bool HasActiveChildFrame () const
 
GetFocusFlags GetGetFocusFlags () const
 
void GrabFocusToDocument ()
 
VclPtr< vcl::WindowGetFocusedWindow () const
 
void SetFakeFocus (bool bFocus)
 
bool IsCompoundControl () const
 
void LocalStartDrag ()
 
void CaptureMouse ()
 
void ReleaseMouse ()
 
bool IsMouseCaptured () const
 
virtual void SetPointer (PointerStyle)
 
PointerStyle GetPointer () const
 
void EnableChildPointerOverwrite (bool bOverwrite)
 
void SetPointerPosPixel (const Point &rPos)
 
Point GetPointerPosPixel ()
 
Point GetLastPointerPosPixel ()
 
void SetLastMousePos (const Point &rPos)
 
void ShowPointer (bool bVisible)
 
void EnterWait ()
 
void LeaveWait ()
 
bool IsWait () const
 
void SetCursor (vcl::Cursor *pCursor)
 
vcl::CursorGetCursor () const
 
void SetZoom (const Fraction &rZoom)
 
const FractionGetZoom () const
 
bool IsZoom () const
 
tools::Long CalcZoom (tools::Long n) const
 
virtual void SetText (const OUString &rStr)
 
virtual OUString GetText () const
 
virtual OUString GetDisplayText () const
 
virtual const WallpaperGetDisplayBackground () const
 
void SetHelpText (const OUString &rHelpText)
 
const OUString & GetHelpText () const
 
void SetQuickHelpText (const OUString &rHelpText)
 
const OUString & GetQuickHelpText () const
 
void SetHelpId (const OUString &)
 
const OUString & GetHelpId () const
 
sal_uInt16 GetChildCount () const
 
vcl::WindowGetChild (sal_uInt16 nChild) const
 
vcl::WindowGetWindow (GetWindowType nType) const
 
bool IsChild (const vcl::Window *pWindow) const
 
bool IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE void CollectChildren (::std::vector< vcl::Window * > &rAllChildren)
 
virtual void ShowFocus (const tools::Rectangle &rRect)
 
void HideFocus ()
 
void DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
 
void ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
 
void HideTracking ()
 
void InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags)
 
void StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE)
 
void EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE)
 
bool IsTracking () const
 
void StartAutoScroll (StartAutoScrollFlags nFlags)
 
void EndAutoScroll ()
 
bool HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl)
 
virtual const SystemEnvDataGetSystemData () const
 
virtual css::uno::Reference< css::awt::XVclWindowPeer > GetComponentInterface (bool bCreate=true)
 
void SetComponentInterface (css::uno::Reference< css::awt::XVclWindowPeer > const &xIFace)
 
void SetUseFrameData (bool bUseFrameData)
 
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
 
const vcl::ILibreOfficeKitNotifierGetLOKNotifier () const
 
vcl::LOKWindowId GetLOKWindowId () const
 
VclPtr< vcl::WindowGetParentWithLOKNotifier ()
 
void ReleaseLOKNotifier ()
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
void RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect)
 
VCLXWindowGetWindowPeer () const
 
void SetWindowPeer (css::uno::Reference< css::awt::XVclWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow)
 
bool IsCreatedWithToolkit () const
 
void SetCreatedWithToolkit (bool b)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::dnd::XDragSource > GetDragSource ()
 
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > GetDragGestureRecognizer ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard ()
 
void SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard)
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout)
 
void set_height_request (sal_Int32 nHeightRequest)
 
sal_Int32 get_height_request () const
 
void set_width_request (sal_Int32 nWidthRequest)
 
sal_Int32 get_width_request () const
 
Size get_preferred_size () const
 
VclAlign get_halign () const
 
void set_halign (VclAlign eAlign)
 
VclAlign get_valign () const
 
void set_valign (VclAlign eAlign)
 
bool get_hexpand () const
 
void set_hexpand (bool bExpand)
 
bool get_vexpand () const
 
void set_vexpand (bool bExpand)
 
bool get_expand () const
 
void set_expand (bool bExpand)
 
bool get_fill () const
 
void set_fill (bool bFill)
 
void set_border_width (sal_Int32 nBorderWidth)
 
sal_Int32 get_border_width () const
 
void set_margin_start (sal_Int32 nWidth)
 
sal_Int32 get_margin_start () const
 
void set_margin_end (sal_Int32 nWidth)
 
sal_Int32 get_margin_end () const
 
void set_margin_top (sal_Int32 nWidth)
 
sal_Int32 get_margin_top () const
 
void set_margin_bottom (sal_Int32 nWidth)
 
sal_Int32 get_margin_bottom () const
 
VclPackType get_pack_type () const
 
void set_pack_type (VclPackType ePackType)
 
sal_Int32 get_padding () const
 
void set_padding (sal_Int32 nPadding)
 
sal_Int32 get_grid_width () const
 
void set_grid_width (sal_Int32 nCols)
 
sal_Int32 get_grid_left_attach () const
 
void set_grid_left_attach (sal_Int32 nAttach)
 
sal_Int32 get_grid_height () const
 
void set_grid_height (sal_Int32 nRows)
 
sal_Int32 get_grid_top_attach () const
 
void set_grid_top_attach (sal_Int32 nAttach)
 
bool get_secondary () const
 
void set_secondary (bool bSecondary)
 
bool get_non_homogeneous () const
 
void set_non_homogeneous (bool bNonHomogeneous)
 
virtual bool set_property (const OUString &rKey, const OUString &rValue)
 
bool set_font_attribute (const OUString &rKey, std::u16string_view rValue)
 
void add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup)
 
void remove_from_all_size_groups ()
 
void add_mnemonic_label (FixedText *pLabel)
 
void remove_mnemonic_label (FixedText *pLabel)
 
const std::vector< VclPtr< FixedText > > & list_mnemonic_labels () const
 
void reorderWithinParent (sal_uInt16 nNewPosition)
 
void set_id (const OUString &rID)
 
const OUString & get_id () const
 
void EnableNativeWidget (bool bEnable=true)
 
bool IsNativeWidgetEnabled () const
 
void PaintToDevice (::OutputDevice *pDevice, const Point &rPos)
 
KeyIndicatorState GetIndicatorState () const
 
void SimulateKeyPress (sal_uInt16 nKeyCode) const
 
virtual OUString GetSurroundingText () const
 
virtual Selection GetSurroundingTextSelection () const
 
virtual bool DeleteSurroundingText (const Selection &rSelection)
 
virtual FactoryFunction GetUITestFactory () const
 
virtual bool IsChart () const
 
virtual bool IsStarMath () const
 
void SetHelpHdl (const Link< vcl::Window &, bool > &rLink)
 
void SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink)
 
void SetModalHierarchyHdl (const Link< bool, void > &rLink)
 
void SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink)
 
Size GetOutputSizePixel () const
 
tools::Rectangle GetOutputRectPixel () const
 
Point LogicToPixel (const Point &rLogicPt) const
 
Size LogicToPixel (const Size &rLogicSize) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect) const
 
vcl::Region LogicToPixel (const vcl::Region &rLogicRegion) const
 
Point LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const
 
Size LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const
 
Point PixelToLogic (const Point &rDevicePt) const
 
Size PixelToLogic (const Size &rDeviceSize) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect) const
 
tools::PolyPolygon PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const
 
vcl::Region PixelToLogic (const vcl::Region &rDeviceRegion) const
 
Point PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const
 
Size PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const
 
Size LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
const AllSettingsGetSettings () const
 
void SetSettings (const AllSettings &rSettings)
 
void SetSettings (const AllSettings &rSettings, bool bChild)
 
tools::Rectangle GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
 
float GetDPIScaleFactor () const
 
tools::Long GetOutOffXPixel () const
 
tools::Long GetOutOffYPixel () const
 
void EnableMapMode (bool bEnable=true)
 
bool IsMapModeEnabled () const
 
void SetMapMode ()
 
void SetMapMode (const MapMode &rNewMapMode)
 
virtual void EnableRTL (bool bEnable=true)
 
bool IsRTLEnabled () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
tools::Long GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
tools::Long GetTextHeight () const
 
float approximate_digit_width () const
 
void SetTextColor (const Color &rColor)
 
const ColorGetTextColor () const
 
void SetTextFillColor ()
 
void SetTextFillColor (const Color &rColor)
 
Color GetTextFillColor () const
 
bool IsTextFillColor () const
 
void SetTextLineColor ()
 
void SetTextLineColor (const Color &rColor)
 
const ColorGetTextLineColor () const
 
bool IsTextLineColor () const
 
void SetOverlineColor ()
 
void SetOverlineColor (const Color &rColor)
 
const ColorGetOverlineColor () const
 
bool IsOverlineColor () const
 
void SetTextAlign (TextAlign eAlign)
 
TextAlign GetTextAlign () const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
css::uno::Reference< css::accessibility::XAccessible > GetAccessible (bool bCreate=true)
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
void SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &)
 
vcl::WindowGetAccessibleParentWindow () const
 
sal_uInt16 GetAccessibleChildWindowCount ()
 
vcl::WindowGetAccessibleChildWindow (sal_uInt16 n)
 
void SetAccessibleRole (sal_uInt16 nRole)
 
sal_uInt16 GetAccessibleRole () const
 
void SetAccessibleName (const OUString &rName)
 
OUString GetAccessibleName () const
 
void SetAccessibleDescription (const OUString &rDescr)
 
OUString GetAccessibleDescription () const
 
void SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy)
 
vcl::WindowGetAccessibleRelationLabeledBy () const
 
void SetAccessibleRelationLabelFor (vcl::Window *pLabelFor)
 
vcl::WindowGetAccessibleRelationLabelFor () const
 
vcl::WindowGetAccessibleRelationMemberOf () const
 
bool IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true)
 
void SetAccessibilityEventsSuppressed (bool bSuppressed)
 
KeyEvent GetActivationKey () const
 
- Public Member Functions inherited from VclReferenceBase
void acquire () const
 
void release () const
 
sal_Int32 getRefCount () const
 
void disposeOnce ()
 
bool isDisposed () const
 

Protected Member Functions

virtual void PrePaint (vcl::RenderContext &rRenderContext) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void GetFocus () override
 
virtual void LoseFocus () override
 
virtual void RequestHelp (const HelpEvent &rEvt) override
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt) override
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt) override
 
virtual void StartDrag (sal_Int8 nAction, const Point &rPosPixel) override
 
void ImpCreateOverlayObjects ()
 
void ImpDestroyOverlayObjects ()
 
- Protected Member Functions inherited from vcl::Window
virtual void dispose () override
 
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
 
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplValidate ()
 
SAL_DLLPRIVATE void ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE vcl::WindowImplGetBorderWindow () const
 
virtual void ImplInvalidate (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
virtual WindowHitTest ImplHitTest (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplSetMouseTransparent (bool bTransparent)
 
SAL_DLLPRIVATE void ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags)
 
SAL_DLLPRIVATE bool ImplSetClipFlagChildren (bool bSysObjOnlySmaller)
 
SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE void PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE void PopPaintHelper (PaintHelper const *pHelper)
 
 Window (WindowType nType)
 
void SetCompoundControl (bool bCompound)
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
virtual void ImplAdjustNWFSizes ()
 
virtual void ApplySettings (vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE float approximate_char_width () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationMemberOf () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabeledBy () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabelFor () const
 
virtual vcl::WindowgetAccessibleRelationLabelFor () const
 
virtual sal_uInt16 getDefaultAccessibleRole () const
 
virtual OUString getDefaultAccessibleName () const
 
virtual Size GetOptimalSize () const
 
void InvalidateSizeCache ()
 
- Protected Member Functions inherited from VclReferenceBase
 VclReferenceBase ()
 
virtual ~VclReferenceBase ()
 
virtual void dispose ()
 

Private Types

enum  RfCorner {
  NONE ,
  LEFT_UP ,
  RIGHT_UP ,
  LEFT_DOWN ,
  RIGHT_DOWN
}
 
enum class  ScNestedButtonState {
  NONE ,
  Down ,
  Up
}
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (PopupModeEndHdl, weld::Popover &, void)
 
 DECL_DLLPRIVATE_LINK (PopupSpellingHdl, SpellCallbackInfo &, void)
 
bool TestMouse (const MouseEvent &rMEvt, bool bAction)
 
bool DoPageFieldSelection (SCCOL nCol, SCROW nRow)
 
bool DoAutoFilterButton (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt)
 
void DoPushPivotButton (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt, bool bButton, bool bPopup, bool bMultiField)
 
void DoPushPivotToggle (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt)
 
void DPMouseMove (const MouseEvent &rMEvt)
 
void DPMouseButtonUp (const MouseEvent &rMEvt)
 
void DPTestMouse (const MouseEvent &rMEvt, bool bMove)
 
bool DPTestFieldPopupArrow (const MouseEvent &rMEvt, const ScAddress &rPos, const ScAddress &rDimPos, ScDPObject *pDPObj)
 Check if the mouse click is on a field popup button. More...
 
bool DPTestMultiFieldPopupArrow (const MouseEvent &rMEvt, const ScAddress &rPos, ScDPObject *pDPObj)
 
void DPPopulateFieldMembers (const ScDPLabelData &rLabelData)
 
void DPSetupFieldPopup (std::unique_ptr< ScCheckListMenuControl::ExtendedData > pDPData, bool bDimOrientNotPage, ScDPObject *pDPObj, bool bMultiField=false)
 
void DPConfigFieldPopup ()
 
void DPLaunchFieldPopupMenu (const Point &rScrPos, const Size &rScrSize, const ScAddress &rPos, ScDPObject *pDPObj)
 
void DPLaunchMultiFieldPopupMenu (const Point &rScrPos, const Size &rScrSize, ScDPObject *pDPObj, css::sheet::DataPilotFieldOrientation nOrient)
 
void RFMouseMove (const MouseEvent &rMEvt, bool bUp)
 
void PagebreakMove (const MouseEvent &rMEvt, bool bUp)
 
void UpdateDragRect (bool bShowRange, const tools::Rectangle &rPosRect)
 
bool IsAutoFilterActive (SCCOL nCol, SCROW nRow, SCTAB nTab)
 
void FilterSelect (sal_uLong nSel)
 
void ExecDataSelect (SCCOL nCol, SCROW nRow, const OUString &rStr)
 
bool HasScenarioButton (const Point &rPosPixel, ScRange &rScenRange)
 
void DropScroll (const Point &rMousePos)
 
sal_Int8 AcceptPrivateDrop (const AcceptDropEvent &rEvt, const ScDragData &rData)
 
sal_Int8 ExecutePrivateDrop (const ExecuteDropEvent &rEvt, const ScDragData &rData)
 
sal_Int8 DropTransferObj (ScTransferObj *pTransObj, SCCOL nDestPosX, SCROW nDestPosY, const Point &rLogicPos, sal_Int8 nDndAction)
 
void HandleMouseButtonDown (const MouseEvent &rMEvt, MouseEventState &rState)
 
bool DrawMouseButtonDown (const MouseEvent &rMEvt)
 
bool DrawMouseButtonUp (const MouseEvent &rMEvt)
 
bool DrawMouseMove (const MouseEvent &rMEvt)
 
bool DrawKeyInput (const KeyEvent &rKEvt, vcl::Window *pWin)
 
bool DrawCommand (const CommandEvent &rCEvt)
 
bool DrawHasMarkedObj ()
 
void DrawEndAction ()
 
void DrawMarkDropObj (SdrObject *pObj)
 
bool IsMyModel (const SdrEditView *pSdrView)
 
void DrawRedraw (ScOutputData &rOutputData, SdrLayerID nLayer)
 
void DrawSdrGrid (const tools::Rectangle &rDrawingRect, OutputDevice *pContentDev)
 
void DrawAfterScroll ()
 
tools::Rectangle GetListValButtonRect (const ScAddress &rButtonPos)
 
void DrawHiddenIndicator (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, vcl::RenderContext &rRenderContext)
 
void DrawPagePreview (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, vcl::RenderContext &rRenderContext)
 
bool GetEditUrl (const Point &rPos, OUString *pName=nullptr, OUString *pUrl=nullptr, OUString *pTarget=nullptr)
 
bool HitRangeFinder (const Point &rMouse, RfCorner &rCorner, sal_uInt16 *pIndex, SCCOL *pAddX, SCROW *pAddY)
 
sal_uInt16 HitPageBreak (const Point &rMouse, ScRange *pSource, SCCOLROW *pBreak, SCCOLROW *pPrev)
 
void PasteSelection (const Point &rPosPixel)
 
void SelectForContextMenu (const Point &rPosPixel, SCCOL nCellX, SCROW nCellY)
 
void GetSelectionRects (::std::vector< tools::Rectangle > &rPixelRects) const
 
void GetSelectionRectsPrintTwips (::std::vector< tools::Rectangle > &rRects) const
 
void GetPixelRectsFor (const ScMarkData &rMarkData, ::std::vector< tools::Rectangle > &rPixelRects) const
 convert rMarkData into pixel rectangles for this view More...
 
void GetRectsAnyFor (const ScMarkData &rMarkData, ::std::vector< tools::Rectangle > &rRects, bool bInPrintTwips) const
 
void UpdateKitSelection (const std::vector< tools::Rectangle > &rRectangles, std::vector< tools::Rectangle > *pLogicRects=nullptr)
 Turn the selection ranges rRectangles into the LibreOfficeKit selection, and send to other views. More...
 
bool NeedLOKCursorInvalidation (const tools::Rectangle &rCursorRect, const Fraction aScaleX, const Fraction aScaleY)
 
void InvalidateLOKViewCursor (const tools::Rectangle &rCursorRect, const Fraction aScaleX, const Fraction aScaleY)
 
void SetupInitialPageBreaks (const ScDocument &rDoc, SCTAB nTab)
 
 DECL_DLLPRIVATE_LINK (InitiatePageBreaksTimer, Timer *, void)
 
void dumpCellProperties ()
 
void dumpColumnInformationPixel ()
 
void dumpColumnInformationHmm ()
 
void dumpGraphicInformation ()
 
void dumpColumnCellStorage ()
 

Private Attributes

std::unique_ptr< sdr::overlay::OverlayObjectListmpOOCursors
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOOSelection
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOOSelectionBorder
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOOAutoFill
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOODragRect
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOOHeader
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOOShrink
 
std::unique_ptr< sdr::overlay::OverlayObjectListmpOOSparklineGroup
 
std::optional< tools::RectanglempAutoFillRect
 
std::unique_ptr< FmFormViewmpLOKDrawView
 LibreOfficeKit needs a persistent FmFormView for tiled rendering, otherwise the invalidations from drawinglayer do not work. More...
 
VisibleRange maVisibleRange
 
std::vector< LOKCursorEntrymaLOKLastCursor
 
std::shared_ptr< sc::SpellCheckContextmpSpellCheckCxt
 
ScViewDatamrViewData
 
ScSplitPos eWhich
 
ScHSplitPos eHWhich
 
ScVSplitPos eVWhich
 
std::unique_ptr< ScNoteMarker, o3tl::default_delete< ScNoteMarker > > mpNoteMarker
 
std::shared_ptr< ScFilterListBoxmpFilterBox
 
std::unique_ptr< ScCheckListMenuControlmpAutoFilterPopup
 
std::unique_ptr< ScCheckListMenuControlmpDPFieldPopup
 
std::unique_ptr< ScDPFieldButtonmpFilterButton
 
ScCheckListMenuControl::ResultType aSaveAutoFilterResult
 
sal_uInt16 nCursorHideCount
 
sal_uInt16 nButtonDown
 
sal_uInt8 nMouseStatus
 
ScNestedButtonState nNestedButtonState
 
tools::Long nDPField
 
ScDPObjectpDragDPObj
 
sal_uInt16 nRFIndex
 name? More...
 
SCCOL nRFAddX
 
SCROW nRFAddY
 
sal_uInt16 nPagebreakMouse
 
SCCOLROW nPagebreakBreak
 
SCCOLROW nPagebreakPrev
 
ScRange aPagebreakSource
 
ScRange aPagebreakDrag
 
SvtScriptType nPageScript
 
SCCOL nDragStartX
 
SCROW nDragStartY
 
SCCOL nDragEndX
 
SCROW nDragEndY
 
InsCellCmd meDragInsertMode
 
ScDDComboBoxButton aComboButton
 
Point aCurMousePos
 
sal_uInt16 nPaintCount
 
tools::Rectangle aRepaintPixel
 
ScAddress aAutoMarkPos
 
ScAddress aListValPos
 
tools::Rectangle aInvertRect
 
RfCorner aRFSelectedCorned
 
Timer maShowPageBreaksTimer
 
bool bEEMouse:1
 
bool bDPMouse:1
 
bool bRFMouse:1
 
bool bRFSize:1
 
bool bPagebreakDrawn:1
 
bool bDragRect:1
 
bool bIsInPaint:1
 
bool bNeedsRepaint:1
 
bool bAutoMarkVisible:1
 
bool bListValButton:1
 
bool bInitialPageBreaks:1
 

Friends

class ScFilterListBox
 

Additional Inherited Members

- Static Public Member Functions inherited from vcl::Window
static SAL_DLLPRIVATE void ImplInitAppFontData (vcl::Window const *pWindow)
 
static SAL_DLLPRIVATE void ImplCalcSymbolRect (tools::Rectangle &rRect)
 
static DockingManagerGetDockingManager ()
 
static VclPtr< vcl::WindowSaveFocus ()
 
static void EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin)
 
static VclPtr< vcl::WindowFindLOKWindow (vcl::LOKWindowId nWindowId)
 
static bool IsLOKWindowsEmpty ()
 

Detailed Description

Definition at line 90 of file gridwin.hxx.

Member Enumeration Documentation

◆ AutoFilterMode

enum class ScGridWindow::AutoFilterMode
strong
Enumerator
Normal 
Empty 
NonEmpty 
Top10 
Bottom10 
Custom 
TextColor 
BackgroundColor 
SortAscending 
SortDescending 
Clear 

Definition at line 336 of file gridwin.hxx.

◆ RfCorner

enum ScGridWindow::RfCorner
private
Enumerator
NONE 
LEFT_UP 
RIGHT_UP 
LEFT_DOWN 
RIGHT_DOWN 

Definition at line 95 of file gridwin.hxx.

◆ ScNestedButtonState

enum class ScGridWindow::ScNestedButtonState
strongprivate
Enumerator
NONE 
Down 
Up 

Definition at line 171 of file gridwin.hxx.

Constructor & Destructor Documentation

◆ ScGridWindow()

ScGridWindow::ScGridWindow ( vcl::Window pParent,
ScViewData rData,
ScSplitPos  eWhichPos 
)

◆ ~ScGridWindow()

ScGridWindow::~ScGridWindow ( )
overridevirtual

Definition at line 445 of file gridwin.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

◆ AcceptDrop()

sal_Int8 ScGridWindow::AcceptDrop ( const AcceptDropEvent rEvt)
overrideprotectedvirtual

◆ AcceptPrivateDrop()

sal_Int8 ScGridWindow::AcceptPrivateDrop ( const AcceptDropEvent rEvt,
const ScDragData rData 
)
private

◆ CheckNeedsRepaint()

void ScGridWindow::CheckNeedsRepaint ( )

◆ ClickExtern()

void ScGridWindow::ClickExtern ( )

Definition at line 469 of file gridwin.cxx.

References mpDPFieldPopup, and mpFilterBox.

Referenced by HandleMouseButtonDown(), and ScrollPixel().

◆ Command()

void ScGridWindow::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from vcl::Window.

Definition at line 3110 of file gridwin.cxx.

References Point::AdjustX(), Point::AdjustY(), SdrMarkView::AreObjectsMarked(), ScRefCellValue::assign(), bEEMouse, CELLTYPE_EDIT, CELLTYPE_NONE, CELLTYPE_STRING, tools::Rectangle::Center(), ScAddress::Col(), OutlinerView::Command(), EditEngine::CompleteOnlineSpelling(), ScTabViewShell::DeactivateOle(), ScTabViewShell::EnableEditHyperlink(), ScInputHandler::EnterHandler(), eWhich, SfxDispatcher::ExecutePopup(), EditView::ExecuteSpellPopup(), ScTabView::GestureZoomCommand(), SdrMarkView::GetAllMarkedBoundRect(), ScViewData::GetBindings(), CommandEvent::GetCommand(), EditView::GetCursor(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), ScInputHandler::GetEditString(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), vcl::Cursor::GetHeight(), ScModule::GetInputHdl(), SfxViewShell::GetIPClient(), ScViewData::GetMergeSizePixel(), CommandEvent::GetMousePosPixel(), vcl::Cursor::GetPos(), ScViewData::GetPosFromPixel(), ScTabView::GetScDrawView(), ScViewData::GetScrPos(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScDocument::GetTabProtection(), SdrObjEditView::GetTextEditOutlinerView(), ScRefCellValue::getType(), ScViewData::GetView(), ScViewData::GetViewShell(), vcl::Cursor::GetWidth(), OutlinerView::GetWindow(), ScDocument::HasAttrib(), ScViewData::HasEditView(), ScAddress::IncCol(), ScInputHandler::InputCommand(), SfxBindings::Invalidate(), ScViewData::IsAnyFillMode(), ScModule::IsFormulaMode(), ScDocument::IsLayoutRTL(), ScModule::IsModalMode(), CommandEvent::IsMouseEvent(), SfxInPlaceClient::IsObjectInPlaceActive(), ScTableProtection::isOptionEnabled(), ScTableProtection::isProtected(), lcl_SetTextCursorPos(), LINK, vcl::Window::LogicToPixel(), mpSpellCheckCxt, mrViewData, nMouseStatus, PasteSelection(), Protected, vcl::Window::ReleaseMouse(), ScViewData::ResetFillMode(), SC_GM_IGNORE, SC_INPUT_TABLE, SC_MOD, ScTabView::ScrollCommand(), ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, SelectForContextMenu(), ScModule::SetInputMode(), ScInputHandler::SetModified(), ScTabViewShell::ShouldDisableEditHyperlink(), StopMarking(), ScTabView::StopRefMode(), Point::X(), and Point::Y().

◆ CreateAccessible()

css::uno::Reference< css::accessibility::XAccessible > ScGridWindow::CreateAccessible ( )
overridevirtual

◆ CreateAnchorHandle()

void ScGridWindow::CreateAnchorHandle ( SdrHdlList rHdl,
const ScAddress rAddress 
)

◆ CursorChanged()

void ScGridWindow::CursorChanged ( )

Definition at line 6092 of file gridwin.cxx.

References UpdateCursorOverlay(), and UpdateSparklineGroupOverlay().

◆ DataChanged()

void ScGridWindow::DataChanged ( const DataChangedEvent rDCEvt)
overridevirtual

◆ DECL_DLLPRIVATE_LINK() [1/3]

ScGridWindow::DECL_DLLPRIVATE_LINK ( InitiatePageBreaksTimer  ,
Timer ,
void   
)
private

References StartDrag.

◆ DECL_DLLPRIVATE_LINK() [2/3]

ScGridWindow::DECL_DLLPRIVATE_LINK ( PopupModeEndHdl  ,
weld::Popover ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/3]

ScGridWindow::DECL_DLLPRIVATE_LINK ( PopupSpellingHdl  ,
SpellCallbackInfo ,
void   
)
private

References PasteSelection.

◆ DeleteAutoFillOverlay()

void ScGridWindow::DeleteAutoFillOverlay ( )

Definition at line 6661 of file gridwin.cxx.

References mpAutoFillRect, and mpOOAutoFill.

Referenced by ImpDestroyOverlayObjects(), and UpdateAutoFillOverlay().

◆ DeleteCopySourceOverlay()

void ScGridWindow::DeleteCopySourceOverlay ( )

Definition at line 6141 of file gridwin.cxx.

References mpOOSelectionBorder.

Referenced by ImpDestroyOverlayObjects(), and UpdateCopySourceOverlay().

◆ DeleteCursorOverlay()

void ScGridWindow::DeleteCursorOverlay ( )

◆ DeleteDragRectOverlay()

void ScGridWindow::DeleteDragRectOverlay ( )

Definition at line 6756 of file gridwin.cxx.

References mpOODragRect.

Referenced by ImpDestroyOverlayObjects(), and UpdateDragRectOverlay().

◆ DeleteHeaderOverlay()

void ScGridWindow::DeleteHeaderOverlay ( )

Definition at line 6927 of file gridwin.cxx.

References mpOOHeader.

Referenced by ImpDestroyOverlayObjects(), and UpdateHeaderOverlay().

◆ DeleteSelectionOverlay()

void ScGridWindow::DeleteSelectionOverlay ( )

Definition at line 6574 of file gridwin.cxx.

References mpOOSelection.

Referenced by ImpDestroyOverlayObjects(), and UpdateSelectionOverlay().

◆ DeleteShrinkOverlay()

void ScGridWindow::DeleteShrinkOverlay ( )

Definition at line 6973 of file gridwin.cxx.

References mpOOShrink.

Referenced by ImpDestroyOverlayObjects(), and UpdateShrinkOverlay().

◆ DeleteSparklineGroupOverlay()

void ScGridWindow::DeleteSparklineGroupOverlay ( )

Definition at line 7040 of file gridwin.cxx.

References mpOOSparklineGroup.

Referenced by ImpDestroyOverlayObjects(), and UpdateSparklineGroupOverlay().

◆ DeleteSurroundingText()

bool ScGridWindow::DeleteSurroundingText ( const Selection rSelection)
overridevirtual

◆ dispose()

void ScGridWindow::dispose ( void  )
overridevirtual

◆ DoAutoFilterButton()

bool ScGridWindow::DoAutoFilterButton ( SCCOL  nCol,
SCROW  nRow,
const MouseEvent rMEvt 
)
private

◆ DoInvertRect()

void ScGridWindow::DoInvertRect ( const tools::Rectangle rPixel)

◆ DoPageFieldSelection()

bool ScGridWindow::DoPageFieldSelection ( SCCOL  nCol,
SCROW  nRow 
)
private

Definition at line 96 of file gridwin2.cxx.

References GetDPFieldOrientation(), and LaunchPageFieldMenu().

Referenced by DoAutoFilterButton().

◆ DoPushPivotButton()

void ScGridWindow::DoPushPivotButton ( SCCOL  nCol,
SCROW  nRow,
const MouseEvent rMEvt,
bool  bButton,
bool  bPopup,
bool  bMultiField 
)
private

◆ DoPushPivotToggle()

void ScGridWindow::DoPushPivotToggle ( SCCOL  nCol,
SCROW  nRow,
const MouseEvent rMEvt 
)
private

◆ DoScenarioMenu()

void ScGridWindow::DoScenarioMenu ( const ScRange rScenRange)

◆ DPConfigFieldPopup()

void ScGridWindow::DPConfigFieldPopup ( )
private

◆ DPLaunchFieldPopupMenu() [1/2]

void ScGridWindow::DPLaunchFieldPopupMenu ( const Point rScrPos,
const Size rScrSize,
const ScAddress rPos,
ScDPObject pDPObj 
)
private

◆ DPLaunchFieldPopupMenu() [2/2]

void ScGridWindow::DPLaunchFieldPopupMenu ( const Point rScrPos,
const Size rScrSize,
tools::Long  nDimIndex,
ScDPObject pDPObj 
)

◆ DPLaunchMultiFieldPopupMenu()

void ScGridWindow::DPLaunchMultiFieldPopupMenu ( const Point rScrPos,
const Size rScrSize,
ScDPObject pDPObj,
css::sheet::DataPilotFieldOrientation  nOrient 
)
private

◆ DPMouseButtonUp()

void ScGridWindow::DPMouseButtonUp ( const MouseEvent rMEvt)
private

◆ DPMouseMove()

void ScGridWindow::DPMouseMove ( const MouseEvent rMEvt)
private

Definition at line 866 of file gridwin2.cxx.

References DPTestMouse().

Referenced by MouseMove().

◆ DPPopulateFieldMembers()

void ScGridWindow::DPPopulateFieldMembers ( const ScDPLabelData rLabelData)
private

◆ DPSetupFieldPopup()

void ScGridWindow::DPSetupFieldPopup ( std::unique_ptr< ScCheckListMenuControl::ExtendedData pDPData,
bool  bDimOrientNotPage,
ScDPObject pDPObj,
bool  bMultiField = false 
)
private

◆ DPTestFieldPopupArrow()

bool ScGridWindow::DPTestFieldPopupArrow ( const MouseEvent rMEvt,
const ScAddress rPos,
const ScAddress rDimPos,
ScDPObject pDPObj 
)
private

◆ DPTestMouse()

void ScGridWindow::DPTestMouse ( const MouseEvent rMEvt,
bool  bMove 
)
private

◆ DPTestMultiFieldPopupArrow()

bool ScGridWindow::DPTestMultiFieldPopupArrow ( const MouseEvent rMEvt,
const ScAddress rPos,
ScDPObject pDPObj 
)
private

◆ Draw()

void ScGridWindow::Draw ( SCCOL  nX1,
SCROW  nY1,
SCCOL  nX2,
SCROW  nY2,
ScUpdateMode  eMode 
)

Paint AutoFill handles alone (without Cursor) ???

Definition at line 463 of file gridwin4.cxx.

References aAutoMarkPos, bAutoMarkVisible, CheckNeedsRepaint(), ScAddress::Col(), ScopedVclPtr< class reference_type >::disposeAndReset(), DrawContent(), eMode, eWhich, ScDocument::ExtendHidden(), ScDocument::ExtendMerge(), ScDocument::FillInfo(), VclPtr< class reference_type >::get(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScModule::GetInputOptions(), ScViewData::GetLogicMode(), ScViewData::GetMarkData(), ScViewOptions::GetOption(), ScViewData::GetOptions(), vcl::Window::GetOutDev(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetPrinter(), ScViewData::GetScrPos(), vcl::Window::GetSizePixel(), ScViewData::GetTabNo(), ScInputOptions::GetTextWysiwyg(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), ScViewData::IsMinimized(), ScViewData::IsOle(), Marks, maVisibleRange, ScGridWindow::VisibleRange::mnCol1, ScGridWindow::VisibleRange::mnCol2, ScGridWindow::VisibleRange::mnRow1, ScGridWindow::VisibleRange::mnRow2, mpSpellCheckCxt, mrViewData, nCursorHideCount, nPaintCount, nPPTX, nPPTY, OUTTYPE_WINDOW, ScDocument::PrepareFormulaCalc(), PutInOrder(), ScDocument::ResetChanged(), ScAddress::Row(), SC_MOD, ScOutputData::SetFmtDevice(), OutputDevice::SetMapMode(), ScOutputData::SetMirrorWidth(), ScOutputData::SetSpellCheckContext(), Point::setX(), ScAddress::Tab(), UpdateVisibleRange(), ScDocument::ValidCol(), ScDocument::ValidRow(), VOPT_FORMULAS, Size::Width(), Point::X(), and Point::Y().

Referenced by Paint().

◆ DrawAfterScroll()

void ScGridWindow::DrawAfterScroll ( )
private

◆ DrawButtons()

void ScGridWindow::DrawButtons ( SCCOL  nX1,
SCCOL  nX2,
const ScTableInfo rTabInfo,
OutputDevice pContentDev,
const ScLokRTLContext pLokRTLContext 
)

Definition at line 2093 of file gridwin4.cxx.

References aComboButton, aListValPos, AREA, aStr, ATTR_INDENT(), ScCellInfo::bAutoFilter, RowInfo::bChanged, ScQueryEntry::bDoQuery, ScCellInfo::bFilterActive, ScCellInfo::bHOverlapped, bListValButton, ScCellInfo::bPivotButton, ScCellInfo::bPivotCollapseButton, ScCellInfo::bPivotExpandButton, ScCellInfo::bPivotPopupButton, ScCellInfo::bPivotPopupButtonMulti, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), ScLokRTLContext::docToTilePos(), ScDPFieldButton::draw(), ScDDComboBoxButton::Draw(), eWhich, ScDocument::ExtendOverlapped(), ScDBData::GetArea(), ScDocument::GetAttr(), ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), GetListValButtonRect(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), ScDDComboBoxButton::GetPosPixel(), ScViewData::GetPPTY(), ScDBData::GetQueryParam(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), tools::Rectangle::GetSize(), ScDDComboBoxButton::GetSizePixel(), ScDocument::GetString(), ScViewData::GetTabNo(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), ScTableInfo::mnArrCount, ScTableInfo::mpRowInfo, mrViewData, nCount, ScQueryEntry::nField, RowInfo::nRowNo, ScAddress::Row(), ScDPFieldButton::setBoundingBox(), OutputDevice::SetClipRegion(), ScDPFieldButton::setDrawBaseButton(), ScDPFieldButton::setDrawPopupButton(), ScDPFieldButton::setDrawPopupButtonMulti(), ScDPFieldButton::setDrawToggleButton(), ScDPFieldButton::setHasHiddenMember(), ScDDComboBoxButton::SetOutputDevice(), ScDPFieldButton::setPopupLeft(), ScDDComboBoxButton::SetPosPixel(), ScDDComboBoxButton::SetSizePixel(), ScDPFieldButton::setText(), Point::setX(), ScViewData::ToPixel(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().

Referenced by DrawContent().

◆ DrawCommand()

bool ScGridWindow::DrawCommand ( const CommandEvent rCEvt)
private

◆ DrawContent()

void ScGridWindow::DrawContent ( OutputDevice rDevice,
const ScTableInfo rTableInfo,
ScOutputData aOutputData,
bool  bLogicText 
)

Draw content of the gridwindow; shared between the desktop and the tiled rendering.

test if ChangeTrack display is active Disable scenario frame via view option?

Merge SetChangedClip() with DrawMarks() ?? (different MapMode!)

Definition at line 676 of file gridwin4.cxx.

References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Point::AdjustX(), Point::AdjustY(), ScRange::aEnd, aMap, svtools::APPBACKGROUND, ScRangeFindData::aRef, ScRange::aStart, ATTR_BACKGROUND(), SdrPaintView::BeginDrawLayers(), bInitialPageBreaks, tools::Rectangle::Bottom(), tools::Rectangle::BottomLeft(), svtools::CALCGRID, svtools::CALCREFERENCE, svtools::CALCTEXTOVERFLOW, ScAddress::Col(), COL_TRANSPARENT(), o3tl::convert(), ScRangeFindList::Count(), SfxViewShell::Current(), ScOutputData::DrawBackground(), DrawButtons(), ScOutputData::DrawChangeTrack(), ScOutputData::DrawClear(), ScOutputData::DrawClipMarks(), ScOutputData::DrawDocumentBackground(), ScOutputData::DrawEdit(), ScOutputData::DrawFormulaMarks(), ScOutputData::DrawFrame(), ScOutputData::DrawGrid(), DrawHiddenIndicator(), ScOutputData::DrawNoteMarks(), DrawPagePreview(), OutputDevice::DrawRect(), DrawRedraw(), ScOutputData::DrawRefMark(), DrawSdrGrid(), ScOutputData::DrawShadow(), ScOutputData::DrawSparklines(), ScOutputData::DrawStrings(), OutputDevice::DrawText(), SdrPaintView::EndDrawLayers(), eWhich, flushOverlayManager(), EditView::GetBackgroundColor(), ScDocument::GetChangeTrack(), ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), EditView::GetCursor(), ScViewOptions::GetDocColor(), SfxViewShell::GetDocId(), ScRangeFindList::GetDocName(), ScDocument::GetDocOptions(), ScViewData::GetDocShell(), ScViewData::GetDocument(), GetDrawMapMode(), ScViewData::GetEditActivePart(), EditView::GetEditCursor(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), ScViewData::GetEditStartCol(), ScViewData::GetEditStartRow(), ScViewData::GetEditView(), SfxViewShell::GetFirst(), ScViewOptions::GetGridColor(), ScTabView::GetHighlightRanges(), ScModule::GetInputHdl(), ScPatternAttr::GetItem(), ScViewData::GetLogicMode(), OutputDevice::GetMapMode(), vcl::Window::GetMapMode(), SfxViewShell::GetNext(), ScRangeFindList::GetObject(), ScViewOptions::GetOption(), ScViewData::GetOptions(), MapMode::GetOrigin(), vcl::Window::GetOutDev(), EditView::GetOutputArea(), EditView::GetOutputDevice(), vcl::Window::GetOutputSizePixel(), ScTabView::GetPageBreakData(), ScDocument::GetPattern(), ScInputHandler::GetRangeFindList(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), ScViewData::GetRefEndZ(), ScViewData::GetRefStartX(), ScViewData::GetRefStartY(), ScViewData::GetRefStartZ(), ScViewData::GetRefTabNo(), MapMode::GetScaleX(), MapMode::GetScaleY(), ScTabView::GetScDrawView(), ScOutputData::GetScrH(), ScViewData::GetScrPos(), ScOutputData::GetScrW(), ScViewData::GetShowGrid(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), SdrPaintWindow::GetTargetOutputDevice(), SfxObjectShell::GetTitle(), ScViewData::GetView(), ScTabView::GetViewData(), ScViewData::GetViewShell(), Point::getX(), Point::getY(), ScDocument::HasBackgroundDraw(), ScViewData::HasEditView(), i, tools::Rectangle::Intersection(), InvalidateLOKViewCursor(), comphelper::LibreOfficeKit::isActive(), ScDocOptions::IsAutoSpell(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScRangeFindList::IsHidden(), ScDocument::IsLayoutRTL(), ScViewData::IsPagebreakMode(), ScViewData::IsRefMode(), ScDocument::IsScenario(), ScViewData::IsSyntaxMode(), Color::IsTransparent(), vcl::Cursor::IsVisible(), lcl_DrawHighlight(), lcl_DrawScenarioFrames(), lcl_GetEditAreaTLOffset(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), ScDocument::MaxCol(), ScDocument::MaxRow(), o3tl::mm100, tools::Rectangle::Move(), mpNoteMarker, mrViewData, svtools::ColorConfigValue::nColor, ScRangeFindData::nColor, nCount, tools::Rectangle::Normalize(), ScOutputData::nScrX, ScOutputData::nScrY, ScOutputData::nTab, ScOutputData::nX1, ScOutputData::nX2, ScOutputData::nY1, ScOutputData::nY2, EditView::Paint(), OutputDevice::PixelToLogic(), vcl::Window::PixelToLogic(), ScRange::PutInOrder(), o3tl::px, tools::Rectangle::Right(), ScAddress::Row(), SC_LAYER_BACK(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), SC_MOD, EditView::SetBackgroundColor(), tools::Rectangle::SetBottom(), ScOutputData::SetChangedClip(), OutputDevice::SetClipRegion(), ScOutputData::SetContentDevice(), ScOutputData::SetEditCell(), OutputDevice::SetFillColor(), ScOutputData::SetGridColor(), tools::Rectangle::SetLeft(), OutputDevice::SetLineColor(), comphelper::LibreOfficeKit::setLocalRendering(), OutputDevice::SetMapMode(), vcl::Window::SetMapMode(), ScOutputData::SetMarkClipped(), MapMode::SetOrigin(), EditView::SetOutputArea(), ScOutputData::SetPagebreakMode(), OutputDevice::SetPixelOffset(), tools::Rectangle::SetRight(), MapMode::SetScaleX(), MapMode::SetScaleY(), ScOutputData::SetShowFormulas(), ScOutputData::SetShowNullValues(), ScOutputData::SetShowSpellErrors(), ScOutputData::SetSolidBackground(), ScOutputData::SetSyntaxMode(), tools::Rectangle::SetTop(), SetupInitialPageBreaks(), ScOutputData::SetUseStyleColor(), ScOutputData::SetViewShell(), tools::Rectangle::setWidth(), Point::setX(), Point::setY(), ScAddress::Tab(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), o3tl::toTwips(), o3tl::twip, VOPT_FORMULAS, VOPT_FORMULAS_MARKS, VOPT_GRID, VOPT_GRID_ONTOP, VOPT_NOTES, VOPT_NULLVALS, VOPT_PAGEBREAKS, and Point::X().

Referenced by Draw(), and PaintTile().

◆ DrawEndAction()

void ScGridWindow::DrawEndAction ( )
private

◆ DrawHasMarkedObj()

bool ScGridWindow::DrawHasMarkedObj ( )
private

Definition at line 386 of file gridwin3.cxx.

References ScViewData::GetScDrawView(), mrViewData, and p.

Referenced by KeyInput().

◆ DrawHiddenIndicator()

void ScGridWindow::DrawHiddenIndicator ( SCCOL  nX1,
SCROW  nY1,
SCCOL  nX2,
SCROW  nY2,
vcl::RenderContext rRenderContext 
)
private

◆ DrawKeyInput()

bool ScGridWindow::DrawKeyInput ( const KeyEvent rKEvt,
vcl::Window pWin 
)
private

◆ DrawLayerCreated()

void ScGridWindow::DrawLayerCreated ( )

Definition at line 5925 of file gridwin.cxx.

References GetDrawMapMode(), ImpCreateOverlayObjects(), and vcl::Window::SetMapMode().

Referenced by ScTabView::DoAddWin().

◆ DrawMarkDropObj()

void ScGridWindow::DrawMarkDropObj ( SdrObject pObj)
private

◆ DrawMouseButtonDown()

bool ScGridWindow::DrawMouseButtonDown ( const MouseEvent rMEvt)
private

◆ DrawMouseButtonUp()

bool ScGridWindow::DrawMouseButtonUp ( const MouseEvent rMEvt)
private

◆ DrawMouseMove()

bool ScGridWindow::DrawMouseMove ( const MouseEvent rMEvt)
private

◆ DrawPagePreview()

void ScGridWindow::DrawPagePreview ( SCCOL  nX1,
SCROW  nY1,
SCCOL  nX2,
SCROW  nY2,
vcl::RenderContext rRenderContext 
)
private

Display differently (dashed ????)

Search for hidden

Search for hidden

Definition at line 1889 of file gridwin4.cxx.

References Point::AdjustX(), Point::AdjustY(), ScRange::aEnd, ScRange::aStart, ATTR_PATTERN(), svtools::CALCPAGEBREAK, svtools::CALCPAGEBREAKMANUAL, ScAddress::Col(), COL_LIGHTGRAY(), EditEngine::CreatePool(), OutputDevice::DrawRect(), OutputDevice::DrawText(), EE_CHAR_COLOR(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), eWhich, ScPatternAttr::FillEditItemSet(), ScPatternAttr::fillFontOnly(), get(), svtools::ColorConfig::GetColorValue(), ScPageBreakData::GetCount(), ScPageBreakData::GetData(), SfxItemPool::GetDefaultItem(), ScGlobal::GetDefaultScriptType(), ScViewData::GetDocument(), ScPrintRangeData::GetFirstPage(), OutputDevice::GetMapMode(), vcl::Window::GetOutputSizePixel(), ScTabView::GetPageBreakData(), ScPrintRangeData::GetPageEndX(), ScPrintRangeData::GetPageEndY(), ScPrintRangeData::GetPagesX(), ScPrintRangeData::GetPagesY(), ScDocument::GetPool(), ScPrintRangeData::GetPrintRange(), ScViewData::GetScrPos(), ScDocument::GetStringScriptType(), ScViewData::GetTabNo(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), ScViewData::GetView(), ScDocument::HasColBreak(), ScDocument::HasRowBreak(), Size::Height(), ScPrintRangeData::IsAutomatic(), ScPrintRangeData::IsTopDown(), Manual, mrViewData, svtools::ColorConfigValue::nColor, nCount, nPageScript, nPos, ScAddress::Row(), SC_MOD, ScResId(), vcl::Font::SetColor(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), vcl::Font::SetFontSize(), OutputDevice::SetLineColor(), Point::setX(), Point::setY(), Size::Width(), Point::X(), and Point::Y().

Referenced by DrawContent().

◆ DrawRedraw()

void ScGridWindow::DrawRedraw ( ScOutputData rOutputData,
SdrLayerID  nLayer 
)
private

◆ DrawSdrGrid()

void ScGridWindow::DrawSdrGrid ( const tools::Rectangle rDrawingRect,
OutputDevice pContentDev 
)
private

◆ DropScroll()

void ScGridWindow::DropScroll ( const Point rMousePos)
private

◆ DropTransferObj()

sal_Int8 ScGridWindow::DropTransferObj ( ScTransferObj pTransObj,
SCCOL  nDestPosX,
SCROW  nDestPosY,
const Point rLogicPos,
sal_Int8  nDndAction 
)
private

HasSelectedBlockMatrixFragment without selected sheet? or don't start dragging on a part of a matrix

Definition at line 4447 of file gridwin.cxx.

References ScRange::aEnd, ALL, ScRange::aStart, ScTabView::CellContentChanged(), CellsLeft, CellsUp, ScAddress::Col(), ScDBFunc::DataPilotMove(), ScDocFunc::DeleteCells(), DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, ScTabView::DoneBlockMode(), SfxUndoManager::EnterListAction(), ScViewFunc::EnterMatrix(), SfxDispatcher::ExecuteList(), ScRange::Format(), ScDocument::GetAddressConvention(), Application::GetAppName(), ScViewData::GetDispatcher(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), ScTransferObj::GetDocument(), ScViewData::GetDocument(), ScDocument::GetDocumentShell(), ScDocument::GetDPAtCursor(), ScTransferObj::GetDragSourceFlags(), formula::FormulaCompiler::GetNativeSymbol(), ScTransferObj::GetNonFilteredRows(), ScTransferObj::GetRange(), ScTransferObj::GetSourceCursorX(), ScTransferObj::GetSourceCursorY(), ScTransferObj::GetSourceDocShell(), ScTransferObj::GetSourceDocument(), ScTransferObj::GetSourceMarkData(), ScDocument::GetTableCount(), ScMarkData::GetTableSelect(), ScViewData::GetTabNo(), SfxObjectShell::GetTitle(), ScDocShell::GetUndoManager(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxViewShell::GetViewShellId(), ScTransferObj::GetVisibleTab(), formula::FormulaGrammar::GRAM_NATIVE, ScDocument::HasChartAtPoint(), ScViewUtil::HasFiltered(), ScTransferObj::HasFilteredRows(), i, ScViewFunc::ImportTables(), ScTabView::InitBlockMode(), INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, ScDocFunc::InsertCells(), ScDocument::IsDocEditable(), ScDocument::IsScenario(), ScDocument::IsVisible(), SfxUndoManager::LeaveListAction(), ScViewFunc::LinkBlock(), ScTabView::MarkCursor(), ScTabView::MarkRange(), meDragInsertMode, ScRange::Move(), ScViewFunc::MoveBlockTo(), ScDocShell::MoveTable(), mrViewData, Navigator, nId, NONE, ocClose, ocDde, ocOpen, ocSep, ScViewFunc::PasteFromClip(), RANGE_ABS_3D, ScAddress::Row(), ScResId(), ScTabView::SetCursor(), ScTransferObj::SetDragWasInternal(), ScAddress::SetTab(), ScTabView::SetTabNo(), SFX_TITLE_FULLNAME, ScAddress::Tab(), TAB_3D, Table, ScAddress::UNINITIALIZED, ScTabView::Unmark(), ScDocShell::UpdateOle(), VALID, and ScTransferObj::WasSourceCursorInSelection().

Referenced by ExecutePrivateDrop(), and PasteSelection().

◆ dumpCellProperties()

void ScGridWindow::dumpCellProperties ( )
private

◆ dumpColumnCellStorage()

void ScGridWindow::dumpColumnCellStorage ( )
private

◆ dumpColumnInformationHmm()

void ScGridWindow::dumpColumnInformationHmm ( )
private

◆ dumpColumnInformationPixel()

void ScGridWindow::dumpColumnInformationPixel ( )
private

◆ dumpGraphicInformation()

void ScGridWindow::dumpGraphicInformation ( )
private

◆ ExecDataSelect()

void ScGridWindow::ExecDataSelect ( SCCOL  nCol,
SCROW  nRow,
const OUString &  rStr 
)
private

◆ ExecuteDrop()

sal_Int8 ScGridWindow::ExecuteDrop ( const ExecuteDropEvent rEvt)
overrideprotectedvirtual

◆ ExecutePrivateDrop()

sal_Int8 ScGridWindow::ExecutePrivateDrop ( const ExecuteDropEvent rEvt,
const ScDragData rData 
)
private

◆ FakeButtonUp()

void ScGridWindow::FakeButtonUp ( )

Definition at line 2700 of file gridwin.cxx.

References aCurMousePos, aEvent, MouseButtonUp(), and nButtonDown.

Referenced by MouseButtonDown().

◆ FilterSelect()

void ScGridWindow::FilterSelect ( sal_uLong  nSel)
private

◆ flushOverlayManager()

void ScGridWindow::flushOverlayManager ( )

Definition at line 7121 of file gridwin.cxx.

References getOverlayManager().

Referenced by DrawContent(), and ScTabView::ZoomChanged().

◆ GetAutoSpellData()

const std::vector< editeng::MisspellRanges > * ScGridWindow::GetAutoSpellData ( SCCOL  nPosX,
SCROW  nPosY 
)

◆ getCellCursor()

OString ScGridWindow::getCellCursor ( ) const

◆ GetCellSelection()

void ScGridWindow::GetCellSelection ( std::vector< tools::Rectangle > &  rLogicRects)

◆ GetDPFieldOrientation()

DataPilotFieldOrientation ScGridWindow::GetDPFieldOrientation ( SCCOL  nCol,
SCROW  nRow 
) const

◆ GetDrawMapMode()

MapMode ScGridWindow::GetDrawMapMode ( bool  bForce = false)

◆ GetEditUrl()

bool ScGridWindow::GetEditUrl ( const Point rPos,
OUString *  pName = nullptr,
OUString *  pUrl = nullptr,
OUString *  pTarget = nullptr 
)
private

◆ GetFocus()

void ScGridWindow::GetFocus ( )
overrideprotectedvirtual

◆ GetListValButtonRect()

tools::Rectangle ScGridWindow::GetListValButtonRect ( const ScAddress rButtonPos)
private

◆ GetMousePosPixel()

const Point & ScGridWindow::GetMousePosPixel ( ) const
inline

Definition at line 393 of file gridwin.hxx.

Referenced by ScTabView::GetMousePosPixel().

◆ getOverlayManager()

rtl::Reference< sdr::overlay::OverlayManager > ScGridWindow::getOverlayManager ( ) const

◆ GetPixelRectsFor()

void ScGridWindow::GetPixelRectsFor ( const ScMarkData rMarkData,
::std::vector< tools::Rectangle > &  rPixelRects 
) const
private

convert rMarkData into pixel rectangles for this view

Definition at line 2354 of file gridwin4.cxx.

References GetRectsAnyFor().

Referenced by GetSelectionRects(), and UpdateKitSelection().

◆ GetRectsAnyFor()

void ScGridWindow::GetRectsAnyFor ( const ScMarkData rMarkData,
::std::vector< tools::Rectangle > &  rRects,
bool  bInPrintTwips 
) const
private

◆ GetSelectionRects()

void ScGridWindow::GetSelectionRects ( ::std::vector< tools::Rectangle > &  rPixelRects) const
private

◆ GetSelectionRectsPrintTwips()

void ScGridWindow::GetSelectionRectsPrintTwips ( ::std::vector< tools::Rectangle > &  rRects) const
private

Definition at line 2348 of file gridwin4.cxx.

References ScViewData::GetMarkData(), GetRectsAnyFor(), and mrViewData.

Referenced by GetCellSelection(), and UpdateSelectionOverlay().

◆ GetSurroundingText()

OUString ScGridWindow::GetSurroundingText ( ) const
overridevirtual

◆ GetSurroundingTextSelection()

Selection ScGridWindow::GetSurroundingTextSelection ( ) const
overridevirtual

◆ GetUITestFactory()

FactoryFunction ScGridWindow::GetUITestFactory ( ) const
overridevirtual

Reimplemented from vcl::Window.

Definition at line 7135 of file gridwin.cxx.

References ScGridWinUIObject::create().

◆ getViewData()

ScViewData & ScGridWindow::getViewData ( )

Definition at line 7130 of file gridwin.cxx.

References mrViewData.

◆ HandleMouseButtonDown()

void ScGridWindow::HandleMouseButtonDown ( const MouseEvent rMEvt,
MouseEventState rState 
)
private

what's up with the Mac ???

Someday SelectionEngine should call StartTracking on its own!?!

Definition at line 1836 of file gridwin.cxx.

References aCurMousePos, aEvent, aListValPos, aPagebreakSource, aRFSelectedCorned, ATTR_MERGE_FLAG(), bEEMouse, bListValButton, bPagebreakDrawn, bRFMouse, bRFSize, ClickExtern(), ScAddress::Col(), tools::Rectangle::Contains(), DoAutoFilterButton(), DoPushPivotButton(), DoPushPivotToggle(), DoScenarioMenu(), DrawMouseButtonDown(), eWhich, SfxDispatcher::ExecuteList(), ScViewFunc::FillCrossDblClick(), ScViewData::GetActivePart(), ScDocument::GetAttr(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetDispatcher(), ScViewData::GetDocument(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), GetEditUrl(), ScViewData::GetEditView(), SfxViewShell::GetIPClient(), ScModule::GetIsWaterCan(), GetListValButtonRect(), ScViewData::getLOKVisibleArea(), ScViewData::GetMarkData(), MouseEvent::GetMode(), MouseEvent::GetModifier(), EditView::GetOutputArea(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetRefTabNo(), ScTabView::GetSelEngine(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), tools::Rectangle::GetWidth(), vcl::Window::GrabFocus(), ScMergeFlagAttr::HasAutoFilter(), ScViewData::HasEditView(), ScMergeFlagAttr::HasPivotButton(), ScMergeFlagAttr::HasPivotMultiFieldPopupButton(), ScMergeFlagAttr::HasPivotPopupButton(), ScMergeFlagAttr::HasPivotToggle(), HasScenarioButton(), HideNoteMarker(), HitPageBreak(), HitRangeFinder(), ScModule::InputEnterHandler(), comphelper::LibreOfficeKit::isActive(), ScTabViewShell::IsAuditShell(), ScModule::IsFormulaMode(), vcl::IsInPopupMenuExecute(), ScDocument::IsLayoutRTL(), MouseEvent::IsLeft(), MouseEvent::IsMod2(), ScModule::IsModalMode(), vcl::Window::IsMouseCaptured(), SfxInPlaceClient::IsObjectInPlaceActive(), ScViewData::IsRefMode(), LaunchDataSelectMenu(), lcl_GetMirror(), MAXTILEDROW, ScGridWindow::MouseEventState::mbActivatePart, MOUSE_RIGHT, EditView::MouseButtonDown(), mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nRFAddX, nRFAddY, nRFIndex, nScClickMouseModifier, PagebreakMove(), pScActiveViewShell, vcl::Window::ReleaseMouse(), ScAddress::Row(), SAL_WARN_IF, SC_GM_DBLDOWN, SC_GM_FILTER, SC_GM_IGNORE, SC_GM_NONE, SC_GM_TABDOWN, SC_GM_URLDOWN, SC_GM_WATERUNDO, SC_INPUT_TABLE, SC_MOD, ScTabView::SelMouseButtonDown(), ScTabViewShell::SetDrawShell(), ScModule::SetInputMode(), ScMarkData::SetMarking(), EditView::SetOutputArea(), vcl::DocWindow::SetPointer(), SelectionEngine::SetVisibleArea(), ScViewSelectionEngine::SetWhich(), SelectionEngine::SetWindow(), ScGlobal::ShouldOpenURL(), vcl::Window::StartTracking(), TestMouse(), Point::X(), and Point::Y().

Referenced by MouseButtonDown().

◆ HasScenarioButton()

bool ScGridWindow::HasScenarioButton ( const Point rPosPixel,
ScRange rScenRange 
)
private

◆ HideCursor()

void ScGridWindow::HideCursor ( )

Definition at line 5233 of file gridwin.cxx.

References nCursorHideCount.

◆ HideNoteMarker()

void ScGridWindow::HideNoteMarker ( )

Definition at line 390 of file gridwin5.cxx.

References mpNoteMarker.

Referenced by HandleMouseButtonDown(), KeyInput(), MouseMove(), ScrollPixel(), and StartDrag().

◆ HitPageBreak()

sal_uInt16 ScGridWindow::HitPageBreak ( const Point rMouse,
ScRange pSource,
SCCOLROW pBreak,
SCCOLROW pPrev 
)
private

◆ HitRangeFinder()

bool ScGridWindow::HitRangeFinder ( const Point rMouse,
RfCorner rCorner,
sal_uInt16 *  pIndex,
SCCOL pAddX,
SCROW pAddY 
)
private

◆ ImpCreateOverlayObjects()

void ScGridWindow::ImpCreateOverlayObjects ( )
protected

◆ ImpDestroyOverlayObjects()

void ScGridWindow::ImpDestroyOverlayObjects ( )
protected

◆ initiatePageBreaks()

void ScGridWindow::initiatePageBreaks ( )

Definition at line 2639 of file gridwin4.cxx.

References bInitialPageBreaks.

◆ InsideVisibleRange()

bool ScGridWindow::InsideVisibleRange ( SCCOL  nPosX,
SCROW  nPosY 
)

Definition at line 5969 of file gridwin.cxx.

References ScGridWindow::VisibleRange::isInside(), and maVisibleRange.

Referenced by ScViewFunc::CopyAutoSpellData().

◆ InvalidateLOKViewCursor()

void ScGridWindow::InvalidateLOKViewCursor ( const tools::Rectangle rCursorRect,
const Fraction  aScaleX,
const Fraction  aScaleY 
)
private

◆ IsAutoFilterActive()

bool ScGridWindow::IsAutoFilterActive ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)
private

◆ IsMyModel()

bool ScGridWindow::IsMyModel ( const SdrEditView pSdrView)
private

◆ KeyInput()

void ScGridWindow::KeyInput ( const KeyEvent rKEvt)
overridevirtual

check DrawShell !!!

Reimplemented from vcl::Window.

Definition at line 3609 of file gridwin.cxx.

References ScViewFunc::DetectiveMarkPred(), ScViewFunc::DetectiveMarkSucc(), DrawHasMarkedObj(), DrawKeyInput(), dumpCellProperties(), dumpColumnCellStorage(), dumpColumnInformationHmm(), dumpColumnInformationPixel(), dumpGraphicInformation(), SfxViewShell::Escape(), SfxViewFrame::GetBindings(), vcl::Window::GetClipboard(), vcl::KeyCode::GetCode(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDocument::GetExternalDataMapper(), KeyEvent::GetKeyCode(), vcl::KeyCode::GetModifier(), SfxObjectShell::GetProgress(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), ScViewData::GetRefEndZ(), ScViewData::GetRefStartX(), ScViewData::GetRefStartY(), ScViewData::GetRefStartZ(), ScViewData::GetView(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), HideNoteMarker(), SfxBindings::Invalidate(), ScViewData::IsAnyFillMode(), ScTabView::IsDrawSelMode(), vcl::KeyCode::IsMod1(), ScViewData::IsPasteMode(), vcl::KeyCode::IsShift(), KEY_BRACKETLEFT, KEY_BRACKETRIGHT, KEY_DOWN, KEY_ESCAPE, KEY_F1, KEY_F10, KEY_F11, KEY_F12, KEY_F2, KEY_F6, KEY_F7, KEY_F8, KEY_LEFT, KEY_MOD1, KEY_RETURN, KEY_RIGHT, KEY_UP, ScTabView::MoveCursorKeyInput(), mpNoteMarker, mrViewData, NONE, ScClipUtil::PasteFromClipboard(), SC_MOD, ScTabView::SelectionChanged(), ScViewData::SetPasteMode(), ShowNoteMarker(), ScTabViewShell::TabKeyInput(), and ScTabView::UpdateCopySourceOverlay().

◆ LaunchAutoFilterMenu()

void ScGridWindow::LaunchAutoFilterMenu ( SCCOL  nCol,
SCROW  nRow 
)

◆ LaunchDataSelectMenu()

void ScGridWindow::LaunchDataSelectMenu ( SCCOL  nCol,
SCROW  nRow 
)

◆ LaunchDPFieldMenu()

void ScGridWindow::LaunchDPFieldMenu ( SCCOL  nCol,
SCROW  nRow 
)

◆ LaunchPageFieldMenu()

void ScGridWindow::LaunchPageFieldMenu ( SCCOL  nCol,
SCROW  nRow 
)

◆ LogicInvalidate()

void ScGridWindow::LogicInvalidate ( const tools::Rectangle pRectangle)
overridevirtual

◆ LoseFocus()

void ScGridWindow::LoseFocus ( )
overrideprotectedvirtual

◆ MouseButtonDown()

void ScGridWindow::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

◆ MouseButtonUp()

void ScGridWindow::MouseButtonUp ( const MouseEvent rMEvt)
overridevirtual

SID_MARKAREA does not exist anymore ??? What happens when selecting with the cursor ???

Reimplemented from vcl::Window.

Definition at line 2191 of file gridwin.cxx.

References aBuf, aCurMousePos, aData, ADDR_ABS, ADDR_ABS_3D, ScRange::aEnd, aEvent, aName, ScRange::aStart, ATTRIB, bDPMouse, bEEMouse, bRFMouse, ScAddress::Col(), CONTENTS, formula::FormulaGrammar::CONV_OOO, ScTabView::CursorPosChanged(), ScDBDocFunc::DataPilotUpdate(), ScViewFunc::DeleteContents(), ScViewData::describeCellCursorAt(), ScTabView::DoneBlockMode(), Down, DPMouseButtonUp(), DrawEndAction(), DrawMouseButtonUp(), ScModule::EndReference(), eWhich, SfxDispatcher::Execute(), SfxDispatcher::ExecuteList(), ScRange::Format(), ScAddress::Format(), ScStyleSheetPool::GetActualStyleSheet(), ScDocument::GetAddressConvention(), SfxViewFrame::GetBindings(), ScViewData::GetBindings(), ScTabView::GetBrushDocument(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScDPObject::GetDataFieldPositionData(), ScViewData::GetDelMark(), ScViewData::GetDispatcher(), SfxShell::GetDispatcher(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScDPSaveData::GetDrillDown(), GetEditUrl(), ScViewData::GetEditView(), ScExternalRefManager::getExternalFileName(), ScDocument::GetExternalRefManager(), SfxStyleSheetBase::GetFamily(), ScViewData::GetFillData(), ScViewData::GetFillMode(), ScTabView::GetFunctionSet(), ScDPObject::GetHeaderPositionData(), ScModule::GetIsWaterCan(), ScViewData::getLOKVisibleArea(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), MouseEvent::GetMode(), MouseEvent::GetModifier(), SfxStyleSheetBase::GetName(), EditView::GetOutputArea(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetPPTX(), ScTabViewShell::GetPrinter(), ScViewData::GetRefEndX(), ScViewData::GetRefEndY(), ScDPObject::GetSaveData(), ScTabView::GetSelEngine(), vcl::Window::GetSettings(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScDocument::GetTabProtection(), SfxUndoManager::GetUndoAction(), SfxUndoManager::GetUndoActionCount(), ScDocShell::GetUndoManager(), ScDocument::GetVbaEventProcessor(), ScViewData::GetView(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), tools::Rectangle::GetWidth(), ScDocument::HasAttrib(), ScViewData::HasEditView(), ScDBFunc::HasSelectionForDrillDown(), ScModule::InputChanged(), ScModule::InputSelection(), SfxBindings::Invalidate(), ScTabView::InvalidateAttribs(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsAnyFillMode(), ScViewData::IsFillMode(), ScModule::IsFormulaMode(), ScDocument::IsLayoutRTL(), MouseEvent::IsLeft(), SfxViewShell::isLOKMobilePhone(), SfxViewShell::isLOKTablet(), ScMarkData::IsMarked(), MouseEvent::IsMiddle(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), ScModule::IsModalMode(), ScMarkData::IsMultiMarked(), ScTableProtection::isOptionEnabled(), ScTabView::IsPaintBrushLocked(), ScTableProtection::isProtected(), ScModule::IsRefDialogOpen(), ScViewData::IsRefMode(), ScViewData::IsThemedCursor(), lcl_GetHyperlinkCell(), lcl_GetMirror(), SfxViewShell::libreOfficeKitViewCallback(), ScTabView::MarkRange(), ScAddress::ExternalInfo::maTabName, MATRIX, ScAddress::ExternalInfo::mbExternal, ScAddress::ExternalInfo::mnFileId, MOUSE_LEFT, EditView::MouseButtonDown(), EditView::MouseButtonUp(), mrViewData, nButtonDown, nMouseStatus, nNestedButtonState, nPagebreakMouse, nScFillModeMouseModifier, ScGlobal::OpenURL(), PagebreakMove(), ScAddress::Parse(), ScViewFunc::PasteFromClip(), Protected, RANGE_ABS, vcl::Window::ReleaseMouse(), SelectionEngine::Reset(), ScTabView::ResetBrushDocument(), ScViewData::ResetFillMode(), ScDocFunc::ResizeMatrix(), RFMouseMove(), ScAddress::Row(), SC_GM_DBLDOWN, SC_GM_FILTER, SC_GM_IGNORE, SC_GM_NONE, SC_GM_URLDOWN, SC_GM_WATERUNDO, SC_INPUT_TABLE, SC_MOD, SC_PD_NONE, ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, ScTabView::SelectionChanged(), SelectionEngine::SelMouseButtonUp(), ScViewFunctionSet::SetAnchorFlag(), ScAddress::SetCol(), ScModule::SetInputMode(), ScMarkData::SetMarking(), EditView::SetOutputArea(), ScDocument::SetPageStyle(), vcl::DocWindow::SetPointer(), ScAddress::SetRow(), ScViewFunc::SetStyleSheetToMarked(), ScDBFunc::ShowDataPilotSourceData(), StopMarking(), ScTabView::StopRefMode(), ScDPObject::ToggleDetails(), SfxUndoManager::Undo(), Up, ScTabViewShell::UpdateInputHandler(), ScDocShell::UpdateOle(), ScPrintFunc::UpdatePages(), VALID, Point::X(), and Point::Y().

Referenced by FakeButtonUp(), ScModelObj::setGraphicSelection(), and Tracking().

◆ MouseMove()

void ScGridWindow::MouseMove ( const MouseEvent rMEvt)
overridevirtual

Test if refMode dragging !!!

Reimplemented from vcl::Window.

Definition at line 2709 of file gridwin.cxx.

References aCurMousePos, aEvent, bDPMouse, bEEMouse, bRFMouse, DPMouseMove(), DrawMouseMove(), eWhich, MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetDocument(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), GetEditUrl(), ScViewData::GetEditView(), EditView::GetField(), EditView::GetFieldUnderMousePointer(), ScViewData::getLOKVisibleArea(), MouseEvent::GetMode(), MouseEvent::GetModifier(), EditView::GetOutputArea(), EditView::GetOutputDevice(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetRefTabNo(), ScTabView::GetSelEngine(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), tools::Rectangle::GetWidth(), ScViewData::HasEditView(), ScTabView::HasPaintBrush(), HideNoteMarker(), HitPageBreak(), HitRangeFinder(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsAnyFillMode(), ScTabViewShell::IsAuditShell(), EditEngine::IsEffectivelyVertical(), ScModule::IsFormulaMode(), ScDocument::IsLayoutRTL(), MouseEvent::IsLeaveWindow(), MouseEvent::IsMod2(), ScModule::IsModalMode(), ScViewData::IsPagebreakMode(), ScViewData::IsThemedCursor(), lcl_GetMirror(), EditView::MouseMove(), mpNoteMarker, mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakMouse, nScFillModeMouseModifier, PagebreakMove(), OutputDevice::PixelToLogic(), RFMouseMove(), SC_GM_IGNORE, SC_GM_NONE, SC_GM_WATERUNDO, SC_MOD, SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_RANGE_B, SC_PD_RANGE_BL, SC_PD_RANGE_BR, SC_PD_RANGE_L, SC_PD_RANGE_R, SC_PD_RANGE_T, SC_PD_RANGE_TL, SC_PD_RANGE_TR, SelectionEngine::SelMouseMove(), EditView::SetOutputArea(), vcl::DocWindow::SetPointer(), ScGlobal::ShouldOpenURL(), TestMouse(), Point::X(), and Point::Y().

Referenced by ScModelObj::setGraphicSelection(), and Tracking().

◆ MoveMouseStatus()

void ScGridWindow::MoveMouseStatus ( ScGridWindow rDestWin)

◆ NeedLOKCursorInvalidation()

bool ScGridWindow::NeedLOKCursorInvalidation ( const tools::Rectangle rCursorRect,
const Fraction  aScaleX,
const Fraction  aScaleY 
)
private

Definition at line 334 of file gridwin4.cxx.

References maLOKLastCursor.

Referenced by InvalidateLOKViewCursor().

◆ NeedsRepaint()

bool ScGridWindow::NeedsRepaint ( ) const
inline

Definition at line 451 of file gridwin.hxx.

◆ notifyKitCellCursor()

void ScGridWindow::notifyKitCellCursor ( ) const

◆ notifyKitCellFollowJump()

void ScGridWindow::notifyKitCellFollowJump ( ) const

◆ notifyKitCellViewCursor()

void ScGridWindow::notifyKitCellViewCursor ( const SfxViewShell pForShell) const

◆ PagebreakMove()

void ScGridWindow::PagebreakMove ( const MouseEvent rMEvt,
bool  bUp 
)
private

Combine scrolling and switching with RFMouseMove ! (Inverting before scrolling is different)

Definition at line 1041 of file gridwin2.cxx.

References ScTabView::ActivatePart(), ScDocShell::AdjustPrintZoom(), ScRange::aEnd, aPagebreakDrag, aPagebreakSource, ScRange::aStart, bPagebreakDrawn, ScAddress::Col(), ScViewFunc::DeletePageBreak(), SfxUndoManager::EnterListAction(), eWhich, ScRange::Format(), ScViewData::GetActivePart(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScViewData::GetHSplitMode(), ScViewData::GetMouseQuadrant(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScDocument::GetPrintRange(), ScDocument::GetPrintRangeCount(), ScViewData::GetTabNo(), ScDocShell::GetUndoManager(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxViewShell::GetViewShellId(), ScViewData::GetVSplitMode(), ScDocument::HasColBreak(), ScDocument::HasRowBreak(), Size::Height(), ScViewFunc::InsertPageBreak(), ScDocument::IsPrintEntireSheet(), ScDocument::IsUndoEnabled(), SfxUndoManager::LeaveListAction(), Manual, mrViewData, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nPos, ScTabView::ResetTimer(), ScAddress::Row(), SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_RANGE_B, SC_PD_RANGE_L, SC_PD_RANGE_R, SC_PD_RANGE_T, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_FIX, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScResId(), ScTabView::ScrollX(), ScTabView::ScrollY(), ScAddress::SetCol(), ScDocShell::SetDocumentModified(), ScViewFunc::SetPrintRanges(), ScAddress::SetRow(), ScTabView::SetTimer(), UpdateDragRectOverlay(), ScTabView::UpdatePageBreakData(), VALID, WhichH(), WhichV(), Size::Width(), Point::X(), and Point::Y().

Referenced by HandleMouseButtonDown(), MouseButtonUp(), and MouseMove().

◆ Paint()

void ScGridWindow::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprotectedvirtual

◆ PaintTile()

void ScGridWindow::PaintTile ( VirtualDevice rDevice,
int  nOutputWidth,
int  nOutputHeight,
int  nTilePosX,
int  nTilePosY,
tools::Long  nTileWidth,
tools::Long  nTileHeight,
SCCOL  nTiledRenderingAreaEndCol,
SCROW  nTiledRenderingAreaEndRow 
)

◆ PasteSelection()

void ScGridWindow::PasteSelection ( const Point rPosPixel)
private

◆ PreNotify()

bool ScGridWindow::PreNotify ( NotifyEvent rNEvt)
overridevirtual

◆ PrePaint()

void ScGridWindow::PrePaint ( vcl::RenderContext rRenderContext)
overrideprotectedvirtual

Reimplemented from vcl::Window.

Definition at line 318 of file gridwin4.cxx.

References ScTabView::GetScDrawView(), ScViewData::GetViewShell(), mrViewData, and SdrPaintView::PrePaint().

◆ RefreshAutoFilterButton()

void ScGridWindow::RefreshAutoFilterButton ( const ScAddress rPos)

◆ RequestHelp()

void ScGridWindow::RequestHelp ( const HelpEvent rEvt)
overrideprotectedvirtual

◆ ResetAutoSpell()

void ScGridWindow::ResetAutoSpell ( )

Definition at line 5938 of file gridwin.cxx.

References mpSpellCheckCxt.

Referenced by ScSpellDialogChildWindow::ApplyChangedSentence().

◆ ResetAutoSpellForContentChange()

void ScGridWindow::ResetAutoSpellForContentChange ( )

Definition at line 5944 of file gridwin.cxx.

References mpSpellCheckCxt.

Referenced by ScViewFunc::CopyAutoSpellData().

◆ RFMouseMove()

void ScGridWindow::RFMouseMove ( const MouseEvent rMEvt,
bool  bUp 
)
private

◆ ScrollPixel()

void ScGridWindow::ScrollPixel ( tools::Long  nDifX,
tools::Long  nDifY 
)

◆ SelectForContextMenu()

void ScGridWindow::SelectForContextMenu ( const Point rPosPixel,
SCCOL  nCellX,
SCROW  nCellY 
)
private

change to GetEditStartCol after calcrtl is integrated

Definition at line 3456 of file gridwin.cxx.

References ESelection::Adjust(), aEvent, SdrMarkView::AreObjectsMarked(), tools::Rectangle::Contains(), ScTabView::DrawDeselectAll(), eWhich, EditEngine::FindDocPosition(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), Outliner::GetEditEngine(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), ScViewData::GetMarkData(), vcl::Window::GetOutDev(), OutlinerView::GetOutliner(), EditView::GetOutputArea(), OutlinerView::GetOutputArea(), ScTabView::GetScDrawView(), EditView::GetSelection(), OutlinerView::GetSelection(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutlinerView(), ScViewData::GetView(), ScViewData::GetViewShell(), EditView::GetVisArea(), OutlinerView::GetVisArea(), ScViewData::HasEditView(), ScModule::InputEnterHandler(), ScModule::InputSelection(), ScMarkData::IsCellMarked(), EditEngine::IsEffectivelyVertical(), SdrMarkView::IsMarkedObjHit(), Outliner::IsVertical(), lcl_UnLockComment(), SdrMarkView::MarkObj(), FmFormView::MouseButtonDown(), EditView::MouseButtonDown(), SdrView::MouseButtonUp(), EditView::MouseButtonUp(), mrViewData, EPosition::nIndex, EPosition::nPara, vcl::Window::PixelToLogic(), SC_MOD, ScTabView::SetCursor(), ScTabViewShell::SetDrawShell(), Point::setX(), Point::setY(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), ScTabView::Unmark(), SdrMarkView::UnmarkAllObj(), Point::X(), and Point::Y().

Referenced by Command().

◆ SetAutoSpellContext()

void ScGridWindow::SetAutoSpellContext ( const std::shared_ptr< sc::SpellCheckContext > &  ctx)

Definition at line 5933 of file gridwin.cxx.

References ctx, and mpSpellCheckCxt.

Referenced by ScTabView::DoAddWin().

◆ SetAutoSpellData()

void ScGridWindow::SetAutoSpellData ( SCCOL  nPosX,
SCROW  nPosY,
const std::vector< editeng::MisspellRanges > *  pRanges 
)

Definition at line 5950 of file gridwin.cxx.

References mpSpellCheckCxt.

Referenced by ScViewFunc::CopyAutoSpellData().

◆ SetCellSelectionPixel()

void ScGridWindow::SetCellSelectionPixel ( int  nType,
int  nPixelX,
int  nPixelY 
)

◆ SetupInitialPageBreaks()

void ScGridWindow::SetupInitialPageBreaks ( const ScDocument rDoc,
SCTAB  nTab 
)
private

◆ ShowCursor()

void ScGridWindow::ShowCursor ( )

Definition at line 5238 of file gridwin.cxx.

References nCursorHideCount.

Referenced by StartDrag().

◆ ShowFilterMenu()

void ScGridWindow::ShowFilterMenu ( weld::Window pParent,
const tools::Rectangle rCellRect,
bool  bLayoutRTL 
)

◆ ShowNoteMarker()

bool ScGridWindow::ShowNoteMarker ( SCCOL  nPosX,
SCROW  nPosY,
bool  bKeyboard 
)

◆ StartDrag()

void ScGridWindow::StartDrag ( sal_Int8  nAction,
const Point rPosPixel 
)
overrideprotectedvirtual

◆ StopMarking()

void ScGridWindow::StopMarking ( )

◆ TestMouse()

bool ScGridWindow::TestMouse ( const MouseEvent rMEvt,
bool  bAction 
)
private

◆ Tracking()

void ScGridWindow::Tracking ( const TrackingEvent rTEvt)
overridevirtual

◆ UpdateAllOverlays()

void ScGridWindow::UpdateAllOverlays ( )

Definition at line 6125 of file gridwin.cxx.

References ImpCreateOverlayObjects(), and ImpDestroyOverlayObjects().

◆ UpdateAutoFillMark()

void ScGridWindow::UpdateAutoFillMark ( bool  bMarked,
const ScRange rMarkRange 
)

Definition at line 5151 of file gridwin.cxx.

References aAutoMarkPos, ScRange::aEnd, bAutoMarkVisible, and UpdateAutoFillOverlay().

◆ UpdateAutoFillOverlay()

void ScGridWindow::UpdateAutoFillOverlay ( )

◆ UpdateAutoFilterFromMenu()

void ScGridWindow::UpdateAutoFilterFromMenu ( AutoFilterMode  eMode)

Definition at line 1144 of file gridwin.cxx.

References ScSortParam::aDataAreaExtras, aSaveAutoFilterResult, BackgroundColor, ScSortParam::bByRow, ScQueryParamBase::bCaseSens, ScSortParam::bCaseSens, ScQueryEntry::bDoQuery, ScQueryParamBase::bDuplicate, ScSortParam::bHasHeader, ScQueryParamBase::bInplace, ScSortParam::bInplace, ScSortParam::bNaturalSort, Bottom10, ScQueryEntry::ByString, Clear, ScAddress::Col(), Custom, ScQueryEntry::eConnect, eMode, Empty, ScQueryEntry::eOp, ScQueryParamBase::eSearchType, SfxDispatcher::Execute(), ScQueryParamBase::FindEntryByField(), ScDBData::GetArea(), ScViewData::GetDispatcher(), ScViewData::GetDocument(), ScQueryEntry::GetQueryItem(), ScQueryEntry::GetQueryItems(), ScDBData::GetQueryParam(), ScDocument::GetSharedStringPool(), ScSortParam::GetSortKeyCount(), ScDBData::GetSortParam(), ScViewData::GetView(), ScViewData::GetViewShell(), ScDBData::HasHeader(), i, svl::SharedStringPool::intern(), ScTabViewShell::isAnyEditViewInRange(), ScSortParam::maKeyState, ScTabView::MarkRange(), ScQueryEntry::Item::maString, ScDataAreaExtras::mbCellDrawObjects, ScDataAreaExtras::mbCellFormats, ScDataAreaExtras::mbCellNotes, ScQueryEntry::Item::meType, mpAutoFilterPopup, mrViewData, ScSortParam::nCol2, ScQueryEntry::nField, None, NonEmpty, utl::SearchParam::Normal, Normal, ScQueryParamTable::nRow1, ScQueryParamTable::nRow2, pData, ScDBFunc::Query(), ScQueryParamBase::RemoveAllEntriesByField(), ScAddress::Row(), SAL_INFO, SC_AND, SC_BOTVAL, SC_EQUAL, SC_TOPVAL, ScTabView::SetCursor(), ScQueryEntry::SetQueryByEmpty(), ScQueryEntry::SetQueryByNonEmpty(), ScDBData::SetQueryParam(), SortAscending, SortDescending, TextColor, Top10, and ScDBFunc::UISort().

◆ UpdateCopySourceOverlay()

void ScGridWindow::UpdateCopySourceOverlay ( )

◆ UpdateCursorOverlay()

void ScGridWindow::UpdateCursorOverlay ( )

Definition at line 6391 of file gridwin.cxx.

References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Point::AdjustX(), ATTR_MERGE(), ATTR_MERGE_FLAG(), tools::Rectangle::Bottom(), svtools::CALCPAGEBREAKAUTOMATIC, DeleteCursorOverlay(), eHWhich, eVWhich, eWhich, StyleSettings::GetAccentColor(), ScViewData::GetActivePart(), ScMergeAttr::GetColMerge(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), vcl::Window::GetDPIScaleFactor(), GetDrawMapMode(), ScPatternAttr::GetItem(), vcl::Window::GetMapMode(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), vcl::Window::GetOutputSizePixel(), getOverlayManager(), ScDocument::GetPattern(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScMergeAttr::GetRowMerge(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), ScViewData::GetTabNo(), ScViewData::GetZoomX(), ScViewData::HasEditView(), Size::Height(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsActive(), ScGridWindow::VisibleRange::isInside(), ScDocument::IsLayoutRTL(), ScMergeFlagAttr::IsOverlapped(), tools::Rectangle::Left(), maVisibleRange, ScGridWindow::VisibleRange::mnCol1, ScGridWindow::VisibleRange::mnCol2, ScGridWindow::VisibleRange::mnRow1, ScGridWindow::VisibleRange::mnRow2, mpOOCursors, mrViewData, tools::Rectangle::Right(), SC_MOD, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), vcl::Window::SetMapMode(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), sdr::overlay::Solid, tools::Rectangle::Top(), basegfx::B2DRange::transform(), updateKitCellCursor(), Size::Width(), Point::X(), and Point::Y().

Referenced by CursorChanged(), and ImpCreateOverlayObjects().

◆ UpdateDPFromFieldPopupMenu()

void ScGridWindow::UpdateDPFromFieldPopupMenu ( )

◆ UpdateDPPopupMenuForFieldChange()

void ScGridWindow::UpdateDPPopupMenuForFieldChange ( )

◆ UpdateDragRect()

void ScGridWindow::UpdateDragRect ( bool  bShowRange,
const tools::Rectangle rPosRect 
)
private

◆ UpdateDragRectOverlay()

void ScGridWindow::UpdateDragRectOverlay ( )

Definition at line 6761 of file gridwin.cxx.

References Point::AdjustX(), Point::AdjustY(), ScRange::aEnd, aPagebreakDrag, ScRange::aStart, bDragRect, tools::Rectangle::Bottom(), bPagebreakDrawn, ScAddress::Col(), COL_BLACK(), convertPixelToLogical(), DeleteDragRectOverlay(), eWhich, ScTabViewShell::GetActiveViewShell(), ScDocument::GetColWidth(), ScViewData::GetDocument(), GetDrawMapMode(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), getOverlayManager(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetPrintTwipsPos(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScTabView::GetViewData(), i, INS_CELLSDOWN, INS_CELLSRIGHT, sdr::overlay::Invert, comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), tools::Rectangle::IsEmpty(), ScDocument::IsLayoutRTL(), tools::Rectangle::Left(), SfxViewShell::libreOfficeKitViewCallback(), meDragInsertMode, mpOODragRect, mrViewData, nAdjust, nDragEndX, nDragEndY, nDragStartX, nDragStartY, nPPTX, nPPTY, rectanglesToString(), tools::Rectangle::Right(), ScAddress::Row(), tools::Rectangle::SetLeft(), vcl::Window::SetMapMode(), tools::Rectangle::SetRight(), tools::Rectangle::Top(), ScViewData::ToPixel(), tools::Rectangle::toString(), basegfx::B2DRange::transform(), ScDocument::ValidCol(), ScDocument::ValidRow(), WhichH(), WhichV(), Point::X(), and Point::Y().

Referenced by AcceptPrivateDrop(), ExecutePrivateDrop(), ImpCreateOverlayObjects(), PagebreakMove(), Tracking(), and UpdateDragRect().

◆ UpdateEditViewPos()

void ScGridWindow::UpdateEditViewPos ( )

◆ UpdateFormulas()

void ScGridWindow::UpdateFormulas ( SCCOL  nX1 = -1,
SCROW  nY1 = -1,
SCCOL  nX2 = -1,
SCROW  nY2 = -1 
)

◆ UpdateHeaderOverlay()

void ScGridWindow::UpdateHeaderOverlay ( )

◆ UpdateInputContext()

void ScGridWindow::UpdateInputContext ( )

◆ updateKitCellCursor()

void ScGridWindow::updateKitCellCursor ( const SfxViewShell pOtherShell) const

◆ updateKitOtherCursors()

void ScGridWindow::updateKitOtherCursors ( ) const

notify this view with new positions for other view's cursors (after zoom)

Definition at line 6075 of file gridwin.cxx.

References SfxViewShell::GetFirst(), SfxViewShell::GetNext(), ScViewData::GetViewShell(), mrViewData, notifyKitCellCursor(), and notifyKitCellViewCursor().

Referenced by ScModelObj::setClientZoom().

◆ UpdateKitSelection()

void ScGridWindow::UpdateKitSelection ( const std::vector< tools::Rectangle > &  rRectangles,
std::vector< tools::Rectangle > *  pLogicRects = nullptr 
)
private

◆ UpdateListValPos()

void ScGridWindow::UpdateListValPos ( bool  bVisible,
const ScAddress rPos 
)

◆ updateLOKInputHelp()

void ScGridWindow::updateLOKInputHelp ( const OUString &  title,
const OUString &  content 
) const

◆ updateLOKValListButton()

void ScGridWindow::updateLOKValListButton ( bool  bVisible,
const ScAddress rPos 
) const

◆ updateOtherKitSelections()

void ScGridWindow::updateOtherKitSelections ( ) const

◆ UpdateSelectionOverlay()

void ScGridWindow::UpdateSelectionOverlay ( )

◆ UpdateShrinkOverlay()

void ScGridWindow::UpdateShrinkOverlay ( )

◆ UpdateSparklineGroupOverlay()

void ScGridWindow::UpdateSparklineGroupOverlay ( )

◆ UpdateStatusPosSize()

void ScGridWindow::UpdateStatusPosSize ( )

◆ UpdateVisibleRange()

bool ScGridWindow::UpdateVisibleRange ( )

Friends And Related Function Documentation

◆ ScFilterListBox

friend class ScFilterListBox
friend

Definition at line 93 of file gridwin.hxx.

Member Data Documentation

◆ aAutoMarkPos

ScAddress ScGridWindow::aAutoMarkPos
private

Definition at line 202 of file gridwin.hxx.

Referenced by Draw(), UpdateAutoFillMark(), and UpdateAutoFillOverlay().

◆ aComboButton

ScDDComboBoxButton ScGridWindow::aComboButton
private

Definition at line 195 of file gridwin.hxx.

Referenced by dispose(), and DrawButtons().

◆ aCurMousePos

Point ScGridWindow::aCurMousePos
private

◆ aInvertRect

tools::Rectangle ScGridWindow::aInvertRect
private

Definition at line 205 of file gridwin.hxx.

Referenced by DoInvertRect(), and UpdateHeaderOverlay().

◆ aListValPos

ScAddress ScGridWindow::aListValPos
private

◆ aPagebreakDrag

ScRange ScGridWindow::aPagebreakDrag
private

Definition at line 185 of file gridwin.hxx.

Referenced by MoveMouseStatus(), PagebreakMove(), and UpdateDragRectOverlay().

◆ aPagebreakSource

ScRange ScGridWindow::aPagebreakSource
private

Definition at line 184 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and PagebreakMove().

◆ aRepaintPixel

tools::Rectangle ScGridWindow::aRepaintPixel
private

Definition at line 200 of file gridwin.hxx.

Referenced by CheckNeedsRepaint(), Paint(), and UpdateFormulas().

◆ aRFSelectedCorned

RfCorner ScGridWindow::aRFSelectedCorned
private

Definition at line 207 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), and RFMouseMove().

◆ aSaveAutoFilterResult

ScCheckListMenuControl::ResultType ScGridWindow::aSaveAutoFilterResult
private

Definition at line 165 of file gridwin.hxx.

Referenced by LaunchAutoFilterMenu(), and UpdateAutoFilterFromMenu().

◆ bAutoMarkVisible

bool ScGridWindow::bAutoMarkVisible
private

Definition at line 219 of file gridwin.hxx.

Referenced by Draw(), UpdateAutoFillMark(), and UpdateAutoFillOverlay().

◆ bDPMouse

bool ScGridWindow::bDPMouse
private

Definition at line 212 of file gridwin.hxx.

Referenced by DoPushPivotButton(), DPMouseButtonUp(), MouseButtonUp(), MouseMove(), and Tracking().

◆ bDragRect

bool ScGridWindow::bDragRect
private

◆ bEEMouse

bool ScGridWindow::bEEMouse
private

Definition at line 211 of file gridwin.hxx.

Referenced by Command(), HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), and StartDrag().

◆ bInitialPageBreaks

bool ScGridWindow::bInitialPageBreaks
private

Definition at line 221 of file gridwin.hxx.

Referenced by DrawContent(), initiatePageBreaks(), ScGridWindow(), and SetupInitialPageBreaks().

◆ bIsInPaint

bool ScGridWindow::bIsInPaint
private

Definition at line 217 of file gridwin.hxx.

Referenced by Paint().

◆ bListValButton

bool ScGridWindow::bListValButton
private

◆ bNeedsRepaint

bool ScGridWindow::bNeedsRepaint
private

Definition at line 218 of file gridwin.hxx.

Referenced by CheckNeedsRepaint(), Paint(), and UpdateFormulas().

◆ bPagebreakDrawn

bool ScGridWindow::bPagebreakDrawn
private

Definition at line 215 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), PagebreakMove(), Tracking(), and UpdateDragRectOverlay().

◆ bRFMouse

bool ScGridWindow::bRFMouse
private

◆ bRFSize

bool ScGridWindow::bRFSize
private

Definition at line 214 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().

◆ eHWhich

ScHSplitPos ScGridWindow::eHWhich
private

◆ eVWhich

ScVSplitPos ScGridWindow::eVWhich
private

◆ eWhich

ScSplitPos ScGridWindow::eWhich
private

◆ maLOKLastCursor

std::vector<LOKCursorEntry> ScGridWindow::maLOKLastCursor
private

Definition at line 149 of file gridwin.hxx.

Referenced by NeedLOKCursorInvalidation().

◆ maShowPageBreaksTimer

Timer ScGridWindow::maShowPageBreaksTimer
private

Definition at line 209 of file gridwin.hxx.

Referenced by dispose(), ScGridWindow(), and SetupInitialPageBreaks().

◆ maVisibleRange

VisibleRange ScGridWindow::maVisibleRange
private

◆ meDragInsertMode

InsCellCmd ScGridWindow::meDragInsertMode
private

Definition at line 193 of file gridwin.hxx.

Referenced by AcceptPrivateDrop(), DropTransferObj(), and UpdateDragRectOverlay().

◆ mpAutoFillRect

std::optional<tools::Rectangle> ScGridWindow::mpAutoFillRect
private

Definition at line 113 of file gridwin.hxx.

Referenced by DeleteAutoFillOverlay(), TestMouse(), and UpdateAutoFillOverlay().

◆ mpAutoFilterPopup

std::unique_ptr<ScCheckListMenuControl> ScGridWindow::mpAutoFilterPopup
private

Definition at line 161 of file gridwin.hxx.

Referenced by dispose(), LaunchAutoFilterMenu(), and UpdateAutoFilterFromMenu().

◆ mpDPFieldPopup

std::unique_ptr<ScCheckListMenuControl> ScGridWindow::mpDPFieldPopup
private

◆ mpFilterBox

std::shared_ptr<ScFilterListBox> ScGridWindow::mpFilterBox
private

◆ mpFilterButton

std::unique_ptr<ScDPFieldButton> ScGridWindow::mpFilterButton
private

Definition at line 163 of file gridwin.hxx.

Referenced by DoAutoFilterButton(), and RefreshAutoFilterButton().

◆ mpLOKDrawView

std::unique_ptr<FmFormView> ScGridWindow::mpLOKDrawView
private

LibreOfficeKit needs a persistent FmFormView for tiled rendering, otherwise the invalidations from drawinglayer do not work.

Definition at line 117 of file gridwin.hxx.

Referenced by PaintTile().

◆ mpNoteMarker

std::unique_ptr<ScNoteMarker, o3tl::default_delete<ScNoteMarker> > ScGridWindow::mpNoteMarker
private

◆ mpOOAutoFill

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOAutoFill
private

Definition at line 107 of file gridwin.hxx.

Referenced by DeleteAutoFillOverlay(), and UpdateAutoFillOverlay().

◆ mpOOCursors

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOCursors
private

◆ mpOODragRect

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOODragRect
private

Definition at line 108 of file gridwin.hxx.

Referenced by DeleteDragRectOverlay(), and UpdateDragRectOverlay().

◆ mpOOHeader

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOHeader
private

Definition at line 109 of file gridwin.hxx.

Referenced by DeleteHeaderOverlay(), and UpdateHeaderOverlay().

◆ mpOOSelection

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOSelection
private

Definition at line 105 of file gridwin.hxx.

Referenced by DeleteSelectionOverlay(), and UpdateSelectionOverlay().

◆ mpOOSelectionBorder

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOSelectionBorder
private

Definition at line 106 of file gridwin.hxx.

Referenced by DeleteCopySourceOverlay(), and UpdateCopySourceOverlay().

◆ mpOOShrink

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOShrink
private

Definition at line 110 of file gridwin.hxx.

Referenced by DeleteShrinkOverlay(), and UpdateShrinkOverlay().

◆ mpOOSparklineGroup

std::unique_ptr<sdr::overlay::OverlayObjectList> ScGridWindow::mpOOSparklineGroup
private

Definition at line 111 of file gridwin.hxx.

Referenced by DeleteSparklineGroupOverlay(), and UpdateSparklineGroupOverlay().

◆ mpSpellCheckCxt

std::shared_ptr<sc::SpellCheckContext> ScGridWindow::mpSpellCheckCxt
private

◆ mrViewData

ScViewData& ScGridWindow::mrViewData
private

Definition at line 153 of file gridwin.hxx.

Referenced by AcceptDrop(), AcceptPrivateDrop(), CheckNeedsRepaint(), Command(), CreateAccessible(), CreateAnchorHandle(), DataChanged(), DeleteCursorOverlay(), DeleteSurroundingText(), DoAutoFilterButton(), DoPushPivotButton(), DoPushPivotToggle(), DoScenarioMenu(), DPConfigFieldPopup(), DPLaunchFieldPopupMenu(), DPLaunchMultiFieldPopupMenu(), DPSetupFieldPopup(), DPTestFieldPopupArrow(), DPTestMouse(), DPTestMultiFieldPopupArrow(), Draw(), DrawAfterScroll(), DrawButtons(), DrawCommand(), DrawContent(), DrawEndAction(), DrawHasMarkedObj(), DrawHiddenIndicator(), DrawKeyInput(), DrawMarkDropObj(), DrawMouseButtonDown(), DrawMouseButtonUp(), DrawMouseMove(), DrawPagePreview(), DrawRedraw(), DrawSdrGrid(), DropScroll(), DropTransferObj(), dumpCellProperties(), dumpColumnCellStorage(), dumpColumnInformationHmm(), dumpColumnInformationPixel(), dumpGraphicInformation(), ExecDataSelect(), ExecuteDrop(), FilterSelect(), getCellCursor(), GetDPFieldOrientation(), GetDrawMapMode(), GetEditUrl(), GetFocus(), GetListValButtonRect(), getOverlayManager(), GetRectsAnyFor(), GetSelectionRects(), GetSelectionRectsPrintTwips(), GetSurroundingText(), GetSurroundingTextSelection(), getViewData(), HandleMouseButtonDown(), HasScenarioButton(), HitPageBreak(), HitRangeFinder(), InvalidateLOKViewCursor(), IsAutoFilterActive(), IsMyModel(), KeyInput(), LaunchAutoFilterMenu(), LaunchDataSelectMenu(), LaunchDPFieldMenu(), LaunchPageFieldMenu(), LogicInvalidate(), LoseFocus(), MouseButtonDown(), MouseButtonUp(), MouseMove(), notifyKitCellCursor(), notifyKitCellFollowJump(), notifyKitCellViewCursor(), PagebreakMove(), Paint(), PaintTile(), PasteSelection(), PreNotify(), PrePaint(), RequestHelp(), RFMouseMove(), ScGridWindow(), SelectForContextMenu(), SetCellSelectionPixel(), ShowNoteMarker(), StartDrag(), StopMarking(), TestMouse(), Tracking(), UpdateAutoFillOverlay(), UpdateAutoFilterFromMenu(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDPFromFieldPopupMenu(), UpdateDragRectOverlay(), UpdateEditViewPos(), UpdateFormulas(), UpdateInputContext(), updateKitCellCursor(), updateKitOtherCursors(), UpdateKitSelection(), updateLOKInputHelp(), updateLOKValListButton(), updateOtherKitSelections(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), UpdateSparklineGroupOverlay(), UpdateStatusPosSize(), and UpdateVisibleRange().

◆ nButtonDown

sal_uInt16 ScGridWindow::nButtonDown
private

◆ nCursorHideCount

sal_uInt16 ScGridWindow::nCursorHideCount
private

Definition at line 167 of file gridwin.hxx.

Referenced by Draw(), HideCursor(), and ShowCursor().

◆ nDPField

tools::Long ScGridWindow::nDPField
private

Definition at line 174 of file gridwin.hxx.

Referenced by DoPushPivotButton(), and DPTestMouse().

◆ nDragEndX

SCCOL ScGridWindow::nDragEndX
private

Definition at line 191 of file gridwin.hxx.

Referenced by AcceptPrivateDrop(), UpdateDragRect(), and UpdateDragRectOverlay().

◆ nDragEndY

SCROW ScGridWindow::nDragEndY
private

Definition at line 192 of file gridwin.hxx.

Referenced by AcceptPrivateDrop(), UpdateDragRect(), and UpdateDragRectOverlay().

◆ nDragStartX

SCCOL ScGridWindow::nDragStartX
private

◆ nDragStartY

SCROW ScGridWindow::nDragStartY
private

◆ nMouseStatus

sal_uInt8 ScGridWindow::nMouseStatus
private

◆ nNestedButtonState

ScNestedButtonState ScGridWindow::nNestedButtonState
private

Definition at line 172 of file gridwin.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

◆ nPagebreakBreak

SCCOLROW ScGridWindow::nPagebreakBreak
private

Definition at line 182 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and PagebreakMove().

◆ nPagebreakMouse

sal_uInt16 ScGridWindow::nPagebreakMouse
private

◆ nPagebreakPrev

SCCOLROW ScGridWindow::nPagebreakPrev
private

Definition at line 183 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and PagebreakMove().

◆ nPageScript

SvtScriptType ScGridWindow::nPageScript
private

Definition at line 187 of file gridwin.hxx.

Referenced by DrawPagePreview().

◆ nPaintCount

sal_uInt16 ScGridWindow::nPaintCount
private

Definition at line 199 of file gridwin.hxx.

Referenced by Draw(), and UpdateFormulas().

◆ nRFAddX

SCCOL ScGridWindow::nRFAddX
private

Definition at line 178 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().

◆ nRFAddY

SCROW ScGridWindow::nRFAddY
private

Definition at line 179 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().

◆ nRFIndex

sal_uInt16 ScGridWindow::nRFIndex
private

name?

Definition at line 177 of file gridwin.hxx.

Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().

◆ pDragDPObj

ScDPObject* ScGridWindow::pDragDPObj
private

Definition at line 175 of file gridwin.hxx.

Referenced by DoPushPivotButton(), and DPTestMouse().


The documentation for this class was generated from the following files: