LibreOffice Module sc (master) 1
|
#include <gridwin.hxx>
Classes | |
struct | LOKCursorEntry |
struct | MouseEventState |
struct | VisibleRange |
Stores current visible column and row ranges, used to avoid expensive operations on objects that are outside visible area. More... | |
Public Types | |
enum class | AutoFilterMode { Normal , Empty , NonEmpty , Top10 , Bottom10 , Custom , TextColor , BackgroundColor , SortAscending , SortDescending , Clear } |
Public Member Functions | |
ScGridWindow (vcl::Window *pParent, ScViewData &rData, ScSplitPos eWhichPos) | |
virtual | ~ScGridWindow () override |
virtual void | dispose () override |
virtual void | KeyInput (const KeyEvent &rKEvt) override |
rtl::Reference< sdr::overlay::OverlayManager > | getOverlayManager () 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 Point & | GetMousePosPixel () const |
void | UpdateStatusPosSize () |
void | ClickExtern () |
void | MoveMouseStatus (ScGridWindow &rDestWin) |
void | ScrollPixel (tools::Long nDifX, tools::Long nDifY) |
void | UpdateEditViewPos () |
void | UpdateFormulas (SCCOL nX1=-1, SCROW nY1=-1, SCCOL nX2=-1, SCROW nY2=-1) |
void | ShowFilterMenu (weld::Window *pParent, const tools::Rectangle &rCellRect, bool bLayoutRTL) |
void | LaunchDataSelectMenu (SCCOL nCol, SCROW nRow) |
void | DoScenarioMenu (const ScRange &rScenRange) |
void | LaunchAutoFilterMenu (SCCOL nCol, SCROW nRow) |
void | RefreshAutoFilterButton (const ScAddress &rPos) |
void | UpdateAutoFilterFromMenu (AutoFilterMode eMode) |
void | LaunchPageFieldMenu (SCCOL nCol, SCROW nRow) |
void | LaunchDPFieldMenu (SCCOL nCol, SCROW nRow) |
css::sheet::DataPilotFieldOrientation | GetDPFieldOrientation (SCCOL nCol, SCROW nRow) const |
void | DPLaunchFieldPopupMenu (const Point &rScrPos, const Size &rScrSize, tools::Long nDimIndex, ScDPObject *pDPObj) |
void | DrawButtons (SCCOL nX1, SCCOL nX2, const ScTableInfo &rTabInfo, OutputDevice *pContentDev, const ScLokRTLContext *pLokRTLContext) |
void | Draw (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMode eMode) |
void | DrawContent (OutputDevice &rDevice, const ScTableInfo &rTableInfo, ScOutputData &aOutputData, bool bLogicText) |
Draw content of the gridwindow; shared between the desktop and the tiled rendering. More... | |
void | CreateAnchorHandle (SdrHdlList &rHdl, const ScAddress &rAddress) |
void | HideCursor () |
void | ShowCursor () |
void | UpdateAutoFillMark (bool bMarked, const ScRange &rMarkRange) |
void | UpdateListValPos (bool bVisible, const ScAddress &rPos) |
bool | ShowNoteMarker (SCCOL nPosX, SCROW nPosY, bool bKeyboard) |
void | HideNoteMarker () |
MapMode | GetDrawMapMode (bool bForce=false) |
MapMode for the drawinglayer objects. More... | |
void | StopMarking () |
void | UpdateInputContext () |
bool | NeedsRepaint () const |
void | DoInvertRect (const tools::Rectangle &rPixel) |
void | CheckNeedsRepaint () |
void | UpdateDPFromFieldPopupMenu () |
bool | UpdateVisibleRange () |
void | CursorChanged () |
void | DrawLayerCreated () |
void | SetAutoSpellContext (const std::shared_ptr< sc::SpellCheckContext > &ctx) |
void | ResetAutoSpell () |
void | ResetAutoSpellForContentChange () |
void | SetAutoSpellData (SCCOL nPosX, SCROW nPosY, const std::vector< editeng::MisspellRanges > *pRanges) |
const std::vector< editeng::MisspellRanges > * | GetAutoSpellData (SCCOL nPosX, SCROW nPosY) |
bool | InsideVisibleRange (SCCOL nPosX, SCROW nPosY) |
void | UpdateSparklineGroupOverlay () |
void | DeleteSparklineGroupOverlay () |
void | DeleteCopySourceOverlay () |
void | UpdateCopySourceOverlay () |
void | DeleteCursorOverlay () |
void | UpdateCursorOverlay () |
void | DeleteSelectionOverlay () |
void | UpdateSelectionOverlay () |
void | DeleteAutoFillOverlay () |
void | UpdateAutoFillOverlay () |
void | DeleteDragRectOverlay () |
void | UpdateDragRectOverlay () |
void | DeleteHeaderOverlay () |
void | UpdateHeaderOverlay () |
void | DeleteShrinkOverlay () |
void | UpdateShrinkOverlay () |
void | UpdateAllOverlays () |
OString | getCellCursor () const |
get Cell cursor in this view's co-ordinate system More... | |
void | notifyKitCellCursor () const |
void | notifyKitCellViewCursor (const SfxViewShell *pForShell) const |
void | updateKitCellCursor (const SfxViewShell *pOtherShell) const |
void | updateKitOtherCursors () const |
notify this view with new positions for other view's cursors (after zoom) More... | |
void | updateOtherKitSelections () const |
Fetch the selection ranges for other views into the LibreOfficeKit selection, map them into our view co-ordinates and send to our view. More... | |
void | notifyKitCellFollowJump () const |
ScViewData & | getViewData () |
virtual FactoryFunction | GetUITestFactory () const override |
void | updateLOKValListButton (bool bVisible, const ScAddress &rPos) const |
void | updateLOKInputHelp (const OUString &title, const OUString &content) const |
void | initiatePageBreaks () |
![]() | |
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::Window * | ImplGetFrameWindow () const |
weld::Window * | GetFrameWeld () const |
vcl::Window * | GetFrameWindow () const |
SalFrame * | ImplGetFrame () const |
SAL_DLLPRIVATE ImplFrameData * | ImplGetFrameData () |
vcl::Window * | ImplGetWindow () const |
SAL_DLLPRIVATE ImplWinData * | ImplGetWinData () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetClientWindow () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr) |
SAL_DLLPRIVATE vcl::Window * | ImplGetParent () const |
SAL_DLLPRIVATE vcl::Window * | ImplFindWindow (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 WindowImpl * | ImplGetWindowImpl () 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 |
::OutputDevice * | GetOutDev () |
Color | GetBackgroundColor () const |
const Wallpaper & | GetBackground () const |
bool | IsBackground () const |
const MapMode & | GetMapMode () const |
void | SetBackground () |
void | SetBackground (const Wallpaper &rBackground) |
virtual void | MouseMove (const MouseEvent &rMEvt) |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) |
virtual void | MouseButtonUp (const MouseEvent &rMEvt) |
virtual void | KeyInput (const KeyEvent &rKEvt) |
virtual void | KeyUp (const KeyEvent &rKEvt) |
virtual void | PrePaint (vcl::RenderContext &rRenderContext) |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
virtual void | PostPaint (vcl::RenderContext &rRenderContext) |
void | Erase (vcl::RenderContext &rRenderContext) |
virtual void | Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) |
virtual void | Move () |
virtual void | Resize () |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | GetFocus () |
virtual void | LoseFocus () |
virtual void | RequestHelp (const HelpEvent &rHEvt) |
virtual void | Command (const CommandEvent &rCEvt) |
virtual void | Tracking (const TrackingEvent &rTEvt) |
virtual void | StateChanged (StateChangedType nStateChange) |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) |
virtual bool | PreNotify (NotifyEvent &rNEvt) |
virtual bool | EventNotify (NotifyEvent &rNEvt) |
void | AddEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
ImplSVEvent * | PostUserEvent (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 |
SystemWindow * | GetSystemWindow () 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 InputContext & | GetInputContext () const |
void | PostExtTextInputEvent (VclEventId nType, const OUString &rText) |
void | EndExtTextInput () |
void | SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0) |
const tools::Rectangle * | GetCursorRect () 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 Color & | GetControlForeground () const |
bool | IsControlForeground () const |
void | ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetControlBackground () |
void | SetControlBackground (const Color &rColor) |
const Color & | GetControlBackground () 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::Window * | GetParent () const |
Dialog * | GetParentDialog () 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 | LogicInvalidate (const tools::Rectangle *pRectangle) |
virtual void | PixelInvalidate (const tools::Rectangle *pRectangle) |
void | Validate () |
bool | HasPaintEvent () const |
void | PaintImmediately () |
void | EnableDocking (bool bEnable=true) |
void | EnablePaint (bool bEnable) |
bool | IsPaintEnabled () const |
void | SetUpdateMode (bool bUpdate) |
bool | IsUpdateMode () const |
void | SetParentUpdateMode (bool bUpdate) |
void | GrabFocus () |
bool | HasFocus () const |
bool | HasChildPathFocus (bool bSystemWindow=false) const |
bool | IsActive () const |
bool | HasActiveChildFrame () const |
GetFocusFlags | GetGetFocusFlags () const |
void | GrabFocusToDocument () |
VclPtr< vcl::Window > | GetFocusedWindow () const |
void | SetFakeFocus (bool bFocus) |
bool | IsCompoundControl () const |
void | LocalStartDrag () |
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::Cursor * | GetCursor () const |
void | SetZoom (const Fraction &rZoom) |
const Fraction & | GetZoom () 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 Wallpaper & | GetDisplayBackground () 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::Window * | GetChild (sal_uInt16 nChild) const |
vcl::Window * | GetWindow (GetWindowType nType) const |
bool | IsChild (const vcl::Window *pWindow) const |
bool | IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE void | CollectChildren (::std::vector< vcl::Window * > &rAllChildren) |
virtual void | ShowFocus (const tools::Rectangle &rRect) |
void | HideFocus () |
void | DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder) |
void | ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small) |
void | HideTracking () |
void | InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags) |
void | StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE) |
void | EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE) |
bool | IsTracking () const |
void | StartAutoScroll (StartAutoScrollFlags nFlags) |
void | EndAutoScroll () |
bool | HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl) |
virtual const SystemEnvData * | GetSystemData () const |
virtual css::uno::Reference< css::awt::XWindowPeer > | GetComponentInterface (bool bCreate=true) |
void | SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace) |
void | SetUseFrameData (bool bUseFrameData) |
void | SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false) |
const vcl::ILibreOfficeKitNotifier * | GetLOKNotifier () const |
vcl::LOKWindowId | GetLOKWindowId () const |
VclPtr< vcl::Window > | GetParentWithLOKNotifier () |
void | ReleaseLOKNotifier () |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
void | RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect) |
VCLXWindow * | GetWindowPeer () 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, std::u16string_view rValue) |
void | add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup) |
void | remove_from_all_size_groups () |
void | add_mnemonic_label (FixedText *pLabel) |
void | remove_mnemonic_label (FixedText *pLabel) |
const std::vector< VclPtr< FixedText > > & | list_mnemonic_labels () const |
void | reorderWithinParent (sal_uInt16 nNewPosition) |
void | set_id (const OUString &rID) |
const OUString & | get_id () const |
void | EnableNativeWidget (bool bEnable=true) |
bool | IsNativeWidgetEnabled () const |
void | PaintToDevice (::OutputDevice *pDevice, const Point &rPos) |
KeyIndicatorState | GetIndicatorState () const |
void | SimulateKeyPress (sal_uInt16 nKeyCode) const |
virtual OUString | GetSurroundingText () const |
virtual Selection | GetSurroundingTextSelection () const |
virtual bool | DeleteSurroundingText (const Selection &rSelection) |
virtual FactoryFunction | GetUITestFactory () const |
virtual bool | IsChart () const |
virtual bool | IsStarMath () const |
void | SetHelpHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetModalHierarchyHdl (const Link< bool, void > &rLink) |
void | SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink) |
Size | GetOutputSizePixel () const |
tools::Rectangle | GetOutputRectPixel () const |
Point | LogicToPixel (const Point &rLogicPt) const |
Size | LogicToPixel (const Size &rLogicSize) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect) const |
vcl::Region | LogicToPixel (const vcl::Region &rLogicRegion) const |
Point | LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const |
Size | LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const |
Point | PixelToLogic (const Point &rDevicePt) const |
Size | PixelToLogic (const Size &rDeviceSize) const |
tools::Rectangle | PixelToLogic (const tools::Rectangle &rDeviceRect) const |
tools::PolyPolygon | PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const |
vcl::Region | PixelToLogic (const vcl::Region &rDeviceRegion) const |
Point | PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const |
Size | PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const |
tools::Rectangle | PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const |
Size | LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const |
const AllSettings & | GetSettings () 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::Font & | GetFont () const |
tools::Long | GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const |
tools::Long | GetTextHeight () const |
float | approximate_digit_width () const |
void | SetTextColor (const Color &rColor) |
const Color & | GetTextColor () const |
void | SetTextFillColor () |
void | SetTextFillColor (const Color &rColor) |
Color | GetTextFillColor () const |
bool | IsTextFillColor () const |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &rColor) |
const Color & | GetTextLineColor () const |
bool | IsTextLineColor () const |
void | SetOverlineColor () |
void | SetOverlineColor (const Color &rColor) |
const Color & | GetOverlineColor () const |
bool | IsOverlineColor () const |
void | SetTextAlign (TextAlign eAlign) |
TextAlign | GetTextAlign () const |
bool | IsNativeControlSupported (ControlType nType, ControlPart nPart) const |
bool | GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const |
css::uno::Reference< css::accessibility::XAccessible > | GetAccessible (bool bCreate=true) |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
void | SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &) |
vcl::Window * | GetAccessibleParentWindow () const |
sal_uInt16 | GetAccessibleChildWindowCount () |
vcl::Window * | GetAccessibleChildWindow (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::Window * | GetAccessibleRelationLabeledBy () const |
void | SetAccessibleRelationLabelFor (vcl::Window *pLabelFor) |
vcl::Window * | GetAccessibleRelationLabelFor () const |
vcl::Window * | GetAccessibleRelationMemberOf () const |
bool | IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true) |
void | SetAccessibilityEventsSuppressed (bool bSuppressed) |
KeyEvent | GetActivationKey () const |
![]() | |
void | acquire () const |
void | release () const |
sal_Int32 | getRefCount () const |
void | disposeOnce () |
bool | isDisposed () const |
Protected Member Functions | |
virtual void | PrePaint (vcl::RenderContext &rRenderContext) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | GetFocus () override |
virtual void | LoseFocus () override |
virtual void | RequestHelp (const HelpEvent &rEvt) override |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) override |
virtual void | StartDrag (sal_Int8 nAction, const Point &rPosPixel) override |
void | ImpCreateOverlayObjects () |
void | ImpDestroyOverlayObjects () |
![]() | |
virtual void | dispose () override |
SAL_DLLPRIVATE void | ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData) |
SAL_DLLPRIVATE Point | ImplOutputToFrame (const Point &rPos) |
SAL_DLLPRIVATE void | ImplInvalidateParentFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplValidate () |
SAL_DLLPRIVATE void | ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE void | ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE vcl::Window * | ImplGetBorderWindow () 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::Window * | getLegacyNonLayoutAccessibleRelationMemberOf () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabeledBy () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabelFor () const |
virtual vcl::Window * | getAccessibleRelationLabelFor () const |
virtual sal_uInt16 | getDefaultAccessibleRole () const |
virtual OUString | getDefaultAccessibleName () const |
virtual Size | GetOptimalSize () const |
void | InvalidateSizeCache () |
![]() | |
VclReferenceBase () | |
virtual | ~VclReferenceBase () |
virtual void | dispose () |
Private Types | |
enum | RfCorner { NONE , LEFT_UP , RIGHT_UP , LEFT_DOWN , RIGHT_DOWN } |
enum class | ScNestedButtonState { NONE , Down , Up } |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (PopupModeEndHdl, weld::Popover &, void) | |
DECL_DLLPRIVATE_LINK (PopupSpellingHdl, SpellCallbackInfo &, void) | |
bool | TestMouse (const MouseEvent &rMEvt, bool bAction) |
bool | DoPageFieldSelection (SCCOL nCol, SCROW nRow) |
bool | DoAutoFilterButton (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt) |
void | DoPushPivotButton (SCCOL nCol, SCROW nRow, const MouseEvent &rMEvt, bool bButton, bool bPopup) |
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, const ScDragData &rData) |
sal_Int8 | ExecutePrivateDrop (const ExecuteDropEvent &rEvt, const ScDragData &rData) |
sal_Int8 | DropTransferObj (ScTransferObj *pTransObj, SCCOL nDestPosX, SCROW nDestPosY, const Point &rLogicPos, sal_Int8 nDndAction) |
void | HandleMouseButtonDown (const MouseEvent &rMEvt, MouseEventState &rState) |
bool | DrawMouseButtonDown (const MouseEvent &rMEvt) |
bool | DrawMouseButtonUp (const MouseEvent &rMEvt) |
bool | DrawMouseMove (const MouseEvent &rMEvt) |
bool | DrawKeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) |
bool | DrawCommand (const CommandEvent &rCEvt) |
bool | DrawHasMarkedObj () |
void | DrawEndAction () |
void | DrawMarkDropObj (SdrObject *pObj) |
bool | IsMyModel (const SdrEditView *pSdrView) |
void | DrawRedraw (ScOutputData &rOutputData, SdrLayerID nLayer) |
void | DrawSdrGrid (const tools::Rectangle &rDrawingRect, OutputDevice *pContentDev) |
void | DrawAfterScroll () |
tools::Rectangle | GetListValButtonRect (const ScAddress &rButtonPos) |
void | DrawHiddenIndicator (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, vcl::RenderContext &rRenderContext) |
void | DrawPagePreview (SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, vcl::RenderContext &rRenderContext) |
bool | GetEditUrl (const Point &rPos, OUString *pName=nullptr, OUString *pUrl=nullptr, OUString *pTarget=nullptr) |
bool | HitRangeFinder (const Point &rMouse, RfCorner &rCorner, sal_uInt16 *pIndex, SCCOL *pAddX, SCROW *pAddY) |
sal_uInt16 | HitPageBreak (const Point &rMouse, ScRange *pSource, SCCOLROW *pBreak, SCCOLROW *pPrev) |
void | PasteSelection (const Point &rPosPixel) |
void | SelectForContextMenu (const Point &rPosPixel, SCCOL nCellX, SCROW nCellY) |
void | GetSelectionRects (::std::vector< tools::Rectangle > &rPixelRects) const |
void | GetSelectionRectsPrintTwips (::std::vector< tools::Rectangle > &rRects) const |
void | GetPixelRectsFor (const ScMarkData &rMarkData, ::std::vector< tools::Rectangle > &rPixelRects) const |
convert rMarkData into pixel rectangles for this view More... | |
void | GetRectsAnyFor (const ScMarkData &rMarkData, ::std::vector< tools::Rectangle > &rRects, bool bInPrintTwips) const |
void | UpdateKitSelection (const std::vector< tools::Rectangle > &rRectangles, std::vector< tools::Rectangle > *pLogicRects=nullptr) |
Turn the selection ranges rRectangles into the LibreOfficeKit selection, and send to other views. More... | |
bool | NeedLOKCursorInvalidation (const tools::Rectangle &rCursorRect, const Fraction aScaleX, const Fraction aScaleY) |
void | InvalidateLOKViewCursor (const tools::Rectangle &rCursorRect, const Fraction aScaleX, const Fraction aScaleY) |
void | SetupInitialPageBreaks (const ScDocument &rDoc, SCTAB nTab) |
DECL_DLLPRIVATE_LINK (InitiatePageBreaksTimer, Timer *, void) | |
void | dumpCellProperties () |
void | dumpColumnInformationPixel () |
void | dumpColumnInformationHmm () |
void | dumpGraphicInformation () |
void | dumpColumnCellStorage () |
Friends | |
class | ScFilterListBox |
Additional Inherited Members | |
![]() | |
static SAL_DLLPRIVATE void | ImplInitAppFontData (vcl::Window const *pWindow) |
static SAL_DLLPRIVATE void | ImplCalcSymbolRect (tools::Rectangle &rRect) |
static DockingManager * | GetDockingManager () |
static VclPtr< vcl::Window > | SaveFocus () |
static void | EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin) |
static VclPtr< vcl::Window > | FindLOKWindow (vcl::LOKWindowId nWindowId) |
static bool | IsLOKWindowsEmpty () |
Definition at line 88 of file gridwin.hxx.
|
strong |
Enumerator | |
---|---|
Normal | |
Empty | |
NonEmpty | |
Top10 | |
Bottom10 | |
Custom | |
TextColor | |
BackgroundColor | |
SortAscending | |
SortDescending | |
Clear |
Definition at line 326 of file gridwin.hxx.
|
private |
Enumerator | |
---|---|
NONE | |
LEFT_UP | |
RIGHT_UP | |
LEFT_DOWN | |
RIGHT_DOWN |
Definition at line 93 of file gridwin.hxx.
|
strongprivate |
Enumerator | |
---|---|
NONE | |
Down | |
Up |
Definition at line 169 of file gridwin.hxx.
ScGridWindow::ScGridWindow | ( | vcl::Window * | pParent, |
ScViewData & | rData, | ||
ScSplitPos | eWhichPos | ||
) |
Definition at line 350 of file gridwin.cxx.
References bInitialPageBreaks, eHWhich, vcl::Window::EnableChildTransparentMode(), vcl::Window::EnableRTL(), eVWhich, eWhich, ScViewData::GetLogicMode(), vcl::Window::GetOutDev(), HID_SC_WIN_GRIDWIN, comphelper::LibreOfficeKit::isActive(), LINK, maShowPageBreaksTimer, mrViewData, SC_MOD, SC_SPLIT_BOTTOM, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_LEFT, SC_SPLIT_RIGHT, SC_SPLIT_TOP, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, vcl::Window::set_id(), vcl::Window::SetBackground(), vcl::Window::SetDialogControlFlags(), OutputDevice::SetDigitLanguage(), vcl::Window::SetHelpId(), Timer::SetInvokeHandler(), vcl::Window::SetMapMode(), Timer::SetTimeout(), vcl::Window::SetUseFrameData(), WB_CLIPCHILDREN, WB_DIALOGCONTROL, and Window.
|
overridevirtual |
Definition at line 431 of file gridwin.cxx.
References VclReferenceBase::disposeOnce().
|
overrideprotectedvirtual |
Definition at line 3987 of file gridwin.cxx.
References AcceptPrivateDrop(), ScRange::aEnd, ScDragData::aJumpTarget, ScDragData::aLinkDoc, ScRange::aStart, ScAddress::Col(), DND_ACTION_COPY, DND_ACTION_COPYMOVE, DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, DrawMarkDropObj(), DropScroll(), eWhich, ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDrawTransferObj::GetDragSourceView(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), ScDocument::GetObjectAtPoint(), ScViewData::GetPosFromPixel(), ScTransferObj::GetRange(), ScViewData::GetTabNo(), SfxObjectShell::HasName(), ScEditableTester::IsFormatEditable(), IsMyModel(), SfxObjectShell::IsReadOnly(), AcceptDropEvent::maPosPixel, ScDocument::MaxCol(), ScDocument::MaxRow(), AcceptDropEvent::mbDefault, AcceptDropEvent::mbLeaving, AcceptDropEvent::mnAction, mrViewData, ScDragData::pCellTransfer, ScDragData::pDrawTransfer, vcl::Window::PixelToLogic(), ScDragData::pJumpLocalDoc, Point, ScAddress::Row(), and SC_MOD.
|
private |
highlight chart? (selection border?)
Definition at line 3773 of file gridwin.cxx.
References ScRange::aEnd, aName, ScRange::aStart, bDragRect, ScAddress::Col(), DND_ACTION_MOVE, DND_ACTION_NONE, eWhich, ScDPObject::GetDimName(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScTransferObj::GetDragHandleX(), ScTransferObj::GetDragHandleY(), ScTransferObj::GetDragSourceFlags(), ScDPSaveData::GetExistingDimensionByName(), ScDPObject::GetHeaderPositionData(), ScTransferObj::GetNonFilteredRows(), ScDPSaveDimension::GetOrientation(), ScDPObject::GetOutRange(), vcl::Window::GetPointerState(), ScViewData::GetPosFromPixel(), ScTransferObj::GetRange(), ScDPObject::GetSaveData(), ScTransferObj::GetSourceDocument(), ScViewData::GetTabNo(), ScDocument::HasChartAtPoint(), ScViewUtil::HasFiltered(), ScTransferObj::HasFilteredRows(), INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, ScDocument::IsDocEditable(), KEY_MOD2, lcl_MakeDropRange(), lcl_TestScenarioRedliningDrop(), AcceptDropEvent::maPosPixel, ScDocument::MaxCol(), ScDocument::MaxRow(), AcceptDropEvent::mbLeaving, meDragInsertMode, AcceptDropEvent::mnAction, mrViewData, nDragEndX, nDragEndY, nDragStartX, nDragStartY, ScDragData::pCellTransfer, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), ScAddress::Tab(), Table, and UpdateDragRectOverlay().
Referenced by AcceptDrop().
void ScGridWindow::CheckNeedsRepaint | ( | ) |
Definition at line 1807 of file gridwin4.cxx.
References aRepaintPixel, bNeedsRepaint, ScViewData::GetBindings(), vcl::Window::Invalidate(), SfxBindings::Invalidate(), tools::Rectangle::IsEmpty(), mrViewData, and vcl::Window::PixelToLogic().
Referenced by Draw(), and UpdateFormulas().
void ScGridWindow::ClickExtern | ( | ) |
Definition at line 455 of file gridwin.cxx.
References mpDPFieldPopup, and mpFilterBox.
Referenced by HandleMouseButtonDown(), and ScrollPixel().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2944 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(), ScInputHandler::EnterHandler(), eWhich, SfxDispatcher::ExecutePopup(), EditView::ExecuteSpellPopup(), ScTabView::GestureZoomCommand(), SdrMarkView::GetAllMarkedBoundRect(), ScViewData::GetBindings(), CommandEvent::GetCommand(), EditView::GetCursor(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), ScInputHandler::GetEditString(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), vcl::Cursor::GetHeight(), ScModule::GetInputHdl(), SfxViewShell::GetIPClient(), ScViewData::GetMergeSizePixel(), CommandEvent::GetMousePosPixel(), vcl::Cursor::GetPos(), ScViewData::GetPosFromPixel(), ScTabView::GetScDrawView(), ScViewData::GetScrPos(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScDocument::GetTabProtection(), SdrObjEditView::GetTextEditOutlinerView(), ScRefCellValue::getType(), ScViewData::GetView(), ScViewData::GetViewShell(), vcl::Cursor::GetWidth(), OutlinerView::GetWindow(), ScDocument::HasAttrib(), ScViewData::HasEditView(), ScAddress::IncCol(), ScInputHandler::InputCommand(), SfxBindings::Invalidate(), ScViewData::IsAnyFillMode(), ScModule::IsFormulaMode(), ScDocument::IsLayoutRTL(), ScModule::IsModalMode(), CommandEvent::IsMouseEvent(), SfxInPlaceClient::IsObjectInPlaceActive(), ScTableProtection::isOptionEnabled(), ScTableProtection::isProtected(), lcl_SetTextCursorPos(), LINK, vcl::Window::LogicToPixel(), mpSpellCheckCxt, mrViewData, nMouseStatus, PasteSelection(), 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().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 371 of file gridwin5.cxx.
References eWhich, vcl::Window::GetAccessible(), vcl::Window::GetAccessibleParentWindow(), ScViewData::GetViewShell(), mrViewData, and vcl::Window::SetAccessible().
void ScGridWindow::CreateAnchorHandle | ( | SdrHdlList & | rHdl, |
const ScAddress & | rAddress | ||
) |
Definition at line 317 of file gridwin3.cxx.
References SdrHdlList::AddHdl(), ScAddress::Col(), eWhich, ScViewData::GetDocument(), ScViewOptions::GetOption(), ScViewData::GetOptions(), ScTabView::GetScDrawView(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScViewData::GetView(), ScDocument::IsNegativePage(), mrViewData, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), and VOPT_ANCHOR.
void ScGridWindow::CursorChanged | ( | ) |
Definition at line 5926 of file gridwin.cxx.
References UpdateCursorOverlay(), and UpdateSparklineGroupOverlay().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2557 of file gridwin4.cxx.
References eWhich, ScInputHandler::ForgetLastPattern(), ScViewData::GetActivePart(), ScViewData::GetDocShell(), DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), ScViewData::GetView(), vcl::Window::Invalidate(), ScViewData::IsActive(), mrViewData, ScTabView::RecalcPPT(), ScTabView::RepeatResize(), SC_MOD, ScTabView::UpdateAllOverlays(), and ScDocShell::UpdateFontList().
|
private |
References StartDrag.
|
private |
|
private |
References PasteSelection.
void ScGridWindow::DeleteAutoFillOverlay | ( | ) |
Definition at line 6495 of file gridwin.cxx.
References mpAutoFillRect, and mpOOAutoFill.
Referenced by ImpDestroyOverlayObjects(), and UpdateAutoFillOverlay().
void ScGridWindow::DeleteCopySourceOverlay | ( | ) |
Definition at line 5975 of file gridwin.cxx.
References mpOOSelectionBorder.
Referenced by ImpDestroyOverlayObjects(), and UpdateCopySourceOverlay().
void ScGridWindow::DeleteCursorOverlay | ( | ) |
Definition at line 5967 of file gridwin.cxx.
References ScViewData::GetViewShell(), SfxViewShell::libreOfficeKitViewCallback(), mpOOCursors, mrViewData, and SfxLokHelper::notifyOtherViews().
Referenced by ImpDestroyOverlayObjects(), and UpdateCursorOverlay().
void ScGridWindow::DeleteDragRectOverlay | ( | ) |
Definition at line 6590 of file gridwin.cxx.
References mpOODragRect.
Referenced by ImpDestroyOverlayObjects(), and UpdateDragRectOverlay().
void ScGridWindow::DeleteHeaderOverlay | ( | ) |
Definition at line 6761 of file gridwin.cxx.
References mpOOHeader.
Referenced by ImpDestroyOverlayObjects(), and UpdateHeaderOverlay().
void ScGridWindow::DeleteSelectionOverlay | ( | ) |
Definition at line 6408 of file gridwin.cxx.
References mpOOSelection.
Referenced by ImpDestroyOverlayObjects(), and UpdateSelectionOverlay().
void ScGridWindow::DeleteShrinkOverlay | ( | ) |
Definition at line 6807 of file gridwin.cxx.
References mpOOShrink.
Referenced by ImpDestroyOverlayObjects(), and UpdateShrinkOverlay().
void ScGridWindow::DeleteSparklineGroupOverlay | ( | ) |
Definition at line 6874 of file gridwin.cxx.
References mpOOSparklineGroup.
Referenced by ImpDestroyOverlayObjects(), and UpdateSparklineGroupOverlay().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3644 of file gridwin.cxx.
References OutlinerView::DeleteSurroundingText(), ScInputHandler::DeleteSurroundingText(), eWhich, ScModule::GetInputHdl(), ScTabView::GetScDrawView(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 436 of file gridwin.cxx.
References aComboButton, vcl::Window::dispose(), ImpDestroyOverlayObjects(), maShowPageBreaksTimer, mpAutoFilterPopup, mpDPFieldPopup, mpFilterBox, mpNoteMarker, mpSpellCheckCxt, ScDDComboBoxButton::SetOutputDevice(), and Task::Stop().
|
private |
Definition at line 104 of file gridwin2.cxx.
References tools::Rectangle::Contains(), DoPageFieldSelection(), eWhich, ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), MouseEvent::GetPosPixel(), ScViewData::GetPPTY(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), ScViewData::GetTabNo(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), IsAutoFilterActive(), ScDocument::IsLayoutRTL(), LaunchAutoFilterMenu(), mpFilterButton, mrViewData, Point, and ScViewData::ToPixel().
Referenced by HandleMouseButtonDown().
void ScGridWindow::DoInvertRect | ( | const tools::Rectangle & | rPixel | ) |
Definition at line 302 of file gridwin4.cxx.
References aInvertRect, tools::Rectangle::IsEmpty(), and UpdateHeaderOverlay().
Referenced by ScTabView::InvertHorizontal(), and ScTabView::InvertVertical().
Definition at line 94 of file gridwin2.cxx.
References GetDPFieldOrientation(), and LaunchPageFieldMenu().
Referenced by DoAutoFilterButton().
|
private |
Definition at line 149 of file gridwin2.cxx.
References ScRange::aStart, bDPMouse, bPopup, ScAddress::Col(), ScAbstractDialogFactory::Create(), ScAbstractDialogFactory::CreateScPivotFilterDlg(), ScTabView::CursorPosChanged(), ScDBDocFunc::DataPilotUpdate(), DPTestFieldPopupArrow(), DPTestMouse(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), SfxViewShell::GetFrameWeld(), ScDPObject::GetHeaderDim(), SfxShell::GetPool(), ScQueryItem::GetQueryData(), ScSheetSourceDesc::GetQueryParam(), ScDPObject::GetSheetDesc(), ScSheetSourceDesc::GetSourceRange(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), ScAddress::IncCol(), ScDPObject::IsFilterButton(), mrViewData, nDPField, pDragDPObj, SfxItemSet::Put(), vcl::Window::ReleaseMouse(), RET_OK, SCITEM_QUERYDATA, ScSheetSourceDesc::SetQueryParam(), ScDPObject::SetSheetDesc(), vcl::Window::StartTracking(), and ScAddress::Tab().
Referenced by HandleMouseButtonDown().
void ScGridWindow::DoScenarioMenu | ( | const ScRange & | rScenRange | ) |
Definition at line 1304 of file gridwin.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustTop(), ScRange::aEnd, weld::TreeView::append_text(), ScRange::aStart, ScAddress::Col(), eWhich, weld::TreeView::find_text(), weld::Widget::freeze(), ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), ScDocument::GetName(), weld::GetPopupParent(), ScViewData::GetPPTY(), ScDocument::GetRowHeight(), ScViewData::GetScenButSize(), ScViewData::GetScrPos(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), weld::Widget::grab_focus(), ScDocument::HasScenarioRange(), Size::Height(), i, ScDocument::IsActiveScenario(), ScDocument::IsLayoutRTL(), ScDocument::IsScenario(), LINK, ScDocument::MaxRow(), mpFilterBox, mrViewData, weld::TreeView::n_children(), nPos, Point, ScAddress::Row(), Scenario, weld::TreeView::select(), weld::TreeView::set_cursor(), weld::Widget::set_direction(), ShowFilterMenu(), weld::Widget::thaw(), and ScViewData::ToPixel().
Referenced by HandleMouseButtonDown().
|
private |
Definition at line 439 of file gridwin2.cxx.
References DPLaunchFieldPopupMenu(), and ScDPObject::GetHeaderDim().
Referenced by ScTabView::DoDPFieldPopup(), DPLaunchFieldPopupMenu(), DPTestFieldPopupArrow(), LaunchDPFieldMenu(), and LaunchPageFieldMenu().
void ScGridWindow::DPLaunchFieldPopupMenu | ( | const Point & | rScrPos, |
const Size & | rScrSize, | ||
tools::Long | nDimIndex, | ||
ScDPObject * | pDPObj | ||
) |
Definition at line 448 of file gridwin2.cxx.
References ScListSubMenuControl::addMenuItem(), aName, ScDPObject::BuildAllDimensionMembers(), ScDPObject::FillLabelData(), ScDPObject::GetDimName(), ScDPLabelData::Member::getDisplayName(), ScViewData::GetDocument(), ScDPSaveData::GetExistingDimensionByName(), vcl::Window::GetFrameWeld(), ScDPSaveDimension::GetOrientation(), ScDPObject::GetSaveData(), ScDPObject::GetSource(), ScUserListData::GetString(), ScViewData::GetTabNo(), ScGlobal::GetUserList(), ScViewData::GetViewShell(), i, ScDocument::IsLayoutRTL(), vcl::Window::IsMouseCaptured(), ScDPLabelData::maMembers, ScCheckListMenuControl::Config::mbAllowEmptySet, ScCheckListMenuControl::Config::mbRTL, ScDPLabelData::Member::mbVisible, mpDPFieldPopup, mrViewData, n, vcl::Window::ReleaseMouse(), ScListSubMenuControl::resizeToFitMenuItems(), ScResId(), and ScUserList::size().
|
private |
Definition at line 649 of file gridwin2.cxx.
References bDPMouse, DPTestMouse(), vcl::Window::ReleaseMouse(), and vcl::Window::SetPointer().
Referenced by MouseButtonUp().
|
private |
|
private |
Check if the mouse click is on a field popup button.
Definition at line 342 of file gridwin2.cxx.
References ScAddress::Col(), tools::Rectangle::Contains(), DPLaunchFieldPopupMenu(), eWhich, ScViewData::GetDocument(), vcl::Window::GetMapMode(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), ScDPFieldButton::getPopupBoundingBox(), MouseEvent::GetPosPixel(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), ScViewData::GetTabNo(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), mrViewData, vcl::Window::OutputToScreenPixel(), Point, ScAddress::Row(), ScDPFieldButton::setBoundingBox(), and ScDPFieldButton::setPopupLeft().
Referenced by DoPushPivotButton().
|
private |
move this to separate method
docfunc method with ScDPSaveData as argument?
Definition at line 232 of file gridwin2.cxx.
References ScTabView::CursorPosChanged(), ScDBDocFunc::DataPilotUpdate(), ScTabView::ErrorMessage(), eWhich, ScDPSaveData::GetDataLayoutDimension(), ScDPSaveData::GetDimensionByName(), ScDPObject::GetDimName(), ScViewData::GetDocShell(), ScDPObject::GetHeaderDrag(), ScViewData::GetMouseQuadrant(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScDPObject::GetSaveData(), ScViewData::GetTabNo(), ScViewData::GetView(), Size::Height(), ScDPObject::IsOrientationAllowed(), mrViewData, nDPField, pDragDPObj, Point, ScTabView::ResetTimer(), ScTabView::ScrollX(), ScTabView::ScrollY(), ScDPSaveDimension::SetOrientation(), vcl::Window::SetPointer(), ScDPSaveData::SetPosition(), ScDPObject::SetSaveData(), ScTabView::SetTimer(), UpdateDragRect(), WhichH(), WhichV(), and Size::Width().
Referenced by DoPushPivotButton(), DPMouseButtonUp(), and DPMouseMove().
void ScGridWindow::Draw | ( | SCCOL | nX1, |
SCROW | nY1, | ||
SCCOL | nX2, | ||
SCROW | nY2, | ||
ScUpdateMode | eMode | ||
) |
Paint AutoFill handles alone (without Cursor) ???
Definition at line 461 of file gridwin4.cxx.
References aAutoMarkPos, bAutoMarkVisible, CheckNeedsRepaint(), ScAddress::Col(), ScopedVclPtr< class reference_type >::disposeAndReset(), DrawContent(), eMode, eWhich, ScDocument::ExtendHidden(), ScDocument::ExtendMerge(), ScDocument::FillInfo(), VclPtr< class reference_type >::get(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScModule::GetInputOptions(), ScViewData::GetLogicMode(), ScViewData::GetMarkData(), ScViewOptions::GetOption(), ScViewData::GetOptions(), vcl::Window::GetOutDev(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetPrinter(), ScViewData::GetScrPos(), vcl::Window::GetSizePixel(), ScViewData::GetTabNo(), ScInputOptions::GetTextWysiwyg(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), ScViewData::IsMinimized(), ScViewData::IsOle(), Marks, maVisibleRange, ScGridWindow::VisibleRange::mnCol1, ScGridWindow::VisibleRange::mnCol2, ScGridWindow::VisibleRange::mnRow1, ScGridWindow::VisibleRange::mnRow2, mpSpellCheckCxt, mrViewData, nCursorHideCount, nPaintCount, nPPTX, nPPTY, OUTTYPE_WINDOW, 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().
|
private |
Definition at line 304 of file gridwin3.cxx.
References ScTabView::GetScDrawView(), SdrObjEditView::GetTextEditOutlinerView(), ScViewData::GetView(), OutlinerView::GetWindow(), mrViewData, vcl::Window::PaintImmediately(), and OutlinerView::ShowCursor().
Referenced by ScrollPixel().
void ScGridWindow::DrawButtons | ( | SCCOL | nX1, |
SCCOL | nX2, | ||
const ScTableInfo & | rTabInfo, | ||
OutputDevice * | pContentDev, | ||
const ScLokRTLContext * | pLokRTLContext | ||
) |
Definition at line 2063 of file gridwin4.cxx.
References aComboButton, aListValPos, AREA, aStr, ScCellInfo::bAutoFilter, RowInfo::bChanged, ScQueryEntry::bDoQuery, ScCellInfo::bFilterActive, ScCellInfo::bHOverlapped, bListValButton, ScCellInfo::bPivotButton, ScCellInfo::bPivotPopupButton, ScCellInfo::bVOverlapped, RowInfo::cellInfo(), ScLokRTLContext::docToTilePos(), ScDPFieldButton::draw(), ScDDComboBoxButton::Draw(), eWhich, ScDocument::ExtendOverlapped(), ScDBData::GetArea(), ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), GetListValButtonRect(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), ScDDComboBoxButton::GetPosPixel(), ScViewData::GetPPTY(), ScDBData::GetQueryParam(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), tools::Rectangle::GetSize(), ScDDComboBoxButton::GetSizePixel(), ScDocument::GetString(), ScViewData::GetTabNo(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), ScTableInfo::mnArrCount, ScTableInfo::mpRowInfo, mrViewData, nCount, ScQueryEntry::nField, RowInfo::nRowNo, Point, ScAddress::Row(), ScDPFieldButton::setBoundingBox(), OutputDevice::SetClipRegion(), ScDPFieldButton::setDrawBaseButton(), ScDPFieldButton::setDrawPopupButton(), ScDPFieldButton::setHasHiddenMember(), ScDDComboBoxButton::SetOutputDevice(), ScDPFieldButton::setPopupLeft(), ScDDComboBoxButton::SetPosPixel(), ScDDComboBoxButton::SetSizePixel(), ScDPFieldButton::setText(), ScViewData::ToPixel(), and tools::Rectangle::TopLeft().
Referenced by DrawContent().
|
private |
Definition at line 154 of file gridwin3.cxx.
References FuPoor::Command(), ScTabView::GetDrawFuncPtr(), ScViewData::GetScDrawView(), ScViewData::GetView(), SdrCreateView::IsAction(), ScViewData::IsRefMode(), mrViewData, nButtonDown, SC_CMD_USED, and FuPoor::SetWindow().
Referenced by StartDrag().
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 674 of file gridwin4.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), ScRange::aEnd, aMap, svtools::APPBACKGROUND, ScRangeFindData::aRef, ScRange::aStart, SdrPaintView::BeginDrawLayers(), bInitialPageBreaks, tools::Rectangle::Bottom(), tools::Rectangle::BottomLeft(), 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(), DrawHiddenIndicator(), ScOutputData::DrawNoteMarks(), DrawPagePreview(), OutputDevice::DrawRect(), DrawRedraw(), ScOutputData::DrawRefMark(), DrawSdrGrid(), ScOutputData::DrawShadow(), ScOutputData::DrawSparklines(), ScOutputData::DrawStrings(), OutputDevice::DrawText(), SdrPaintView::EndDrawLayers(), eWhich, flushOverlayManager(), EditView::GetBackgroundColor(), ScDocument::GetChangeTrack(), ScModule::GetColorConfig(), svtools::ColorConfig::GetColorValue(), EditView::GetCursor(), SfxViewShell::GetDocId(), ScRangeFindList::GetDocName(), ScDocument::GetDocOptions(), ScViewData::GetDocShell(), ScViewData::GetDocument(), GetDrawMapMode(), ScViewData::GetEditActivePart(), EditView::GetEditCursor(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), ScViewData::GetEditStartCol(), ScViewData::GetEditStartRow(), ScViewData::GetEditView(), SfxViewShell::GetFirst(), ScViewOptions::GetGridColor(), ScTabView::GetHighlightRanges(), ScModule::GetInputHdl(), ScViewData::GetLogicMode(), OutputDevice::GetMapMode(), vcl::Window::GetMapMode(), SfxViewShell::GetNext(), ScRangeFindList::GetObject(), ScViewOptions::GetOption(), ScViewData::GetOptions(), MapMode::GetOrigin(), vcl::Window::GetOutDev(), EditView::GetOutputArea(), EditView::GetOutputDevice(), vcl::Window::GetOutputSizePixel(), ScTabView::GetPageBreakData(), 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, tools::Rectangle::Intersection(), 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(), o3tl::mm100, tools::Rectangle::Move(), mpNoteMarker, mrViewData, svtools::ColorConfigValue::nColor, ScRangeFindData::nColor, nCount, tools::Rectangle::Normalize(), ScOutputData::nScrX, ScOutputData::nScrY, ScOutputData::nTab, ScOutputData::nX1, ScOutputData::nX2, ScOutputData::nY1, ScOutputData::nY2, EditView::Paint(), OutputDevice::PixelToLogic(), vcl::Window::PixelToLogic(), Point, ScRange::PutInOrder(), o3tl::px, 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::toTwips(), o3tl::twip, VOPT_CLIPMARKS, VOPT_FORMULAS, VOPT_GRID, VOPT_GRID_ONTOP, VOPT_NOTES, VOPT_NULLVALS, and VOPT_PAGEBREAKS.
Referenced by Draw(), and PaintTile().
|
private |
Definition at line 141 of file gridwin3.cxx.
References SdrCreateView::BrkAction(), ScTabView::GetDrawFuncPtr(), ScViewData::GetScDrawView(), ScViewData::GetView(), SdrCreateView::IsAction(), mrViewData, and FuPoor::StopDragTimer().
Referenced by MouseButtonUp(), and StopMarking().
|
private |
Definition at line 386 of file gridwin3.cxx.
References ScViewData::GetScDrawView(), mrViewData, and p.
Referenced by KeyInput().
|
private |
Definition at line 1828 of file gridwin4.cxx.
References svtools::ColorConfigValue::bIsVisible, svtools::CALCHIDDENROWCOL, ScDocument::ColHidden(), OutputDevice::DrawLine(), eWhich, SystemEnvData::Gen, ScViewData::GetActiveWin(), svtools::ColorConfig::GetColorValue(), ScViewData::GetDocument(), ScViewData::GetScrPos(), vcl::Window::GetSystemData(), ScViewData::GetTabNo(), i, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, svtools::ColorConfigValue::nColor, Point, ScDocument::RowHidden(), SC_MOD, LineInfo::SetDashCount(), LineInfo::SetDistance(), LineInfo::SetDotCount(), LineInfo::SetDotLen(), LineInfo::SetLineCap(), OutputDevice::SetLineColor(), and SystemEnvData::toolkit.
Referenced by DrawContent().
|
private |
Definition at line 171 of file gridwin3.cxx.
References SdrMarkView::AreObjectsMarked(), vcl::KeyCode::GetCode(), ScTabView::GetDrawFuncPtr(), GetFocus(), KeyEvent::GetKeyCode(), ScViewData::GetScDrawView(), ScViewData::GetView(), ScViewData::GetViewShell(), ScTabView::IsDrawSelMode(), ScViewData::IsRefMode(), KEY_DELETE, FuPoor::KeyInput(), FmFormView::KeyInput(), mrViewData, ScTabViewShell::SetDrawShell(), FuPoor::SetWindow(), and UpdateStatusPosSize().
Referenced by KeyInput().
void ScGridWindow::DrawLayerCreated | ( | ) |
Definition at line 5759 of file gridwin.cxx.
References GetDrawMapMode(), ImpCreateOverlayObjects(), and vcl::Window::SetMapMode().
Referenced by ScTabView::DoAddWin().
|
private |
Definition at line 392 of file gridwin3.cxx.
References ScTabView::GetScDrawView(), ScViewData::GetView(), ScDrawView::MarkDropObj(), and mrViewData.
Referenced by AcceptDrop(), and ExecuteDrop().
|
private |
Definition at line 39 of file gridwin3.cxx.
References SdrCreateView::BrkAction(), ScTabView::GetDrawFuncPtr(), GetDrawMapMode(), vcl::Window::GetMapMode(), MouseEvent::GetPosPixel(), ScViewData::GetScDrawView(), ScViewData::GetView(), comphelper::LibreOfficeKit::isActive(), FuPoor::IsDetectiveHit(), MouseEvent::IsLeft(), ScViewData::IsRefMode(), FuPoor::MouseButtonDown(), mrViewData, vcl::Window::PixelToLogic(), Point, vcl::Window::SetMapMode(), FuPoor::SetWindow(), and UpdateStatusPosSize().
Referenced by HandleMouseButtonDown().
|
private |
Definition at line 78 of file gridwin3.cxx.
References ScTabView::GetDrawBrushSet(), ScTabView::GetDrawFuncPtr(), GetDrawMapMode(), vcl::Window::GetMapMode(), ScViewData::GetScDrawView(), ScViewData::GetView(), comphelper::LibreOfficeKit::isActive(), ScTabView::IsPaintBrushLocked(), ScViewData::IsRefMode(), FuPoor::MouseButtonUp(), mrViewData, ScTabView::ResetBrushDocument(), SdrEditView::SetAttrToMarked(), vcl::Window::SetMapMode(), and FuPoor::SetWindow().
Referenced by MouseButtonUp().
|
private |
Definition at line 114 of file gridwin3.cxx.
References ScTabView::GetDrawFuncPtr(), GetDrawMapMode(), vcl::Window::GetMapMode(), ScViewData::GetView(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsRefMode(), FuPoor::MouseMove(), mrViewData, vcl::Window::SetMapMode(), vcl::Window::SetPointer(), FuPoor::SetWindow(), and UpdateStatusPosSize().
Referenced by MouseMove().
|
private |
Display differently (dashed ????)
Search for hidden
Search for hidden
Definition at line 1862 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(), get(), 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, 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().
|
private |
Definition at line 209 of file gridwin3.cxx.
References ScOutputData::DrawSelectiveObjects(), ScViewOptions::GetObjMode(), ScViewData::GetOptions(), ScTabView::GetScDrawView(), ScViewData::GetView(), mrViewData, SdrPaintView::setHideChart(), SdrPaintView::setHideDraw(), SdrPaintView::setHideFormControl(), SdrPaintView::setHideOle(), VOBJ_MODE_SHOW, VOBJ_TYPE_CHART, VOBJ_TYPE_DRAW, and VOBJ_TYPE_OLE.
Referenced by DrawContent().
|
private |
Definition at line 234 of file gridwin3.cxx.
References COL_GRAY(), SdrPageView::DrawPageViewGrid(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetView(), SdrPaintView::IsGridVisible(), mrViewData, and OutputDevice::SetLineColor().
Referenced by DrawContent().
|
private |
Definition at line 3692 of file gridwin.cxx.
References eWhich, ScViewData::GetDocument(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetView(), Size::Height(), ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, SCROLL_SENSITIVE, ScTabView::ScrollX(), ScTabView::ScrollY(), WhichH(), WhichV(), and Size::Width().
Referenced by AcceptDrop().
|
private |
HasSelectedBlockMatrixFragment without selected sheet? or don't start dragging on a part of a matrix
Definition at line 4281 of file gridwin.cxx.
References ScRange::aEnd, ALL, ScRange::aStart, ScTabView::CellContentChanged(), CellsLeft, CellsUp, ScAddress::Col(), ScDBFunc::DataPilotMove(), ScDocFunc::DeleteCells(), DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, ScTabView::DoneBlockMode(), SfxUndoManager::EnterListAction(), ScViewFunc::EnterMatrix(), SfxDispatcher::ExecuteList(), ScRange::Format(), ScDocument::GetAddressConvention(), Application::GetAppName(), ScViewData::GetDispatcher(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), ScTransferObj::GetDocument(), ScViewData::GetDocument(), ScDocument::GetDocumentShell(), ScDocument::GetDPAtCursor(), ScTransferObj::GetDragSourceFlags(), formula::FormulaCompiler::GetNativeSymbol(), ScTransferObj::GetNonFilteredRows(), ScTransferObj::GetRange(), ScTransferObj::GetSourceCursorX(), ScTransferObj::GetSourceCursorY(), ScTransferObj::GetSourceDocShell(), ScTransferObj::GetSourceDocument(), ScTransferObj::GetSourceMarkData(), ScDocument::GetTableCount(), ScMarkData::GetTableSelect(), ScViewData::GetTabNo(), SfxObjectShell::GetTitle(), ScDocShell::GetUndoManager(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxViewShell::GetViewShellId(), ScTransferObj::GetVisibleTab(), formula::FormulaGrammar::GRAM_NATIVE, ScDocument::HasChartAtPoint(), ScViewUtil::HasFiltered(), ScTransferObj::HasFilteredRows(), i, ScViewFunc::ImportTables(), ScTabView::InitBlockMode(), INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, ScDocFunc::InsertCells(), ScDocument::IsDocEditable(), ScDocument::IsScenario(), ScDocument::IsVisible(), SfxUndoManager::LeaveListAction(), ScViewFunc::LinkBlock(), ScTabView::MarkCursor(), ScTabView::MarkRange(), meDragInsertMode, ScRange::Move(), ScViewFunc::MoveBlockTo(), ScDocShell::MoveTable(), mrViewData, Navigator, nId, NONE, ocClose, ocDde, ocOpen, ocSep, ScViewFunc::PasteFromClip(), RANGE_ABS_3D, ScAddress::Row(), ScResId(), ScTabView::SetCursor(), ScTransferObj::SetDragWasInternal(), ScAddress::SetTab(), ScTabView::SetTabNo(), SFX_TITLE_FULLNAME, ScAddress::Tab(), TAB_3D, Table, ScAddress::UNINITIALIZED, ScTabView::Unmark(), ScDocShell::UpdateOle(), VALID, and ScTransferObj::WasSourceCursorInSelection().
Referenced by ExecutePrivateDrop(), and PasteSelection().
|
private |
Definition at line 66 of file gridwin_dbgutil.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), SfxItemSet::dumpAsXml(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), ScPatternAttr::GetItemSet(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), ScMarkData::GetMarkedRangesForTab(), ScDocument::GetPattern(), ScViewData::GetTabNo(), i, ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), ScRangeList::Join(), mrViewData, n, ScAddress::Row(), and ScRangeList::size().
Referenced by KeyInput().
|
private |
Definition at line 152 of file gridwin_dbgutil.cxx.
References ScAddress::Col(), ScDPObject::Dump(), ScDPObject::DumpCache(), ScDocument::DumpColumnStorage(), ScViewData::GetCurPos(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), mrViewData, ScAddress::Row(), and ScAddress::Tab().
Referenced by KeyInput().
|
private |
Definition at line 54 of file gridwin_dbgutil.cxx.
References o3tl::convert(), ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetTabNo(), o3tl::mm100, mrViewData, nPixel, and o3tl::twip.
Referenced by KeyInput().
|
private |
Definition at line 42 of file gridwin_dbgutil.cxx.
References ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetTabNo(), vcl::Window::LogicToPixel(), mrViewData, nPixel, and Point.
Referenced by KeyInput().
|
private |
Definition at line 125 of file gridwin_dbgutil.cxx.
References ScViewData::GetDocument(), ScDocument::GetDrawLayer(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), ScDrawLayer::GetObjData(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrModel::GetScaleUnit(), SdrObject::GetSnapRect(), vcl::Window::LogicToPixel(), and mrViewData.
Referenced by KeyInput().
Definition at line 1547 of file gridwin.cxx.
References ScInputHandler::CancelHandler(), ScTabView::CellContentChanged(), ScViewFunc::EnterData(), ScViewData::GetActivePart(), ScModule::GetInputHdl(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
Referenced by FilterSelect().
|
overrideprotectedvirtual |
Definition at line 4639 of file gridwin.cxx.
References ScDragData::aJumpTarget, ScDragData::aJumpText, ScDragData::aLinkArea, ScDragData::aLinkDoc, ScDragData::aLinkTable, bPasteIsMove, DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, DrawMarkDropObj(), eWhich, ExecutePrivateDrop(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScModule::GetDragData(), ScDrawTransferObj::GetDragSourceFlags(), SfxObjectShell::GetMedium(), ScDrawTransferObj::GetModel(), SfxMedium::GetName(), ScDocument::GetObjectAtPoint(), ScViewData::GetPosFromPixel(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxObjectShell::HasName(), ScViewFunc::InsertAreaLink(), ScViewFunc::InsertBookmark(), ScViewFunc::InsertTableLink(), lcl_GetDropFormatId(), lcl_GetDropLinkId(), ExecuteDropEvent::maDropEvent, ExecuteDropEvent::maPosPixel, ExecuteDropEvent::mnAction, ScTabView::MoveCursorAbs(), mrViewData, Navigator, ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), ScViewFunc::PasteOnDrawObjectLinked(), ScDragData::pCellTransfer, ScDragData::pDrawTransfer, vcl::Window::PixelToLogic(), ScDragData::pJumpLocalDoc, Point, SC_FOLLOW_NONE, SC_MOD, ScDrawTransferObj::SetDragWasInternal(), ScModule::SetInExecuteDrop(), and u.
|
private |
Definition at line 4271 of file gridwin.cxx.
References bDragRect, DropTransferObj(), ExecuteDropEvent::maPosPixel, ExecuteDropEvent::mnAction, nDragStartX, nDragStartY, ScDragData::pCellTransfer, vcl::Window::PixelToLogic(), and UpdateDragRectOverlay().
Referenced by ExecuteDrop().
void ScGridWindow::FakeButtonUp | ( | ) |
Definition at line 2553 of file gridwin.cxx.
References aCurMousePos, aEvent, MouseButtonUp(), and nButtonDown.
Referenced by MouseButtonDown().
|
private |
Definition at line 1523 of file gridwin.cxx.
References DataSelect, ExecDataSelect(), weld::TreeView::get_text(), ScViewData::GetView(), vcl::Window::GrabFocus(), mpFilterBox, mrViewData, Scenario, and ScViewFunc::UseScenario().
void ScGridWindow::flushOverlayManager | ( | ) |
Definition at line 6955 of file gridwin.cxx.
References getOverlayManager().
Referenced by DrawContent(), and ScTabView::ZoomChanged().
const std::vector< editeng::MisspellRanges > * ScGridWindow::GetAutoSpellData | ( | SCCOL | nPosX, |
SCROW | nPosY | ||
) |
Definition at line 5792 of file gridwin.cxx.
References ScGridWindow::VisibleRange::isInside(), maVisibleRange, and mpSpellCheckCxt.
Referenced by ScViewFunc::CopyAutoSpellData().
OString ScGridWindow::getCellCursor | ( | ) | const |
get Cell cursor in this view's co-ordinate system
Definition at line 5808 of file gridwin.cxx.
References ScViewData::describeCellCursor(), ScViewData::describeCellCursorInPrintTwips(), comphelper::LibreOfficeKit::isCompatFlagSet(), mpOOCursors, and mrViewData.
Referenced by ScModelObj::getCellCursor(), notifyKitCellCursor(), notifyKitCellFollowJump(), and updateKitCellCursor().
void ScGridWindow::GetCellSelection | ( | std::vector< tools::Rectangle > & | rLogicRects | ) |
Get the cell selection, coordinates are in logic units.
Definition at line 6396 of file gridwin.cxx.
References GetSelectionRects(), GetSelectionRectsPrintTwips(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), and UpdateKitSelection().
Referenced by ScViewFunc::SearchAndReplace().
Definition at line 54 of file gridwin2.cxx.
References ScDPObject::GetDimName(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScDPObject::GetHeaderDim(), ScViewData::GetTabNo(), and mrViewData.
Referenced by DoPageFieldSelection(), ScTabView::HasPageFieldDataAtCursor(), and ScTabView::StartDataSelect().
MapMode ScGridWindow::GetDrawMapMode | ( | bool | bForce = false | ) |
MapMode for the drawinglayer objects.
Definition at line 252 of file gridwin3.cxx.
References ScDrawUtil::CalcScale(), eWhich, ScViewData::GetDocument(), ScViewData::GetLogicMode(), vcl::Window::GetOutDev(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPixPos(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDrawView::GetScale(), ScTabView::GetScDrawView(), ScDocument::GetTableArea(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsNegativePage(), mrViewData, vcl::Window::PixelToLogic(), Point, MapMode::SetOrigin(), MapMode::SetScaleX(), MapMode::SetScaleY(), and Width.
Referenced by ScDrawView::calculateGridOffsetForB2DRange(), ScDrawView::calculateGridOffsetForSdrObject(), DrawContent(), DrawLayerCreated(), DrawMouseButtonDown(), DrawMouseButtonUp(), DrawMouseMove(), ScTabView::GetChartDialogPos(), ScTabView::GetChartInsertPos(), ScViewPaneBase::GetVisArea(), ScAccessibleDocument::GetVisibleArea_Impl(), ScAccessibleDocument::LogicToPixel(), ScrollPixel(), ShowNoteMarker(), ScDrawView::SyncForGrid(), ScTabView::TestHintWindow(), UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateHeaderOverlay(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
|
private |
Pass on nPosX/Y?
Definition at line 5557 of file gridwin.cxx.
References ATTR_HOR_JUSTIFY(), ATTR_LINEBREAK(), CELLTYPE_EDIT, CELLTYPE_FORMULA, tools::Rectangle::Contains(), ScFormulaCell::CreateURLObject(), ScEditUtil::CreateURLObjectFromURL(), eWhich, ScPatternAttr::GetCellOrientation(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScViewData::GetEditArea(), ScRefCellValue::getEditText(), EditView::GetField(), EditView::GetFieldUnderMousePointer(), ScRefCellValue::getFormula(), ScTabViewShell::GetInputHandler(), ScPatternAttr::GetItem(), ScViewData::GetLogicMode(), vcl::Window::GetMapMode(), ScViewData::GetMergeSizePixel(), ScDocument::GetPattern(), ScViewData::GetPosFromPixel(), ScFormulaCell::GetString(), svl::SharedString::getString(), ScInputHandler::GetTableView(), ScViewData::GetTabNo(), ScRefCellValue::getType(), ScRefCellValue::getValue(), ScViewData::GetViewShell(), ScRefCellValue::hasNumeric(), comphelper::LibreOfficeKit::isActive(), ScInputHandler::IsInputMode(), lcl_GetHyperlinkCell(), tools::Rectangle::Left(), mrViewData, vcl::Window::PixelToLogic(), pName, Point, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), vcl::Window::SetMapMode(), EditView::SetOutputArea(), tools::Rectangle::SetRight(), Size::setWidth(), and tools::Rectangle::Top().
Referenced by HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), and RequestHelp().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 5077 of file gridwin.cxx.
References ScTabViewShell::BroadcastAccessibility(), ScDocShell::CheckConfigOptions(), eWhich, ScViewData::GetDocShell(), ScViewData::GetViewShell(), ScTabViewShell::HasAccessibilityObjects(), mrViewData, SC_MOD, ScTabViewShell::SetFormShellAtTop(), and ScTabViewShell::UpdateInputHandler().
Referenced by DrawKeyInput().
|
private |
Definition at line 2216 of file gridwin4.cxx.
References ATTR_MERGE(), ScAddress::Col(), ScDocument::ColHidden(), eWhich, ScDocument::GetAttr(), ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), ScDDComboBoxButton::GetSizePixel(), ScViewData::GetTabNo(), Size::Height(), ScDocument::IsLayoutRTL(), ScDocument::MaxCol(), mrViewData, Point, ScAddress::Row(), Size::setHeight(), Size::setWidth(), ScViewData::ToPixel(), and Size::Width().
Referenced by DrawButtons(), HandleMouseButtonDown(), and UpdateListValPos().
|
inline |
Definition at line 382 of file gridwin.hxx.
References Point.
Referenced by ScTabView::GetMousePosPixel().
rtl::Reference< sdr::overlay::OverlayManager > ScGridWindow::getOverlayManager | ( | ) | const |
Definition at line 6938 of file gridwin.cxx.
References SdrPageView::FindPageWindow(), vcl::Window::GetOutDev(), SdrPageWindow::GetOverlayManager(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetView(), and mrViewData.
Referenced by flushOverlayManager(), UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateHeaderOverlay(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
|
private |
convert rMarkData into pixel rectangles for this view
Definition at line 2314 of file gridwin4.cxx.
References GetRectsAnyFor().
Referenced by GetSelectionRects(), and UpdateKitSelection().
|
private |
Definition at line 2320 of file gridwin4.cxx.
References ScInvertMerger::AddRect(), ScRange::aEnd, ScRange::aStart, ATTR_MERGE(), ATTR_MERGE_FLAG(), ScAddress::Col(), eHWhich, eVWhich, eWhich, ScDocument::ExtendMerge(), ScDocument::GetAttr(), ScMergeAttr::GetColMerge(), ScDocument::GetColWidth(), ScViewData::GetDocument(), ScPatternAttr::GetItem(), ScMarkData::GetMarkArea(), ScMarkData::GetMultiMarkArea(), ScDocument::GetPattern(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetPrintTwipsPos(), ScDocument::GetRowHeight(), ScMergeAttr::GetRowMerge(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScDocument::GetTiledRenderingArea(), comphelper::LibreOfficeKit::isActive(), ScMarkData::IsCellMarked(), ScMergeFlagAttr::IsHorOverlapped(), ScDocument::IsLayoutRTL(), ScMarkData::IsMultiMarked(), ScMergeFlagAttr::IsOverlapped(), ScMergeFlagAttr::IsVerOverlapped(), ScMarkData::MarkToMulti(), ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nPPTX, nPPTY, Point, PutInOrder(), ScAddress::Row(), ScDocument::RowHidden(), ScMarkData::SetMarking(), ScViewData::ToPixel(), ScViewData::VisibleCellsX(), and ScViewData::VisibleCellsY().
Referenced by GetPixelRectsFor(), GetSelectionRectsPrintTwips(), and updateOtherKitSelections().
|
private |
Definition at line 2303 of file gridwin4.cxx.
References ScViewData::GetMarkData(), GetPixelRectsFor(), and mrViewData.
Referenced by GetCellSelection(), notifyKitCellCursor(), and UpdateSelectionOverlay().
|
private |
Definition at line 2308 of file gridwin4.cxx.
References ScViewData::GetMarkData(), GetRectsAnyFor(), and mrViewData.
Referenced by GetCellSelection(), and UpdateSelectionOverlay().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3602 of file gridwin.cxx.
References eWhich, ScModule::GetInputHdl(), ScTabView::GetScDrawView(), ScInputHandler::GetSurroundingText(), OutlinerView::GetSurroundingText(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3623 of file gridwin.cxx.
References eWhich, ScModule::GetInputHdl(), ScTabView::GetScDrawView(), ScInputHandler::GetSurroundingTextSelection(), OutlinerView::GetSurroundingTextSelection(), ScViewData::GetView(), ScViewData::GetViewShell(), OutlinerView::GetWindow(), ScViewData::HasEditView(), mrViewData, and SC_MOD.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 6969 of file gridwin.cxx.
References ScGridWinUIObject::create().
ScViewData & ScGridWindow::getViewData | ( | ) |
Definition at line 6964 of file gridwin.cxx.
References mrViewData.
|
private |
what's up with the Mac ???
Someday SelectionEngine should call StartTracking on its own!?!
Definition at line 1728 of file gridwin.cxx.
References aCurMousePos, aListValPos, aPagebreakSource, aRFSelectedCorned, ATTR_MERGE_FLAG(), bEEMouse, bListValButton, bPagebreakDrawn, bRFMouse, bRFSize, ClickExtern(), ScAddress::Col(), tools::Rectangle::Contains(), 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(), ScModule::IsFormulaMode(), vcl::IsInPopupMenuExecute(), MouseEvent::IsLeft(), MouseEvent::IsMod2(), ScModule::IsModalMode(), vcl::Window::IsMouseCaptured(), SfxInPlaceClient::IsObjectInPlaceActive(), ScViewData::IsRefMode(), LaunchDataSelectMenu(), MAXTILEDROW, ScGridWindow::MouseEventState::mbActivatePart, MOUSE_RIGHT, EditView::MouseButtonDown(), mrViewData, nButtonDown, nMouseStatus, NONE, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nRFAddX, nRFAddY, nRFIndex, nScClickMouseModifier, PagebreakMove(), Point, pScActiveViewShell, vcl::Window::ReleaseMouse(), ScAddress::Row(), SAL_WARN_IF, SC_GM_DBLDOWN, SC_GM_FILTER, SC_GM_IGNORE, SC_GM_NONE, SC_GM_TABDOWN, SC_GM_URLDOWN, SC_GM_WATERUNDO, SC_INPUT_TABLE, SC_MOD, ScTabView::SelMouseButtonDown(), ScTabViewShell::SetDrawShell(), ScModule::SetInputMode(), ScMarkData::SetMarking(), vcl::Window::SetPointer(), SelectionEngine::SetVisibleArea(), ScViewSelectionEngine::SetWhich(), SelectionEngine::SetWindow(), ScGlobal::ShouldOpenURL(), vcl::Window::StartTracking(), and TestMouse().
Referenced by MouseButtonDown().
cache the Ranges in Table!!!!
Definition at line 5696 of file gridwin.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), tools::Rectangle::Contains(), eWhich, ScDocument::ExtendTotalMerge(), ScMarkData::FillRangeListWithMarks(), ScViewData::GetDocument(), ScViewData::GetPPTX(), ScViewData::GetScenButSize(), ScViewData::GetScrPos(), ScDocument::GetSheetLimits(), ScDocument::GetTableCount(), ScViewData::GetTabNo(), Size::Height(), i, ScDocument::IsLayoutRTL(), ScDocument::IsScenario(), ScDocument::MarkScenario(), mrViewData, Point, ScAddress::Row(), SC_SCENARIO_HSPACE, ShowFrame, ScRangeList::size(), and Size::Width().
Referenced by HandleMouseButtonDown().
void ScGridWindow::HideCursor | ( | ) |
Definition at line 5067 of file gridwin.cxx.
References nCursorHideCount.
void ScGridWindow::HideNoteMarker | ( | ) |
Definition at line 365 of file gridwin5.cxx.
References mpNoteMarker.
Referenced by HandleMouseButtonDown(), KeyInput(), MouseMove(), ScrollPixel(), and StartDrag().
|
private |
Definition at line 687 of file gridwin2.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), eWhich, ScPageBreakData::GetCount(), ScPageBreakData::GetData(), ScTabView::GetPageBreakData(), ScPrintRangeData::GetPageEndX(), ScPrintRangeData::GetPageEndY(), ScPrintRangeData::GetPagesX(), ScPrintRangeData::GetPagesY(), ScViewData::GetPosFromPixel(), ScPrintRangeData::GetPrintRange(), ScViewData::GetScrPos(), ScViewData::GetView(), mrViewData, nCount, nPos, Point, ScAddress::Row(), SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_NONE, 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, and SC_PD_RANGE_TR.
Referenced by HandleMouseButtonDown(), and MouseMove().
|
private |
Definition at line 5107 of file gridwin.cxx.
References ScRange::aEnd, ScRangeFindData::aRef, ScRange::aStart, ScAddress::Col(), ScRange::Contains(), ScRangeFindList::Count(), eWhich, ScRangeFindList::GetDocName(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScViewData::GetMergeSizePixel(), ScRangeFindList::GetObject(), ScViewData::GetPosFromPixel(), ScInputHandler::GetRangeFindList(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), SfxObjectShell::GetTitle(), ScViewData::GetViewShell(), i, ScRangeFindList::IsHidden(), ScDocument::IsLayoutRTL(), LEFT_DOWN, LEFT_UP, mrViewData, nCount, NONE, Point, RIGHT_DOWN, RIGHT_UP, ScAddress::Row(), SC_MOD, and ScAddress::Tab().
Referenced by HandleMouseButtonDown(), and MouseMove().
|
protected |
Definition at line 5935 of file gridwin.cxx.
References UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateHeaderOverlay(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
Referenced by DrawLayerCreated(), and UpdateAllOverlays().
|
protected |
Definition at line 5947 of file gridwin.cxx.
References DeleteAutoFillOverlay(), DeleteCopySourceOverlay(), DeleteCursorOverlay(), DeleteDragRectOverlay(), DeleteHeaderOverlay(), DeleteSelectionOverlay(), DeleteShrinkOverlay(), and DeleteSparklineGroupOverlay().
Referenced by dispose(), and UpdateAllOverlays().
void ScGridWindow::initiatePageBreaks | ( | ) |
Definition at line 2599 of file gridwin4.cxx.
References bInitialPageBreaks.
Definition at line 5803 of file gridwin.cxx.
References ScGridWindow::VisibleRange::isInside(), and maVisibleRange.
Referenced by ScViewFunc::CopyAutoSpellData().
|
private |
Definition at line 354 of file gridwin4.cxx.
References SfxViewShell::GetDocId(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), ScTabView::GetViewData(), ScViewData::GetViewShell(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), mrViewData, NeedLOKCursorInvalidation(), SfxLokHelper::notifyOtherView(), and tools::Rectangle::toString().
Referenced by DrawContent().
Definition at line 2266 of file gridwin4.cxx.
References AREA, ScQueryEntry::bDoQuery, ScQueryParamBase::bInplace, ScQueryEntry::eConnect, ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), ScQueryParamBase::GetEntry(), ScQueryParamBase::GetEntryCount(), ScDBData::GetQueryParam(), mrViewData, nCount, ScQueryEntry::nField, and SC_AND.
Referenced by DoAutoFilterButton(), and RefreshAutoFilterButton().
|
private |
Definition at line 359 of file gridwin5.cxx.
References ScViewData::GetDocument(), ScDocument::GetDrawLayer(), SdrPaintView::GetModel(), and mrViewData.
Referenced by AcceptDrop().
|
overridevirtual |
check DrawShell !!!
Reimplemented from vcl::Window.
Definition at line 3443 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().
Definition at line 838 of file gridwin.cxx.
References aEntries, AREA, aSaveAutoFilterResult, ScFilterEntries::begin(), Bottom10, Clear, Custom, Empty, ScFilterEntries::end(), ScQueryEntry::eOp, eWhich, ScQueryParamBase::FindAllEntriesByField(), ScDocument::GetColWidth(), ScDocument::GetDBAtCursor(), ScViewData::GetDocument(), ScDocument::GetFilterEntries(), vcl::Window::GetFrameWeld(), ScViewData::GetMergeSizePixel(), ScViewData::GetPPTX(), ScQueryEntry::GetQueryItems(), ScDBData::GetQueryParam(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), vcl::Window::IsMouseCaptured(), ScFilterEntries::maStrData, ScCheckListMenuControl::Config::mbAllowEmptySet, ScFilterEntries::mbHasDates, ScCheckListMenuControl::Config::mbRTL, mpAutoFilterPopup, mrViewData, NonEmpty, Normal, vcl::Window::OutputToScreenPixel(), pData, Point, vcl::Window::ReleaseMouse(), SC_EQUAL, ScResId(), ScFilterEntries::size(), SortAscending, SortDescending, Top10, ScViewData::ToPixel(), and ScTypedStrData::Value.
Referenced by DoAutoFilterButton(), and ScTabView::StartDataSelect().
Definition at line 1387 of file gridwin.cxx.
References weld::TreeView::append_text(), ATTR_VALIDDATA(), DataSelect, vcl::Window::EnterWait(), eWhich, weld::Widget::freeze(), ScDocument::GetAttr(), ScDocument::GetDataEntries(), ScViewData::GetDocument(), vcl::Window::GetFrameWeld(), ScViewData::GetMergeSizePixel(), weld::GetPopupParent(), ScViewData::GetScrPos(), ScDocument::GetString(), ScViewData::GetTabNo(), ScDocument::GetValidationEntry(), ScDocument::GetValue(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), weld::Widget::grab_focus(), ScDocument::HasValueData(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), vcl::Window::LeaveWait(), LINK, mpFilterBox, mrViewData, weld::TreeView::n_children(), nIndex, pData, Point, weld::TreeView::select(), weld::TreeView::set_cursor(), weld::Widget::set_direction(), ShowFilterMenu(), ScTypedStrData::Standard, weld::Widget::thaw(), weld::TreeView::unselect_all(), and ScTypedStrData::Value.
Referenced by HandleMouseButtonDown(), and ScTabView::StartDataSelect().
Definition at line 1243 of file gridwin.cxx.
References DPLaunchFieldPopupMenu(), eWhich, ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScViewData::GetTabNo(), comphelper::LibreOfficeKit::isActive(), mrViewData, vcl::Window::OutputToScreenPixel(), and Point.
Referenced by ScTabView::StartDataSelect().
Definition at line 1225 of file gridwin.cxx.
References DPLaunchFieldPopupMenu(), eWhich, ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScViewData::GetTabNo(), comphelper::LibreOfficeKit::isActive(), mrViewData, vcl::Window::OutputToScreenPixel(), and Point.
Referenced by DoPageFieldSelection(), and ScTabView::StartDataSelect().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1703 of file gridwin4.cxx.
References o3tl::convert(), ScViewData::GetDocument(), vcl::Window::GetMapMode(), GetMapUnit(), ScViewData::GetTabNo(), ScViewData::GetViewShell(), ScDocument::IsLayoutRTL(), vcl::Window::IsMapModeEnabled(), tools::Rectangle::Left(), o3tl::mm100, mrViewData, SfxLokHelper::notifyInvalidation(), vcl::Window::PixelToLogic(), tools::Rectangle::Right(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), and o3tl::twip.
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 5097 of file gridwin.cxx.
References ScTabViewShell::BroadcastAccessibility(), eWhich, ScViewData::GetViewShell(), ScTabViewShell::HasAccessibilityObjects(), and mrViewData.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1689 of file gridwin.cxx.
References ScTabView::ActivatePart(), ScViewFunctionSet::CheckRefBounds(), Down, vcl::Window::EndTracking(), eWhich, FakeButtonUp(), MouseEvent::GetButtons(), SfxLokHelper::getDeviceFormFactor(), ScTabView::GetFunctionSet(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScViewData::GetView(), ScViewData::GetViewShell(), HandleMouseButtonDown(), ScTabViewShell::IsRefInputMode(), vcl::Window::IsTracking(), ScGridWindow::MouseEventState::mbActivatePart, mrViewData, nButtonDown, nNestedButtonState, NONE, Point, and Up.
Referenced by ScModelObj::setGraphicSelection().
|
overridevirtual |
SID_MARKAREA does not exist anymore ??? What happens when selecting with the cursor ???
Reimplemented from vcl::Window.
Definition at line 2058 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(), ScRange::Format(), ScAddress::Format(), ScStyleSheetPool::GetActualStyleSheet(), ScDocument::GetAddressConvention(), SfxViewFrame::GetBindings(), ScViewData::GetBindings(), ScTabView::GetBrushDocument(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScDPObject::GetDataFieldPositionData(), ScViewData::GetDelMark(), ScViewData::GetDispatcher(), SfxShell::GetDispatcher(), ScDocShell::GetDocFunc(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScDocument::GetDPAtCursor(), ScDPSaveData::GetDrillDown(), GetEditUrl(), ScViewData::GetEditView(), ScExternalRefManager::getExternalFileName(), ScDocument::GetExternalRefManager(), SfxStyleSheetBase::GetFamily(), ScViewData::GetFillData(), ScViewData::GetFillMode(), ScTabView::GetFunctionSet(), ScDPObject::GetHeaderPositionData(), ScModule::GetIsWaterCan(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), MouseEvent::GetModifier(), 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(), ScPrintFunc::UpdatePages(), and VALID.
Referenced by FakeButtonUp(), ScModelObj::setGraphicSelection(), and Tracking().
|
overridevirtual |
Test if refMode dragging !!!
Reimplemented from vcl::Window.
Definition at line 2562 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 ScModelObj::setGraphicSelection(), and Tracking().
void ScGridWindow::MoveMouseStatus | ( | ScGridWindow & | rDestWin | ) |
Definition at line 1563 of file gridwin.cxx.
References aPagebreakDrag, aPagebreakSource, bRFMouse, bRFSize, nButtonDown, nMouseStatus, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nRFAddX, nRFAddY, nRFIndex, and SC_PD_NONE.
|
private |
Definition at line 332 of file gridwin4.cxx.
References maLOKLastCursor.
Referenced by InvalidateLOKViewCursor().
|
inline |
Definition at line 440 of file gridwin.hxx.
void ScGridWindow::notifyKitCellCursor | ( | ) | const |
Definition at line 5823 of file gridwin.cxx.
References aListValPos, bListValButton, getCellCursor(), ScViewData::GetCurPos(), GetSelectionRects(), ScViewData::GetViewShell(), ScViewData::IsActive(), SfxViewShell::libreOfficeKitViewCallback(), mrViewData, SfxLokHelper::notifyOtherViews(), and updateLOKValListButton().
Referenced by updateKitCellCursor(), and updateKitOtherCursors().
void ScGridWindow::notifyKitCellFollowJump | ( | ) | const |
Definition at line 5020 of file gridwin.cxx.
References getCellCursor(), ScViewData::GetViewShell(), SfxViewShell::libreOfficeKitViewCallback(), and mrViewData.
Referenced by ScTabViewShell::Execute().
void ScGridWindow::notifyKitCellViewCursor | ( | const SfxViewShell * | pForShell | ) | const |
Definition at line 5839 of file gridwin.cxx.
References ScViewData::describeCellCursorInPrintTwips(), ScViewData::GetCurX(), ScViewData::GetCurY(), SfxViewShell::GetDocId(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isCompatFlagSet(), mpOOCursors, mrViewData, and SfxLokHelper::notifyOtherView().
Referenced by updateKitCellCursor(), and updateKitOtherCursors().
|
private |
Combine scrolling and switching with RFMouseMove ! (Inverting before scrolling is different)
Definition at line 819 of file gridwin2.cxx.
References ScTabView::ActivatePart(), ScDocShell::AdjustPrintZoom(), ScRange::aEnd, aPagebreakDrag, aPagebreakSource, ScRange::aStart, bPagebreakDrawn, ScAddress::Col(), ScViewFunc::DeletePageBreak(), SfxUndoManager::EnterListAction(), eWhich, ScRange::Format(), ScViewData::GetActivePart(), ScViewData::GetDocShell(), ScDocShell::GetDocument(), ScViewData::GetHSplitMode(), ScViewData::GetMouseQuadrant(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScDocument::GetPrintRange(), ScDocument::GetPrintRangeCount(), ScViewData::GetTabNo(), ScDocShell::GetUndoManager(), ScViewData::GetView(), ScViewData::GetViewShell(), SfxViewShell::GetViewShellId(), ScViewData::GetVSplitMode(), ScDocument::HasColBreak(), ScDocument::HasRowBreak(), Size::Height(), ScViewFunc::InsertPageBreak(), ScDocument::IsPrintEntireSheet(), ScDocument::IsUndoEnabled(), SfxUndoManager::LeaveListAction(), Manual, mrViewData, nPagebreakBreak, nPagebreakMouse, nPagebreakPrev, nPos, Point, ScTabView::ResetTimer(), ScAddress::Row(), SC_PD_BREAK_H, SC_PD_BREAK_V, SC_PD_RANGE_B, SC_PD_RANGE_L, SC_PD_RANGE_R, SC_PD_RANGE_T, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_FIX, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScResId(), ScTabView::ScrollX(), ScTabView::ScrollY(), ScAddress::SetCol(), ScDocShell::SetDocumentModified(), ScViewFunc::SetPrintRanges(), ScAddress::SetRow(), ScTabView::SetTimer(), UpdateDragRectOverlay(), ScTabView::UpdatePageBreakData(), VALID, WhichH(), WhichV(), and Size::Width().
Referenced by HandleMouseButtonDown(), MouseButtonUp(), and MouseMove().
|
overrideprotectedvirtual |
Merge Rectangle?
Reimplemented from vcl::Window.
Definition at line 385 of file gridwin4.cxx.
References ScViewData::AddPixelsWhile(), aRepaintPixel, bIsInPaint, bNeedsRepaint, tools::Rectangle::Bottom(), Draw(), eHWhich, eVWhich, ScDocument::GetColWidth(), ScViewData::GetDocument(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), vcl::Window::GetSizePixel(), ScViewData::GetTabNo(), ScDocument::IsInInterpreter(), ScDocument::IsLayoutRTL(), tools::Rectangle::Left(), vcl::Window::LogicToPixel(), Marks, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nPPTX, nPPTY, tools::Rectangle::Right(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::Top(), ScViewData::ToPixel(), and Size::Width().
void ScGridWindow::PaintTile | ( | VirtualDevice & | rDevice, |
int | nOutputWidth, | ||
int | nOutputHeight, | ||
int | nTilePosX, | ||
int | nTilePosY, | ||
tools::Long | nTileWidth, | ||
tools::Long | nTileHeight | ||
) |
Definition at line 1525 of file gridwin4.cxx.
References o3tl::convert(), OutputDevice::DrawBitmap(), DrawContent(), ScDocument::FillInfo(), OutputDevice::GetBitmap(), ScViewData::GetDocument(), ScDocument::GetDrawLayer(), OutputDevice::GetMapMode(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetScDrawView(), ScViewData::GetTabNo(), ScDocument::GetTiledRenderingArea(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScDocument::IsLayoutRTL(), ScDocument::MaxCol(), MAXTILEDROW, Bitmap::Mirror(), mpLOKDrawView, mpSpellCheckCxt, mrViewData, OUTTYPE_WINDOW, LokChartHelper::PaintAllChartsOnTile(), Point, ScDocument::PrepareFormulaCalc(), o3tl::px, ScDocument::ResetChanged(), ScOutputData::SetDrawView(), OutputDevice::SetMapMode(), MapMode::SetOrigin(), ScOutputData::SetSpellCheckContext(), ScViewData::SetZoom(), and o3tl::twip.
Referenced by ScModelObj::paintTile().
|
private |
Definition at line 4754 of file gridwin.cxx.
References tools::Rectangle::Contains(), TransferableDataHelper::CreateFromPrimarySelection(), SfxObjectShell::CreateShellID(), DND_ACTION_COPY, DropTransferObj(), eWhich, ScSelectionTransferObj::GetCellData(), ScViewData::GetDocShell(), ScSelectionTransferObj::GetDrawData(), SdrObject::GetLogicRect(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), ScViewData::GetPosFromPixel(), ScTabView::GetScDrawView(), TransferableDataHelper::GetTransferable(), ScViewData::GetView(), ScViewData::GetViewShell(), i, lcl_GetDropFormatId(), mrViewData, nCount, ScViewFunc::PasteDataFormat(), ScViewFunc::PasteDraw(), vcl::Window::PixelToLogic(), Point, and SC_MOD.
Referenced by Command().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2791 of file gridwin.cxx.
References aEvent, MouseEvent::GetClicks(), vcl::Window::GetComponentInterface(), SfxFrame::GetController(), SfxViewFrame::GetFrame(), NotifyEvent::GetMouseEvent(), NotifyEvent::GetType(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), NotifyEvent::GetWindow(), ScTabViewObj::IsMouseListening(), MouseEvent::IsRight(), lcl_InitMouseEvent(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), mrViewData, nMouseStatus, nType, SC_GM_IGNORE, and xController.
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 316 of file gridwin4.cxx.
References ScTabView::GetScDrawView(), ScViewData::GetViewShell(), mrViewData, and SdrPaintView::PrePaint().
void ScGridWindow::RefreshAutoFilterButton | ( | const ScAddress & | rPos | ) |
Definition at line 1032 of file gridwin.cxx.
References ScAddress::Col(), IsAutoFilterActive(), mpFilterButton, ScAddress::Row(), and ScAddress::Tab().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 204 of file gridwin5.cxx.
References tools::Rectangle::BottomRight(), INetURLObject::decode(), eWhich, IMapObject::GetAltText(), ScViewData::GetDocument(), ScViewData::GetEditArea(), GetEditUrl(), SvxIMapInfo::GetHitIMapObject(), SdrPaintView::getHitTolLog(), SdrObject::getHyperlink(), SvxIMapInfo::GetIMapInfo(), SdrObject::GetLogicRect(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), vcl::Window::GetOutDev(), ScDocument::GetPattern(), ScViewData::GetPosFromPixel(), ScViewData::GetRefType(), ScViewData::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetTabNo(), SvxURLField::GetURL(), IMapObject::GetURL(), SfxHelp::GetURLHelpText(), SdrObject::IsGroupObject(), Help::IsQuickHelpEnabled(), SdrObjEditView::IsTextEdit(), vcl::Window::LogicToPixel(), SdrViewEvent::meEvent, MOUSE_LEFT, mpNoteMarker, SdrViewEvent::mpObj, SdrViewEvent::mpURLField, mrViewData, nButtonDown, nMouseStatus, vcl::Window::OutputToScreenPixel(), SdrView::PickAnything(), SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), Point, FmFormPage::RequestHelp(), SC_GM_TABDOWN, SC_REFTYPE_FILL, vcl::Window::ScreenToOutputPixel(), Help::ShowBalloon(), ShowNoteMarker(), Help::ShowQuickHelp(), tools::Rectangle::TopLeft(), and INetURLObject::Unambiguous.
void ScGridWindow::ResetAutoSpell | ( | ) |
Definition at line 5772 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScSpellDialogChildWindow::ApplyChangedSentence().
void ScGridWindow::ResetAutoSpellForContentChange | ( | ) |
Definition at line 5778 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScViewFunc::CopyAutoSpellData().
|
private |
Definition at line 5343 of file gridwin.cxx.
References ScTabView::ActivatePart(), ScRange::aEnd, ScRangeFindData::aRef, aRFSelectedCorned, ScRange::aStart, bRFSize, ScAddress::Col(), ScRangeFindList::Count(), eWhich, ScViewData::GetActivePart(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScViewData::GetHSplitMode(), ScRangeFindList::GetObject(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosFromPixel(), MouseEvent::GetPosPixel(), ScInputHandler::GetRangeFindList(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::GetVSplitMode(), Size::Height(), lcl_PaintRefChanged(), LEFT_DOWN, LEFT_UP, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nRFAddX, nRFAddY, nRFIndex, vcl::Window::PaintImmediately(), Point, ScRange::PutInOrder(), ScTabView::ResetTimer(), RIGHT_DOWN, RIGHT_UP, ScAddress::Row(), SC_MOD, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_FIX, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScTabView::ScrollX(), ScTabView::ScrollY(), ScAddress::SetCol(), vcl::Window::SetPointer(), ScAddress::SetRow(), ScTabView::SetTimer(), ScInputHandler::UpdateLokReferenceMarks(), ScInputHandler::UpdateRange(), WhichH(), WhichV(), and Size::Width().
Referenced by MouseButtonUp(), MouseMove(), and Tracking().
void ScGridWindow::ScrollPixel | ( | tools::Long | nDifX, |
tools::Long | nDifY | ||
) |
Definition at line 4872 of file gridwin.cxx.
References ClickExtern(), DrawAfterScroll(), GetDrawMapMode(), HideNoteMarker(), vcl::Window::Scroll(), vcl::Window::SetMapMode(), and UpdateEditViewPos().
|
private |
change to GetEditStartCol after calcrtl is integrated
Definition at line 3290 of file gridwin.cxx.
References ESelection::Adjust(), aEvent, SdrMarkView::AreObjectsMarked(), tools::Rectangle::Contains(), ScTabView::DrawDeselectAll(), eWhich, EditEngine::FindDocPosition(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), EditView::GetEditEngine(), Outliner::GetEditEngine(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), ScViewData::GetMarkData(), vcl::Window::GetOutDev(), OutlinerView::GetOutliner(), EditView::GetOutputArea(), OutlinerView::GetOutputArea(), ScTabView::GetScDrawView(), EditView::GetSelection(), OutlinerView::GetSelection(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutlinerView(), ScViewData::GetView(), ScViewData::GetViewShell(), EditView::GetVisArea(), OutlinerView::GetVisArea(), ScViewData::HasEditView(), ScModule::InputEnterHandler(), ScModule::InputSelection(), ScMarkData::IsCellMarked(), EditEngine::IsEffectivelyVertical(), SdrMarkView::IsMarkedObjHit(), Outliner::IsVertical(), lcl_UnLockComment(), SdrMarkView::MarkObj(), FmFormView::MouseButtonDown(), EditView::MouseButtonDown(), SdrView::MouseButtonUp(), EditView::MouseButtonUp(), mrViewData, EPosition::nIndex, EPosition::nPara, vcl::Window::PixelToLogic(), 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 5767 of file gridwin.cxx.
References ctx, and mpSpellCheckCxt.
Referenced by ScTabView::DoAddWin().
void ScGridWindow::SetAutoSpellData | ( | SCCOL | nPosX, |
SCROW | nPosY, | ||
const std::vector< editeng::MisspellRanges > * | pRanges | ||
) |
Definition at line 5784 of file gridwin.cxx.
References mpSpellCheckCxt.
Referenced by ScViewFunc::CopyAutoSpellData().
Update the cell selection according to what handles have been dragged.
Definition at line 1738 of file gridwin4.cxx.
References ScRangeList::Combine(), ScTabView::DoneBlockMode(), ScRangeList::empty(), eWhich, ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetMarkData(), ScMarkData::GetMarkedRanges(), ScViewData::GetPosFromPixel(), ScViewData::GetTabNo(), ScRange::GetVars(), ScViewData::GetView(), ScViewData::GetViewShell(), ScTabView::InitBlockMode(), ScInputHandler::IsInputMode(), ScTabView::MarkCursor(), mrViewData, nType, SC_MOD, ScTabView::SetCursor(), ScTabViewShell::UpdateInputHandler(), and ScTabView::UpdateInputLine().
Referenced by ScViewFunc::SearchAndReplace(), and ScModelObj::setTextSelection().
|
private |
Definition at line 1393 of file gridwin4.cxx.
References bInitialPageBreaks, ScDocument::GetAllColBreaks(), ScDocument::GetAllRowBreaks(), maShowPageBreaksTimer, Task::SetPriority(), and Timer::Start().
Referenced by DrawContent().
void ScGridWindow::ShowCursor | ( | ) |
Definition at line 5072 of file gridwin.cxx.
References nCursorHideCount.
Referenced by StartDrag().
void ScGridWindow::ShowFilterMenu | ( | weld::Window * | pParent, |
const tools::Rectangle & | rCellRect, | ||
bool | bLayoutRTL | ||
) |
Definition at line 1257 of file gridwin.cxx.
References Size::AdjustHeight(), tools::Rectangle::AdjustLeft(), Size::AdjustWidth(), o3tl::convert(), weld::TreeView::get_height_rows(), weld::Widget::get_preferred_size(), tools::Rectangle::GetWidth(), Size::Height(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsMouseCaptured(), tools::Rectangle::Left(), mpFilterBox, weld::TreeView::n_children(), o3tl::px, vcl::Window::ReleaseMouse(), SC_FILTERLISTBOX_LINES, weld::Widget::set_size_request(), tools::Rectangle::SetLeft(), Size::setWidth(), STD_COL_WIDTH, o3tl::twip, and Size::Width().
Referenced by DoScenarioMenu(), and LaunchDataSelectMenu().
Definition at line 46 of file gridwin5.cxx.
References ScRange::aEnd, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), ScRange::Contains(), eType, ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), ScDocument::GetChangeTrack(), ScDocument::GetChangeViewSettings(), ScChangeAction::GetComment(), LocaleDataWrapper::getDate(), ScChangeAction::GetDateTime(), ScChangeAction::GetDescription(), ScViewData::GetDocument(), GetDrawMapMode(), ScChangeTrack::GetFirst(), ScViewData::GetHSplitMode(), ScGlobal::getLocaleData(), ScChangeAction::GetNext(), ScDocument::GetNote(), MapMode::GetOrigin(), vcl::Window::GetOutputSizePixel(), ScViewData::GetTabNo(), LocaleDataWrapper::getTime(), ScChangeAction::GetType(), ScChangeAction::GetUser(), ScViewData::GetView(), ScViewData::GetVSplitMode(), ScTabView::GetWindowByPos(), Size::Height(), ScViewUtil::IsActionShown(), ScPostIt::IsCaptionShown(), ScChangeAction::IsVisible(), ScBigRange::MakeRange(), mpNoteMarker, mrViewData, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_MOVE, SC_SPLIT_BOTTOMLEFT, SC_SPLIT_BOTTOMRIGHT, SC_SPLIT_NONE, SC_SPLIT_TOPLEFT, SC_SPLIT_TOPRIGHT, ScAddress::SetCol(), MapMode::SetOrigin(), ScAddress::SetRow(), ScChangeViewSettings::ShowChanges(), ScBigAddress::Tab(), and Size::Width().
Referenced by KeyInput(), and RequestHelp().
Definition at line 2892 of file gridwin.cxx.
References bEEMouse, ScInputHandler::CancelHandler(), EditView::Command(), SelectionEngine::Command(), ScInputHandler::DataChanged(), DrawCommand(), eWhich, ScViewData::GetEditView(), ScModule::GetInputHdl(), ScTabView::GetSelEngine(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::HasEditView(), HideNoteMarker(), ScViewData::IsActive(), mpFilterBox, mrViewData, nPagebreakMouse, SC_MOD, ScModule::SetInEditCommand(), and ShowCursor().
void ScGridWindow::StopMarking | ( | ) |
Definition at line 3665 of file gridwin.cxx.
References DrawEndAction(), ScViewData::GetMarkData(), mrViewData, nButtonDown, nMouseStatus, SC_GM_IGNORE, and ScMarkData::SetMarking().
Referenced by Command(), MouseButtonUp(), and Tracking().
|
private |
bold cross ?
Definition at line 1592 of file gridwin.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), EMBED_LT, EMBED_RB, eWhich, ScViewData::GetDocument(), ScDocument::GetEmbedded(), SfxViewShell::GetIPClient(), ScViewData::GetMarkData(), MouseEvent::GetPosPixel(), ScViewData::GetScrPos(), ScViewData::GetSimpleArea(), ScViewData::GetTabNo(), ScViewData::GetViewShell(), ScViewData::IsActive(), ScDocument::IsEmbedded(), ScDocument::IsLayoutRTL(), MouseEvent::IsLeft(), SfxInPlaceClient::IsObjectInPlaceActive(), lcl_IsEditableMatrix(), ScMarkData::MarkToSimple(), MATRIX, mpAutoFillRect, mrViewData, Point, ScViewData::ResetFillMode(), ScAddress::Row(), SC_MARK_SIMPLE, ScViewData::SetDragMode(), ScViewData::SetFillMode(), vcl::Window::SetPointer(), and ScAddress::Tab().
Referenced by HandleMouseButtonDown(), and MouseMove().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 2841 of file gridwin.cxx.
References bDPMouse, bDragRect, bPagebreakDrawn, bRFMouse, MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), TrackingEvent::GetMouseEvent(), MouseEvent::GetPosPixel(), ScViewData::GetView(), ScTabView::IsInActivatePart(), ScViewData::IsRefMode(), TrackingEvent::IsTrackingCanceled(), TrackingEvent::IsTrackingEnded(), MouseButtonUp(), MouseMove(), mrViewData, nButtonDown, nPagebreakMouse, RFMouseMove(), SC_MOD, SC_PD_NONE, vcl::Window::SetPointer(), StopMarking(), and UpdateDragRectOverlay().
void ScGridWindow::UpdateAllOverlays | ( | ) |
Definition at line 5959 of file gridwin.cxx.
References ImpCreateOverlayObjects(), and ImpDestroyOverlayObjects().
void ScGridWindow::UpdateAutoFillMark | ( | bool | bMarked, |
const ScRange & | rMarkRange | ||
) |
Definition at line 4985 of file gridwin.cxx.
References aAutoMarkPos, ScRange::aEnd, bAutoMarkVisible, and UpdateAutoFillOverlay().
void ScGridWindow::UpdateAutoFillOverlay | ( | ) |
Definition at line 6501 of file gridwin.cxx.
References aAutoMarkPos, vcl::unotools::b2DRectangleFromRectangle(), bAutoMarkVisible, svtools::CALCPAGEBREAKAUTOMATIC, ScAddress::Col(), DeleteAutoFillOverlay(), eWhich, ScViewData::GetActivePart(), ScViewData::GetDocument(), vcl::Window::GetDPIScaleFactor(), GetDrawMapMode(), StyleSettings::GetHighlightColor(), vcl::Window::GetMapMode(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), getOverlayManager(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), ScViewData::GetTabNo(), ScViewData::GetZoomX(), ScViewData::HasEditView(), Size::Height(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsActive(), ScGridWindow::VisibleRange::isInside(), ScDocument::IsLayoutRTL(), maVisibleRange, mpAutoFillRect, mpOOAutoFill, mrViewData, Point, ScAddress::Row(), SC_MOD, vcl::Window::SetMapMode(), sdr::overlay::Solid, ScAddress::Tab(), basegfx::B2DRange::transform(), and Size::Width().
Referenced by ImpCreateOverlayObjects(), and UpdateAutoFillMark().
void ScGridWindow::UpdateAutoFilterFromMenu | ( | AutoFilterMode | eMode | ) |
Definition at line 1043 of file gridwin.cxx.
References ScSortParam::aDataAreaExtras, aSaveAutoFilterResult, BackgroundColor, ScSortParam::bByRow, ScQueryParamBase::bCaseSens, ScSortParam::bCaseSens, ScQueryEntry::bDoQuery, ScQueryParamBase::bDuplicate, ScSortParam::bHasHeader, ScQueryParamBase::bInplace, ScSortParam::bInplace, ScSortParam::bNaturalSort, Bottom10, ScQueryEntry::ByString, Clear, ScAddress::Col(), Custom, ScQueryEntry::eConnect, eMode, Empty, ScQueryEntry::eOp, ScQueryParamBase::eSearchType, SfxDispatcher::Execute(), ScQueryParamBase::FindEntryByField(), ScDBData::GetArea(), ScViewData::GetDispatcher(), ScViewData::GetDocument(), ScQueryEntry::GetQueryItem(), ScQueryEntry::GetQueryItems(), ScDBData::GetQueryParam(), ScDocument::GetSharedStringPool(), ScSortParam::GetSortKeyCount(), ScDBData::GetSortParam(), ScViewData::GetView(), ScViewData::GetViewShell(), ScDBData::HasHeader(), i, svl::SharedStringPool::intern(), ScTabViewShell::isAnyEditViewInRange(), ScSortParam::maKeyState, ScTabView::MarkRange(), ScQueryEntry::Item::maString, ScDataAreaExtras::mbCellDrawObjects, ScDataAreaExtras::mbCellFormats, ScDataAreaExtras::mbCellNotes, ScQueryEntry::Item::meType, mpAutoFilterPopup, mrViewData, ScSortParam::nCol2, ScQueryEntry::nField, NonEmpty, utl::SearchParam::Normal, Normal, ScQueryParamTable::nRow1, ScQueryParamTable::nRow2, pData, ScDBFunc::Query(), ScQueryParamBase::RemoveAllEntriesByField(), ScAddress::Row(), SAL_INFO, SC_AND, SC_BOTVAL, SC_EQUAL, SC_TOPVAL, ScTabView::SetCursor(), ScQueryEntry::SetQueryByEmpty(), ScQueryEntry::SetQueryByNonEmpty(), ScDBData::SetQueryParam(), SortAscending, SortDescending, TextColor, Top10, and ScDBFunc::UISort().
void ScGridWindow::UpdateCopySourceOverlay | ( | ) |
Definition at line 5980 of file gridwin.cxx.
References ScRange::aEnd, ScRange::aStart, vcl::unotools::b2DRectangleFromRectangle(), ScAddress::Col(), DeleteCopySourceOverlay(), eWhich, ScViewData::GetActiveWin(), ScTabViewShell::GetClipData(), ScDocument::GetClipParam(), ScViewData::GetCurPos(), ScTransferObj::GetDocument(), GetDrawMapMode(), StyleSettings::GetHighlightColor(), vcl::Window::GetMapMode(), getOverlayManager(), ScTransferObj::GetOwnClipboard(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), i, comphelper::LibreOfficeKit::isActive(), ScClipParam::maRanges, mpOOSelectionBorder, mrViewData, vcl::Window::PixelToLogic(), Point, ScAddress::Row(), SC_MOD, vcl::Window::SetMapMode(), ScViewData::ShowPasteSource(), ScRangeList::size(), and ScAddress::Tab().
Referenced by ImpCreateOverlayObjects().
void ScGridWindow::UpdateCursorOverlay | ( | ) |
Definition at line 6225 of file gridwin.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), ATTR_MERGE(), ATTR_MERGE_FLAG(), tools::Rectangle::Bottom(), svtools::CALCPAGEBREAKAUTOMATIC, DeleteCursorOverlay(), eHWhich, eVWhich, eWhich, ScViewData::GetActivePart(), ScMergeAttr::GetColMerge(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDocument(), vcl::Window::GetDPIScaleFactor(), GetDrawMapMode(), StyleSettings::GetHighlightColor(), ScPatternAttr::GetItem(), vcl::Window::GetMapMode(), ScViewData::GetMergeSizePixel(), vcl::Window::GetOutDev(), vcl::Window::GetOutputSizePixel(), getOverlayManager(), ScDocument::GetPattern(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScMergeAttr::GetRowMerge(), ScViewData::GetScrPos(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), ScViewData::GetTabNo(), ScViewData::GetZoomX(), ScViewData::HasEditView(), Size::Height(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsActive(), ScGridWindow::VisibleRange::isInside(), ScDocument::IsLayoutRTL(), ScMergeFlagAttr::IsOverlapped(), tools::Rectangle::Left(), maVisibleRange, ScGridWindow::VisibleRange::mnCol1, ScGridWindow::VisibleRange::mnCol2, ScGridWindow::VisibleRange::mnRow1, ScGridWindow::VisibleRange::mnRow2, mpOOCursors, mrViewData, Point, tools::Rectangle::Right(), SC_MOD, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), vcl::Window::SetMapMode(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), sdr::overlay::Solid, tools::Rectangle::Top(), basegfx::B2DRange::transform(), updateKitCellCursor(), and Size::Width().
Referenced by CursorChanged(), and ImpCreateOverlayObjects().
void ScGridWindow::UpdateDPFromFieldPopupMenu | ( | ) |
Definition at line 545 of file gridwin2.cxx.
References aName, ScDPSaveData::GetDimensionByName(), ScDPObject::GetDimName(), ScViewData::GetDocShell(), ScDPObject::GetSaveData(), ScDPLabelData::maMembers, mpDPFieldPopup, mrViewData, ScResId(), ScDPSaveDimension::UpdateMemberVisibility(), and ScDBDocFunc::UpdatePivotTable().
|
private |
Definition at line 658 of file gridwin2.cxx.
References bDragRect, tools::Rectangle::Bottom(), tools::Rectangle::Left(), nDragEndX, nDragEndY, nDragStartX, nDragStartY, tools::Rectangle::Right(), SCCOL_MAX, SCROW_MAX, tools::Rectangle::Top(), and UpdateDragRectOverlay().
Referenced by DPTestMouse().
void ScGridWindow::UpdateDragRectOverlay | ( | ) |
Definition at line 6595 of file gridwin.cxx.
References ScRange::aEnd, aPagebreakDrag, ScRange::aStart, bDragRect, tools::Rectangle::Bottom(), bPagebreakDrawn, ScAddress::Col(), COL_BLACK(), convertPixelToLogical(), DeleteDragRectOverlay(), eWhich, ScTabViewShell::GetActiveViewShell(), ScDocument::GetColWidth(), ScViewData::GetDocument(), GetDrawMapMode(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), getOverlayManager(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetPrintTwipsPos(), ScDocument::GetRowHeight(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), ScTabView::GetViewData(), i, INS_CELLSDOWN, INS_CELLSRIGHT, sdr::overlay::Invert, comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), tools::Rectangle::IsEmpty(), ScDocument::IsLayoutRTL(), tools::Rectangle::Left(), SfxViewShell::libreOfficeKitViewCallback(), meDragInsertMode, mpOODragRect, mrViewData, nAdjust, nDragEndX, nDragEndY, nDragStartX, nDragStartY, nPPTX, nPPTY, Point, rectanglesToString(), tools::Rectangle::Right(), ScAddress::Row(), tools::Rectangle::SetLeft(), vcl::Window::SetMapMode(), tools::Rectangle::SetRight(), tools::Rectangle::Top(), ScViewData::ToPixel(), tools::Rectangle::toString(), basegfx::B2DRange::transform(), ScDocument::ValidCol(), ScDocument::ValidRow(), WhichH(), and WhichV().
Referenced by AcceptPrivateDrop(), ExecutePrivateDrop(), ImpCreateOverlayObjects(), PagebreakMove(), Tracking(), and UpdateDragRect().
void ScGridWindow::UpdateEditViewPos | ( | ) |
Definition at line 4818 of file gridwin.cxx.
References tools::Rectangle::Bottom(), eHWhich, eVWhich, eWhich, ScViewData::GetEditArea(), ScViewData::GetEditEndCol(), ScViewData::GetEditEndRow(), ScViewData::GetEditView(), ScViewData::GetLogicMode(), EditView::GetLOKSpecialOutputArea(), EditView::GetOutputArea(), vcl::Window::GetOutputSizePixel(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetRefTabNo(), ScViewData::GetTabNo(), ScViewData::HasEditView(), Height, EditView::HideCursor(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), mrViewData, vcl::Window::PixelToLogic(), Point, SC_MOD, tools::Rectangle::SetBottom(), EditView::SetLOKSpecialOutputArea(), EditView::SetOutputArea(), tools::Rectangle::SetPos(), tools::Rectangle::SetTop(), EditView::ShowCursor(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by ScrollPixel().
void ScGridWindow::UpdateFormulas | ( | SCCOL | nX1 = -1 , |
SCROW | nY1 = -1 , |
||
SCCOL | nX2 = -1 , |
||
SCROW | nY2 = -1 |
||
) |
Definition at line 4888 of file gridwin.cxx.
References aRepaintPixel, bNeedsRepaint, CheckNeedsRepaint(), eHWhich, eVWhich, eWhich, ScDocument::ExtendHidden(), ScDocument::FillInfo(), ScOutputData::FindChanged(), ScOutputData::GetChangedAreaRegion(), ScViewData::GetDocument(), ScTabView::GetLOKEndHeaderCol(), ScTabView::GetLOKEndHeaderRow(), ScTabView::GetLOKStartHeaderCol(), ScTabView::GetLOKStartHeaderRow(), vcl::Window::GetOutDev(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScViewData::GetScrPos(), vcl::Window::GetSizePixel(), ScViewData::GetTabNo(), ScViewData::GetView(), ScViewData::GetViewShell(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), vcl::Window::Invalidate(), comphelper::LibreOfficeKit::isActive(), vcl::Region::IsEmpty(), ScDocument::IsLayoutRTL(), ScTabView::IsMinimized(), ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, nPaintCount, nPPTX, nPPTY, OUTTYPE_WINDOW, Point, ScOutputData::SetMirrorWidth(), ScViewData::VisibleCellsX(), ScViewData::VisibleCellsY(), and Size::Width().
void ScGridWindow::UpdateHeaderOverlay | ( | ) |
Definition at line 6766 of file gridwin.cxx.
References aInvertRect, tools::Rectangle::Bottom(), COL_BLACK(), DeleteHeaderOverlay(), GetDrawMapMode(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), getOverlayManager(), sdr::overlay::Invert, comphelper::LibreOfficeKit::isActive(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), mpOOHeader, tools::Rectangle::Right(), vcl::Window::SetMapMode(), tools::Rectangle::Top(), and basegfx::B2DRange::transform().
Referenced by DoInvertRect(), and ImpCreateOverlayObjects().
void ScGridWindow::UpdateInputContext | ( | ) |
Definition at line 3676 of file gridwin.cxx.
References bReadOnly, ScViewData::GetDocShell(), SfxObjectShell::IsReadOnly(), mrViewData, vcl::Window::SetInputContext(), and InputContext::SetOptions().
Referenced by ScTabView::UpdateInputContext().
void ScGridWindow::updateKitCellCursor | ( | const SfxViewShell * | pOtherShell | ) | const |
Definition at line 5869 of file gridwin.cxx.
References getCellCursor(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isCompatFlagSet(), mrViewData, notifyKitCellCursor(), notifyKitCellViewCursor(), SfxLokHelper::notifyOtherView(), SfxLokHelper::notifyOtherViews(), and updateKitCellCursor().
Referenced by ScTabViewShell::NotifyCursor(), UpdateCursorOverlay(), and updateKitCellCursor().
void ScGridWindow::updateKitOtherCursors | ( | ) | const |
notify this view with new positions for other view's cursors (after zoom)
Definition at line 5909 of file gridwin.cxx.
References SfxViewShell::GetFirst(), SfxViewShell::GetNext(), ScViewData::GetViewShell(), mrViewData, notifyKitCellCursor(), and notifyKitCellViewCursor().
Referenced by ScModelObj::setClientZoom().
|
private |
Turn the selection ranges rRectangles into the LibreOfficeKit selection, and send to other views.
pLogicRects | - if set then don't invoke the callback, just collect the rectangles in the pointed vector. |
Definition at line 6087 of file gridwin.cxx.
References convertPixelToLogical(), SfxViewShell::GetFirst(), ScViewData::GetMarkData(), SfxViewShell::GetNext(), GetPixelRectsFor(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), tools::Rectangle::IsEmpty(), SfxViewShell::libreOfficeKitViewCallback(), mrViewData, SfxLokHelper::notifyOtherView(), SfxLokHelper::notifyOtherViews(), rectanglesToString(), tools::Rectangle::toString(), and ScTabViewShell::UpdateInputHandler().
Referenced by GetCellSelection(), and UpdateSelectionOverlay().
void ScGridWindow::UpdateListValPos | ( | bool | bVisible, |
const ScAddress & | rPos | ||
) |
Definition at line 5027 of file gridwin.cxx.
References aListValPos, bListValButton, bVisible, GetListValButtonRect(), vcl::Window::Invalidate(), comphelper::LibreOfficeKit::isActive(), vcl::Window::PixelToLogic(), and updateLOKValListButton().
void ScGridWindow::updateLOKInputHelp | ( | const OUString & | title, |
const OUString & | content | ||
) | const |
Definition at line 4997 of file gridwin.cxx.
References ScViewData::GetViewShell(), SfxViewShell::libreOfficeKitViewCallback(), mrViewData, and stringstream.
void ScGridWindow::updateLOKValListButton | ( | bool | bVisible, |
const ScAddress & | rPos | ||
) | const |
Definition at line 5010 of file gridwin.cxx.
References bVisible, ScAddress::Col(), ScViewData::GetViewShell(), SfxViewShell::libreOfficeKitViewCallback(), mrViewData, ScAddress::Row(), and stringstream.
Referenced by notifyKitCellCursor(), and UpdateListValPos().
void ScGridWindow::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.
Definition at line 6155 of file gridwin.cxx.
References convertPixelToLogical(), SfxViewShell::GetFirst(), SfxViewShell::GetNext(), GetRectsAnyFor(), ScTabView::GetViewData(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isCompatFlagSet(), tools::Rectangle::IsEmpty(), SfxViewShell::libreOfficeKitViewCallback(), mrViewData, SfxLokHelper::notifyOtherView(), rectanglesToString(), and tools::Rectangle::toString().
Referenced by ScModelObj::setClientZoom().
void ScGridWindow::UpdateSelectionOverlay | ( | ) |
Definition at line 6413 of file gridwin.cxx.
References DeleteSelectionOverlay(), ScViewData::GetDocument(), GetDrawMapMode(), SvtOptionsDrawinglayer::getHilightColor(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), getOverlayManager(), GetSelectionRects(), GetSelectionRectsPrintTwips(), ScViewData::GetTabNo(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isActive(), ScViewData::IsActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScInputHandler::IsEditMode(), ScDocument::IsLayoutRTL(), SfxViewShell::libreOfficeKitViewCallback(), mpOOSelection, mrViewData, SfxLokHelper::notifyOtherViews(), SC_MOD, ScInputHandler::SendReferenceMarks(), vcl::Window::SetMapMode(), basegfx::B2DRange::transform(), sdr::overlay::Transparent, and UpdateKitSelection().
Referenced by ImpCreateOverlayObjects().
void ScGridWindow::UpdateShrinkOverlay | ( | ) |
limit to visible area
Definition at line 6812 of file gridwin.cxx.
References ScRange::aEnd, ScRange::aStart, tools::Rectangle::Bottom(), ScAddress::Col(), COL_BLACK(), DeleteShrinkOverlay(), eWhich, ScViewData::GetDelMark(), GetDrawMapMode(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), getOverlayManager(), ScViewData::GetRefEndZ(), ScViewData::GetRefStartZ(), ScViewData::GetScrPos(), ScViewData::GetTabNo(), sdr::overlay::Invert, comphelper::LibreOfficeKit::isActive(), tools::Rectangle::IsEmpty(), ScViewData::IsRefMode(), tools::Rectangle::Left(), mpOOShrink, mrViewData, Point, tools::Rectangle::Right(), ScAddress::Row(), vcl::Window::SetMapMode(), tools::Rectangle::Top(), and basegfx::B2DRange::transform().
Referenced by ImpCreateOverlayObjects().
void ScGridWindow::UpdateSparklineGroupOverlay | ( | ) |
Definition at line 6879 of file gridwin.cxx.
References DeleteSparklineGroupOverlay(), eWhich, ScViewData::GetCurPos(), ScViewData::GetDocument(), GetDrawMapMode(), SvtOptionsDrawinglayer::getHilightColor(), vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), getOverlayManager(), ScViewData::GetScrPos(), ScDocument::GetSparkline(), ScDocument::GetSparklineList(), sc::SparklineList::getSparklinesFor(), mpOOSparklineGroup, mrViewData, Point, vcl::Window::SetMapMode(), ScAddress::Tab(), basegfx::B2DRange::transform(), and sdr::overlay::Transparent.
Referenced by CursorChanged(), and ImpCreateOverlayObjects().
void ScGridWindow::UpdateStatusPosSize | ( | ) |
Definition at line 333 of file gridwin3.cxx.
References aCurMousePos, SdrMarkView::AreObjectsMarked(), tools::Rectangle::Bottom(), SdrMarkView::GetAllMarkedRect(), ScViewData::GetBindings(), SfxShell::GetPool(), ScTabView::GetScDrawView(), SdrPaintView::GetSdrPageView(), ScViewData::GetView(), ScViewData::GetViewShell(), SdrCreateView::IsAction(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), SdrPageView::LogicToPagePos(), mrViewData, vcl::Window::PixelToLogic(), Point, SfxItemSet::Put(), tools::Rectangle::Right(), SfxBindings::SetState(), SdrCreateView::TakeActionRect(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by DrawKeyInput(), DrawMouseButtonDown(), and DrawMouseMove().
bool ScGridWindow::UpdateVisibleRange | ( | ) |
Definition at line 612 of file gridwin2.cxx.
References eHWhich, eVWhich, ScViewData::GetDocument(), ScTabView::GetLOKEndHeaderCol(), ScTabView::GetLOKEndHeaderRow(), ScTabView::GetLOKStartHeaderCol(), ScTabView::GetLOKStartHeaderRow(), ScViewData::GetPosX(), ScViewData::GetPosY(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isActive(), maVisibleRange, ScDocument::MaxCol(), ScDocument::MaxRow(), mrViewData, ScGridWindow::VisibleRange::set(), ScViewData::VisibleCellsX(), and ScViewData::VisibleCellsY().
Referenced by Draw().
|
friend |
Definition at line 91 of file gridwin.hxx.
|
private |
Definition at line 200 of file gridwin.hxx.
Referenced by Draw(), UpdateAutoFillMark(), and UpdateAutoFillOverlay().
|
private |
Definition at line 193 of file gridwin.hxx.
Referenced by dispose(), and DrawButtons().
|
private |
Definition at line 195 of file gridwin.hxx.
Referenced by FakeButtonUp(), HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), and UpdateStatusPosSize().
|
private |
Definition at line 203 of file gridwin.hxx.
Referenced by DoInvertRect(), and UpdateHeaderOverlay().
|
private |
Definition at line 201 of file gridwin.hxx.
Referenced by DrawButtons(), HandleMouseButtonDown(), notifyKitCellCursor(), and UpdateListValPos().
|
private |
Definition at line 183 of file gridwin.hxx.
Referenced by MoveMouseStatus(), PagebreakMove(), and UpdateDragRectOverlay().
|
private |
Definition at line 182 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and PagebreakMove().
|
private |
Definition at line 198 of file gridwin.hxx.
Referenced by CheckNeedsRepaint(), Paint(), and UpdateFormulas().
|
private |
Definition at line 205 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), and RFMouseMove().
|
private |
Definition at line 163 of file gridwin.hxx.
Referenced by LaunchAutoFilterMenu(), and UpdateAutoFilterFromMenu().
|
private |
Definition at line 217 of file gridwin.hxx.
Referenced by Draw(), UpdateAutoFillMark(), and UpdateAutoFillOverlay().
|
private |
Definition at line 210 of file gridwin.hxx.
Referenced by DoPushPivotButton(), DPMouseButtonUp(), MouseButtonUp(), MouseMove(), and Tracking().
|
private |
Definition at line 214 of file gridwin.hxx.
Referenced by AcceptPrivateDrop(), ExecutePrivateDrop(), Tracking(), UpdateDragRect(), and UpdateDragRectOverlay().
|
private |
Definition at line 209 of file gridwin.hxx.
Referenced by Command(), HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), and StartDrag().
|
private |
Definition at line 219 of file gridwin.hxx.
Referenced by DrawContent(), initiatePageBreaks(), ScGridWindow(), and SetupInitialPageBreaks().
|
private |
Definition at line 215 of file gridwin.hxx.
Referenced by Paint().
|
private |
Definition at line 218 of file gridwin.hxx.
Referenced by DrawButtons(), HandleMouseButtonDown(), notifyKitCellCursor(), and UpdateListValPos().
|
private |
Definition at line 216 of file gridwin.hxx.
Referenced by CheckNeedsRepaint(), Paint(), and UpdateFormulas().
|
private |
Definition at line 213 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), PagebreakMove(), Tracking(), and UpdateDragRectOverlay().
|
private |
Definition at line 211 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), MoveMouseStatus(), and Tracking().
|
private |
Definition at line 212 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().
|
private |
Definition at line 153 of file gridwin.hxx.
Referenced by GetRectsAnyFor(), Paint(), ScGridWindow(), UpdateCursorOverlay(), UpdateEditViewPos(), UpdateFormulas(), and UpdateVisibleRange().
|
private |
Definition at line 154 of file gridwin.hxx.
Referenced by GetRectsAnyFor(), Paint(), ScGridWindow(), UpdateCursorOverlay(), UpdateEditViewPos(), UpdateFormulas(), and UpdateVisibleRange().
|
private |
Definition at line 152 of file gridwin.hxx.
Referenced by AcceptDrop(), AcceptPrivateDrop(), Command(), CreateAccessible(), CreateAnchorHandle(), DataChanged(), DeleteSurroundingText(), DoAutoFilterButton(), DoScenarioMenu(), DPTestFieldPopupArrow(), DPTestMouse(), Draw(), DrawButtons(), DrawContent(), DrawHiddenIndicator(), DrawPagePreview(), DropScroll(), ExecuteDrop(), GetDrawMapMode(), GetEditUrl(), GetFocus(), GetListValButtonRect(), GetRectsAnyFor(), GetSurroundingText(), GetSurroundingTextSelection(), HandleMouseButtonDown(), HasScenarioButton(), HitPageBreak(), HitRangeFinder(), LaunchAutoFilterMenu(), LaunchDataSelectMenu(), LaunchDPFieldMenu(), LaunchPageFieldMenu(), LoseFocus(), MouseButtonDown(), MouseButtonUp(), MouseMove(), PagebreakMove(), PasteSelection(), RequestHelp(), RFMouseMove(), ScGridWindow(), SelectForContextMenu(), SetCellSelectionPixel(), StartDrag(), TestMouse(), UpdateAutoFillOverlay(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDragRectOverlay(), UpdateEditViewPos(), UpdateFormulas(), UpdateShrinkOverlay(), and UpdateSparklineGroupOverlay().
|
private |
Definition at line 147 of file gridwin.hxx.
Referenced by NeedLOKCursorInvalidation().
|
private |
Definition at line 207 of file gridwin.hxx.
Referenced by dispose(), ScGridWindow(), and SetupInitialPageBreaks().
|
private |
Definition at line 136 of file gridwin.hxx.
Referenced by Draw(), GetAutoSpellData(), InsideVisibleRange(), UpdateAutoFillOverlay(), UpdateCursorOverlay(), and UpdateVisibleRange().
|
private |
Definition at line 191 of file gridwin.hxx.
Referenced by AcceptPrivateDrop(), DropTransferObj(), and UpdateDragRectOverlay().
|
private |
Definition at line 111 of file gridwin.hxx.
Referenced by DeleteAutoFillOverlay(), TestMouse(), and UpdateAutoFillOverlay().
|
private |
Definition at line 159 of file gridwin.hxx.
Referenced by dispose(), LaunchAutoFilterMenu(), and UpdateAutoFilterFromMenu().
|
private |
Definition at line 160 of file gridwin.hxx.
Referenced by ClickExtern(), dispose(), DPLaunchFieldPopupMenu(), and UpdateDPFromFieldPopupMenu().
|
private |
Definition at line 158 of file gridwin.hxx.
Referenced by ClickExtern(), dispose(), DoScenarioMenu(), FilterSelect(), LaunchDataSelectMenu(), ShowFilterMenu(), and StartDrag().
|
private |
Definition at line 161 of file gridwin.hxx.
Referenced by DoAutoFilterButton(), and RefreshAutoFilterButton().
|
private |
LibreOfficeKit needs a persistent FmFormView for tiled rendering, otherwise the invalidations from drawinglayer do not work.
Definition at line 115 of file gridwin.hxx.
Referenced by PaintTile().
|
private |
Definition at line 156 of file gridwin.hxx.
Referenced by dispose(), DrawContent(), HideNoteMarker(), KeyInput(), MouseMove(), RequestHelp(), and ShowNoteMarker().
|
private |
Definition at line 105 of file gridwin.hxx.
Referenced by DeleteAutoFillOverlay(), and UpdateAutoFillOverlay().
|
private |
Definition at line 102 of file gridwin.hxx.
Referenced by DeleteCursorOverlay(), getCellCursor(), notifyKitCellViewCursor(), and UpdateCursorOverlay().
|
private |
Definition at line 106 of file gridwin.hxx.
Referenced by DeleteDragRectOverlay(), and UpdateDragRectOverlay().
|
private |
Definition at line 107 of file gridwin.hxx.
Referenced by DeleteHeaderOverlay(), and UpdateHeaderOverlay().
|
private |
Definition at line 103 of file gridwin.hxx.
Referenced by DeleteSelectionOverlay(), and UpdateSelectionOverlay().
|
private |
Definition at line 104 of file gridwin.hxx.
Referenced by DeleteCopySourceOverlay(), and UpdateCopySourceOverlay().
|
private |
Definition at line 108 of file gridwin.hxx.
Referenced by DeleteShrinkOverlay(), and UpdateShrinkOverlay().
|
private |
Definition at line 109 of file gridwin.hxx.
Referenced by DeleteSparklineGroupOverlay(), and UpdateSparklineGroupOverlay().
|
private |
Definition at line 149 of file gridwin.hxx.
Referenced by Command(), dispose(), Draw(), GetAutoSpellData(), PaintTile(), ResetAutoSpell(), ResetAutoSpellForContentChange(), SetAutoSpellContext(), and SetAutoSpellData().
|
private |
Definition at line 151 of file gridwin.hxx.
Referenced by AcceptDrop(), AcceptPrivateDrop(), CheckNeedsRepaint(), Command(), CreateAccessible(), CreateAnchorHandle(), DataChanged(), DeleteCursorOverlay(), DeleteSurroundingText(), DoAutoFilterButton(), DoPushPivotButton(), DoScenarioMenu(), DPLaunchFieldPopupMenu(), DPTestFieldPopupArrow(), DPTestMouse(), Draw(), DrawAfterScroll(), DrawButtons(), DrawCommand(), DrawContent(), DrawEndAction(), DrawHasMarkedObj(), DrawHiddenIndicator(), DrawKeyInput(), DrawMarkDropObj(), DrawMouseButtonDown(), DrawMouseButtonUp(), DrawMouseMove(), DrawPagePreview(), DrawRedraw(), DrawSdrGrid(), DropScroll(), DropTransferObj(), dumpCellProperties(), dumpColumnCellStorage(), dumpColumnInformationHmm(), dumpColumnInformationPixel(), dumpGraphicInformation(), ExecDataSelect(), ExecuteDrop(), FilterSelect(), getCellCursor(), GetDPFieldOrientation(), GetDrawMapMode(), GetEditUrl(), GetFocus(), GetListValButtonRect(), getOverlayManager(), GetRectsAnyFor(), GetSelectionRects(), GetSelectionRectsPrintTwips(), GetSurroundingText(), GetSurroundingTextSelection(), getViewData(), HandleMouseButtonDown(), HasScenarioButton(), HitPageBreak(), HitRangeFinder(), InvalidateLOKViewCursor(), IsAutoFilterActive(), IsMyModel(), KeyInput(), LaunchAutoFilterMenu(), LaunchDataSelectMenu(), LaunchDPFieldMenu(), LaunchPageFieldMenu(), LogicInvalidate(), LoseFocus(), MouseButtonDown(), MouseButtonUp(), MouseMove(), notifyKitCellCursor(), notifyKitCellFollowJump(), notifyKitCellViewCursor(), PagebreakMove(), Paint(), PaintTile(), PasteSelection(), PreNotify(), PrePaint(), RequestHelp(), RFMouseMove(), ScGridWindow(), SelectForContextMenu(), SetCellSelectionPixel(), ShowNoteMarker(), StartDrag(), StopMarking(), TestMouse(), Tracking(), UpdateAutoFillOverlay(), UpdateAutoFilterFromMenu(), UpdateCopySourceOverlay(), UpdateCursorOverlay(), UpdateDPFromFieldPopupMenu(), UpdateDragRectOverlay(), UpdateEditViewPos(), UpdateFormulas(), UpdateInputContext(), updateKitCellCursor(), updateKitOtherCursors(), UpdateKitSelection(), updateLOKInputHelp(), updateLOKValListButton(), updateOtherKitSelections(), UpdateSelectionOverlay(), UpdateShrinkOverlay(), UpdateSparklineGroupOverlay(), UpdateStatusPosSize(), and UpdateVisibleRange().
|
private |
Definition at line 167 of file gridwin.hxx.
Referenced by DrawCommand(), FakeButtonUp(), HandleMouseButtonDown(), MouseButtonDown(), MouseButtonUp(), MouseMove(), MoveMouseStatus(), RequestHelp(), StopMarking(), and Tracking().
|
private |
Definition at line 165 of file gridwin.hxx.
Referenced by Draw(), HideCursor(), and ShowCursor().
|
private |
Definition at line 172 of file gridwin.hxx.
Referenced by DoPushPivotButton(), and DPTestMouse().
|
private |
Definition at line 189 of file gridwin.hxx.
Referenced by AcceptPrivateDrop(), UpdateDragRect(), and UpdateDragRectOverlay().
|
private |
Definition at line 190 of file gridwin.hxx.
Referenced by AcceptPrivateDrop(), UpdateDragRect(), and UpdateDragRectOverlay().
|
private |
Definition at line 187 of file gridwin.hxx.
Referenced by AcceptPrivateDrop(), ExecutePrivateDrop(), UpdateDragRect(), and UpdateDragRectOverlay().
|
private |
Definition at line 188 of file gridwin.hxx.
Referenced by AcceptPrivateDrop(), ExecutePrivateDrop(), UpdateDragRect(), and UpdateDragRectOverlay().
|
private |
Definition at line 168 of file gridwin.hxx.
Referenced by Command(), HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), MoveMouseStatus(), PreNotify(), RequestHelp(), and StopMarking().
|
private |
Definition at line 170 of file gridwin.hxx.
Referenced by MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 180 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and PagebreakMove().
|
private |
Definition at line 179 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MouseButtonUp(), MouseMove(), MoveMouseStatus(), PagebreakMove(), StartDrag(), and Tracking().
|
private |
Definition at line 181 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and PagebreakMove().
|
private |
Definition at line 185 of file gridwin.hxx.
Referenced by DrawPagePreview().
|
private |
Definition at line 197 of file gridwin.hxx.
Referenced by Draw(), and UpdateFormulas().
|
private |
Definition at line 176 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().
|
private |
Definition at line 177 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().
|
private |
name?
Definition at line 175 of file gridwin.hxx.
Referenced by HandleMouseButtonDown(), MoveMouseStatus(), and RFMouseMove().
|
private |
Definition at line 173 of file gridwin.hxx.
Referenced by DoPushPivotButton(), and DPTestMouse().