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  AutoFilterMode {
  AutoFilterMode::Normal,
  AutoFilterMode::Top10,
  AutoFilterMode::Custom,
  AutoFilterMode::Empty,
  AutoFilterMode::NonEmpty,
  AutoFilterMode::TextColor,
  AutoFilterMode::BackgroundColor,
  AutoFilterMode::SortAscending,
  AutoFilterMode::SortDescending,
  AutoFilterMode::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)
 
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)
 
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 ()
 
void DoInvertRect (const tools::Rectangle &rPixel)
 
void CheckNeedsRepaint ()
 
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 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...
 
virtual void LogicMouseButtonDown (const MouseEvent &rMouseEvent) override
 Same as MouseButtonDown(), but coordinates are in logic unit. More...
 
virtual void LogicMouseButtonUp (const MouseEvent &rMouseEvent) override
 Same as MouseButtonUp(), but coordinates are in logic unit. More...
 
virtual void LogicMouseMove (const MouseEvent &rMouseEvent) override
 Same as MouseMove(), but coordinates are in logic unit. More...
 
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::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 Point ImplFrameToOutput (const Point &rPos)
 
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 KeyUp (const KeyEvent &rKEvt)
 
virtual void PostPaint (vcl::RenderContext &rRenderContext)
 
void Erase (vcl::RenderContext &rRenderContext)
 
virtual void Draw (::OutputDevice *pDev, const Point &rPos, DrawFlags nFlags)
 
virtual void Move ()
 
virtual void Resize ()
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void StateChanged (StateChangedType nStateChange)
 
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 *pRelativeWindow) 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)
 
virtual void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
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 CaptureMouse ()
 
void ReleaseMouse ()
 
bool IsMouseCaptured () const
 
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 OString &)
 
const OString & 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, ScrollBar *pHScrl, ScrollBar *pVScrl)
 
virtual const SystemEnvDataGetSystemData () const
 
virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface (bool bCreate=true)
 
void SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace)
 
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
 
const vcl::ILibreOfficeKitNotifier * GetLOKNotifier () 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::XWindowPeer > 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 OString &rKey, const OUString &rValue)
 
bool set_font_attribute (const OString &rKey, const OUString &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 bool IsChart () 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::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)
 
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
 
void SetAccessibleRelationMemberOf (vcl::Window *pMemberOf)
 
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
 
- Public Member Functions inherited from DropTargetHelper
 DropTargetHelper (vcl::Window *pWindow)
 
 DropTargetHelper (const css::uno::Reference< css::datatransfer::dnd::XDropTarget > &rxDropTarget)
 
void dispose ()
 
virtual ~DropTargetHelper ()
 
bool IsDropFormatSupported (SotClipboardFormatId nFormat) const
 
const DataFlavorExVectorGetDataFlavorExVector () const
 
- Public Member Functions inherited from DragSourceHelper
 DragSourceHelper (vcl::Window *pWindow)
 
void dispose ()
 
virtual ~DragSourceHelper ()
 

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
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
 
SAL_DLLPRIVATE Point ImplOutputToFrame (const Point &rPos)
 
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (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
 
SAL_DLLPRIVATE void ImplInvalidate (const vcl::Region *rRegion, 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 ()
 

Private Types

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

Private Member Functions

 DECL_LINK (PopupModeEndHdl, weld::Popover &, void)
 
 DECL_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)
 
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...
 
void DPLaunchFieldPopupMenu (const Point &rScrPos, const Size &rScrSize, const ScAddress &rPos, ScDPObject *pDPObj)
 
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)
 
sal_Int8 ExecutePrivateDrop (const ExecuteDropEvent &rEvt)
 
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 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 IsSpellErrorAtPos (const Point &rPos, SCCOL nCol1, SCROW nRow)
 
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)
 
bool IsCellCoveredByText (SCCOL nPosX, SCROW nPosY, SCTAB nTab, SCCOL &rTextStartPosX)
 The cell may be covered by text that overflows from a previous cell. More...
 
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 (ScDocument &rDoc, SCTAB nTab, bool bSetup)
 
 DECL_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::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
 
VclPtr< ScCheckListMenuWindowmpAutoFilterPopup
 
VclPtr< ScCheckListMenuWindowmpDPFieldPopup
 
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
 
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
 
Timer maShowPageBreaksTimer
 
bool bInitialPageBreaks
 

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 ()
 
static OUString GetNonMnemonicString (const OUString &rStr)
 

Detailed Description

Definition at line 85 of file gridwin.hxx.

Member Enumeration Documentation

Enumerator
Normal 
Top10 
Custom 
Empty 
NonEmpty 
TextColor 
BackgroundColor 
SortAscending 
SortDescending 
Clear 

