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::SortAscending,
  AutoFilterMode::SortDescending
}
 

Public Member Functions

 ScGridWindow (vcl::Window *pParent, ScViewData *pData, 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 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, long nTileWidth, 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 (long nDifX, long nDifY)
 
void UpdateEditViewPos ()
 
void UpdateFormulas (SCCOL nX1=-1, SCROW nY1=-1, SCCOL nX2=-1, SCROW nY2=-1)
 
void ShowFilterMenu (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, 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 ()
 
bool ContinueOnlineSpelling ()
 
void EnableAutoSpell (bool bEnable)
 
void ResetAutoSpell ()
 
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
 
- 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 (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags)
 
SAL_DLLPRIVATE void ImplCallResize ()
 
SAL_DLLPRIVATE void ImplCallMove ()
 
void IncModalCount ()
 
void DecModalCount ()
 
virtual vcl::Region GetActiveClipRegion () const override
 
virtual vcl::Region GetOutputBoundsClipRegion () const override
 
bool HasMirroredGraphics () const override
 
 Window (vcl::Window *pParent, WinBits nStyle=0)
 
virtual ~Window () override
 
::OutputDevice const * GetOutDev () const
 
::OutputDeviceGetOutDev ()
 
Color GetBackgroundColor () const override
 
size_t GetSyncCount () const override
 
virtual void EnableRTL (bool bEnable=true) override
 
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 CompatGetFocus ()
 
void CompatLoseFocus ()
 
void CompatStateChanged (StateChangedType nStateChange)
 
void CompatDataChanged (const DataChangedEvent &rDCEvt)
 
bool CompatPreNotify (NotifyEvent &rNEvt)
 
bool CompatNotify (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
 
bool IsDisposed () 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
 
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, long nExtTextInputWidth=0)
 
const tools::RectangleGetCursorRect () const
 
long GetCursorExtTextInputWidth () const
 
void SetCompositionCharRect (const tools::Rectangle *pRect, long nCompositionLength, bool bVertical=false)
 
virtual void SetSettings (const AllSettings &rSettings) override
 
void SetSettings (const AllSettings &rSettings, bool bChild)
 
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)
 
long GetDrawPixel (::OutputDevice const *pDev, 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 (long nX, long nY, long nWidth, 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 (long nHorzScroll, long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Scroll (long nHorzScroll, 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 Flush () override
 
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
 
long CalcZoom (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)
 
void SaveBackground (VirtualDevice &rSaveDevice, const Point &rPos, const Size &rSize, const Size &) const override
 
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 &)
 
css::uno::Reference< css::rendering::XCanvas > GetCanvas () const
 
css::uno::Reference< css::rendering::XSpriteCanvas > GetSpriteCanvas () const
 
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)
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetPrimarySelection ()
 
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_left (sal_Int32 nWidth)
 
sal_Int32 get_margin_left () const
 
void set_margin_right (sal_Int32 nWidth)
 
sal_Int32 get_margin_right () 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)
 
void SetParentToDefaultWindow ()
 
KeyIndicatorState GetIndicatorState () const
 
void SimulateKeyPress (sal_uInt16 nKeyCode) const
 
virtual OUString GetSurroundingText () const
 
virtual Selection GetSurroundingTextSelection () 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)
 
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 OutputDevice
virtual Size GetButtonBorderSize ()
 
virtual Color GetMonochromeButtonColor ()
 
virtual void DrawBorder (tools::Rectangle aBorderRect)
 
SAL_DLLPRIVATE sal_Int32 GetDPIX () const
 
SAL_DLLPRIVATE sal_Int32 GetDPIY () const
 
SAL_DLLPRIVATE void SetDPIX (sal_Int32 nDPIX)
 
SAL_DLLPRIVATE void SetDPIY (sal_Int32 nDPIY)
 
float GetDPIScaleFactor () const
 
sal_Int32 GetDPIScalePercentage () const
 
OutDevType GetOutDevType () const
 
virtual bool IsVirtual () const
 
bool SupportsOperation (OutDevSupportType) const
 
void SetExtOutDevData (vcl::ExtOutDevData *pExtOutDevData)
 
vcl::ExtOutDevDataGetExtOutDevData () const
 
void DrawPixel (const Point &rPt)
 
void DrawPixel (const Point &rPt, const Color &rColor)
 
Color GetPixel (const Point &rPt) const
 
void DrawRect (const tools::Rectangle &rRect)
 
void DrawRect (const tools::Rectangle &rRect, sal_uLong nHorzRount, sal_uLong nVertRound)
 
void DrawCheckered (const Point &rPos, const Size &rSize, sal_uInt32 nLen=8, Color aStart=COL_WHITE, Color aEnd=COL_BLACK)
 
void DrawGrid (const tools::Rectangle &rRect, const Size &rDist, DrawGridFlags nFlags)
 
void Invert (const tools::Rectangle &rRect, InvertFlags nFlags=InvertFlags::NONE)
 
void Invert (const tools::Polygon &rPoly, InvertFlags nFlags=InvertFlags::NONE)
 
void DrawEllipse (const tools::Rectangle &rRect)
 
void DrawArc (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawPie (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawChord (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
SAL_DLLPRIVATE bool ImplIsAntiparallel () const
 
SAL_DLLPRIVATE void ReMirror (Point &rPoint) const
 
SAL_DLLPRIVATE void ReMirror (tools::Rectangle &rRect) const
 
SAL_DLLPRIVATE void ReMirror (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE bool ImplIsRecordLayout () const
 
std::unique_ptr< SalLayoutImplLayout (const OUString &, sal_Int32 nIndex, sal_Int32 nLen, const Point &rLogicPos=Point(0, 0), long nLogicWidth=0, const long *pLogicDXArray=nullptr, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
SAL_DLLPRIVATE ImplLayoutArgs ImplPrepareLayoutArgs (OUString &, const sal_Int32 nIndex, const sal_Int32 nLen, DeviceCoordinate nPixelWidth, const DeviceCoordinate *pPixelDXArray, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutImplGlyphFallbackLayout (std::unique_ptr< SalLayout >, ImplLayoutArgs &) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutgetFallbackLayout (LogicalFontInstance *pLogicalFont, int nFallbackLevel, ImplLayoutArgs &rLayoutArgs) const
 
bool IsRTLEnabled () const
 
bool GetTextIsRTL (const OUString &, sal_Int32 nIndex, sal_Int32 nLen) const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside) const
 
bool DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO)
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
bool DrawEPS (const Point &rPt, const Size &rSz, const GfxLink &rGfxLink, GDIMetaFile *pSubst=nullptr)
 
SalGraphics const * GetGraphics () const
 
SalGraphicsGetGraphics ()
 
void SetConnectMetaFile (GDIMetaFile *pMtf)
 
GDIMetaFileGetConnectMetaFile () const
 
const AllSettingsGetSettings () const
 
SystemGraphicsData GetSystemGfxData () const
 
bool SupportsCairo () const
 
cairo::SurfaceSharedPtr CreateSurface (const cairo::CairoSurfaceSharedPtr &rSurface) const
 
cairo::SurfaceSharedPtr CreateSurface (int x, int y, int width, int height) const
 
cairo::SurfaceSharedPtr CreateBitmapSurface (const BitmapSystemData &rData, const Size &rSize) const
 
css::uno::Any GetNativeSurfaceHandle (cairo::SurfaceSharedPtr &rSurface, const basegfx::B2ISize &rSize) const
 
css::uno::Any GetSystemGfxDataAny () const
 
void SetRefPoint ()
 
void SetRefPoint (const Point &rRefPoint)
 
const PointGetRefPoint () const
 
bool IsRefPoint () const
 
virtual bool IsScreenComp () const
 
virtual sal_uInt16 GetBitCount () const
 
Size GetOutputSizePixel () const
 
long GetOutputWidthPixel () const
 
long GetOutputHeightPixel () const
 
long GetOutOffXPixel () const
 
long GetOutOffYPixel () const
 
void SetOutOffXPixel (long nOutOffX)
 
void SetOutOffYPixel (long nOutOffY)
 
Size GetOutputSize () const
 
css::uno::Reference< css::awt::XGraphics > CreateUnoGraphics ()
 
std::vector< VCLXGraphics * > * GetUnoGraphicsList () const
 
std::vector< VCLXGraphics * > * CreateUnoGraphicsList ()
 
SAL_DLLPRIVATE sal_Int32 GetDPIX () const
 
SAL_DLLPRIVATE sal_Int32 GetDPIY () const
 
SAL_DLLPRIVATE void SetDPIX (sal_Int32 nDPIX)
 
SAL_DLLPRIVATE void SetDPIY (sal_Int32 nDPIY)
 
float GetDPIScaleFactor () const
 
sal_Int32 GetDPIScalePercentage () const
 
OutDevType GetOutDevType () const
 
virtual bool IsVirtual () const
 
bool SupportsOperation (OutDevSupportType) const
 
void SetExtOutDevData (vcl::ExtOutDevData *pExtOutDevData)
 
vcl::ExtOutDevDataGetExtOutDevData () const
 
virtual void DrawOutDev (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize)
 
virtual void DrawOutDev (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize, const OutputDevice &rOutDev)
 
virtual void CopyArea (const Point &rDestPt, const Point &rSrcPt, const Size &rSrcSize, bool bWindowInvalidate=false)
 
void Push (PushFlags nFlags=PushFlags::ALL)
 
void Pop ()
 
sal_uInt32 GetGCStackDepth () const
 
void ClearStack ()
 
void EnableOutput (bool bEnable=true)
 
bool IsOutputEnabled () const
 
bool IsDeviceOutputNecessary () const
 
void SetAntialiasing (AntialiasingFlags nMode)
 
AntialiasingFlags GetAntialiasing () const
 
void SetDrawMode (DrawModeFlags nDrawMode)
 
DrawModeFlags GetDrawMode () const
 
void SetLayoutMode (ComplexTextLayoutFlags nTextLayoutMode)
 
ComplexTextLayoutFlags GetLayoutMode () const
 
void SetDigitLanguage (LanguageType)
 
LanguageType GetDigitLanguage () const
 
void SetRasterOp (RasterOp eRasterOp)
 
RasterOp GetRasterOp () const
 
void SetOutDevViewType (OutDevViewType eOutDevViewType)
 
OutDevViewType GetOutDevViewType () const
 
void SetLineColor ()
 
void SetLineColor (const Color &rColor)
 
const ColorGetLineColor () const
 
bool IsLineColor () const
 
void SetFillColor ()
 
void SetFillColor (const Color &rColor)
 
const ColorGetFillColor () const
 
bool IsFillColor () const
 
void SetBackground ()
 
void SetBackground (const Wallpaper &rBackground)
 
const WallpaperGetBackground () const
 
virtual Color GetReadableFontColor (const Color &rFontColor, const Color &rBgColor) const
 
bool IsBackground () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
vcl::Region GetClipRegion () const
 
void SetClipRegion ()
 
void SetClipRegion (const vcl::Region &rRegion)
 
bool SelectClipRegion (const vcl::Region &, SalGraphics *pGraphics=nullptr)
 
bool IsClipRegion () const
 
void MoveClipRegion (long nHorzMove, long nVertMove)
 
void IntersectClipRegion (const tools::Rectangle &rRect)
 
void IntersectClipRegion (const vcl::Region &rRegion)
 
void DrawPixel (const Point &rPt)
 
void DrawPixel (const Point &rPt, const Color &rColor)
 
Color GetPixel (const Point &rPt) const
 
void DrawRect (const tools::Rectangle &rRect)
 
void DrawRect (const tools::Rectangle &rRect, sal_uLong nHorzRount, sal_uLong nVertRound)
 
void DrawCheckered (const Point &rPos, const Size &rSize, sal_uInt32 nLen=8, Color aStart=COL_WHITE, Color aEnd=COL_BLACK)
 
void DrawGrid (const tools::Rectangle &rRect, const Size &rDist, DrawGridFlags nFlags)
 
void Invert (const tools::Rectangle &rRect, InvertFlags nFlags=InvertFlags::NONE)
 
void Invert (const tools::Polygon &rPoly, InvertFlags nFlags=InvertFlags::NONE)
 
void DrawLine (const Point &rStartPt, const Point &rEndPt)
 
void DrawLine (const Point &rStartPt, const Point &rEndPt, const LineInfo &rLineInfo)
 
void DrawPolyLine (const tools::Polygon &rPoly)
 
void DrawPolyLine (const basegfx::B2DPolygon &, double fLineWidth=0.0, basegfx::B2DLineJoin eLineJoin=basegfx::B2DLineJoin::Round, css::drawing::LineCap eLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0))
 
void DrawPolyLine (const tools::Polygon &rPoly, const LineInfo &rLineInfo)
 
bool DrawPolyLineDirect (const basegfx::B2DHomMatrix &rObjectTransform, const basegfx::B2DPolygon &rB2DPolygon, double fLineWidth=0.0, double fTransparency=0.0, const std::vector< double > *=nullptr, basegfx::B2DLineJoin eLineJoin=basegfx::B2DLineJoin::NONE, css::drawing::LineCap eLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0), bool bBypassAACheck=false)
 
void DrawPolygon (const tools::Polygon &rPoly)
 
void DrawPolygon (const basegfx::B2DPolygon &)
 
void DrawPolyPolygon (const tools::PolyPolygon &rPolyPoly)
 
void DrawPolyPolygon (const basegfx::B2DPolyPolygon &)
 
void DrawEllipse (const tools::Rectangle &rRect)
 
void DrawArc (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawPie (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawChord (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawGradient (const tools::Rectangle &rRect, const Gradient &rGradient)
 
void DrawGradient (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient)
 
void AddGradientActions (const tools::Rectangle &rRect, const Gradient &rGradient, GDIMetaFile &rMtf)
 
void DrawHatch (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch)
 
void AddHatchActions (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch, GDIMetaFile &rMtf)
 
void DrawHatch (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch, bool bMtf)
 
void DrawWallpaper (const tools::Rectangle &rRect, const Wallpaper &rWallpaper)
 
void Erase ()
 
void Erase (const tools::Rectangle &rRect)
 
void DrawText (const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
 
void DrawText (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::NONE, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, vcl::ITextLayout *_pTextLayout=nullptr)
 
void ImplDrawText (SalLayout &)
 
void ImplDrawTextBackground (const SalLayout &)
 
void DrawCtrlText (const Point &rPos, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, DrawTextFlags nStyle=DrawTextFlags::Mnemonic, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr)
 
void DrawTextLine (const Point &rPos, long nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bUnderlineAbove=false)
 
void ImplDrawTextLine (long nBaseX, long nX, long nY, DeviceCoordinate nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bUnderlineAbove)
 
void ImplDrawTextLines (SalLayout &, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bWordLine, bool bUnderlineAbove)
 
void DrawWaveLine (const Point &rStartPos, const Point &rEndPos, long nLineWidth=1)
 
bool ImplDrawRotateText (SalLayout &)
 
tools::Rectangle GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
 
bool GetTextBoundRect (tools::Rectangle &rRect, const OUString &rStr, sal_Int32 nBase=0, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
tools::Rectangle ImplGetTextBoundRect (const SalLayout &)
 
bool GetTextOutline (tools::PolyPolygon &, const OUString &rStr) const
 
bool GetTextOutlines (PolyPolyVector &, const OUString &rStr, sal_Int32 nBase=0, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr) const
 
bool GetTextOutlines (basegfx::B2DPolyPolygonVector &rVector, const OUString &rStr, sal_Int32 nBase, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr) const
 
OUString GetEllipsisString (const OUString &rStr, long nMaxWidth, DrawTextFlags nStyle=DrawTextFlags::EndEllipsis) const
 
long GetCtrlTextWidth (const OUString &rStr, const SalLayoutGlyphs *pLayoutCache=nullptr) const
 
void AddTextRectActions (const tools::Rectangle &rRect, const OUString &rOrigStr, DrawTextFlags nStyle, GDIMetaFile &rMtf)
 
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
 
long GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
long GetTextHeight () const
 
float approximate_digit_width () const
 
void DrawTextArray (const Point &rStartPt, const OUString &rStr, const long *pDXAry, sal_Int32 nIndex=0, sal_Int32 nLen=-1, SalLayoutFlags flags=SalLayoutFlags::NONE, const SalLayoutGlyphs *pLayoutCache=nullptr)
 
long GetTextArray (const OUString &rStr, long *pDXAry, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
void GetCaretPositions (const OUString &, long *pCaretXArray, sal_Int32 nIndex, sal_Int32 nLen, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
void DrawStretchText (const Point &rStartPt, sal_uLong nWidth, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1)
 
sal_Int32 GetTextBreak (const OUString &rStr, long nTextWidth, sal_Int32 nIndex, sal_Int32 nLen=-1, long nCharExtra=0, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
sal_Int32 GetTextBreak (const OUString &rStr, long nTextWidth, sal_Unicode nExtraChar, sal_Int32 &rExtraCharPos, sal_Int32 nIndex, sal_Int32 nLen, long nCharExtra, vcl::TextLayoutCache const *=nullptr) const
 
FontMetric GetDevFont (int nDevFontIndex) const
 
int GetDevFontCount () const
 
bool IsFontAvailable (const OUString &rFontName) const
 
Size GetDevFontSize (const vcl::Font &rFont, int nSizeIndex) const
 
int GetDevFontSizeCount (const vcl::Font &) const
 
bool AddTempDevFont (const OUString &rFileURL, const OUString &rFontName)
 
void RefreshFontData (const bool bNewFontLists)
 
FontMetric GetFontMetric () const
 
FontMetric GetFontMetric (const vcl::Font &rFont) const
 
bool GetFontCharMap (FontCharMapRef &rxFontCharMap) const
 
bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const
 
bool GetFontFeatures (std::vector< vcl::font::Feature > &rFontFeatures) const
 
SAL_DLLPRIVATE void ImplGetEmphasisMark (tools::PolyPolygon &rPolyPoly, bool &rPolyLine, tools::Rectangle &rRect1, tools::Rectangle &rRect2, long &rYOff, long &rWidth, FontEmphasisMark eEmphasis, long nHeight)
 
bool GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, MetricVector &rVector)
 
sal_Int32 HasGlyphs (const vcl::Font &rFont, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1) const
 
long GetMinKashida () const
 
sal_Int32 ValidateKashidas (const OUString &rTxt, sal_Int32 nIdx, sal_Int32 nLen, sal_Int32 nKashCount, const sal_Int32 *pKashidaPos, sal_Int32 *pKashidaPosDropped) const
 
SAL_DLLPRIVATE void ImplInitFontList () const
 
SAL_DLLPRIVATE void ImplUpdateFontData ()
 
SAL_DLLPRIVATE bool ImplIsAntiparallel () const
 
SAL_DLLPRIVATE void ReMirror (Point &rPoint) const
 
SAL_DLLPRIVATE void ReMirror (tools::Rectangle &rRect) const
 
SAL_DLLPRIVATE void ReMirror (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE bool ImplIsRecordLayout () const
 
std::unique_ptr< SalLayoutImplLayout (const OUString &, sal_Int32 nIndex, sal_Int32 nLen, const Point &rLogicPos=Point(0, 0), long nLogicWidth=0, const long *pLogicDXArray=nullptr, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
SAL_DLLPRIVATE ImplLayoutArgs ImplPrepareLayoutArgs (OUString &, const sal_Int32 nIndex, const sal_Int32 nLen, DeviceCoordinate nPixelWidth, const DeviceCoordinate *pPixelDXArray, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutImplGlyphFallbackLayout (std::unique_ptr< SalLayout >, ImplLayoutArgs &) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutgetFallbackLayout (LogicalFontInstance *pLogicalFont, int nFallbackLevel, ImplLayoutArgs &rLayoutArgs) const
 
bool IsRTLEnabled () const
 
bool GetTextIsRTL (const OUString &, sal_Int32 nIndex, sal_Int32 nLen) const
 
void DrawBitmap (const Point &rDestPt, const Bitmap &rBitmap)
 
void DrawBitmap (const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap)
 
void DrawBitmap (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const Bitmap &rBitmap, MetaActionType nAction=MetaActionType::BMPSCALEPART)
 
void DrawBitmapEx (const Point &rDestPt, const BitmapEx &rBitmapEx)
 
void DrawBitmapEx (const Point &rDestPt, const Size &rDestSize, const BitmapEx &rBitmapEx)
 
void DrawBitmapEx (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const BitmapEx &rBitmapEx, MetaActionType nAction=MetaActionType::BMPEXSCALEPART)
 
void DrawImage (const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
 
void DrawImage (const Point &rPos, const Size &rSize, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
 
virtual Bitmap GetBitmap (const Point &rSrcPt, const Size &rSize) const
 
BitmapEx GetBitmapEx (const Point &rSrcPt, const Size &rSize) const
 
void DrawTransformedBitmapEx (const basegfx::B2DHomMatrix &rTransformation, const BitmapEx &rBitmapEx)
 
void DrawShadowBitmapEx (const BitmapEx &rBitmapEx,::Color aShadowColor)
 
bool RemoveTransparenciesFromMetaFile (const GDIMetaFile &rInMtf, GDIMetaFile &rOutMtf, long nMaxBmpDPIX, long nMaxBmpDPIY, bool bReduceTransparency, bool bTransparencyAutoMode, bool bDownsampleBitmaps, const Color &rBackground=COL_TRANSPARENT)
 
SAL_DLLPRIVATE void ImplPrintTransparent (const Bitmap &rBmp, const Bitmap &rMask, const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel)
 
SAL_DLLPRIVATE Color ImplDrawModeToColor (const Color &rColor) const
 
void DrawTransparent (const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent)
 
void DrawTransparent (const basegfx::B2DHomMatrix &rObjectTransform, const basegfx::B2DPolyPolygon &rB2DPolyPoly, double fTransparency)
 
void DrawTransparent (const GDIMetaFile &rMtf, const Point &rPos, const Size &rSize, const Gradient &rTransparenceGradient)
 
void DrawMask (const Point &rDestPt, const Bitmap &rBitmap, const Color &rMaskColor)
 
void DrawMask (const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap, const Color &rMaskColor)
 
void DrawMask (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const Bitmap &rBitmap, const Color &rMaskColor, MetaActionType nAction)
 
void EnableMapMode (bool bEnable=true)
 
bool IsMapModeEnabled () const
 
void SetMapMode ()
 
virtual void SetMapMode (const MapMode &rNewMapMode)
 
void SetRelativeMapMode (const MapMode &rNewMapMode)
 
virtual void SetMetafileMapMode (const MapMode &rNewMapMode, bool bIsRecord)
 
const MapModeGetMapMode () const
 
basegfx::B2DHomMatrix GetViewTransformation () const
 
basegfx::B2DHomMatrix GetInverseViewTransformation () const
 
basegfx::B2DHomMatrix GetViewTransformation (const MapMode &rMapMode) const
 
basegfx::B2DHomMatrix GetInverseViewTransformation (const MapMode &rMapMode) const
 
void SetPixelOffset (const Size &rOffset)
 
Size GetPixelOffset () const
 
Point LogicToPixel (const Point &rLogicPt) const
 
Size LogicToPixel (const Size &rLogicSize) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect) const
 
tools::Polygon LogicToPixel (const tools::Polygon &rLogicPoly) const
 
tools::PolyPolygon LogicToPixel (const tools::PolyPolygon &rLogicPolyPoly) const
 
basegfx::B2DPolyPolygon LogicToPixel (const basegfx::B2DPolyPolygon &rLogicPolyPoly) 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
 
tools::Polygon LogicToPixel (const tools::Polygon &rLogicPoly, const MapMode &rMapMode) const
 
basegfx::B2DPolyPolygon LogicToPixel (const basegfx::B2DPolyPolygon &rLogicPolyPoly, 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::Polygon PixelToLogic (const tools::Polygon &rDevicePoly) const
 
tools::PolyPolygon PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const
 
basegfx::B2DPolyPolygon PixelToLogic (const basegfx::B2DPolyPolygon &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
 
tools::Polygon PixelToLogic (const tools::Polygon &rDevicePoly, const MapMode &rMapMode) const
 
basegfx::B2DPolygon PixelToLogic (const basegfx::B2DPolygon &rDevicePoly, const MapMode &rMapMode) const
 
basegfx::B2DPolyPolygon PixelToLogic (const basegfx::B2DPolyPolygon &rDevicePolyPoly, const MapMode &rMapMode) const
 
Point LogicToLogic (const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
Size LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
tools::Rectangle LogicToLogic (const tools::Rectangle &rRectSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
SAL_DLLPRIVATE tools::Rectangle ImplLogicToDevicePixel (const tools::Rectangle &rLogicRect) const
 
SAL_DLLPRIVATE Point ImplLogicToDevicePixel (const Point &rLogicPt) const
 
SAL_DLLPRIVATE long ImplLogicWidthToDevicePixel (long nWidth) const
 
SAL_DLLPRIVATE DeviceCoordinate LogicWidthToDeviceCoordinate (long nWidth) const
 
SAL_DLLPRIVATE long ImplLogicXToDevicePixel (long nX) const
 
SAL_DLLPRIVATE long ImplLogicYToDevicePixel (long nY) const
 
SAL_DLLPRIVATE long ImplLogicHeightToDevicePixel (long nHeight) const
 
SAL_DLLPRIVATE long ImplDevicePixelToLogicWidth (long nWidth) const
 
SAL_DLLPRIVATE long ImplDevicePixelToLogicHeight (long nHeight) const
 
SAL_DLLPRIVATE float ImplFloatLogicHeightToDevicePixel (float fLogicHeight) const
 
SAL_DLLPRIVATE Size ImplLogicToDevicePixel (const Size &rLogicSize) const
 
SAL_DLLPRIVATE tools::Rectangle ImplDevicePixelToLogic (const tools::Rectangle &rPixelRect) const
 
SAL_DLLPRIVATE tools::Polygon ImplLogicToDevicePixel (const tools::Polygon &rLogicPoly) const
 
SAL_DLLPRIVATE tools::PolyPolygon ImplLogicToDevicePixel (const tools::PolyPolygon &rLogicPolyPoly) const
 
SAL_DLLPRIVATE LineInfo ImplLogicToDevicePixel (const LineInfo &rLineInfo) const
 
SAL_DLLPRIVATE vcl::Region ImplPixelToDevicePixel (const vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplInvalidateViewTransform ()
 
SAL_DLLPRIVATE basegfx::B2DHomMatrix ImplGetDeviceTransformation () const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside) const
 
bool DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO)
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
bool DrawEPS (const Point &rPt, const Size &rSz, const GfxLink &rGfxLink, GDIMetaFile *pSubst=nullptr)
 
- 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, long nHorzScroll, long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, long nHorzScroll, 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, long nHorzScroll, 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 bool AcquireGraphics () const override
 
virtual void ReleaseGraphics (bool bRelease=true) override
 
virtual void InitClipRegion () override
 
void ImplClearFontData (bool bNewFontLists) override
 
void ImplRefreshFontData (bool bNewFontLists) override
 
void ImplInitMapModeObjects () override
 
virtual void ImplAdjustNWFSizes ()
 
virtual void CopyDeviceArea (SalTwoRect &aPosAry, bool bWindowInvalidate) override
 
virtual const OutputDeviceDrawOutDevDirectCheck (const OutputDevice *pSrcDev) const override
 
virtual void DrawOutDevDirectProcess (const OutputDevice *pSrcDev, SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override
 
virtual void ClipToPaintRegion (tools::Rectangle &rDstRect) override
 
virtual bool UsePolyPolygonForComplexGradient () override
 
virtual void ApplySettings (vcl::RenderContext &rRenderContext)
 
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 OutputDevice
 OutputDevice (OutDevType eOutDevType)
 
virtual ~OutputDevice () override
 
virtual tools::Rectangle GetBackgroundComponentBounds () const
 
SAL_DLLPRIVATE void drawOutDevDirect (const OutputDevice *pSrcDev, SalTwoRect &rPosAry)
 
SAL_DLLPRIVATE bool is_double_buffered_window () const
 
virtual void ImplReleaseFonts ()
 
virtual vcl::Region ClipToDeviceBounds (vcl::Region aRegion) const
 
virtual void DrawHatchLine_DrawLine (const Point &rStartPoint, const Point &rEndPoint)
 
virtual long GetGradientStepCount (long nMinRect)
 
void DrawGradientWallpaper (long nX, long nY, long nWidth, long nHeight, const Wallpaper &rWallpaper)
 
SAL_DLLPRIVATE void ImplInitTextLineSize ()
 
SAL_DLLPRIVATE void ImplInitAboveTextLineSize ()
 
SAL_DLLPRIVATE float approximate_char_width () const
 
SAL_DLLPRIVATE const LogicalFontInstanceGetFontInstance () const
 
SAL_DLLPRIVATE long GetEmphasisAscent () const
 
SAL_DLLPRIVATE long GetEmphasisDescent () const
 
SAL_DLLPRIVATE bool InitFont () const
 
virtual void SetFontOrientation (LogicalFontInstance *const pFontInstance) const
 
virtual long GetFontExtLeading () const
 
void ReleaseFontCache ()
 
void ReleaseFontCollection ()
 
void SetFontCollectionFromSVData ()
 
void ResetNewFontCache ()
 
virtual void DrawDeviceBitmap (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, BitmapEx &rBitmapEx)
 
virtual void ScaleBitmap (Bitmap &rBmp, SalTwoRect &rPosAry)
 
virtual bool DrawTransformBitmapExDirect (const basegfx::B2DHomMatrix &aFullTransform, const BitmapEx &rBitmapEx)
 
virtual bool TransformAndReduceBitmapExToTargetRange (const basegfx::B2DHomMatrix &aFullTransform, basegfx::B2DRange &aVisibleRange, double &fMaximumArea)
 
virtual void EmulateDrawTransparent (const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent)
 
void DrawInvisiblePolygon (const tools::PolyPolygon &rPolyPoly)
 
virtual void ClipAndDrawGradientMetafile (const Gradient &rGradient, const tools::PolyPolygon &rPolyPoly)
 
virtual void DrawDeviceMask (const Bitmap &rMask, const Color &rMaskColor, const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel)
 
- 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, FloatingWindow *, 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)
 
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 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::unique_ptr< sc::SpellCheckContextmpSpellCheckCxt
 
ScViewDatapViewData
 
ScSplitPos eWhich
 
ScHSplitPos eHWhich
 
ScVSplitPos eVWhich
 
std::unique_ptr< ScNoteMarker, o3tl::default_delete< ScNoteMarker > > mpNoteMarker
 
VclPtr< ScFilterListBoxmpFilterBox
 
VclPtr< ScFilterFloatingWindowmpFilterFloat
 
VclPtr< ScCheckListMenuWindowmpAutoFilterPopup
 
VclPtr< ScCheckListMenuWindowmpDPFieldPopup
 
std::unique_ptr< ScDPFieldButtonmpFilterButton
 
ScCheckListMenuControl::ResultType aSaveAutoFilterResult
 
sal_uInt16 nCursorHideCount
 
sal_uInt16 nButtonDown
 
sal_uInt8 nMouseStatus
 
ScNestedButtonState nNestedButtonState
 
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
 

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 Public Member Functions inherited from OutputDevice
static void ImplDrawText (OutputDevice &rTargetDevice, const tools::Rectangle &rRect, const OUString &rOrigStr, DrawTextFlags nStyle, MetricVector *pVector, OUString *pDisplayText, vcl::ITextLayout &_rLayout)
 
static OUString GetNonMnemonicString (const OUString &rStr, sal_Int32 &rMnemonicPos)
 
static OUString GetNonMnemonicString (const OUString &rStr)
 
static std::shared_ptr< vcl::TextLayoutCacheCreateTextLayoutCache (OUString const &)
 
static SAL_DLLPRIVATE FontEmphasisMark ImplGetEmphasisMarkStyle (const vcl::Font &rFont)
 
static void BeginFontSubstitution ()
 
static void EndFontSubstitution ()
 
static void AddFontSubstitute (const OUString &rFontName, const OUString &rReplaceFontName, AddFontSubstituteFlags nFlags)
 
static void RemoveFontsSubstitute ()
 
static vcl::Font GetDefaultFont (DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
 
static SAL_DLLPRIVATE void ImplClearAllFontData (bool bNewFontLists)
 
static SAL_DLLPRIVATE void ImplRefreshAllFontData (bool bNewFontLists)
 
static SAL_DLLPRIVATE void ImplUpdateAllFontData (bool bNewFontLists)
 
static void LockFontUpdates (bool bLock)
 
static Point LogicToLogic (const Point &rPtSource, const MapMode &rMapModeSource, const MapMode &rMapModeDest)
 
static Size LogicToLogic (const Size &rSzSource, const MapMode &rMapModeSource, const MapMode &rMapModeDest)
 
static tools::Rectangle LogicToLogic (const tools::Rectangle &rRectSource, const MapMode &rMapModeSource, const MapMode &rMapModeDest)
 
static long LogicToLogic (long nLongSource, MapUnit eUnitSource, MapUnit eUnitDest)
 
static basegfx::B2DPolygon LogicToLogic (const basegfx::B2DPolygon &rPoly, const MapMode &rMapModeSource, const MapMode &rMapModeDest)
 
static basegfx::B2DHomMatrix LogicToLogic (const MapMode &rMapModeSource, const MapMode &rMapModeDest)
 
- Static Protected Member Functions inherited from OutputDevice
static SAL_DLLPRIVATE long ImplGetTextLines (ImplMultiTextLineInfo &rLineInfo, long nWidth, const OUString &rStr, DrawTextFlags nStyle, const vcl::ITextLayout &_rLayout)
 

Detailed Description

Definition at line 87 of file gridwin.hxx.

Member Enumeration Documentation

Enumerator
Normal 
Top10 
Custom 
Empty 
NonEmpty 
SortAscending 
SortDescending 

Definition at line 328 of file gridwin.hxx.

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

Definition at line 92 of file gridwin.hxx.

Enumerator
NONE 
Down 
Up 

Definition at line 168 of file gridwin.hxx.

Constructor & Destructor Documentation

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

Definition at line 510 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 2808 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(), 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, OutputDevice::LogicToPixel(), ScRefCellValue::meType, mpSpellCheckCxt, 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(), StopMarking(), and ScTabView::StopRefMode().

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

Definition at line 5888 of file gridwin.cxx.

References UpdateCursorOverlay().

Referenced by ScGridWinUIObject::execute().

void ScGridWindow::DataChanged ( const DataChangedEvent rDCEvt)
overridevirtual
ScGridWindow::DECL_LINK ( PopupModeEndHdl  ,
FloatingWindow ,
void   
)
private
ScGridWindow::DECL_LINK ( PopupSpellingHdl  ,
SpellCallbackInfo ,
void   
)
private
void ScGridWindow::DeleteAutoFillOverlay ( )

Definition at line 6446 of file gridwin.cxx.

References mpAutoFillRect, and mpOOAutoFill.

Referenced by ImpDestroyOverlayObjects(), and UpdateAutoFillOverlay().

void ScGridWindow::DeleteCopySourceOverlay ( )

Definition at line 5934 of file gridwin.cxx.

References mpOOSelectionBorder.

Referenced by ImpDestroyOverlayObjects(), and UpdateCopySourceOverlay().

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

Definition at line 6537 of file gridwin.cxx.

References mpOODragRect.

Referenced by ImpDestroyOverlayObjects(), and UpdateDragRectOverlay().

void ScGridWindow::DeleteHeaderOverlay ( )

Definition at line 6664 of file gridwin.cxx.

References mpOOHeader.

Referenced by ImpDestroyOverlayObjects(), and UpdateHeaderOverlay().

void ScGridWindow::DeleteSelectionOverlay ( )

Definition at line 6358 of file gridwin.cxx.

References mpOOSelection.

Referenced by ImpDestroyOverlayObjects(), and UpdateSelectionOverlay().

void ScGridWindow::DeleteShrinkOverlay ( )

Definition at line 6710 of file gridwin.cxx.

References mpOOShrink.

Referenced by ImpDestroyOverlayObjects(), and UpdateShrinkOverlay().

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,
long  nDimIndex,
ScDPObject pDPObj 
)
void ScGridWindow::DPMouseButtonUp ( const MouseEvent rMEvt)
private

Definition at line 652 of file gridwin2.cxx.

Referenced by MouseButtonUp().

void ScGridWindow::DPMouseMove ( const MouseEvent rMEvt)
private

Definition at line 647 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 438 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(), 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, nCursorHideCount, nPaintCount, nPPTX, nPPTY, OUTTYPE_WINDOW, Point, ScDocument::PrepareFormulaCalc(), PutInOrder(), pViewData, 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 605 of file gridwin4.cxx.

References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustTop(), ScRange::aEnd, aMap, svtools::APPBACKGROUND, ScRangeFindData::aRef, ScRange::aStart, SdrPaintView::BeginDrawLayers(), tools::Rectangle::Bottom(), svtools::CALCGRID, svtools::CALCREFERENCE, ScAddress::Col(), COL_TRANSPARENT(), 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(), OutputDevice::GetMapMode(), SfxViewShell::GetNext(), ScRangeFindList::GetObject(), ScViewOptions::GetOption(), ScViewData::GetOptions(), MapMode::GetOrigin(), EditView::GetOutputArea(), OutputDevice::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(), EditView::GetWindow(), ScDocument::HasBackgroundDraw(), ScViewData::HasEditView(), vcl::Cursor::Hide(), 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(), tools::Rectangle::Left(), OutputDevice::LogicToLogic(), ScDocument::MaxCol(), ScDocument::MaxRow(), tools::Rectangle::Move(), mpNoteMarker, svtools::ColorConfigValue::nColor, ScRangeFindData::nColor, nCount, ScOutputData::nScrX, ScOutputData::nScrY, ScOutputData::nTab, ScOutputData::nX1, ScOutputData::nX2, ScOutputData::nY1, ScOutputData::nY2, EditView::Paint(), OutputDevice::PixelToLogic(), Point, ScRange::PutInOrder(), pViewData, 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(), 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(), ScOutputData::SetUseStyleColor(), ScOutputData::SetViewShell(), tools::Rectangle::setWidth(), vcl::Cursor::Show(), ScAddress::Tab(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), TWIPS_PER_PIXEL, 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 380 of file gridwin3.cxx.

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

Referenced by KeyInput().

bool ScGridWindow::DrawKeyInput ( const KeyEvent rKEvt)
private
void ScGridWindow::DrawLayerCreated ( )
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 1581 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(), OutputDevice::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, 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 4018 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(), 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

Definition at line 42 of file gridwin_dbgutil.cxx.

References ScDocument::GetColWidth(), Sc