LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SwEditWin Class Referencefinal

Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing the final painting of the document from the buffered layout. More...

#include <edtwin.hxx>

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

Public Member Functions

virtual void KeyInput (const KeyEvent &rKEvt) override
 KeyEvents. More...
 
void UpdatePointer (const Point &, sal_uInt16 nButtons=0)
 
bool IsDrawSelMode () const
 
bool IsDrawAction () const
 
void SetDrawAction (bool bFlag)
 
void SetObjectSelect (bool bVal)
 
bool IsObjectSelect () const
 
SdrObjKind GetSdrDrawMode () const
 
void SetSdrDrawMode (SdrObjKind eSdrObjectKind)
 
void StdDrawMode (SdrObjKind eSdrObjectKind, bool bObjSelect)
 
bool IsFrameAction () const
 
sal_uInt16 GetBezierMode () const
 
void SetBezierMode (sal_uInt16 eBezMode)
 
void EnterDrawTextMode (const Point &aDocPos)
 Turn on DrawTextEditMode. More...
 
void InsFrame (sal_uInt16 nCols)
 Insert mode for frames. More...
 
void StopInsFrame ()
 
sal_uInt16 GetFrameColCount () const
 
void SetChainMode (bool bOn)
 
bool IsChainMode () const
 
void FlushInBuffer ()
 Character buffer is inserted into the document. More...
 
void SetApplyTemplate (const SwApplyTemplate &)
 Apply template. More...
 
SwApplyTemplateGetApplyTemplate () const
 
void StartExecuteDrag ()
 
void DragFinished ()
 
void SetWaterCanTextColor (const Color &rCol)
 
void SetWaterCanTextBackColor (const Color &rCol)
 
void LockKeyInput (bool bSet)
 
const SwViewGetView () const
 
SwViewGetView ()
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
void StopQuickHelp ()
 
bool RulerMarginDrag (const MouseEvent &rMEvt, const bool bVerticalMode)
 
void SetUseInputLanguage (bool bNew)
 #i42732# display status of font size/name depending on either the input language or the selection position depending on what has changed lately More...
 
bool IsUseInputLanguage () const
 
OUString ClipLongToolTip (const OUString &rText)
 fdo#55546 cut very long tooltips to 2/3 of the width of the screen via center ellipsis More...
 
SwFrameControlsManagerGetFrameControlsManager ()
 
 SwEditWin (vcl::Window *pParent, SwView &)
 Ctor. More...
 
virtual ~SwEditWin () override
 
virtual void dispose () override
 
virtual void Command (const CommandEvent &rCEvt) override
 
void LogicInvalidate (const tools::Rectangle *pRectangle) override
 
void SetCursorTwipPosition (const Point &rPosition, bool bPoint, bool bClearMark)
 Allows adjusting the point or mark of the selection to a document coordinate. More...
 
void SetGraphicTwipPosition (bool bStart, const Point &rPosition)
 Allows starting or ending a graphic move or resize action. More...
 
const SwTextFrameGetSavedOutlineFrame () const
 
void SetSavedOutlineFrame (SwTextFrame *pFrame)
 
void ToggleOutlineContentVisibility (const size_t nOutlinePos, const bool bSubs)
 
virtual FactoryFunction GetUITestFactory () const override
 
- Public Member Functions inherited from vcl::DocWindow
virtual void SetPointer (PointerStyle) override
 
- Public Member Functions inherited from vcl::Window
 DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void)
 
SAL_DLLPRIVATE vcl::WindowImplGetFrameWindow () const
 
weld::WindowGetFrameWeld () const
 
vcl::WindowGetFrameWindow () const
 
SalFrameImplGetFrame () const
 
SAL_DLLPRIVATE ImplFrameDataImplGetFrameData ()
 
vcl::WindowImplGetWindow () const
 
SAL_DLLPRIVATE ImplWinDataImplGetWinData () const
 
SAL_DLLPRIVATE vcl::WindowImplGetClientWindow () const
 
SAL_DLLPRIVATE vcl::WindowImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr)
 
SAL_DLLPRIVATE vcl::WindowImplGetParent () const
 
SAL_DLLPRIVATE vcl::WindowImplFindWindow (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE bool ImplSetClipFlag (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE bool ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsFloatingWindow () const
 
SAL_DLLPRIVATE bool ImplIsPushButton () const
 
SAL_DLLPRIVATE bool ImplIsSplitter () const
 
SAL_DLLPRIVATE bool ImplIsOverlapWindow () const
 
SAL_DLLPRIVATE void ImplIsInTaskPaneList (bool mbIsInTaskList)
 
SAL_DLLPRIVATE WindowImplImplGetWindowImpl () const
 
SAL_DLLPRIVATE void ImplGrabFocus (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplGrabFocusToDocument (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvertFocus (const tools::Rectangle &rRect)
 
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer () const
 
SAL_DLLPRIVATE void ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false)
 
SAL_DLLPRIVATE void ImplGenerateMouseMove ()
 
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE void ImplNotifyIconifiedState (bool bIconified)
 
SAL_DLLPRIVATE void ImplUpdateAll ()
 
SAL_DLLPRIVATE void ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE)
 
SAL_DLLPRIVATE void ImplMirrorFramePos (Point &pt) const
 
SAL_DLLPRIVATE void ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
 
SAL_DLLPRIVATE void ImplCallResize ()
 
SAL_DLLPRIVATE void ImplCallMove ()
 
SAL_DLLPRIVATE void CompatGetFocus ()
 
SAL_DLLPRIVATE void CompatLoseFocus ()
 
SAL_DLLPRIVATE void CompatStateChanged (StateChangedType nStateChange)
 
SAL_DLLPRIVATE void CompatDataChanged (const DataChangedEvent &rDCEvt)
 
SAL_DLLPRIVATE bool CompatPreNotify (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE bool CompatNotify (NotifyEvent &rNEvt)
 
void IncModalCount ()
 
void DecModalCount ()
 
 Window (vcl::Window *pParent, WinBits nStyle=0)
 
virtual ~Window () override
 
::OutputDevice const * GetOutDev () const
 
::OutputDeviceGetOutDev ()
 
Color GetBackgroundColor () const
 
const WallpaperGetBackground () const
 
bool IsBackground () const
 
const MapModeGetMapMode () const
 
void SetBackground ()
 
void SetBackground (const Wallpaper &rBackground)
 
virtual void MouseMove (const MouseEvent &rMEvt)
 
virtual void MouseButtonDown (const MouseEvent &rMEvt)
 
virtual void MouseButtonUp (const MouseEvent &rMEvt)
 
virtual void KeyInput (const KeyEvent &rKEvt)
 
virtual void KeyUp (const KeyEvent &rKEvt)
 
virtual void PrePaint (vcl::RenderContext &rRenderContext)
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
virtual void PostPaint (vcl::RenderContext &rRenderContext)
 
void Erase (vcl::RenderContext &rRenderContext)
 
virtual void Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
 
virtual void Move ()
 
virtual void Resize ()
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void RequestHelp (const HelpEvent &rHEvt)
 
virtual void Command (const CommandEvent &rCEvt)
 
virtual void Tracking (const TrackingEvent &rTEvt)
 
virtual void StateChanged (StateChangedType nStateChange)
 
virtual void DataChanged (const DataChangedEvent &rDCEvt)
 
virtual bool PreNotify (NotifyEvent &rNEvt)
 
virtual bool EventNotify (NotifyEvent &rNEvt)
 
void AddEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
ImplSVEventPostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
 
void RemoveUserEvent (ImplSVEvent *nUserEvent)
 
LanguageType GetInputLanguage () const
 
void SetStyle (WinBits nStyle)
 
WinBits GetStyle () const
 
WinBits GetPrevStyle () const
 
void SetExtendedStyle (WindowExtendedStyle nExtendedStyle)
 
WindowExtendedStyle GetExtendedStyle () const
 
void SetType (WindowType nType)
 
WindowType GetType () const
 
bool IsSystemWindow () const
 
bool IsDockingWindow () const
 
bool IsDialog () const
 
bool IsMenuFloatingWindow () const
 
bool IsToolbarFloatingWindow () const
 
bool IsTopWindow () const
 
SystemWindowGetSystemWindow () const
 
bool SupportsDoubleBuffering () const
 
void RequestDoubleBuffering (bool bRequest)
 
void EnableAllResize ()
 
void SetBorderStyle (WindowBorderStyle nBorderStyle)
 
WindowBorderStyle GetBorderStyle () const
 
void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const
 
Size CalcWindowSize (const Size &rOutSz) const
 
Size CalcOutputSize (const Size &rWinSz) const
 
tools::Long CalcTitleWidth () const
 
void EnableClipSiblings (bool bClipSiblings=true)
 
void EnableChildTransparentMode (bool bEnable=true)
 
bool IsChildTransparentModeEnabled () const
 
void SetMouseTransparent (bool bTransparent)
 
bool IsMouseTransparent () const
 
void SetPaintTransparent (bool bTransparent)
 
bool IsPaintTransparent () const
 
void SetDialogControlStart (bool bStart)
 
bool IsDialogControlStart () const
 
void SetDialogControlFlags (DialogControlFlags nFlags)
 
DialogControlFlags GetDialogControlFlags () const
 
PointerState GetPointerState ()
 
bool IsMouseOver () const
 
void SetInputContext (const InputContext &rInputContext)
 
const InputContextGetInputContext () const
 
void PostExtTextInputEvent (VclEventId nType, const OUString &rText)
 
void EndExtTextInput ()
 
void SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0)
 
const tools::RectangleGetCursorRect () const
 
tools::Long GetCursorExtTextInputWidth () const
 
void SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false)
 
void UpdateSettings (const AllSettings &rSettings, bool bChild=false)
 
void NotifyAllChildren (DataChangedEvent &rDCEvt)
 
void SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
vcl::Font GetPointFont (vcl::RenderContext const &rRenderContext) const
 
void SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
tools::Long GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const
 
vcl::Font GetDrawPixelFont (::OutputDevice const *pDev) const
 
void SetControlFont ()
 
void SetControlFont (const vcl::Font &rFont)
 
vcl::Font GetControlFont () const
 
bool IsControlFont () const
 
void ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont)
 
void SetControlForeground ()
 
void SetControlForeground (const Color &rColor)
 
const ColorGetControlForeground () const
 
bool IsControlForeground () const
 
void ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetControlBackground ()
 
void SetControlBackground (const Color &rColor)
 
const ColorGetControlBackground () const
 
bool IsControlBackground () const
 
void ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE)
 
ParentClipMode GetParentClipMode () const
 
void SetWindowRegionPixel ()
 
void SetWindowRegionPixel (const vcl::Region &rRegion)
 
vcl::Region GetWindowClipRegionPixel () const
 
vcl::Region GetPaintRegion () const
 
bool IsInPaint () const
 
void ExpandPaintClipRegion (const vcl::Region &rRegion)
 
void SetParent (vcl::Window *pNewParent)
 
vcl::WindowGetParent () const
 
DialogGetParentDialog () const
 
bool IsAncestorOf (const vcl::Window &rWindow) const
 
void Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
 
void Hide ()
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsReallyShown () const
 
bool IsInInitShow () const
 
void Enable (bool bEnable=true, bool bChild=true)
 
void Disable (bool bChild=true)
 
bool IsEnabled () const
 
void EnableInput (bool bEnable=true, bool bChild=true)
 
void EnableInput (bool bEnable, const vcl::Window *pExcludeWindow)
 
bool IsInputEnabled () const
 
void AlwaysEnableInput (bool bAlways, bool bChild=true)
 
bool IsAlwaysEnableInput () const
 
bool IsInModalMode () const
 
void SetActivateMode (ActivateModeFlags nMode)
 
ActivateModeFlags GetActivateMode () const
 
void ToTop (ToTopFlags nFlags=ToTopFlags::NONE)
 
void SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags)
 
void EnableAlwaysOnTop (bool bEnable=true)
 
bool IsAlwaysOnTopEnabled () const
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
 
virtual void SetPosPixel (const Point &rNewPos)
 
virtual Point GetPosPixel () const
 