Definition at line 329 of file gridwin.hxx.

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

Definition at line 90 of file gridwin.hxx.

Enumerator
NONE 
Down 
Up 

Definition at line 165 of file gridwin.hxx.

Constructor & Destructor Documentation

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

Definition at line 434 of file gridwin.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

sal_Int8 ScGridWindow::AcceptDrop ( const AcceptDropEvent rEvt)
overrideprotectedvirtual
sal_Int8 ScGridWindow::AcceptPrivateDrop ( const AcceptDropEvent rEvt)
private
void ScGridWindow::CheckNeedsRepaint ( )
void ScGridWindow::ClickExtern ( )
void ScGridWindow::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from vcl::Window.

Definition at line 2853 of file gridwin.cxx.

References SdrMarkView::AreObjectsMarked(), ScRefCellValue::assign(), bEEMouse, CELLTYPE_EDIT, CELLTYPE_NONE, CELLTYPE_STRING, tools::Rectangle::Center(), ScAddress::Col(), OutlinerView::Command(), EditEngine::CompleteOnlineSpelling(), ScTabViewShell::DeactivateOle(), ScTabViewShell::EnableEditHyperlink(), eWhich, SfxDispatcher::ExecutePopup(), EditView::ExecuteSpellPopup(), SdrMarkView::GetAllMarkedBoundRect(), ScViewData::GetBindings(), CommandEvent::GetCommand(), EditView::GetCursor(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), EditView::GetEditEngine(), GetEditUrl(), ScViewData::GetEditView(), 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(), 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(), IsSpellErrorAtPos(), lcl_SetTextCursorPos(), LINK, vcl::Window::LogicToPixel(), ScRefCellValue::meType, mpSpellCheckCxt, mrViewData, nMouseStatus, PasteSelection(), Point, 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(), and ScTabView::StopRefMode().

css::uno::Reference< css::accessibility::XAccessible > ScGridWindow::CreateAccessible ( )
overridevirtual
void ScGridWindow::CreateAnchorHandle ( SdrHdlList rHdl,
const ScAddress rAddress 
)
void ScGridWindow::CursorChanged ( )

Definition at line 5825 of file gridwin.cxx.

References UpdateCursorOverlay().

Referenced by ScGridWinUIObject::execute().

void ScGridWindow::DataChanged ( const DataChangedEvent rDCEvt)
overridevirtual
ScGridWindow::DECL_LINK ( PopupModeEndHdl  ,
weld::Popover ,
void   
)
private
ScGridWindow::DECL_LINK ( PopupSpellingHdl  ,
SpellCallbackInfo ,
void   
)
private
ScGridWindow::DECL_LINK ( InitiatePageBreaksTimer  ,
Timer ,
void   
)
private
void ScGridWindow::DeleteAutoFillOverlay ( )

Definition at line 6385 of file gridwin.cxx.

References mpAutoFillRect, and mpOOAutoFill.

Referenced by ImpDestroyOverlayObjects(), and UpdateAutoFillOverlay().

void ScGridWindow::DeleteCopySourceOverlay ( )

Definition at line 5871 of file gridwin.cxx.

References mpOOSelectionBorder.

Referenced by ImpDestroyOverlayObjects(), and UpdateCopySourceOverlay().

void ScGridWindow::DeleteCursorOverlay ( )
void ScGridWindow::DeleteDragRectOverlay ( )

Definition at line 6476 of file gridwin.cxx.

References mpOODragRect.

Referenced by ImpDestroyOverlayObjects(), and UpdateDragRectOverlay().

void ScGridWindow::DeleteHeaderOverlay ( )

Definition at line 6603 of file gridwin.cxx.

References mpOOHeader.

Referenced by ImpDestroyOverlayObjects(), and UpdateHeaderOverlay().

void ScGridWindow::DeleteSelectionOverlay ( )

Definition at line 6298 of file gridwin.cxx.

References mpOOSelection.

Referenced by ImpDestroyOverlayObjects(), and UpdateSelectionOverlay().

void ScGridWindow::DeleteShrinkOverlay ( )

Definition at line 6649 of file gridwin.cxx.

References mpOOShrink.

Referenced by ImpDestroyOverlayObjects(), and UpdateShrinkOverlay().

bool ScGridWindow::DeleteSurroundingText ( const Selection rSelection)
overridevirtual
void ScGridWindow::dispose ( void  )
overridevirtual
bool ScGridWindow::DoAutoFilterButton ( SCCOL  nCol,
SCROW  nRow,
const MouseEvent rMEvt 
)
private
void ScGridWindow::DoInvertRect ( const tools::Rectangle rPixel)
bool ScGridWindow::DoPageFieldSelection ( SCCOL  nCol,
SCROW  nRow 
)
private

Definition at line 94 of file gridwin2.cxx.

void ScGridWindow::DoPushPivotButton ( SCCOL  nCol,
SCROW  nRow,
const MouseEvent rMEvt,
bool  bButton,
bool  bPopup 
)
private
void ScGridWindow::DoScenarioMenu ( const ScRange rScenRange)
void ScGridWindow::DPLaunchFieldPopupMenu ( const Point rScrPos,
const Size rScrSize,
const ScAddress rPos,
ScDPObject pDPObj 
)
private
void ScGridWindow::DPLaunchFieldPopupMenu ( const Point rScrPos,
const Size rScrSize,
tools::Long  nDimIndex,
ScDPObject pDPObj 
)
void ScGridWindow::DPMouseButtonUp ( const MouseEvent rMEvt)
private

Definition at line 655 of file gridwin2.cxx.

Referenced by MouseButtonUp().

void ScGridWindow::DPMouseMove ( const MouseEvent rMEvt)
private

Definition at line 650 of file gridwin2.cxx.

Referenced by MouseMove().

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

Check if the mouse click is on a field popup button.

Returns
true if the field popup menu has been launched and no further mouse event handling is necessary, false otherwise.

Definition at line 342 of file gridwin2.cxx.

References ScAddress::Col(), ScDPFieldButton::getPopupBoundingBox(), MouseEvent::GetPosPixel(), tools::Rectangle::IsInside(), Point, ScAddress::Row(), ScDPFieldButton::setBoundingBox(), and ScDPFieldButton::setPopupLeft().

void ScGridWindow::DPTestMouse ( const MouseEvent rMEvt,
bool  bMove 
)
private
void ScGridWindow::Draw ( SCCOL  nX1,
SCROW  nY1,
SCCOL  nX2,
SCROW  nY2,
ScUpdateMode  eMode 
)

Paint AutoFill handles alone (without Cursor) ???

Definition at line 460 of file gridwin4.cxx.

References aAutoMarkPos, bAutoMarkVisible, CheckNeedsRepaint(), ScAddress::Col(), ScopedVclPtr< VirtualDevice >::disposeAndReset(), DrawContent(), eWhich, ScDocument::ExtendHidden(), ScDocument::ExtendMerge(), ScDocument::FillInfo(), VclPtr< VirtualDevice >::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, Point, ScDocument::PrepareFormulaCalc(), PutInOrder(), ScDocument::ResetChanged(), ScAddress::Row(), SC_MOD, ScOutputData::SetFmtDevice(), OutputDevice::SetMapMode(), ScOutputData::SetMirrorWidth(), ScOutputData::SetSpellCheckContext(), ScAddress::Tab(), UpdateVisibleRange(), ScDocument::ValidCol(), ScDocument::ValidRow(), VOPT_FORMULAS, and Size::Width().

Referenced by Paint().

void ScGridWindow::DrawAfterScroll ( )
private
void ScGridWindow::DrawButtons ( SCCOL  nX1,
SCCOL  nX2,
const ScTableInfo rTabInfo,
OutputDevice pContentDev 
)
bool ScGridWindow::DrawCommand ( const CommandEvent rCEvt)
private
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 627 of file gridwin4.cxx.