virtual void SetSizePixel (const Size &rNewSize)
 
virtual Size GetSizePixel () const
 
virtual void SetPosSizePixel (const Point &rNewPos, const Size &rNewSize)
 
virtual void SetOutputSizePixel (const Size &rNewSize)
 
bool IsDefaultPos () const
 
bool IsDefaultSize () const
 
Point GetOffsetPixelFrom (const vcl::Window &rWindow) const
 
Point OutputToScreenPixel (const Point &rPos) const
 
Point ScreenToOutputPixel (const Point &rPos) const
 
Point OutputToNormalizedScreenPixel (const Point &rPos) const
 
Point NormalizedScreenToOutputPixel (const Point &rPos) const
 
Point OutputToAbsoluteScreenPixel (const Point &rPos) const
 
Point AbsoluteScreenToOutputPixel (const Point &rPos) const
 
tools::Rectangle GetDesktopRectPixel () const
 
tools::Rectangle GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const
 
tools::Rectangle GetWindowExtentsAbsolute () const
 
bool IsScrollable () const
 
virtual void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
 
void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void LogicInvalidate (const tools::Rectangle *pRectangle)
 
virtual void PixelInvalidate (const tools::Rectangle *pRectangle)
 
void Validate ()
 
bool HasPaintEvent () const
 
void PaintImmediately ()
 
void EnableDocking (bool bEnable=true)
 
void EnablePaint (bool bEnable)
 
bool IsPaintEnabled () const
 
void SetUpdateMode (bool bUpdate)
 
bool IsUpdateMode () const
 
void SetParentUpdateMode (bool bUpdate)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildPathFocus (bool bSystemWindow=false) const
 
bool IsActive () const
 
bool HasActiveChildFrame () const
 
GetFocusFlags GetGetFocusFlags () const
 
void GrabFocusToDocument ()
 
VclPtr< vcl::WindowGetFocusedWindow () const
 
void SetFakeFocus (bool bFocus)
 
bool IsCompoundControl () const
 
void LocalStartDrag ()
 
void CaptureMouse ()
 
void ReleaseMouse ()
 
bool IsMouseCaptured () const
 
virtual void SetPointer (PointerStyle)
 
PointerStyle GetPointer () const
 
void EnableChildPointerOverwrite (bool bOverwrite)
 
void SetPointerPosPixel (const Point &rPos)
 
Point GetPointerPosPixel ()
 
Point GetLastPointerPosPixel ()
 
void SetLastMousePos (const Point &rPos)
 
void ShowPointer (bool bVisible)
 
void EnterWait ()
 
void LeaveWait ()
 
bool IsWait () const
 
void SetCursor (vcl::Cursor *pCursor)
 
vcl::CursorGetCursor () const
 
void SetZoom (const Fraction &rZoom)
 
const FractionGetZoom () const
 
bool IsZoom () const
 
tools::Long CalcZoom (tools::Long n) const
 
virtual void SetText (const OUString &rStr)
 
virtual OUString GetText () const
 
virtual OUString GetDisplayText () const
 
virtual const WallpaperGetDisplayBackground () const
 
void SetHelpText (const OUString &rHelpText)
 
const OUString & GetHelpText () const
 
void SetQuickHelpText (const OUString &rHelpText)
 
const OUString & GetQuickHelpText () const
 
void SetHelpId (const OUString &)
 
const OUString & GetHelpId () const
 
sal_uInt16 GetChildCount () const
 
vcl::WindowGetChild (sal_uInt16 nChild) const
 
vcl::WindowGetWindow (GetWindowType nType) const
 
bool IsChild (const vcl::Window *pWindow) const
 
bool IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE void CollectChildren (::std::vector< vcl::Window * > &rAllChildren)
 
virtual void ShowFocus (const tools::Rectangle &rRect)
 
void HideFocus ()
 
void DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
 
void ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
 
void HideTracking ()
 
void InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags)
 
void StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE)
 
void EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE)
 
bool IsTracking () const
 
void StartAutoScroll (StartAutoScrollFlags nFlags)
 
void EndAutoScroll ()
 
bool HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl)
 
virtual const SystemEnvDataGetSystemData () const
 
virtual css::uno::Reference< css::awt::XVclWindowPeer > GetComponentInterface (bool bCreate=true)
 
void SetComponentInterface (css::uno::Reference< css::awt::XVclWindowPeer > const &xIFace)
 
void SetUseFrameData (bool bUseFrameData)
 
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
 
const vcl::ILibreOfficeKitNotifierGetLOKNotifier () const
 
vcl::LOKWindowId GetLOKWindowId () const
 
VclPtr< vcl::WindowGetParentWithLOKNotifier ()
 
void ReleaseLOKNotifier ()
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
void RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect)
 
VCLXWindowGetWindowPeer () const
 
void SetWindowPeer (css::uno::Reference< css::awt::XVclWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow)
 
bool IsCreatedWithToolkit () const
 
void SetCreatedWithToolkit (bool b)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::dnd::XDragSource > GetDragSource ()
 
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > GetDragGestureRecognizer ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard ()
 
void SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard)
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout)
 
void set_height_request (sal_Int32 nHeightRequest)
 
sal_Int32 get_height_request () const
 
void set_width_request (sal_Int32 nWidthRequest)
 
sal_Int32 get_width_request () const
 
Size get_preferred_size () const
 
VclAlign get_halign () const
 
void set_halign (VclAlign eAlign)
 
VclAlign get_valign () const
 
void set_valign (VclAlign eAlign)
 
bool get_hexpand () const
 
void set_hexpand (bool bExpand)
 
bool get_vexpand () const
 
void set_vexpand (bool bExpand)
 
bool get_expand () const
 
void set_expand (bool bExpand)
 
bool get_fill () const
 
void set_fill (bool bFill)
 
void set_border_width (sal_Int32 nBorderWidth)
 
sal_Int32 get_border_width () const
 
void set_margin_start (sal_Int32 nWidth)
 
sal_Int32 get_margin_start () const
 
void set_margin_end (sal_Int32 nWidth)
 
sal_Int32 get_margin_end () const
 
void set_margin_top (sal_Int32 nWidth)
 
sal_Int32 get_margin_top () const
 
void set_margin_bottom (sal_Int32 nWidth)
 
sal_Int32 get_margin_bottom () const
 
VclPackType get_pack_type () const
 
void set_pack_type (VclPackType ePackType)
 
sal_Int32 get_padding () const
 
void set_padding (sal_Int32 nPadding)
 
sal_Int32 get_grid_width () const
 
void set_grid_width (sal_Int32 nCols)
 
sal_Int32 get_grid_left_attach () const
 
void set_grid_left_attach (sal_Int32 nAttach)
 
sal_Int32 get_grid_height () const
 
void set_grid_height (sal_Int32 nRows)
 
sal_Int32 get_grid_top_attach () const
 
void set_grid_top_attach (sal_Int32 nAttach)
 
bool get_secondary () const
 
void set_secondary (bool bSecondary)
 
bool get_non_homogeneous () const
 
void set_non_homogeneous (bool bNonHomogeneous)
 
virtual bool set_property (const OUString &rKey, const OUString &rValue)
 
bool set_font_attribute (const OUString &rKey, std::u16string_view rValue)
 
void add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup)
 
void remove_from_all_size_groups ()
 
void add_mnemonic_label (FixedText *pLabel)
 
void remove_mnemonic_label (FixedText *pLabel)
 
const std::vector< VclPtr< FixedText > > & list_mnemonic_labels () const
 
void reorderWithinParent (sal_uInt16 nNewPosition)
 
void set_id (const OUString &rID)
 
const OUString & get_id () const
 
void EnableNativeWidget (bool bEnable=true)
 
bool IsNativeWidgetEnabled () const
 
void PaintToDevice (::OutputDevice *pDevice, const Point &rPos)
 
KeyIndicatorState GetIndicatorState () const
 
void SimulateKeyPress (sal_uInt16 nKeyCode) const
 
virtual OUString GetSurroundingText () const
 
virtual Selection GetSurroundingTextSelection () const
 
virtual bool DeleteSurroundingText (const Selection &rSelection)
 
virtual FactoryFunction GetUITestFactory () const
 
virtual bool IsChart () const
 
virtual bool IsStarMath () const
 
void SetHelpHdl (const Link< vcl::Window &, bool > &rLink)
 
void SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink)
 
void SetModalHierarchyHdl (const Link< bool, void > &rLink)
 
void SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink)
 
Size GetOutputSizePixel () const
 
tools::Rectangle GetOutputRectPixel () const
 
Point LogicToPixel (const Point &rLogicPt) const
 
Size LogicToPixel (const Size &rLogicSize) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect) const
 
vcl::Region LogicToPixel (const vcl::Region &rLogicRegion) const
 
Point LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const
 
Size LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const
 
Point PixelToLogic (const Point &rDevicePt) const
 
Size PixelToLogic (const Size &rDeviceSize) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect) const
 
tools::PolyPolygon PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const
 
vcl::Region PixelToLogic (const vcl::Region &rDeviceRegion) const
 
Point PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const
 
Size PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const
 
Size LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
const AllSettingsGetSettings () const
 
void SetSettings (const AllSettings &rSettings)
 
void SetSettings (const AllSettings &rSettings, bool bChild)
 
tools::Rectangle GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
 
float GetDPIScaleFactor () const
 
tools::Long GetOutOffXPixel () const
 
tools::Long GetOutOffYPixel () const
 
void EnableMapMode (bool bEnable=true)
 
bool IsMapModeEnabled () const
 
void SetMapMode ()
 
void SetMapMode (const MapMode &rNewMapMode)
 
virtual void EnableRTL (bool bEnable=true)
 
bool IsRTLEnabled () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
tools::Long GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
tools::Long GetTextHeight () const
 
float approximate_digit_width () const
 
void SetTextColor (const Color &rColor)
 
const ColorGetTextColor () const
 
void SetTextFillColor ()
 
void SetTextFillColor (const Color &rColor)
 
Color GetTextFillColor () const
 
bool IsTextFillColor () const
 
void SetTextLineColor ()
 
void SetTextLineColor (const Color &rColor)
 
const ColorGetTextLineColor () const
 
bool IsTextLineColor () const
 
void SetOverlineColor ()
 
void SetOverlineColor (const Color &rColor)
 
const ColorGetOverlineColor () const
 
bool IsOverlineColor () const
 
void SetTextAlign (TextAlign eAlign)
 
TextAlign GetTextAlign () const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
css::uno::Reference< css::accessibility::XAccessible > GetAccessible (bool bCreate=true)
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
void SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &)
 
vcl::WindowGetAccessibleParentWindow () const
 
sal_uInt16 GetAccessibleChildWindowCount ()
 
vcl::WindowGetAccessibleChildWindow (sal_uInt16 n)
 
void SetAccessibleRole (sal_uInt16 nRole)
 
sal_uInt16 GetAccessibleRole () const
 
void SetAccessibleName (const OUString &rName)
 
OUString GetAccessibleName () const
 
void SetAccessibleDescription (const OUString &rDescr)
 
OUString GetAccessibleDescription () const
 
void SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy)
 
vcl::WindowGetAccessibleRelationLabeledBy () const
 
void SetAccessibleRelationLabelFor (vcl::Window *pLabelFor)
 
vcl::WindowGetAccessibleRelationLabelFor () const
 
vcl::WindowGetAccessibleRelationMemberOf () const
 
bool IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true)
 
void SetAccessibilityEventsSuppressed (bool bSuppressed)
 
KeyEvent GetActivationKey () const
 
- Public Member Functions inherited from VclReferenceBase
void acquire () const
 
void release () const
 
sal_Int32 getRefCount () const
 
void disposeOnce ()
 
bool isDisposed () const
 

Static Public Member Functions

static bool IsInputSequenceCheckingRequired (const OUString &rText, const SwPaM &rCursor)
 
static tools::Long GetDDStartPosX ()
 
static tools::Long GetDDStartPosY ()
 
static void InitStaticData ()
 
static void FinitStaticData ()
 
- Static Public Member Functions inherited from vcl::Window
static SAL_DLLPRIVATE void ImplInitAppFontData (vcl::Window const *pWindow)
 
static SAL_DLLPRIVATE void ImplCalcSymbolRect (tools::Rectangle &rRect)
 
static DockingManagerGetDockingManager ()
 
static VclPtr< vcl::WindowSaveFocus ()
 
static void EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin)
 
static VclPtr< vcl::WindowFindLOKWindow (vcl::LOKWindowId nWindowId)
 
static bool IsLOKWindowsEmpty ()
 

Private Member Functions

void LeaveArea (const Point &)
 
void JustifyAreaTimer ()
 
void EnterArea ()
 
void ResetMouseButtonDownFlags ()
 MouseEvents. More...
 
void ChangeFly (sal_uInt8 nDir, bool bWeb)
 
void ChangeDrawing (sal_uInt8 nDir)
 
bool EnterDrawMode (const MouseEvent &rMEvt, const Point &aDocPos)
 Turn on DrawMode. More...
 
bool RulerColumnDrag (const MouseEvent &rMEvt, bool bVerticalMode)
 
void DropCleanup ()
 
void CleanupDropUserMarker ()
 
SotExchangeDest GetDropDestination (const Point &rPixPnt, SdrObject **ppObj=nullptr)
 
void SelectMenuPosition (SwWrtShell &rSh, const Point &rMousePos)
 
 DECL_DLLPRIVATE_LINK (TimerHandler, Timer *, void)
 
void StartDDTimer ()
 