References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustTop(), ScRange::aEnd, aMap, svtools::APPBACKGROUND, ScRangeFindData::aRef, ScRange::aStart, SdrPaintView::BeginDrawLayers(), bInitialPageBreaks, tools::Rectangle::Bottom(), svtools::CALCGRID, svtools::CALCREFERENCE, ScAddress::Col(), COL_TRANSPARENT(), o3tl::convert(), ScRangeFindList::Count(), ScOutputData::DrawBackground(), DrawButtons(), ScOutputData::DrawChangeTrack(), ScOutputData::DrawClear(), ScOutputData::DrawClipMarks(), ScOutputData::DrawDocumentBackground(), ScOutputData::DrawEdit(), ScOutputData::DrawFrame(), ScOutputData::DrawGrid(), ScOutputData::DrawNoteMarks(), DrawPagePreview(), OutputDevice::DrawRect(), DrawRedraw(), ScOutputData::DrawRefMark(), DrawSdrGrid(), ScOutputData::DrawShadow(), ScOutputData::DrawStrings(), OutputDevice::DrawText(), SdrPaintView::EndDrawLayers(), eWhich, flushOverlayManager(), EditView::GetBackgroundColor(), ScDocument::GetChangeTrack(), ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), EditView::GetCursor(), SfxViewShell::GetDocId(), ScRangeFindList::GetDocName(), ScDocument::GetDocOptions(), ScViewData::GetDocShell(), ScViewData::GetDocument(), GetDrawMapMode(), ScViewData::GetEditActivePart(), EditView::GetEditCursor(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), ScViewData::GetEditStartCol(), ScViewData::GetEditStartRow(), ScViewData::GetEditView(), SfxViewShell::GetFirst(), ScViewOptions::GetGridColor(), ScTabView::GetHighlightRanges(), ScModule::GetInputHdl(), ScViewData::GetLogicMode(), vcl::Window::GetMapMode(), OutputDevice::GetMapMode(), SfxViewShell::GetNext(), ScRangeFindList::GetObject(), ScViewOptions::GetOption(), ScViewData::GetOptions(), MapMode::GetOrigin(), vcl::Window::GetOutDev(), EditView::GetOutputArea(), EditView::GetOutputDevice(), vcl::Window::GetOutputSizePixel(), ScTabView::GetPageBreakData(), 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(), ScDocument::HasBackgroundDraw(), ScViewData::HasEditView(), i, InvalidateLOKViewCursor(), comphelper::LibreOfficeKit::isActive(), ScDocOptions::IsAutoSpell(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScRangeFindList::IsHidden(), ScDocument::IsLayoutRTL(), ScViewData::IsPagebreakMode(), ScViewData::IsRefMode(), ScDocument::IsScenario(), ScViewData::IsSyntaxMode(), vcl::Cursor::IsVisible(), lcl_DrawHighlight(), lcl_DrawScenarioFrames(), lcl_GetEditAreaTLOffset(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), ScDocument::MaxCol(), ScDocument::MaxRow(), tools::Rectangle::Move(), mpNoteMarker, mrViewData, svtools::ColorConfigValue::nColor, ScRangeFindData::nColor, nCount, ScOutputData::nScrX, ScOutputData::nScrY, ScOutputData::nTab, ScOutputData::nX1, ScOutputData::nX2, ScOutputData::nY1, ScOutputData::nY2, EditView::Paint(), OutputDevice::PixelToLogic(), vcl::Window::PixelToLogic(), Point, ScRange::PutInOrder(), o3tl::px, rData, tools::Rectangle::Right(), ScAddress::Row(), SC_LAYER_BACK(), SC_LAYER_FRONT(), SC_LAYER_INTERN(), SC_MOD, 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(), ScAddress::Tab(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), o3tl::twip, VOPT_CLIPMARKS, VOPT_FORMULAS, VOPT_GRID, VOPT_GRID_ONTOP, VOPT_NOTES, VOPT_NULLVALS, and VOPT_PAGEBREAKS.

Referenced by Draw(), and PaintTile().

void ScGridWindow::DrawEndAction ( )
private
bool ScGridWindow::DrawHasMarkedObj ( )
private

Definition at line 386 of file gridwin3.cxx.

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

Referenced by KeyInput().

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

Definition at line 5665 of file gridwin.cxx.

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

Referenced by ScTabView::DoAddWin().

void ScGridWindow::DrawMarkDropObj ( SdrObject pObj)
private
bool ScGridWindow::DrawMouseButtonDown ( const MouseEvent rMEvt)
private
bool ScGridWindow::DrawMouseButtonUp ( const MouseEvent rMEvt)
private
bool ScGridWindow::DrawMouseMove ( const MouseEvent rMEvt)
private
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 1657 of file gridwin4.cxx.

References 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(), svtools::ColorConfig::GetColorValue(), ScPageBreakData::GetCount(), ScPageBreakData::GetData(), SfxItemPool::GetDefaultItem(), ScGlobal::GetDefaultScriptType(), ScViewData::GetDocument(), ScPrintRangeData::GetFirstPage(), ScPatternAttr::GetFont(), 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, Point, rData, ScAddress::Row(), SC_AUTOCOL_BLACK, SC_MOD, ScResId(), vcl::Font::SetColor(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), vcl::Font::SetFontSize(), OutputDevice::SetLineColor(), and Size::Width().

Referenced by DrawContent().

void ScGridWindow::DrawRedraw ( ScOutputData rOutputData,
SdrLayerID  nLayer 
)
private
void ScGridWindow::DrawSdrGrid ( const tools::Rectangle rDrawingRect,
OutputDevice pContentDev 
)
private
void ScGridWindow::DropScroll ( const Point rMousePos)
private
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 4141 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(), 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().

void ScGridWindow::dumpCellProperties ( )
private
void ScGridWindow::dumpColumnCellStorage ( )
private
void ScGridWindow::dumpColumnInformationHmm ( )
private
void ScGridWindow::dumpColumnInformationPixel ( )
private
void ScGridWindow::dumpGraphicInformation ( )
private
void ScGridWindow::ExecDataSelect ( SCCOL  nCol,
SCROW  nRow,
const OUString &  rStr 
)
private
sal_Int8 ScGridWindow::ExecuteDrop ( const ExecuteDropEvent rEvt)
overrideprotectedvirtual
sal_Int8 ScGridWindow::ExecutePrivateDrop ( const ExecuteDropEvent rEvt)
private
void ScGridWindow::FakeButtonUp ( )

Definition at line 2465 of file gridwin.cxx.

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

Referenced by MouseButtonDown().

void ScGridWindow::FilterSelect ( sal_uLong  nSel)
private
void ScGridWindow::flushOverlayManager ( )

Definition at line 6734 of file gridwin.cxx.

References getOverlayManager().

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

const std::vector< editeng::MisspellRanges > * ScGridWindow::GetAutoSpellData ( SCCOL  nPosX,
SCROW  nPosY 
)
OString ScGridWindow::getCellCursor ( ) const
void ScGridWindow::GetCellSelection ( std::vector< tools::Rectangle > &  rLogicRects)
DataPilotFieldOrientation ScGridWindow::GetDPFieldOrientation ( SCCOL  nCol,
SCROW  nRow 
) const
MapMode ScGridWindow::GetDrawMapMode ( bool  bForce = false)
bool ScGridWindow::GetEditUrl ( const Point rPos,
OUString *  pName = nullptr,
OUString *  pUrl = nullptr,
OUString *  pTarget = nullptr 
)
private
void ScGridWindow::GetFocus ( )
overrideprotectedvirtual
tools::Rectangle ScGridWindow::GetListValButtonRect ( const ScAddress rButtonPos)
private
const Point& ScGridWindow::GetMousePosPixel ( ) const
inline

Definition at line 384 of file gridwin.hxx.

References Point.

Referenced by ScTabView::GetMousePosPixel().

rtl::Reference< sdr::overlay::OverlayManager > ScGridWindow::getOverlayManager ( ) const
void ScGridWindow::GetPixelRectsFor ( const ScMarkData rMarkData,
::std::vector< tools::Rectangle > &  rPixelRects 
) const
private

convert rMarkData into pixel rectangles for this view

Definition at line 2107 of file gridwin4.cxx.

References GetRectsAnyFor().

Referenced by GetSelectionRects(), and UpdateKitSelection().

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

Definition at line 2096 of file gridwin4.cxx.

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

Referenced by GetCellSelection(), and UpdateSelectionOverlay().

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

Definition at line 2101 of file gridwin4.cxx.

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

Referenced by GetCellSelection(), and UpdateSelectionOverlay().

OUString ScGridWindow::GetSurroundingText ( ) const
overridevirtual
Selection ScGridWindow::GetSurroundingTextSelection ( ) const
overridevirtual
FactoryFunction ScGridWindow::GetUITestFactory ( ) const
overridevirtual

Reimplemented from vcl::Window.

Definition at line 6748 of file gridwin.cxx.

References ScGridWinUIObject::create().

ScViewData & ScGridWindow::getViewData ( )
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 1590 of file gridwin.cxx.

References aCurMousePos, aListValPos, aPagebreakSource, aRFSelectedCorned, ATTR_MERGE_FLAG(), bEEMouse, bListValButton, bPagebreakDrawn, bRFMouse, bRFSize, vcl::Window::CaptureMouse(), ClickExtern(), ScAddress::Col(), DoAutoFilterButton(), DoPushPivotButton(), 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::GetMarkData(), MouseEvent::GetModifier(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetRefTabNo(), ScTabView::GetSelEngine(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), vcl::Window::GrabFocus(), ScMergeFlagAttr::HasAutoFilter(), ScViewData::HasEditView(), ScMergeFlagAttr::HasPivotButton(), ScMergeFlagAttr::HasPivotPopupButton(), HasScenarioButton(), HideNoteMarker(), HitPageBreak(), HitRangeFinder(), ScModule::InputEnterHandler(), comphelper::LibreOfficeKit::isActive(), ScTabViewShell::IsAuditShell(), IsCellCoveredByText(), ScRefCellValue::isEmpty(), ScModule::IsFormulaMode(), PopupMenu::IsInExecute(), tools::Rectangle::IsInside(), MouseEvent::IsLeft(), MouseEvent::IsMod2(), ScModule::IsModalMode(), vcl::Window::IsMouseCaptured(), SfxInPlaceClient::IsObjectInPlaceActive(), ScViewData::IsRefMode(), LaunchDataSelectMenu(), MAXTILEDROW, ScGridWindow::MouseEventState::mbActivatePart, MOUSE_LEFT, MOUSE_RIGHT, EditView::MouseButtonDown(), EditView::MouseButtonUp(), mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nRFAddX, nRFAddY, nRFIndex, nScClickMouseModifier, PagebreakMove(), Point, pScActiveViewShell, vcl::Window::ReleaseMouse(), ScAddress::Row(), 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(), SetCellSelectionPixel(), ScTabView::SetCursor(), ScTabViewShell::SetDrawShell(), ScModule::SetInputMode(), ScMarkData::SetMarking(), vcl::Window::SetPointer(), SelectionEngine::SetVisibleArea(), ScViewSelectionEngine::SetWhich(), SelectionEngine::SetWindow(), ScGlobal::ShouldOpenURL(), vcl::Window::StartTracking(), and TestMouse().

Referenced by MouseButtonDown().

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

Definition at line 4919 of file gridwin.cxx.

References nCursorHideCount.

void ScGridWindow::HideNoteMarker ( )

Definition at line 368 of file gridwin5.cxx.

References mpNoteMarker.

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

sal_uInt16 ScGridWindow::HitPageBreak ( const Point rMouse,
ScRange pSource,
SCCOLROW pBreak,
SCCOLROW pPrev 
)
private
bool ScGridWindow::HitRangeFinder ( const Point rMouse,
RfCorner rCorner,
sal_uInt16 *  pIndex,
SCCOL pAddX,
SCROW pAddY 
)
private
void ScGridWindow::ImpCreateOverlayObjects ( )
protected
void ScGridWindow::ImpDestroyOverlayObjects ( )
protected
void ScGridWindow::initiatePageBreaks ( )

Definition at line 2344 of file gridwin4.cxx.

References bInitialPageBreaks.

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

Definition at line 5709 of file gridwin.cxx.

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

Referenced by ScViewFunc::CopyAutoSpellData().

void ScGridWindow::InvalidateLOKViewCursor ( const tools::Rectangle rCursorRect,
const Fraction  aScaleX,
const Fraction  aScaleY 
)
private
bool ScGridWindow::IsAutoFilterActive ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
)
private
bool ScGridWindow::IsCellCoveredByText ( SCCOL  nPosX,
SCROW  nPosY,
SCTAB  nTab,
SCCOL rTextStartPosX 
)
private

The cell may be covered by text that overflows from a previous cell.

Returns
if true, the given cell is covered by (overflowing) text and rTextStartPosX returns the column where the text that overflows starts.

Definition at line 1525 of file gridwin.cxx.

References eWhich, ScDocument::FillInfo(), ScViewData::GetDocument(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), ScViewData::GetPosFromPixel(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), ScDocument::HasAttrib(), ScRefCellValue::isEmpty(), ScOutputData::LayoutStrings(), Merged, mrViewData, nPPTX, nPPTY, OUTTYPE_WINDOW, Overlapped, and vcl::Window::SetMapMode().

Referenced by HandleMouseButtonDown().

bool ScGridWindow::IsMyModel ( const SdrEditView pSdrView)
private
bool ScGridWindow::IsSpellErrorAtPos ( const Point rPos,
SCCOL  nCol1,
SCROW  nRow 
)
private
void ScGridWindow::KeyInput ( const KeyEvent rKEvt)
overridevirtual

check DrawShell !!!

Reimplemented from vcl::Window.

Definition at line 3299 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().

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

Definition at line 585 of file gridwin.cxx.

References ScCheckListMenuControl::addDateMember(), ScCheckListMenuControl::addMember(), ScCheckListMenuControl::addMenuItem(), ScCheckListMenuControl::addSeparator(), aEntries, AREA, aSaveAutoFilterResult, BackgroundColor, ScFilterEntries::begin(), Clear, SfxViewShell::Current(), Custom, VclPtr< reference_type >::disposeAndClear(), Empty, ScFilterEntries::end(), eWhich, ScQueryParamBase::FindAllEntriesByField(), ScCheckListMenuWindow::get_widget(), ScDocument::GetColWidth(), ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), ScDocument::GetFilterEntries(), ScViewData::GetMergeSizePixel(), ScViewData::GetPPTX(), ScDBData::GetQueryParam(), ScCheckListMenuControl::getResult(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScCheckListMenuControl::GetTextWidth(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), ScCheckListMenuControl::IncreaseWindowWidthToFitText(), ScCheckListMenuControl::initMembers(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), vcl::Window::IsMouseCaptured(), ScCheckListMenuControl::launch(), ScFilterEntries::maStrData, ScCheckListMenuControl::Config::mbAllowEmptySet, ScFilterEntries::mbHasDates, ScCheckListMenuControl::Config::mbRTL, mpAutoFilterPopup, mrViewData, NonEmpty, Normal, vcl::Window::OutputToScreenPixel(), pData, Point, vcl::Window::ReleaseMouse(), VclPtr< reference_type >::reset(), SC_EQUAL, ScResId(), ScCheckListMenuControl::setConfig(), ScCheckListMenuControl::setExtendedData(), ScCheckListMenuControl::setMemberSize(), ScCheckListMenuControl::setOKAction(), ScCheckListMenuControl::setPopupEndAction(), ScFilterEntries::size(), SortAscending, SortDescending, TextColor, Top10, ScViewData::ToPixel(), and ScTypedStrData::Value.

Referenced by ScGridWinUIObject::execute(), and ScTabView::StartDataSelect().

void ScGridWindow::LaunchDataSelectMenu ( SCCOL  nCol,
SCROW  nRow 
)
void ScGridWindow::LaunchDPFieldMenu ( SCCOL  nCol,
SCROW  nRow 
)
void ScGridWindow::LaunchPageFieldMenu ( SCCOL  nCol,
SCROW  nRow 
)
void ScGridWindow::LogicInvalidate ( const tools::Rectangle pRectangle)
overridevirtual
void ScGridWindow::LogicMouseButtonDown ( const MouseEvent rMouseEvent)
overridevirtual

Same as MouseButtonDown(), but coordinates are in logic unit.

Reimplemented from vcl::Window.

Definition at line 1471 of file gridwin.cxx.

References MouseButtonDown().

void ScGridWindow::LogicMouseButtonUp ( const MouseEvent rMouseEvent)
overridevirtual

Same as MouseButtonUp(), but coordinates are in logic unit.

Reimplemented from vcl::Window.

Definition at line 1476 of file gridwin.cxx.

References MouseButtonUp().

void ScGridWindow::LogicMouseMove ( const MouseEvent rMouseEvent)
overridevirtual

Same as MouseMove(), but coordinates are in logic unit.

Reimplemented from vcl::Window.

Definition at line 1481 of file gridwin.cxx.

References MouseMove().

void ScGridWindow::LoseFocus ( )
overrideprotectedvirtual
void ScGridWindow::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual
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 1954 of file gridwin.cxx.

References aBuf, aCurMousePos, aData, ADDR_ABS, ADDR_ABS_3D, ScRange::aEnd, 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(), ScAddress::Format(), ScRange::Format(), ScStyleSheetPool::GetActualStyleSheet(), ScDocument::GetAddressConvention(), SfxViewFrame::GetBindings(), ScViewData::GetBindings(), ScTabView::GetBrushDocument(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScDPObject::GetDataFieldPositionData(), ScViewData::GetDelMark(), SfxShell::GetDispatcher(), ScViewData::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(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), MouseSettings::GetMiddleButtonAction(), MouseEvent::GetModifier(), AllSettings::GetMouseSettings(), SfxStyleSheetBase::GetName(), 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(), ScDocument::HasAttrib(), ScViewData::HasEditView(), ScDBFunc::HasSelectionForDrillDown(), ScModule::InputChanged(), ScModule::InputSelection(), SfxBindings::Invalidate(), ScTabView::InvalidateAttribs(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsAnyFillMode(), ScViewData::IsFillMode(), ScModule::IsFormulaMode(), 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(), 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(), Point, 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(), ScDocument::SetPageStyle(), vcl::Window::SetPointer(), ScAddress::SetRow(), ScViewFunc::SetStyleSheetToMarked(), ScDBFunc::ShowDataPilotSourceData(), StopMarking(), ScTabView::StopRefMode(), ScDPObject::ToggleDetails(), SfxUndoManager::Undo(), Up, ScTabViewShell::UpdateInputHandler(), ScDocShell::UpdateOle(), and VALID.

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

void ScGridWindow::MouseMove ( const MouseEvent rMEvt)
overridevirtual

Test if refMode dragging !!!

Reimplemented from vcl::Window.

Definition at line 2474 of file gridwin.cxx.

References aCurMousePos, bDPMouse, bEEMouse, bRFMouse, DPMouseMove(), DrawMouseMove(), eWhich, MouseEvent::GetButtons(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), GetEditUrl(), ScViewData::GetEditView(), EditView::GetField(), EditView::GetFieldUnderMousePointer(), MouseEvent::GetModifier(), EditView::GetOutputDevice(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetRefTabNo(), ScTabView::GetSelEngine(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::HasEditView(), ScTabView::HasPaintBrush(), HideNoteMarker(), HitPageBreak(), HitRangeFinder(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsAnyFillMode(), ScTabViewShell::IsAuditShell(), EditEngine::IsEffectivelyVertical(), ScModule::IsFormulaMode(), MouseEvent::IsLeaveWindow(), MouseEvent::IsMod2(), ScModule::IsModalMode(), ScViewData::IsPagebreakMode(), ScViewData::IsThemedCursor(), EditView::MouseMove(), mpNoteMarker, mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakMouse, nScFillModeMouseModifier, PagebreakMove(), OutputDevice::PixelToLogic(), Point, 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(), vcl::Window::SetPointer(), ScGlobal::ShouldOpenURL(), and TestMouse().

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

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

Definition at line 331 of file gridwin4.cxx.

References maLOKLastCursor.

Referenced by InvalidateLOKViewCursor().

bool ScGridWindow::NeedsRepaint ( )
inline

Definition at line 441 of file gridwin.hxx.

void ScGridWindow::notifyKitCellCursor ( ) const
void ScGridWindow::notifyKitCellViewCursor ( const SfxViewShell pForShell) const
void ScGridWindow::PagebreakMove ( const MouseEvent rMEvt,
bool  bUp 
)
private
void ScGridWindow::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprotectedvirtual
void ScGridWindow::PaintTile ( VirtualDevice rDevice,
int  nOutputWidth,
int  nOutputHeight,
int  nTilePosX,
int  nTilePosY,
tools::Long  nTileWidth,
tools::Long  nTileHeight 
)
void ScGridWindow::PasteSelection ( const Point rPosPixel)
private
bool ScGridWindow::PreNotify ( NotifyEvent rNEvt)
overridevirtual
void ScGridWindow::PrePaint ( vcl::RenderContext rRenderContext)
overrideprotectedvirtual

Reimplemented from vcl::Window.

Definition at line 315 of file gridwin4.cxx.

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

void ScGridWindow::RefreshAutoFilterButton ( const ScAddress rPos)
void ScGridWindow::RequestHelp ( const HelpEvent rEvt)
overrideprotectedvirtual
void ScGridWindow::ResetAutoSpell ( )
void ScGridWindow::ResetAutoSpellForContentChange ( )

Definition at line 5684 of file gridwin.cxx.

References mpSpellCheckCxt.

Referenced by ScViewFunc::CopyAutoSpellData().

void ScGridWindow::RFMouseMove ( const MouseEvent rMEvt,
bool  bUp 
)
private
void ScGridWindow::ScrollPixel ( tools::Long  nDifX,
tools::Long  nDifY 
)
void ScGridWindow::SelectForContextMenu ( const Point rPosPixel,
SCCOL  nCellX,
SCROW  nCellY 
)
private

change to GetEditStartCol after calcrtl is integrated

Definition at line 3146 of file gridwin.cxx.

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

Referenced by Command().

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

Definition at line 5673 of file gridwin.cxx.

References mpSpellCheckCxt.

Referenced by ScTabView::DoAddWin().

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

Definition at line 5690 of file gridwin.cxx.

References mpSpellCheckCxt.

Referenced by ScViewFunc::CopyAutoSpellData().

void ScGridWindow::SetCellSelectionPixel ( int  nType,
int  nPixelX,
int  nPixelY 
)
void ScGridWindow::SetupInitialPageBreaks ( ScDocument rDoc,
SCTAB  nTab,
bool  bSetup 
)
private
void ScGridWindow::ShowCursor ( )

Definition at line 4924 of file gridwin.cxx.

References nCursorHideCount.

Referenced by StartDrag().

void ScGridWindow::ShowFilterMenu ( weld::Window pParent,
const tools::Rectangle rCellRect,
bool  bLayoutRTL 
)
bool ScGridWindow::ShowNoteMarker ( SCCOL  nPosX,
SCROW  nPosY,
bool  bKeyboard 
)
void ScGridWindow::StartDrag ( sal_Int8  nAction,
const Point rPosPixel 
)
overrideprotectedvirtual
void ScGridWindow::StopMarking ( )
bool ScGridWindow::TestMouse ( const MouseEvent rMEvt,
bool  bAction 
)
private
void ScGridWindow::Tracking ( const TrackingEvent rTEvt)
overridevirtual
void ScGridWindow::UpdateAllOverlays ( )

Definition at line 5855 of file gridwin.cxx.

References ImpCreateOverlayObjects(), and ImpDestroyOverlayObjects().

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

Definition at line 4844 of file gridwin.cxx.

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

void ScGridWindow::UpdateAutoFillOverlay ( )
void ScGridWindow::UpdateAutoFilterFromMenu ( AutoFilterMode  eMode)