void StopDDTimer (SwWrtShell *, const Point &)
 
 DECL_DLLPRIVATE_LINK (DDHandler, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (KeyInputFlushHandler, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (TemplateTimerHdl, Timer *, void)
 
void MoveCursor (SwWrtShell &rSh, const Point &rDocPos, const bool bOnlyText, bool bLockView)
 
virtual void DataChanged (const DataChangedEvent &) override
 
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
 
bool changeMousePointer (Point const &rDocPoint)
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt) override
 Button Up. More...
 
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
 
virtual OUString GetSurroundingText () const override
 
virtual Selection GetSurroundingTextSelection () const override
 
virtual bool DeleteSurroundingText (const Selection &rSelection) override
 
void ShowAutoCorrectQuickHelp (const OUString &rWord, SvxAutoCorrect &rACorr)
 
bool ShowAutoText (const std::vector< OUString > &rChunkCandidates)
 
bool IsInHeaderFooter (const Point &rDocPt, FrameControlType &rControl) const
 Returns true if in header/footer area, or in the header/footer control. More...
 
bool IsOverHeaderFooterFly (const Point &rDocPos, FrameControlType &rControl, bool &bOverFly, bool &bPageAnchored) const
 

Private Attributes

Color m_aWaterCanTextColor
 
Color m_aWaterCanTextBackColor
 
AutoTimer m_aTimer
 
Timer m_aKeyInputFlushTimer
 
OUString m_aInBuffer
 
LanguageType m_eBufferLanguage
 
Point m_aStartPos
 
Point m_aMovePos
 
Point m_aRszMvHdlPt
 
Timer m_aTemplateTimer
 
SwCallMouseEvent m_aSaveCallEvent
 
std::unique_ptr< SwApplyTemplatem_pApplyTempl
 
std::unique_ptr< SwAnchorMarkerm_pAnchorMarker
 
std::unique_ptr< SdrDropMarkerOverlaym_pUserMarker
 
SdrObjectm_pUserMarkerObj
 
std::unique_ptr< SwShadowCursor, o3tl::default_delete< SwShadowCursor > > m_pShadCursor
 
sal_Int16 m_eOrient
 
std::optional< Pointm_xRowColumnSelectionStart
 
SwViewm_rView
 
SdrHitKind m_aActHitType
 
SotClipboardFormatId m_nDropFormat
 
sal_uInt8 m_nDropAction
 
SotExchangeDest m_nDropDestination
 
sal_uInt16 m_eBezierMode
 
sal_uInt16 m_nInsFrameColCount
 
SdrObjKind m_eDrawMode
 
bool m_bMBPressed: 1
 
bool m_bInsDraw: 1
 
bool m_bInsFrame: 1
 
bool m_bIsInMove: 1
 
bool m_bIsInDrag: 1
 
bool m_bOldIdle: 1
 
bool m_bOldIdleSet: 1
 
bool m_bChainMode: 1
 
bool m_bWasShdwCursor: 1
 
bool m_bLockInput: 1
 
bool m_bIsRowDrag: 1
 
bool m_bUseInputLanguage: 1
 #i42732# display status of font size/name depending on either the input language or the selection position depending on what has changed lately More...
 
bool m_bObjectSelect: 1
 
sal_uInt16 m_nKS_NUMDOWN_Count
 
sal_uInt16 m_nKS_NUMINDENTINC_Count
 
std::unique_ptr< SwFrameControlsManagerm_pFrameControlsManager
 
SwTextFramem_pSavedOutlineFrame = nullptr
 

Static Private Attributes

static QuickHelpDatas_pQuickHlpData = nullptr
 
static tools::Long s_nDDStartPosX = 0
 
static tools::Long s_nDDStartPosY = 0
 

Additional Inherited Members

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

Detailed Description

Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing the final painting of the document from the buffered layout.

To translate the pixel positions from the buffer OutputDevice to the real pixel positions, use the PixelToLogic methods of this class.

Definition at line 59 of file edtwin.hxx.

Constructor & Destructor Documentation

◆ SwEditWin()

SwEditWin::SwEditWin ( vcl::Window pParent,
SwView rMyView 
)

◆ ~SwEditWin()

SwEditWin::~SwEditWin ( )
overridevirtual

Definition at line 5413 of file edtwin.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

◆ AcceptDrop()

sal_Int8 SwEditWin::AcceptDrop ( const AcceptDropEvent rEvt)
overrideprivatevirtual

◆ ChangeDrawing()

void SwEditWin::ChangeDrawing ( sal_uInt8  nDir)
private

◆ ChangeFly()

void SwEditWin::ChangeFly ( sal_uInt8  nDir,
bool  bWeb 
)
private

◆ changeMousePointer()

bool SwEditWin::changeMousePointer ( Point const &  rDocPoint)
private

◆ CleanupDropUserMarker()

void SwEditWin::CleanupDropUserMarker ( )
private

Definition at line 186 of file edtdd.cxx.

References m_pUserMarker, and m_pUserMarkerObj.

Referenced by AcceptDrop(), and DropCleanup().

◆ ClipLongToolTip()

OUString SwEditWin::ClipLongToolTip ( const OUString &  rText)

fdo#55546 cut very long tooltips to 2/3 of the width of the screen via center ellipsis

Definition at line 301 of file edtwin2.cxx.

References vcl::Window::GetDesktopRectPixel(), OutputDevice::GetEllipsisString(), vcl::Window::GetOutDev(), vcl::Window::GetTextWidth(), tools::Rectangle::GetWidth(), and vcl::Window::PixelToLogic().

Referenced by RequestHelp().

◆ Command()

void SwEditWin::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from vcl::Window.

Definition at line 5532 of file edtwin.cxx.

References SwPosition::AdjustContent(), aEvent, SfxRequest::AppendItem(), SwPosition::Assign(), SwWrtShell::AutoCorrect(), SvxSwAutoFormatFlags::bAutoCompleteWords, SwRect::Bottom(), SwRect::Center(), OutlinerView::Command(), SwEditShell::CreateExtTextInput(), TransferableDataHelper::CreateFromPrimarySelection(), SwReadOnlyPopup::CreateMenuInterface(), SwEditShell::DeleteExtTextInput(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::Do(), SfxRequest::Done(), SwPaM::End(), SwCursorShell::EndCursorMove(), EXCHG_IN_ACTION_COPY, EXCHG_INOUT_ACTION_NONE, SwView::ExecSpellPopup(), SfxDispatcher::Execute(), SwReadOnlyPopup::Execute(), ExecuteMenuCommand(), SfxDispatcher::ExecutePopup(), SwFEShell::FinishOLEObj(), FN_INSERT_STRING, g_bInputLanguageSwitched, g_bNoInterrupt, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), SwCursorShell::GetCharRect(), SwCursorShell::GetCharRectAt(), SwEditShell::GetChunkForAutoText(), CommandEvent::GetCommand(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwCursorShell::GetCursor(), TransferableDataHelper::GetDataFlavorExVector(), SfxViewFrame::GetDispatcher(), SwDocShell::GetDoc(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwViewShell::GetDrawView(), GetDropDestination(), SwView::GetEditWin(), SotExchange::GetExchangeAction(), SwDoc::GetExtTextInput(), CommandEvent::GetExtTextInputData(), GetFrameControlsManager(), SwDoc::GetIDocumentUndoRedo(), vcl::Window::GetInputLanguage(), VCLUnoHelper::GetInterface(), SfxViewShell::GetIPClient(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), CommandEvent::GetModKeyData(), CommandEvent::GetMousePosPixel(), SwCursor::GetNext(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwView::GetPostItMgr(), SwEditShell::GetPrevAutoCorrWord(), SfxBindings::GetRecorder(), CommandEvent::GetSelectionChangeData(), SwViewShell::GetSfxViewShell(), SvxAutoCorrect::GetSwFlags(), SdrObjEditView::GetTextEditOutlinerView(), GetView(), SwInputChild::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), TransferableDataHelper::GetXTransferable(), SwCursorShell::GoPrevCursor(), SwCursorShell::GoStartSentence(), SwView::HandleGestureZoomCommand(), SwView::HandleWheelCommands(), SwViewShell::HasDrawView(), SwPaM::HasMark(), SwCursorShell::HasReadonlySel(), SwWrtShell::HasSelection(), SwWrtShell::InfoReadOnlyDialog(), SvxAutoCorrect::IsAutoCorrFlag(), SvxAutoCorrCfg::IsAutoTextTip(), SvtCTLOptions::IsCTLFontEnabled(), SwCursorShell::IsCursorReadonly(), VclReferenceBase::isDisposed(), CommandModKeyData::IsDown(), IsDrawAction(), SwFEShell::IsDrawCreate(), SwViewShell::IsHeaderFooterEdit(), SwPostItMgr::IsHit(), SwCursorShell::IsInVerticalText(), CommandModKeyData::IsLeftShift(), CommandModKeyData::IsMod1(), CommandModKeyData::IsMod2(), CommandEvent::IsMouseEvent(), SwCursorShell::IsMultiSelection(), SfxInPlaceClient::IsObjectInPlaceActive(), IsOverHeaderFooterFly(), SfxObjectShell::IsReadOnly(), CommandModKeyData::IsRightShift(), SwViewOption::IsShowOutlineContentVisibilityButton(), SdrObjEditView::IsTextEdit(), lcl_GetTextShellFromDispatcher(), SwRect::Left(), SwContentNode::Len(), vcl::Window::LogicToPixel(), QuickHelpData::m_bIsDisplayed, m_bMBPressed, m_pApplyTempl, m_pSavedOutlineFrame, m_pShadCursor, m_rView, nId, nIndex, Outline, SwTransferable::PasteData(), pData, vcl::Window::PixelToLogic(), vcl::Window::ReleaseMouse(), SwFrameControlsManager::RemoveControlsByType(), SwRect::Right(), s_pQuickHlpData, SAL_WARN, SelectMenuPosition(), vcl::Window::SetCompositionCharRect(), SwEditShell::SetExtTextInputData(), SwCursorShell::SetMark(), SwPaM::SetMark(), SetUseInputLanguage(), ShowAutoCorrectQuickHelp(), ShowAutoText(), SwPaM::Start(), QuickHelpData::Stop(), SwView::StopShellTimer(), SwCursorShell::SttCursorMove(), SwRect::Top(), SwWrtShell::UNDO, Point::X(), and Point::Y().

◆ CreateAccessible()

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

Reimplemented from vcl::Window.

Definition at line 6219 of file edtwin.cxx.

References SwViewShell::CreateAccessible(), SwView::GetWrtShellPtr(), and m_rView.

◆ DataChanged()

void SwEditWin::DataChanged ( const DataChangedEvent rDCEvt)
overrideprivatevirtual

◆ DECL_DLLPRIVATE_LINK() [1/4]

SwEditWin::DECL_DLLPRIVATE_LINK ( DDHandler  ,
Timer ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/4]

SwEditWin::DECL_DLLPRIVATE_LINK ( KeyInputFlushHandler  ,
Timer ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/4]

SwEditWin::DECL_DLLPRIVATE_LINK ( TemplateTimerHdl  ,
Timer ,
void   
)
private

References StartDrag.

◆ DECL_DLLPRIVATE_LINK() [4/4]

SwEditWin::DECL_DLLPRIVATE_LINK ( TimerHandler  ,
Timer ,
void   
)
private

◆ DeleteSurroundingText()

bool SwEditWin::DeleteSurroundingText ( const Selection rSelection)
overrideprivatevirtual

◆ dispose()

void SwEditWin::dispose ( void  )
overridevirtual

◆ DragFinished()

void SwEditWin::DragFinished ( )

Definition at line 161 of file edtdd.cxx.

References DropCleanup(), LINK, m_aTimer, m_bIsInDrag, and Timer::SetInvokeHandler().

Referenced by SwTransferable::DragFinished().

◆ DropCleanup()

void SwEditWin::DropCleanup ( )
private

◆ EnterArea()

void SwEditWin::EnterArea ( )
inlineprivate

Definition at line 727 of file edtwin.cxx.

References m_aTimer, and Task::Stop().

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

◆ EnterDrawMode()

bool SwEditWin::EnterDrawMode ( const MouseEvent rMEvt,
const Point aDocPos 
)
private

◆ EnterDrawTextMode()

void SwEditWin::EnterDrawTextMode ( const Point aDocPos)

◆ ExecuteDrop()

sal_Int8 SwEditWin::ExecuteDrop ( const ExecuteDropEvent rEvt)
overrideprivatevirtual

◆ FinitStaticData()

void SwEditWin::FinitStaticData ( )
static

Definition at line 6186 of file edtwin.cxx.

References s_pQuickHlpData.

◆ FlushInBuffer()

void SwEditWin::FlushInBuffer ( )

◆ GetApplyTemplate()

SwApplyTemplate * SwEditWin::GetApplyTemplate ( ) const
inline

◆ GetBezierMode()

sal_uInt16 SwEditWin::GetBezierMode ( ) const
inline

Definition at line 221 of file edtwin.hxx.

Referenced by SwBezierShell::GetState().

◆ GetDDStartPosX()

static tools::Long SwEditWin::GetDDStartPosX ( )
inlinestatic

◆ GetDDStartPosY()

static tools::Long SwEditWin::GetDDStartPosY ( )
inlinestatic

◆ GetDropDestination()

SotExchangeDest SwEditWin::GetDropDestination ( const Point rPixPnt,
SdrObject **  ppObj = nullptr 
)
private

◆ GetFocus()

void SwEditWin::GetFocus ( )
overrideprivatevirtual

◆ GetFrameColCount()

sal_uInt16 SwEditWin::GetFrameColCount ( ) const
inline

Definition at line 226 of file edtwin.hxx.

◆ GetFrameControlsManager()

SwFrameControlsManager & SwEditWin::GetFrameControlsManager ( )

◆ GetSavedOutlineFrame()

const SwTextFrame * SwEditWin::GetSavedOutlineFrame ( ) const
inline

Definition at line 290 of file edtwin.hxx.

◆ GetSdrDrawMode()

SdrObjKind SwEditWin::GetSdrDrawMode ( ) const
inline

Definition at line 216 of file edtwin.hxx.

◆ GetSurroundingText()

OUString SwEditWin::GetSurroundingText ( ) const
overrideprivatevirtual

◆ GetSurroundingTextSelection()

Selection SwEditWin::GetSurroundingTextSelection ( ) const
overrideprivatevirtual

◆ GetUITestFactory()

FactoryFunction SwEditWin::GetUITestFactory ( ) const
overridevirtual

Reimplemented from vcl::Window.

Definition at line 170 of file edtwin3.cxx.

References SwEditWinUIObject::create().

◆ GetView() [1/2]

SwView & SwEditWin::GetView ( )
inline

Definition at line 247 of file edtwin.hxx.

◆ GetView() [2/2]

const SwView & SwEditWin::GetView ( ) const
inline

◆ InitStaticData()

void SwEditWin::InitStaticData ( )
static

Definition at line 6181 of file edtwin.cxx.

References s_pQuickHlpData.

Referenced by InitUI().

◆ InsFrame()

void SwEditWin::InsFrame ( sal_uInt16  nCols)

Insert mode for frames.

Definition at line 735 of file edtwin.cxx.

References m_bInsFrame, m_nInsFrameColCount, and StdDrawMode().

Referenced by SwView::InsFrameMode().

◆ IsChainMode()

bool SwEditWin::IsChainMode ( ) const
inline

◆ IsDrawAction()

bool SwEditWin::IsDrawAction ( ) const
inline

Definition at line 210 of file edtwin.hxx.

Referenced by Command(), and StartDrag().

◆ IsDrawSelMode()

bool SwEditWin::IsDrawSelMode ( ) const

Definition at line 5500 of file edtwin.cxx.

References IsObjectSelect().

◆ IsFrameAction()

bool SwEditWin::IsFrameAction ( ) const
inline

Definition at line 220 of file edtwin.hxx.

Referenced by SwWrtShell::GetSelectionType().

◆ IsInHeaderFooter()

bool SwEditWin::IsInHeaderFooter ( const Point rDocPt,
FrameControlType rControl 
) const
private

◆ IsInputSequenceCheckingRequired()

bool SwEditWin::IsInputSequenceCheckingRequired ( const OUString &  rText,
const SwPaM rCursor 
)
static

◆ IsObjectSelect()

bool SwEditWin::IsObjectSelect ( ) const
inline

Definition at line 214 of file edtwin.hxx.

Referenced by IsDrawSelMode(), and UpdatePointer().

◆ IsOverHeaderFooterFly()

bool SwEditWin::IsOverHeaderFooterFly ( const Point rDocPos,
FrameControlType rControl,
bool &  bOverFly,
bool &  bPageAnchored 
) const
private

◆ IsUseInputLanguage()

bool SwEditWin::IsUseInputLanguage ( ) const
inline

Definition at line 268 of file edtwin.hxx.

Referenced by SwBaseShell::GetTextFontCtrlState().

◆ JustifyAreaTimer()

void SwEditWin::JustifyAreaTimer ( )
private

◆ KeyInput()

void SwEditWin::KeyInput ( const KeyEvent rKEvt)
overridevirtual

KeyEvents.

Reimplemented from vcl::Window.

Definition at line 1371 of file edtwin.cxx.

References aBuf, Any, Application::AnyInput(), SdrMarkView::AreObjectsMarked(), SwWrtShell::AutoCorrect(), SvxSwAutoFormatFlags::bAutoCmpltAppendBlank, SvxSwAutoFormatFlags::bAutoCmpltEndless, SvxSwAutoFormatFlags::bAutoCompleteWords, BiggerMode, SwEditShell::CalcLayout(), SwEditShell::CanSpecialInsert(), CellBottom, CellLeft, CellRight, CellTop, tools::Rectangle::Center(), CH_TXT_ATR_FORMELEMENT, ChangeDrawing(), ChangeFly(), SwEditShell::ChangeIndentOfAllListLevels(), numfunc::ChangeIndentOnTabAtFirstPosOfFirstListItem(), Chars, SwWrtShell::ClickToINetAttr(), ColLeft, ColRight, QuickHelpData::CurLen(), SwCursorShell::CursorInsideContentControl(), SwCursorShell::CursorInsideInputField(), QuickHelpData::CurStr(), DbForm, SwDrawBase::Deactivate(), SwCursorShell::DeleteCurrent, SwEditShell::DelNumRules(), SfxRequest::Done(), SwEditShell::DoSpecialInsert(), DrawObject, DrawObjectEditMode, SwRootFrame::dumpAsXml(), SwDoc::dumpAsXml(), SwWrtShell::Edit(), End, END, SwWrtShell::EndPg(), SwWrtShell::EndSelect(), SwEditShell::EndUndo(), EnterDrawTextMode(), SwWrtShell::EnterSelFrameMode(), SwWrtShell::ExecMacro(), SfxBindings::Execute(), SfxDispatcher::Execute(), SwCursorShell::ExtendSelection(), FlushInBuffer(), FN_GOTO_NEXT_CELL, FN_GOTO_NEXT_INPUTFLD, FN_GOTO_PREV_CELL, FN_GOTO_PREV_INPUTFLD, FN_STAT_PAGE, fnSectionEnd, fnSectionStart, Frame, SvxAutoCorrCfg::Get(), tools::SvRef< typename T >::get(), SfxItemSet::Get(), SvxMacroTableDtor::Get(), SwPostItMgr::GetActiveSidebarWin(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorNode(), GetAppCharClass(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), SwViewShell::GetAttrPool(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), SwCursorShell::GetChar(), KeyEvent::GetCharCode(), SfxViewFrame::GetChildWindow(), SwEditShell::GetChunkForAutoText(), vcl::KeyCode::GetCode(), SwFormatContentControl::GetContentControl(), SwTextAttr::GetContentControl(), SwSelPaintRects::GetContentControlButton(), SwPosition::GetContentIndex(), SwEditShell::GetCurAttr(), SwCursorShell::GetCurrentFieldmark(), SwView::GetCurShell(), SwCursorShell::GetCursor(), SwCursorShell::GetCursor_(), SwEditShell::GetCurTextFormatColl(), SfxViewFrame::GetDispatcher(), SwDocShell::GetDoc(), SwView::GetDocShell(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), SwEditShell::GetFieldType(), SwFEShell::GetFlyFrameFormat(), SdrHdlList::GetFocusHdl(), SwFEShell::GetFrameType(), vcl::KeyCode::GetFullCode(), vcl::KeyCode::GetFunction(), SwView::GetGlosHdl(), GetGlossaryList(), SdrHdlList::GetHdl(), SdrMarkView::GetHdlList(), vcl::Window::GetInputLanguage(), SfxItemSet::GetItemState(), KeyEvent::GetKeyCode(), SwViewShell::GetLayout(), SdrObject::GetLogicRect(), SwFormat::GetMacro(), SvxMacroItem::GetMacroTable(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), vcl::KeyCode::GetModifier(), SwFormat::GetName(), SwPosition::GetNode(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SfxViewFrame::GetObjectShell(), SwEditShell::GetOutlineNumRule(), SwView::GetPostItMgr(), SwEditShell::GetPrevAutoCorrWord(), SfxObjectShell::GetProgress(), SfxBindings::GetRecorder(), KeyEvent::GetRepeat(), SwWrtShell::GetSelectionType(), SwGlossaryList::GetShortName(), SvxAutoCorrect::GetSwFlags(), SwCursorShell::GetTableCursor(), SwEditShell::GetTableFormat(), SwModuleOptions::GetTableHMove(), SwModuleOptions::GetTableVMove(), SwTextNode::GetTextAttrAt(), SwCursorShell::GetTextDirection(), SwNode::GetTextNode(), GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwDocShell::GetWrtShell(), SwView::GetWrtShell(), GoCurrSection(), SwCursorShell::GoNextCell(), SwCursorShell::GoPrevCell(), SwWrtShell::GotoContentControl(), SwCursorShell::GotoFormControl(), SwFEShell::GotoObj(), Graphic, QuickHelpData::HasContent(), SwViewShell::HasDrawView(), SwCursorShell::HasMark(), SwCursorShell::HasReadonlySel(), SwWrtShell::HasSelection(), HEADER, SwCursorShell::HideCursor(), SwWrtShell::InfoReadOnlyDialog(), SwWrtShell::Insert(), SwGlossaryHdl::InsertGlossary(), SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), comphelper::LibreOfficeKit::isActive(), Task::IsActive(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SvxAutoCorrect::IsAutoCorrectChar(), SvxAutoCorrect::IsAutoCorrFlag(), SvxAutoCorrCfg::IsAutoFormatByInput(), SvxAutoCorrCfg::IsAutoTextTip(), sw::mark::ICheckboxFieldmark::IsChecked(), SwEditShell::IsCursorInParagraphMetadataField(), SwCursorShell::IsCursorReadonly(), SwCursorShell::IsEndPara(), SwCursorShell::IsFormProtected(), SwFEShell::IsFrameSelected(), SwViewShell::IsHeaderFooterEdit(), SwCursorShell::IsInFrontOfLabel(), SwCursorShell::IsInRightToLeftText(), SwCursorShell::IsInVerticalText(), CharClass::isLetterNumeric(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), SwCursorShell::IsMultiSelection(), SwEditShell::IsNbspRunNext(), SwEditShell::IsNoNum(), SwFEShell::IsObjSelected(), SwNumRule::IsOutlineRule(), SfxObjectShell::IsReadOnly(), SwWrtShell::IsSelFrameMode(), vcl::KeyCode::IsShift(), SwWrtShell::IsSttOfPara(), SwCursorShell::IsSttPara(), SwEditShell::IsTableBoxTextFormat(), SwCursorShell::IsTableMode(), SwFEShell::IsTableVertical(), KEY_A, KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_ESCAPE, KEY_F12, KEY_F2, KEY_LEFT, KEY_MOD1, KEY_MOD2, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_SHIFT, KEY_TAB, KEY_UP, SdrView::KeyInput(), SfxViewShell::KeyInput(), SwWrtShell::LaunchOLEObj(), lcl_goIntoTextBox(), SwView::LeaveDrawCreate(), SwWrtShell::LeaveSelFrameMode(), SwWrtShell::Left(), m_aInBuffer, m_aKeyInputFlushTimer, QuickHelpData::m_bAppendSpace, m_bInsFrame, QuickHelpData::m_bIsAutoText, QuickHelpData::m_bIsDisplayed, m_bLockInput, m_eBufferLanguage, m_nKS_NUMDOWN_Count, m_nKS_NUMINDENTINC_Count, m_pApplyTempl, m_pShadCursor, m_rView, MAXLEVEL, QuickHelpData::Move(), MOVE_DOWN_BIG, MOVE_DOWN_HUGE, MOVE_DOWN_SMALL, MOVE_LEFT_BIG, MOVE_LEFT_HUGE, MOVE_LEFT_SMALL, MOVE_RIGHT_BIG, MOVE_RIGHT_HUGE, MOVE_RIGHT_SMALL, MOVE_UP_BIG, MOVE_UP_HUGE, MOVE_UP_SMALL, SwCursorShell::MoveFieldType(), SwCursorShell::MoveSection(), SvxSwAutoFormatFlags::nAutoCmpltExpandKey, QuickHelpData::Next(), NextObject, nId, nIndex, SwEditShell::NoNum(), numfunc::NumDownChangesIndent(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), Ole, SwEditShell::OutlineUpDown(), comphelper::string::padToLength(), sw::Parent, SwWrtShell::Pop(), Postit, QuickHelpData::Previous(), SwCursorShell::Push(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_INETFMT(), RICH_TEXT, SwWrtShell::Right(), RowBottom, s_pQuickHlpData, SwWrtShell::SelectNextPrevHyperlink(), SetApplyTemplate(), sw::mark::ICheckboxFieldmark::SetChecked(), SwFEShell::SetColRowWidthHeight(), SwGlossaryHdl::SetCurGroup(), SwView::SetDrawFuncPtr(), SdrHdlList::SetFocusHdl(), SwInputChild::SetFormula(), SwEditShell::SetModified(), ShowAutoCorrectQuickHelp(), ShowAutoText(), SwWrtShell::SplitNode(), SwPaM::Start(), Timer::Start(), START, QuickHelpData::Start(), SwEditShell::StartUndo(), Task::Stop(), QuickHelpData::Stop(), StopInsFrame(), SwWrtShell::SttPg(), SwWrtShell::SttSelect(), SW_ISPRINTABLE(), SW_MOD, SwCursorShell::SwapPam(), TableCell, SfxViewFrame::ToggleChildWindow(), SwFEShell::ToggleHeaderFooterEdit(), SwWrtShell::TryRemoveIndent(), u, SwWrtShell::UnSelectFrame(), SfxBindings::Update(), SwCursorShell::UpdateAttr(), and SwWordCountWrapper::UpdateCounts().

◆ LeaveArea()

void SwEditWin::LeaveArea ( const Point rPos)
private

Definition at line 718 of file edtwin.cxx.

References Task::IsActive(), JustifyAreaTimer(), m_aMovePos, m_aTimer, m_pShadCursor, and Timer::Start().

Referenced by MouseMove().

◆ LockKeyInput()

void SwEditWin::LockKeyInput ( bool  bSet)
inline

◆ LogicInvalidate()

void SwEditWin::LogicInvalidate ( const tools::Rectangle pRectangle)
overridevirtual
See also
Window::LogicInvalidate().

Reimplemented from vcl::Window.

Definition at line 6759 of file edtwin.cxx.

References m_rView, and SfxLokHelper::notifyInvalidation().

Referenced by SwXTextDocument::executeFromFieldEvent().

◆ LoseFocus()

void SwEditWin::LoseFocus ( )
overrideprivatevirtual

◆ MouseButtonDown()

void SwEditWin::MouseButtonDown ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from vcl::Window.

Definition at line 2889 of file edtwin.cxx.

References SwWrtShell::addCurrentPosition(), SwContentAtPos::aFnd, SwWrtShell::ApplyViewOptions(), Authority, bFootnote, SwWrtShell::CallSetCursor(), SwViewOption::CanHideWhitespace(), vcl::Window::CaptureMouse(), SwFEShell::Chain(), SwFEShell::Chainable(), Chars, IDocumentMarkAccess::ClearFieldActivation(), SwCursorShell::ClearGCAttr(), ClickField, COL_HORI, COL_NONE, COL_VERT, COLSEL_VERT, Content, CRSR_POSCHG, SvtSecurityOptions::CtrlClickHyperlink, SwCursorShell::CursorInsideInputField(), SwDrawBase::Deactivate(), DrawObject, Dropdown, SwWrtShell::Edit(), SwTextAttr::End(), SwWrtShell::EndSelect(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterBlockMode(), EnterDrawMode(), EnterDrawTextMode(), SwWrtShell::EnterSelFrameMode(), SwWrtShell::EnterStdMode(), SfxBindings::Execute(), ExtrudedCustomShape, Field, SwNode::FindFooterStartNode(), SwNode::FindHeaderStartNode(), SwFEShell::FinishOLEObj(), FN_EDIT_AUTH_ENTRY_DLG, FN_EDIT_FIELD, FN_EDIT_FOOTNOTE, FN_EDIT_IDX_ENTRY_DLG, FN_FORMAT_FRAME_DLG, FN_FORMAT_GRAFIC_DLG, FN_JAVAEDIT, FN_POSTIT, FN_UPDATE_INPUTFIELDS, FontWork, Footer, FormControl, Frame, Ftn, g_bFrameDrag, g_bHoldSelection, g_bModePushed, g_bNoInterrupt, g_bValidCursorPos, SwEditShell::GCAttr(), SfxViewFrame::GetBindings(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), SwCursorShell::GetContentAtPos(), SwPosition::GetContentIndex(), SwCursorShell::GetCurField(), SwEditShell::GetCurFootnote(), SwCursorShell::GetCurrentShellCursor(), SwView::GetCurShell(), GetDispatcher(), SwView::GetDocShell(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), SwFormatField::GetField(), SwFEShell::GetFlyFrameFormat(), SwFormat::GetFooter(), SwTextAttr::GetFormatField(), SwFormat::GetHeader(), SwViewShell::getIDocumentMarkAccess(), SfxViewShell::GetIPClient(), SdrHdl::GetKind(), SwViewShell::GetLayout(), SwPageDesc::GetLeftFormat(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), MouseEvent::GetMode(), MouseEvent::GetModifier(), SwPosition::GetNode(), SwViewShell::GetNodes(), SwFEShell::GetNumRuleNodeAtPos(), vcl::Window::GetOutDev(), SwNodes::GetOutLineNds(), SwRootFrame::GetPageAtPos(), SwPageFrame::GetPageDesc(), SwPaM::GetPoint(), vcl::Window::GetPointer(), MouseEvent::GetPosPixel(), SwView::GetPostItMgr(), SwPageDesc::GetRightFormat(), SwWrtShell::GetSelectionType(), SwFEShell::GetSelFrameType(), SwViewShell::GetSfxViewShell(), SwTextAttr::GetStart(), SwTextAttr::GetTOXMark(), SwTOXMark::GetTOXType(), SwTOXType::GetType(), SwField::GetTypeId(), GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), vcl::Window::GrabFocus(), Graphic, SwWrtShell::HasSelection(), Header, SwCursorShell::HideCursor(), InetAttr, Input, vcl::Window::Invalidate(), SfxBindings::InvalidateAll(), SwView::InvalidateRulerPos(), comphelper::LibreOfficeKit::isActive(), SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwWrtShell::IsAddMode(), SwRootFrame::IsBetweenPages(), SwWrtShell::IsBlockMode(), IsChainMode(), SwFEShell::IsDrawCreate(), IsDrawObjSelectable(), SwWrtShell::IsExtMode(), SwFEShell::IsFrameSelected(), SwCursorShell::IsGCAttr(), SwViewShell::IsHeaderFooterEdit(), Application::IsHeadlessModeEnabled(), SwViewOption::IsHideWhitespaceMode(), SwPostItMgr::IsHit(), SwPostItMgr::IsHitSidebarWindow(), IsInHeaderFooter(), vcl::IsInPopupMenuExecute(), SwContentAtPos::IsInProtectSect(), SwWrtShell::IsInSelect(), SwFEShell::IsInsideSelectedObj(), MouseEvent::IsMod1(), SwFEShell::IsNumLabel(), SfxInPlaceClient::IsObjectInPlaceActive(), SwFEShell::IsObjSelectable(), SwFEShell::IsObjSelected(), SvtSecurityOptions::IsOptionSet(), IsOverHeaderFooterFly(), SfxObjectShell::IsReadOnly(), SwCursorShell::IsReadOnlyAvailable(), SwWrtShell::IsSelFrameMode(), SwFEShell::IsSelObjProtected(), MouseEvent::IsShift(), SwViewShell::IsShowHeaderFooterSeparator(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwCursorShell::IsTableMode(), SwViewOption::IsTreatSubOutlineLevelsAsContent(), SwFEShell::IsURLGrfAtPos(), SwViewOption::IsUseHeaderFooterMenu(), SwFEShell::IsVerticalModeAtNdAndPos(), SwViewShell::IsViewLocked(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, SwWrtShell::LaunchOLEObj(), lcl_urlOverBackground(), SwWrtShell::LeaveAddMode(), SwView::LeaveDrawCreate(), SwWrtShell::LeaveSelFrameMode(), SwWrtShell::Left(), SwViewShell::LockView(), m_aActHitType, m_aRszMvHdlPt, m_aStartPos, QuickHelpData::m_bAppendSpace, m_bInsDraw, m_bInsFrame, QuickHelpData::m_bIsDisplayed, m_bIsInMove, m_bIsRowDrag, m_bMBPressed, m_bWasShdwCursor, m_nKS_NUMDOWN_Count, m_pAnchorMarker, m_pApplyTempl, m_pShadCursor, m_rView, m_xRowColumnSelectionStart, SwFEShell::MakeSelVisible(), SdrViewEvent::meEvent, MOUSE_LEFT, MOUSE_RIGHT, SdrView::MouseButtonDown(), MoveCursor(), NONE, SwView::NoRotate(), nPos, ODF_FORMDATE, ODF_FORMDROPDOWN, OK, Ole, SwFrame::OnRightPage(), Outline, Parent, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SdrView::PickAnything(), SdrMarkView::PickHandle(), vcl::Window::PixelToLogic(), SwContentAtPos::pNode, Postit, SwWrtShell::PushMode(), RES_TXTATR_INPUTFIELD(), SwWrtShell::ResetCursorStack(), ResetMouseButtonDownFlags(), ROW_HORI, ROWSEL_HORI, ROWSEL_HORI_RTL, RulerColumnDrag(), RulerMarginDrag(), s_nDDStartPosX, s_nDDStartPosY, s_pQuickHlpData, Script, SwOutlineNodes::Seek_Entry(), SEL_HORI, SEL_HORI_RTL, SwFEShell::SelectObj(), SwView::SelectShellForDrop(), SwWrtShell::SelectTableRowCol(), SwCursorShell::SelectTextModel(), SwFEShell::SelFlyGrabCursor(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwCursorShell::SelTableBox(), SwWrtShell::SelWrd(), SwPostItMgr::SetActiveSidebarWin(), SetChainMode(), SwView::SetDrawFuncPtr(), SwViewOption::SetHideWhitespaceMode(), SetInput, SwView::SetNumRuleNodeFromDoc(), SdrHdl::SetSelected(), SwWrtShell::SetShowHeaderFooterSeparator(), SfxBindings::SetState(), SwView::SetTabColFromDoc(), SwView::SetTabColFromDocPos(), SwView::SetTabRowFromDoc(), Point::setX(), Point::setY(), SwFEShell::ShouldObjectBeSelected(), SwCursorShell::ShowCursor(), SwContentAtPos::sStr, StartDDTimer(), QuickHelpData::Stop(), StopInsFrame(), SwWrtShell::SttSelect(), SW_ADD_SELECT, SW_ENTER_GROUP, SwCursorShell::TestCurrPam(), SwFEShell::ToggleHeaderFooterEdit(), ToggleOutlineContentVisibility(), TOX_INDEX, ToxMark, SwWrtShell::UnSelectFrame(), SfxBindings::Update(), UpdatePointer(), SwTextAttr::Which(), SwFEShell::WhichMouseTabCol(), Point::X(), and Point::Y().

Referenced by SetGraphicTwipPosition().

◆ MouseButtonUp()

void SwEditWin::MouseButtonUp ( const MouseEvent rMEvt)
overrideprivatevirtual

Button Up.

Reimplemented from vcl::Window.

Definition at line 4577 of file edtwin.cxx.

References SwContentAtPos::aFnd, SfxRequest::AppendItem(), ApplyCharBackground(), SwDrawBase::BreakCreate(), SwFEShell::BreakDrag(), SwWrtShell::CallSetCursor(), vcl::Window::CaptureMouse(), tools::Rectangle::Center(), SwFEShell::ChgCurPageDesc(), SwWrtShell::ClickToField(), SwWrtShell::ClickToINetAttr(), SwWrtShell::ClickToINetGrf(), SwRect::Contains(), ContentControl, SwFEShell::Copy(), CRSR_POSCHG, SvtSecurityOptions::CtrlClickHyperlink, SwDrawBase::Deactivate(), SfxRequest::Done(), SwContentAtPos::eContentAtPos, SwWrtShell::Edit(), eMode, EMPTY, SwWrtShell::EndDrag(), SwEditShell::EndUndo(), SwWrtShell::EnterAddMode(), EnterArea(), EnterDrawTextMode(), SwWrtShell::EnterSelFrameMode(), SwWrtShell::EnterStdMode(), SwWrtShell::ExecMacro(), SwView::ExecSmartTagPopup(), Field, SwFEShell::FindAnchorPos(), SwFrameFormat::FindSdrObject(), FLY_ATCNT, FormControl, Ftn, g_bDDTimerStarted, g_bFrameDrag, g_bHoldSelection, g_bModePushed, g_bNoInterrupt, g_bValidCursorPos, g_eSdrMoveHdl, SwSmartTagMgr::Get(), tools::SvRef< typename T >::get(), SvxMacroTableDtor::Get(), SdrMarkView::GetAllMarkedRect(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorNode(), SfxViewFrame::GetBindings(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), SwCursorShell::GetContentAtPos(), SwFormatContentControl::GetContentControl(), SwTextAttr::GetContentControl(), SwView::GetCurShell(), SwViewShell::GetDoc(), SwView::GetDocShell(), SdrMarkView::GetDragMode(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), SwFEShell::GetFlyFrameFormat(), SwContact::GetFormat(), SwFEShell::GetFormatFromObj(), SdrPaintView::getHitTolLog(), SwDoc::GetIDocumentUndoRedo(), SwEditShell::GetLastUndoInfo(), SwFormat::GetMacro(), SvxMacroItem::GetMacroTable(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), MouseEvent::GetModifier(), SwFormat::GetName(), SwTextBoxHelper::getOtherTextBoxFormat(), vcl::Window::GetOutDev(), MouseEvent::GetPosPixel(), SwView::GetPostItMgr(), SfxBindings::GetRecorder(), SwWrtShell::GetSelectionType(), SwFEShell::GetSelFrameType(), SwViewOption::GetShdwCursorFillMode(), SwDocShell::GetStyleSheetPool(), SvxURLField::GetTargetFrame(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), SvxURLField::GetURL(), GetUserCall(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetVisArea(), SwView::GetWrtShell(), SwWrtShell::GotoContentControl(), SwFormatClipboard::HasContent(), SwCursorShell::HasReadonlySel(), SwWrtShell::HasSelection(), InetAttr, INS_FROM_SHADOWCRSR, SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), SwViewShell::InvalidateWindows(), comphelper::LibreOfficeKit::isActive(), SwWrtShell::IsAddMode(), sw::mark::ICheckboxFieldmark::IsChecked(), SwFEShell::IsDrawCreate(), SwView::IsDrawMode(), tools::Rectangle::IsEmpty(), SwFEShell::IsFrameSelected(), SwPostItMgr::IsHitSidebarWindow(), SwContentAtPos::IsInProtectSect(), SwWrtShell::IsInSelect(), MouseEvent::IsMod1(), vcl::Window::IsMouseCaptured(), SwFEShell::IsObjSelected(), SvtSecurityOptions::IsOptionSet(), SfxObjectShell::IsReadOnly(), SwCursorShell::IsReadOnlyAvailable(), SwCursorShell::IsSelection(), SwWrtShell::IsSelFrameMode(), SwViewOption::IsShadowCursor(), MouseEvent::IsShift(), SwViewShell::IsViewLocked(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, lcl_GetTextShellFromDispatcher(), SwWrtShell::LeaveAddMode(), LoadURL(), SwViewShell::LockView(), m_aRszMvHdlPt, m_aStartPos, m_aTemplateTimer, m_aWaterCanTextBackColor, m_aWaterCanTextColor, m_bInsDraw, m_bInsFrame, m_bMBPressed, m_bWasShdwCursor, m_pAnchorMarker, m_pApplyTempl, m_pShadCursor, m_pUserMarker, m_rView, m_xRowColumnSelectionStart, SdrMarkView::MarkObj(), SdrViewEvent::meEvent, min(), MOUSE_LEFT, MOUSE_RIGHT, SwDrawBase::MouseButtonUp(), SdrView::MouseButtonUp(), SdrViewEvent::mpURLField, NewView, nId, NONE, nPos, ODF_FORMCHECKBOX, sw::Parent, SwFormatClipboard::Paste(), SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SdrView::PickAnything(), SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), SwWrtShell::PopMode(), vcl::Window::ReleaseMouse(), RES_CHRATR_BACKGROUND(), RES_CHRATR_COLOR(), RES_FLYFRMFMT(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_INPUTFIELD(), SetApplyTemplate(), SwEditShell::SetAttrItem(), sw::mark::ICheckboxFieldmark::SetChecked(), SwEditShell::SetCurNumRule(), SwView::SetDrawFuncPtr(), SwFEShell::SetFrameFormat(), SwView::SetNumRuleNodeFromDoc(), SdrSnapView::SetOrtho(), SwCursorShell::SetShadowCursorPos(), SwView::SetTabColFromDoc(), SwEditShell::SetTextFormatColl(), SwCursorShell::SetVisibleCursor(), SmartTag, Timer::Start(), SwEditShell::StartUndo(), StdDrawMode(), Task::Stop(), StopDDTimer(), StopInsFrame(), Table, SdrCreateView::TakeActionRect(), SwCursorShell::TestCurrPam(), Text, tools::Rectangle::TopLeft(), UI_DRAG_AND_COPY, SwEditShell::Undo(), SdrMarkView::UnmarkAllObj(), SwCursorShell::UnSetVisibleCursor(), SwViewShell::VisArea(), SwTextAttr::Which(), X, Point::X(), Y, and Point::Y().

Referenced by SetGraphicTwipPosition().

◆ MouseMove()

void SwEditWin::MouseMove ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from vcl::Window.

Definition at line 4024 of file edtwin.cxx.

References SwViewShell::ActionPend(), SwContentAtPos::aFnd, SdrMarkView::AreObjectsMarked(), SwWrtShell::CallEvent(), SwWrtShell::CallSetCursor(), vcl::Window::CaptureMouse(), changeMousePointer(), SwCallMouseEvent::Clear(), tools::Rectangle::Contains(), SwRect::Contains(), CRSR_POSCHG, SwWrtShell::Drag(), eMode, EnterArea(), EVENT_OBJECT_URLITEM, SwWrtShell::ExecMacro(), Field, SwFEShell::FindAnchorPos(), g_bDDINetAttr, g_bDDTimerStarted, g_bFrameDrag, g_bValidCursorPos, g_eSdrMoveHdl, tools::SvRef< typename T >::get(), SvxMacroTableDtor::Get(), SwWrtShell::GetAttrOutlineContentVisible(), SfxViewFrame::GetBindings(), SwViewOption::getBrowseMode(), MouseEvent::GetButtons(), SfxViewFrame::GetChildWindow(), MouseEvent::GetClicks(), OutputDevice::GetConnectMetaFile(), SwCursorShell::GetContentAtPos(), GetDfltMetric(), SwViewShell::GetDoc(), SwView::GetDocShell(), SdrMarkView::GetDragMode(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), SwFEShell::GetFlyFrameFormat(), SwFEShell::GetFormatFromAnyObj(), GetFrameControlsManager(), SwFrameFormat::GetIMapObject(), SdrHdl::GetKind(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFormat::GetMacro(), SvxMacroItem::GetMacroTable(), MouseEvent::GetMode(), MouseEvent::GetModifier(), SwFormat::GetName(), SwDoc::GetNodes(), SwViewShell::GetOut(), vcl::Window::GetOutDev(), SwNodes::GetOutLineNds(), MouseEvent::GetPosPixel(), SwView::GetPostItMgr(), SwFEShell::GetRelativePagePosition(), SwWrtShell::GetSelectionType(), SwCursorShell::GetShadowCursorPos(), SwViewOption::GetShdwCursorFillMode(), SwNode::GetTextNode(), SwTextFrame::GetTextNodeFirst(), GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), Graphic, SwCallMouseEvent::HasEvent(), SwWrtShell::HasSelection(), SwRect::Height(), InetAttr, SfxBindings::Invalidate(), SwWrtShell::Is_FnDragEQBeginDrag(), comphelper::LibreOfficeKit::isActive(), SwWrtShell::IsAddMode(), SwWrtShell::IsBlockMode(), IsChainMode(), SdrHdl::IsCornerHdl(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFEShell::IsFrameSelected(), SwPostItMgr::IsHitSidebarWindow(), SwWrtShell::IsInSelect(), IsMinMove(), SwFEShell::IsObjSelected(), SfxObjectShell::IsReadOnly(), SwWrtShell::IsSelFrameMode(), SwViewOption::IsShadowCursor(), MouseEvent::IsShift(), SwViewOption::IsShowOutlineContentVisibilityButton(), MouseEvent::IsSynthetic(), SwNode::IsTextNode(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, LeaveArea(), vcl::Window::LogicToPixel(), m_aRszMvHdlPt, m_aSaveCallEvent, m_aStartPos, m_bInsDraw, m_bInsFrame, m_bIsInMove, m_bIsRowDrag, m_bMBPressed, m_bWasShdwCursor, m_eOrient, m_pAnchorMarker, m_pApplyTempl, m_pSavedOutlineFrame, m_pShadCursor, m_rView, m_xRowColumnSelectionStart, Media, MOUSE_LEFT, SwDrawBase::MouseMove(), SdrView::MouseMove(), nPos, Ole, Outline, SwContentAtPos::pAttr, SwContentAtPos::pField, SdrMarkView::PickHandle(), vcl::Window::PixelToLogic(), SwContentAtPos::pNode, SwRect::Pos(), Postit, vcl::Window::ReleaseMouse(), SwFrameControlsManager::RemoveControlsByType(), s_nDDStartPosX, s_nDDStartPosY, SwOutlineNodes::Seek_Entry(), SwWrtShell::SelectTableRowCol(), SwCallMouseEvent::Set(), SdrSnapView::SetAngleSnapEnabled(), SdrSnapView::SetOrtho(), SwFrameControlsManager::SetOutlineContentVisibilityButton(), vcl::DocWindow::SetPointer(), SwPostItMgr::SetShadowState(), SfxBindings::SetState(), StopDDTimer(), SW_MOD, SwCursorShell::TestCurrPam(), SwWordCountWrapper::UpdateCounts(), UpdatePointer(), SwViewShell::VisArea(), SwField::Which(), Point::X(), and Point::Y().

Referenced by SetGraphicTwipPosition().

◆ MoveCursor()

void SwEditWin::MoveCursor ( SwWrtShell rSh,
const Point rDocPos,
const bool  bOnlyText,
bool  bLockView 
)
private

◆ Paint()

void SwEditWin::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprivatevirtual

◆ PrePaint()

void SwEditWin::PrePaint ( vcl::RenderContext rRenderContext)
overrideprivatevirtual

Reimplemented from vcl::Window.

Definition at line 652 of file edtwin2.cxx.

References GetView().

◆ RequestHelp()

void SwEditWin::RequestHelp ( const HelpEvent rEvt)
overrideprivatevirtual

Reimplemented from vcl::Window.

Definition at line 312 of file edtwin2.cxx.

References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SwContentAtPos::aFnd, tools::Rectangle::BottomRight(), ClipLongToolTip(), cMarkSeparator, IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK, CurrAttrs, Database, DocStat, Dropdown, SwContentAtPos::eContentAtPos, SwField::ExpandField(), Field, IDocumentMarkAccess::findBookmark(), Ftn, SwAuthorityField::GetAuthority(), IDocumentMarkAccess::getBookmarksEnd(), SwCursorShell::GetContentAtPos(), SwDocShell::GetDoc(), SwView::GetDocShell(), SwViewShell::GetDrawView(), GetExp, SwGetRefField::GetExpandedTextOfReferencedTextNode(), sw::GetExpandTextMerged(), SwField::GetFieldName(), SwFormatFootnote::GetFootnoteText(), SwViewShell::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwViewShell::GetLayout(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), vcl::KeyCode::GetName(), SdrPageView::GetPage(), SwField::GetPar1(), SwField::GetPar2(), IDocumentRedlineAccess::GetRedlineFlags(), GetRef, SdrPaintView::GetSdrPageView(), SwGetRefField::GetSetRefName(), SwField::GetSubType(), SwNode::GetTextNode(), SwField::GetTitle(), IDocumentMarkAccess::GetType(), SwTOXType::GetTypeName(), SfxHelp::GetURLHelpText(), SwTableBoxValue::GetValue(), GetValue, SwViewShell::GetViewOptions(), SwView::GetWrtShell(), HiddenText, i, InetAttr, Input, SwFormatFootnote::IsEndNote(), SwModuleOptions::IsHideFieldTips(), SwContentAtPos::IsInRTLText(), SfxObjectShell::IsReadOnly(), SwGetRefField::IsRefToHeadingCrossRefBookmark(), SwGetRefField::IsRefToNumItemCrossRefBookmark(), IDocumentRedlineAccess::IsShowChanges(), SwViewOption::IsShowContentTips(), SwViewOption::IsShowInlineTooltips(), JumpEdit, KEY_MOD1, KEY_SPACE, lcl_GetRedlineHelp(), vcl::Window::LogicToPixel(), m_rView, Macro, NONE, vcl::Window::OutputToScreenPixel(), SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFndTextAttr, vcl::Window::PixelToLogic(), Postit, SwContentAtPos::pRedl, Redline, RefMark, URIHelper::removePassword(), SwDPage::RequestHelp(), vcl::Window::ScreenToOutputPixel(), tools::Rectangle::SetBottom(), SetExp, tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Help::ShowBalloon(), Help::ShowQuickHelp(), SmartTag, SwContentAtPos::sStr, sSuffix, nsSwExtendedSubType::SUB_CMD, SwRect::SVRect(), SW_MOD, SwResId(), t, Table, TableBoxFml, TableBoxValue, TableColRedline, TableOfAuthorities, TableRedline, tools::Rectangle::TopLeft(), ToxMark, u, INetURLObject::Unambiguous, tools::Rectangle::Union(), User, INetURLObject::WasEncoded, SwField::Which(), Point::X(), and Point::Y().

◆ ResetMouseButtonDownFlags()

void SwEditWin::ResetMouseButtonDownFlags ( )
private

MouseEvents.

Definition at line 2834 of file edtwin.cxx.

References EnterArea(), g_bNoInterrupt, m_bMBPressed, and vcl::Window::ReleaseMouse().

Referenced by MouseButtonDown().

◆ RulerColumnDrag()

bool SwEditWin::RulerColumnDrag ( const MouseEvent rMEvt,
bool  bVerticalMode 
)
private

Definition at line 85 of file edtwin3.cxx.

References SwView::GetHRuler(), SwView::GetVRuler(), and m_rView.

Referenced by MouseButtonDown().

◆ RulerMarginDrag()

bool SwEditWin::RulerMarginDrag ( const MouseEvent rMEvt,
const bool  bVerticalMode 
)

Definition at line 96 of file edtwin3.cxx.

References SwView::GetHRuler(), SwView::GetVRuler(), and m_rView.

Referenced by MouseButtonDown().

◆ SelectMenuPosition()

void SwEditWin::SelectMenuPosition ( SwWrtShell rSh,
const Point rMousePos 
)
private

Definition at line 5954 of file edtwin.cxx.

References ESelection::Adjust(), SwWrtShell::CallSetCursor(), SwCursorShell::ClearGCAttr(), CRSR_POSCHG, SwDrawBase::Deactivate(), DrawObjectEditMode, SwWrtShell::Edit(), EnterDrawMode(), SwWrtShell::EnterSelFrameMode(), EditEngine::FindDocPosition(), g_bFrameDrag, g_bValidCursorPos, SwEditShell::GCAttr(), SfxViewFrame::GetBindings(), GetDispatcher(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), vcl::Window::GetOutDev(), OutlinerView::GetOutputArea(), OutlinerView::GetSelection(), SwWrtShell::GetSelectionType(), SwFEShell::GetSelFrameType(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwFEShell::GotoNextFly(), Graphic, SwCursorShell::HideCursor(), SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), SwFEShell::IsFrameSelected(), SwCursorShell::IsGCAttr(), SwFEShell::IsInsideSelectedObj(), SwWrtShell::IsSelFrameMode(), SwFEShell::IsURLGrfAtPos(), SwViewShell::IsViewLocked(), ESelection::IsZero(), SwView::LeaveDrawCreate(), SwWrtShell::LeaveSelFrameMode(), SwViewShell::LockView(), m_aActHitType, m_bInsFrame, m_rView, SwFEShell::MakeSelVisible(), SdrView::MouseButtonDown(), SdrView::MouseButtonUp(), EPosition::nIndex, NONE, SwView::NoRotate(), EPosition::nPara, Ole, vcl::Window::PixelToLogic(), SwWrtShell::ResetCursorStack(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwView::SetDrawFuncPtr(), Point::setX(), Point::setY(), SwFEShell::ShouldObjectBeSelected(), SwCursorShell::ShowCursor(), StopInsFrame(), SwCursorShell::TestCurrPam(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), SwWrtShell::UnSelectFrame(), UpdatePointer(), Point::X(), and Point::Y().

Referenced by Command().

◆ SetApplyTemplate()

void SwEditWin::SetApplyTemplate ( const SwApplyTemplate rTempl)

◆ SetBezierMode()

void SwEditWin::SetBezierMode ( sal_uInt16  eBezMode)
inline

Definition at line 222 of file edtwin.hxx.

Referenced by SwBezierShell::Execute(), and SwDrawBaseShell::SwDrawBaseShell().

◆ SetChainMode()

void SwEditWin::SetChainMode ( bool  bOn)

◆ SetCursorTwipPosition()

void SwEditWin::SetCursorTwipPosition ( const Point rPosition,
bool  bPoint,
bool  bClearMark 
)

◆ SetDrawAction()

void SwEditWin::SetDrawAction ( bool  bFlag)
inline

Definition at line 211 of file edtwin.hxx.

◆ SetGraphicTwipPosition()

void SwEditWin::SetGraphicTwipPosition ( bool  bStart,
const Point rPosition 
)

Allows starting or ending a graphic move or resize action.

Definition at line 6814 of file edtwin.cxx.

References Point::getX(), Point::getY(), MIN_MOVE, MOUSE_LEFT, MouseButtonDown(), MouseButtonUp(), and MouseMove().

Referenced by SwXTextDocument::setGraphicSelection().

◆ SetObjectSelect()

void SwEditWin::SetObjectSelect ( bool  bVal)
inline

Definition at line 213 of file edtwin.hxx.

◆ SetSavedOutlineFrame()

void SwEditWin::SetSavedOutlineFrame ( SwTextFrame pFrame)
inline

Definition at line 291 of file edtwin.hxx.

◆ SetSdrDrawMode()

void SwEditWin::SetSdrDrawMode ( SdrObjKind  eSdrObjectKind)
inline

Definition at line 217 of file edtwin.hxx.

Referenced by StdDrawMode().

◆ SetUseInputLanguage()

void SwEditWin::SetUseInputLanguage ( bool  bNew)

#i42732# display status of font size/name depending on either the input language or the selection position depending on what has changed lately

Definition at line 6624 of file edtwin.cxx.

References SfxViewFrame::GetBindings(), GetView(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), and m_bUseInputLanguage.

Referenced by Command(), SwTextShell::ExecBasicMove(), SwBaseShell::ExecDelete(), SwTextShell::ExecMove(), SwView::Execute(), and MoveCursor().

◆ SetWaterCanTextBackColor()

void SwEditWin::SetWaterCanTextBackColor ( const Color rCol)
inline

Definition at line 242 of file edtwin.hxx.

Referenced by SwTextShell::Execute().

◆ SetWaterCanTextColor()

void SwEditWin::SetWaterCanTextColor ( const Color rCol)
inline

Definition at line 240 of file edtwin.hxx.

Referenced by SwTextShell::Execute().

◆ ShowAutoCorrectQuickHelp()

void SwEditWin::ShowAutoCorrectQuickHelp ( const OUString &  rWord,
SvxAutoCorrect rACorr 
)
private

◆ ShowAutoText()

bool SwEditWin::ShowAutoText ( const std::vector< OUString > &  rChunkCandidates)
private

◆ StartDDTimer()

void SwEditWin::StartDDTimer ( )
private

◆ StartDrag()

void SwEditWin::StartDrag ( sal_Int8  nAction,
const Point rPosPixel 
)
overrideprivatevirtual

◆ StartExecuteDrag()

void SwEditWin::StartExecuteDrag ( )

Definition at line 149 of file edtdd.cxx.

References g_bExecuteDrag, SwView::GetWrtShell(), m_aMovePos, m_bIsInDrag, and m_rView.

Referenced by StartDrag().

◆ StdDrawMode()

void SwEditWin::StdDrawMode ( SdrObjKind  eSdrObjectKind,
bool  bObjSelect 
)

◆ StopDDTimer()

void SwEditWin::StopDDTimer ( SwWrtShell pSh,
const Point rPt 
)
private

◆ StopInsFrame()

void SwEditWin::StopInsFrame ( )

◆ StopQuickHelp()

void SwEditWin::StopQuickHelp ( )

◆ ToggleOutlineContentVisibility()

void SwEditWin::ToggleOutlineContentVisibility ( const size_t  nOutlinePos,
const bool  bSubs 
)

◆ UpdatePointer()

void SwEditWin::UpdatePointer ( const Point rLPt,
sal_uInt16  nButtons = 0 
)

Definition at line 344 of file edtwin.cxx.

References SwContentAtPos::aFnd, SdrObjMacroHitRec::aPos, SwViewOption::CanHideWhitespace(), SwFEShell::Chainable(), ClickField, Content, SvtSecurityOptions::CtrlClickHyperlink, SwCursorShell::CursorInsideInputField(), SwContentAtPos::eContentAtPos, Field, Frame, Ftn, SwCursorShell::GetContentAtPos(), SwCursorShell::GetCurField(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwView::GetDrawFuncPtr(), SwViewShell::GetDrawView(), SwFormatField::GetField(), SwFEShell::GetFlyFrameFormat(), SwTextAttr::GetFormatField(), SwFEShell::GetFormatFromObj(), IDocumentDrawModelAccess::GetHellId(), SdrPaintView::getHitTolLog(), SwDoc::getIDocumentDrawModelAccess(), SwViewShell::getIDocumentOutlineNodesAccess(), SdrObject::GetLayer(), SwViewShell::GetLayout(), SdrObject::GetMacroPointer(), SwDoc::GetNodes(), SwFEShell::GetObjAt(), SwViewShell::GetOut(), IDocumentOutlineNodes::getOutlineLevel(), SwNodes::GetOutLineNds(), IDocumentOutlineNodes::getOutlineNodesCount(), SdrView::GetPreferredPointer(), SwNode::GetTextNode(), GetView(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), HIT_PIX, InetAttr, SwRootFrame::IsBetweenPages(), IsChainMode(), SwCursorShell::IsCursorReadonly(), SwFEShell::IsFrameSelected(), SwViewOption::IsHideWhitespaceMode(), SwDrawBase::IsInsertForm(), SwFEShell::IsInsideSelectedObj(), SwCursorShell::IsInVerticalText(), IsObjectSelect(), SwFEShell::IsObjSelectable(), SwFEShell::IsObjSelected(), SvtSecurityOptions::IsOptionSet(), SwCursorShell::IsOverReadOnlyPos(), SwCursorShell::IsPageAtPos(), SfxObjectShell::IsReadOnly(), SwFEShell::IsSelObjProtected(), SdrObjEditView::IsTextEdit(), SwNode::IsTextNode(), SwViewOption::IsTreatSubOutlineLevelsAsContent(), KEY_MOD1, m_aActHitType, m_bInsDraw, m_eOrient, m_pAnchorMarker, m_pApplyTempl, m_pShadCursor, m_pUserMarker, m_rView, NONE, nPos, OK, Outline, SwContentAtPos::pFndTextAttr, SdrView::PickAnything(), SdrMarkView::PickHandle(), SdrMarkView::PickObj(), SwContentAtPos::pNode, Pos, SdrObjMacroHitRec::pPageView, RES_TXTATR_INPUTFIELD(), SwOutlineNodes::Seek_Entry(), SdrPaintView::SetHitTolerancePixel(), vcl::DocWindow::SetPointer(), vcl::Window::SetQuickHelpText(), Size, SmartTag, SwRect::SVRect(), SwResId(), SwViewShell::VisArea(), SwTextAttr::Which(), and SwRect::Width().

Referenced by MouseButtonDown(), MouseMove(), SelectMenuPosition(), SwView::SelectShell(), and SwWebView::SelectShell().

Member Data Documentation

◆ m_aActHitType

SdrHitKind SwEditWin::m_aActHitType
private

Definition at line 101 of file edtwin.hxx.

Referenced by MouseButtonDown(), SelectMenuPosition(), and UpdatePointer().

◆ m_aInBuffer

OUString SwEditWin::m_aInBuffer
private

Definition at line 80 of file edtwin.hxx.

Referenced by FlushInBuffer(), and KeyInput().

◆ m_aKeyInputFlushTimer

Timer SwEditWin::m_aKeyInputFlushTimer
private

Definition at line 78 of file edtwin.hxx.

Referenced by FlushInBuffer(), KeyInput(), and SwEditWin().

◆ m_aMovePos

Point SwEditWin::m_aMovePos
private

Definition at line 83 of file edtwin.hxx.

Referenced by JustifyAreaTimer(), LeaveArea(), StartDrag(), and StartExecuteDrag().

◆ m_aRszMvHdlPt

Point SwEditWin::m_aRszMvHdlPt
private

Definition at line 84 of file edtwin.hxx.

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

◆ m_aSaveCallEvent

SwCallMouseEvent SwEditWin::m_aSaveCallEvent
private

Definition at line 88 of file edtwin.hxx.

Referenced by MouseMove().

◆ m_aStartPos

Point SwEditWin::m_aStartPos
private

Definition at line 82 of file edtwin.hxx.

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

◆ m_aTemplateTimer

Timer SwEditWin::m_aTemplateTimer
private

Definition at line 85 of file edtwin.hxx.

Referenced by MouseButtonUp(), and SwEditWin().

◆ m_aTimer

AutoTimer SwEditWin::m_aTimer
private

◆ m_aWaterCanTextBackColor

Color SwEditWin::m_aWaterCanTextBackColor
private

Definition at line 68 of file edtwin.hxx.

Referenced by MouseButtonUp().

◆ m_aWaterCanTextColor

Color SwEditWin::m_aWaterCanTextColor
private

Definition at line 67 of file edtwin.hxx.

Referenced by MouseButtonUp().

◆ m_bChainMode

bool SwEditWin::m_bChainMode
private

Definition at line 117 of file edtwin.hxx.

Referenced by SetChainMode(), and SwEditWin().

◆ m_bInsDraw

bool SwEditWin::m_bInsDraw
private

Definition at line 111 of file edtwin.hxx.

Referenced by MouseButtonDown(), MouseButtonUp(), MouseMove(), SwEditWin(), and UpdatePointer().

◆ m_bInsFrame

bool SwEditWin::m_bInsFrame
private

◆ m_bIsInDrag

bool SwEditWin::m_bIsInDrag
private

Definition at line 114 of file edtwin.hxx.

Referenced by DragFinished(), StartDrag(), StartExecuteDrag(), and SwEditWin().

◆ m_bIsInMove

bool SwEditWin::m_bIsInMove
private

Definition at line 113 of file edtwin.hxx.

Referenced by MouseButtonDown(), and MouseMove().

◆ m_bIsRowDrag

bool SwEditWin::m_bIsRowDrag
private

Definition at line 120 of file edtwin.hxx.

Referenced by MouseButtonDown(), and MouseMove().

◆ m_bLockInput

bool SwEditWin::m_bLockInput
private

Definition at line 119 of file edtwin.hxx.

Referenced by KeyInput().

◆ m_bMBPressed

bool SwEditWin::m_bMBPressed
private

◆ m_bObjectSelect

bool SwEditWin::m_bObjectSelect
private

Definition at line 125 of file edtwin.hxx.

◆ m_bOldIdle

bool SwEditWin::m_bOldIdle
private

Definition at line 115 of file edtwin.hxx.

Referenced by AcceptDrop(), DropCleanup(), and SwEditWin().

◆ m_bOldIdleSet

bool SwEditWin::m_bOldIdleSet
private

Definition at line 116 of file edtwin.hxx.

Referenced by AcceptDrop(), DropCleanup(), and SwEditWin().

◆ m_bUseInputLanguage

bool SwEditWin::m_bUseInputLanguage
private

#i42732# display status of font size/name depending on either the input language or the selection position depending on what has changed lately

Definition at line 124 of file edtwin.hxx.

Referenced by SetUseInputLanguage(), and SwEditWin().

◆ m_bWasShdwCursor

bool SwEditWin::m_bWasShdwCursor
private

Definition at line 118 of file edtwin.hxx.

Referenced by MouseButtonDown(), MouseButtonUp(), MouseMove(), and SwEditWin().

◆ m_eBezierMode

sal_uInt16 SwEditWin::m_eBezierMode
private

Definition at line 107 of file edtwin.hxx.

◆ m_eBufferLanguage

LanguageType SwEditWin::m_eBufferLanguage
private

Definition at line 81 of file edtwin.hxx.

Referenced by FlushInBuffer(), and KeyInput().

◆ m_eDrawMode

SdrObjKind SwEditWin::m_eDrawMode
private

Definition at line 109 of file edtwin.hxx.

◆ m_eOrient

sal_Int16 SwEditWin::m_eOrient
private

Definition at line 96 of file edtwin.hxx.

Referenced by MouseMove(), and UpdatePointer().

◆ m_nDropAction

sal_uInt8 SwEditWin::m_nDropAction
private

Definition at line 104 of file edtwin.hxx.

Referenced by AcceptDrop(), and ExecuteDrop().

◆ m_nDropDestination

SotExchangeDest SwEditWin::m_nDropDestination
private

Definition at line 105 of file edtwin.hxx.

Referenced by AcceptDrop(), and ExecuteDrop().

◆ m_nDropFormat

SotClipboardFormatId SwEditWin::m_nDropFormat
private

Definition at line 103 of file edtwin.hxx.

Referenced by AcceptDrop(), and ExecuteDrop().

◆ m_nInsFrameColCount

sal_uInt16 SwEditWin::m_nInsFrameColCount
private

Definition at line 108 of file edtwin.hxx.

Referenced by InsFrame(), StdDrawMode(), and StopInsFrame().

◆ m_nKS_NUMDOWN_Count

sal_uInt16 SwEditWin::m_nKS_NUMDOWN_Count
private

Definition at line 127 of file edtwin.hxx.

Referenced by KeyInput(), and MouseButtonDown().

◆ m_nKS_NUMINDENTINC_Count

sal_uInt16 SwEditWin::m_nKS_NUMINDENTINC_Count
private

Definition at line 128 of file edtwin.hxx.

Referenced by KeyInput().

◆ m_pAnchorMarker

std::unique_ptr<SwAnchorMarker> SwEditWin::m_pAnchorMarker
private

Definition at line 91 of file edtwin.hxx.

Referenced by dispose(), MouseButtonDown(), MouseButtonUp(), MouseMove(), StartDrag(), and UpdatePointer().

◆ m_pApplyTempl

std::unique_ptr<SwApplyTemplate> SwEditWin::m_pApplyTempl
private

◆ m_pFrameControlsManager

std::unique_ptr<SwFrameControlsManager> SwEditWin::m_pFrameControlsManager
private

Definition at line 130 of file edtwin.hxx.

Referenced by dispose(), and GetFrameControlsManager().

◆ m_pSavedOutlineFrame

SwTextFrame* SwEditWin::m_pSavedOutlineFrame = nullptr
private

Definition at line 132 of file edtwin.hxx.

Referenced by Command(), and MouseMove().

◆ m_pShadCursor

std::unique_ptr<SwShadowCursor, o3tl::default_delete<SwShadowCursor> > SwEditWin::m_pShadCursor
private

◆ m_pUserMarker

std::unique_ptr<SdrDropMarkerOverlay> SwEditWin::m_pUserMarker
private

◆ m_pUserMarkerObj

SdrObject* SwEditWin::m_pUserMarkerObj
private

Definition at line 94 of file edtwin.hxx.

Referenced by AcceptDrop(), and CleanupDropUserMarker().

◆ m_rView

SwView& SwEditWin::m_rView
private

◆ m_xRowColumnSelectionStart

std::optional<Point> SwEditWin::m_xRowColumnSelectionStart
private

Definition at line 97 of file edtwin.hxx.

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

◆ s_nDDStartPosX

tools::Long SwEditWin::s_nDDStartPosX = 0
staticprivate

Definition at line 64 of file edtwin.hxx.

Referenced by EnterDrawMode(), MouseButtonDown(), MouseMove(), and StartDrag().

◆ s_nDDStartPosY

tools::Long SwEditWin::s_nDDStartPosY = 0
staticprivate

Definition at line 65 of file edtwin.hxx.

Referenced by EnterDrawMode(), MouseButtonDown(), MouseMove(), and StartDrag().

◆ s_pQuickHlpData

QuickHelpData * SwEditWin::s_pQuickHlpData = nullptr
staticprivate

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