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 ()
 
bool IsDrawAction ()
 
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
 
virtual void LogicMouseButtonDown (const MouseEvent &rMouseEvent) override
 Same as MouseButtonDown(), but coordinates are in logic unit. More...
 
virtual void LogicMouseButtonUp (const MouseEvent &rMouseEvent) override
 Same as MouseButtonUp(), but coordinates are in logic unit. More...
 
virtual void LogicMouseMove (const MouseEvent &rMouseEvent) override
 Same as MouseMove(), but coordinates are in logic unit. More...
 
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...
 
virtual FactoryFunction GetUITestFactory () const 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
 
SalFrameImplGetFrame () const
 
SAL_DLLPRIVATE ImplFrameDataImplGetFrameData ()
 
vcl::WindowImplGetWindow () const
 
SAL_DLLPRIVATE ImplWinDataImplGetWinData () const
 
SAL_DLLPRIVATE vcl::WindowImplGetClientWindow () const
 
SAL_DLLPRIVATE vcl::WindowImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr)
 
SAL_DLLPRIVATE vcl::WindowImplGetParent () const
 
SAL_DLLPRIVATE vcl::WindowImplFindWindow (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE bool ImplSetClipFlag (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE bool ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsFloatingWindow () const
 
SAL_DLLPRIVATE bool ImplIsPushButton () const
 
SAL_DLLPRIVATE bool ImplIsSplitter () const
 
SAL_DLLPRIVATE bool ImplIsOverlapWindow () const
 
SAL_DLLPRIVATE void ImplIsInTaskPaneList (bool mbIsInTaskList)
 
SAL_DLLPRIVATE WindowImplImplGetWindowImpl () const
 
SAL_DLLPRIVATE Point ImplFrameToOutput (const Point &rPos)
 
SAL_DLLPRIVATE void ImplGrabFocus (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplGrabFocusToDocument (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvertFocus (const tools::Rectangle &rRect)
 
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer () const
 
SAL_DLLPRIVATE void ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false)
 
SAL_DLLPRIVATE void ImplGenerateMouseMove ()
 
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE void ImplNotifyIconifiedState (bool bIconified)
 
SAL_DLLPRIVATE void ImplUpdateAll ()
 
SAL_DLLPRIVATE void ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE)
 
SAL_DLLPRIVATE void ImplMirrorFramePos (Point &pt) const
 
SAL_DLLPRIVATE void ImplPosSizeWindow (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags)
 
SAL_DLLPRIVATE void ImplCallResize ()
 
SAL_DLLPRIVATE void ImplCallMove ()
 
void IncModalCount ()
 
void DecModalCount ()
 
virtual vcl::Region GetActiveClipRegion () const override
 
bool HasMirroredGraphics () const override
 
 Window (vcl::Window *pParent, WinBits nStyle=0)
 
virtual ~Window () override
 
::OutputDevice const * GetOutDev () const
 
::OutputDeviceGetOutDev ()
 
virtual void EnableRTL (bool bEnable=true) override
 
virtual void KeyUp (const KeyEvent &rKEvt)
 
virtual void PostPaint (vcl::RenderContext &rRenderContext)
 
void Erase (vcl::RenderContext &rRenderContext)
 
virtual void Draw (::OutputDevice *pDev, const Point &rPos, const Size &rSize, DrawFlags nFlags)
 
virtual void Move ()
 
virtual void Resize ()
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void Tracking (const TrackingEvent &rTEvt)
 
virtual void StateChanged (StateChangedType nStateChange)
 
virtual bool PreNotify (NotifyEvent &rNEvt)
 
virtual bool EventNotify (NotifyEvent &rNEvt)
 
void CompatGetFocus ()
 
void CompatLoseFocus ()
 
void CompatStateChanged (StateChangedType nStateChange)
 
void CompatDataChanged (const DataChangedEvent &rDCEvt)
 
bool CompatPreNotify (NotifyEvent &rNEvt)
 
bool CompatNotify (NotifyEvent &rNEvt)
 
void AddEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
ImplSVEventPostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
 
void RemoveUserEvent (ImplSVEvent *nUserEvent)
 
LanguageType GetInputLanguage () const
 
void SetStyle (WinBits nStyle)
 
WinBits GetStyle () const
 
WinBits GetPrevStyle () const
 
void SetExtendedStyle (WindowExtendedStyle nExtendedStyle)
 
WindowExtendedStyle GetExtendedStyle () const
 
void SetType (WindowType nType)
 
WindowType GetType () const
 
bool IsSystemWindow () const
 
bool IsDockingWindow () const
 
bool IsDialog () const
 
bool IsMenuFloatingWindow () const
 
bool IsToolbarFloatingWindow () const
 
bool IsTopWindow () const
 
bool IsDisposed () const
 
SystemWindowGetSystemWindow () const
 
bool SupportsDoubleBuffering () const
 
void RequestDoubleBuffering (bool bRequest)
 
void EnableAllResize ()
 
void SetBorderStyle (WindowBorderStyle nBorderStyle)
 
WindowBorderStyle GetBorderStyle () const
 
void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const
 
Size CalcWindowSize (const Size &rOutSz) const
 
Size CalcOutputSize (const Size &rWinSz) const
 
long CalcTitleWidth () const
 
void EnableClipSiblings (bool bClipSiblings=true)
 
void EnableChildTransparentMode (bool bEnable=true)
 
bool IsChildTransparentModeEnabled () const
 
void SetMouseTransparent (bool bTransparent)
 
bool IsMouseTransparent () const
 
void SetPaintTransparent (bool bTransparent)
 
bool IsPaintTransparent () const
 
void SetDialogControlStart (bool bStart)
 
bool IsDialogControlStart () const
 
void SetDialogControlFlags (DialogControlFlags nFlags)
 
DialogControlFlags GetDialogControlFlags () const
 
PointerState GetPointerState ()
 
bool IsMouseOver ()
 
void SetInputContext (const InputContext &rInputContext)
 
const InputContextGetInputContext () const
 
void PostExtTextInputEvent (VclEventId nType, const OUString &rText)
 
void EndExtTextInput ()
 
void SetCursorRect (const tools::Rectangle *pRect=nullptr, long nExtTextInputWidth=0)
 
const tools::RectangleGetCursorRect () const
 
long GetCursorExtTextInputWidth () const
 
void SetCompositionCharRect (const tools::Rectangle *pRect, long nCompositionLength, bool bVertical=false)
 
virtual void SetSettings (const AllSettings &rSettings) override
 
void SetSettings (const AllSettings &rSettings, bool bChild)
 
void UpdateSettings (const AllSettings &rSettings, bool bChild=false)
 
void NotifyAllChildren (DataChangedEvent &rDCEvt)
 
void SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
vcl::Font GetPointFont (vcl::RenderContext const &rRenderContext) const
 
void SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
long GetDrawPixel (::OutputDevice const *pDev, long nPixels) const
 
vcl::Font GetDrawPixelFont (::OutputDevice const *pDev) const
 
void SetControlFont ()
 
void SetControlFont (const vcl::Font &rFont)
 
vcl::Font GetControlFont () const
 
bool IsControlFont () const
 
void ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont)
 
void SetControlForeground ()
 
void SetControlForeground (const Color &rColor)
 
const ColorGetControlForeground () const
 
bool IsControlForeground () const
 
void ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetControlBackground ()
 
void SetControlBackground (const Color &rColor)
 
const ColorGetControlBackground () const
 
bool IsControlBackground () const
 
void ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE)
 
ParentClipMode GetParentClipMode () const
 
void SetWindowRegionPixel ()
 
void SetWindowRegionPixel (const vcl::Region &rRegion)
 
vcl::Region GetWindowClipRegionPixel () const
 
vcl::Region GetPaintRegion () const
 
bool IsInPaint () const
 
void ExpandPaintClipRegion (const vcl::Region &rRegion)
 
void SetParent (vcl::Window *pNewParent)
 
vcl::WindowGetParent () const
 
DialogGetParentDialog () const
 
bool IsAncestorOf (const vcl::Window &rWindow) const
 
void Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
 
void Hide ()
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsReallyShown () const
 
bool IsInInitShow () const
 
void Enable (bool bEnable=true, bool bChild=true)
 
void Disable (bool bChild=true)
 
bool IsEnabled () const
 
void EnableInput (bool bEnable=true, bool bChild=true)
 
void EnableInput (bool bEnable, const vcl::Window *pExcludeWindow)
 
bool IsInputEnabled () const
 
void AlwaysEnableInput (bool bAlways, bool bChild=true)
 
bool IsAlwaysEnableInput () const
 
void AlwaysDisableInput (bool bAlways, bool bChild=true)
 
void SetCallHandlersOnInputDisabled (bool bCall)
 
bool IsCallHandlersOnInputDisabled () const
 
bool IsInModalMode () const
 
void SetActivateMode (ActivateModeFlags nMode)
 
ActivateModeFlags GetActivateMode () const
 
void ToTop (ToTopFlags nFlags=ToTopFlags::NONE)
 
void SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags)
 
void EnableAlwaysOnTop (bool bEnable=true)
 
bool IsAlwaysOnTopEnabled () const
 
virtual void setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
 
virtual void SetPosPixel (const Point &rNewPos)
 
virtual Point GetPosPixel () const
 
virtual void SetSizePixel (const Size &rNewSize)
 
virtual Size GetSizePixel () const
 
virtual void SetPosSizePixel (const Point &rNewPos, const Size &rNewSize)
 
virtual void SetOutputSizePixel (const Size &rNewSize)
 
bool IsDefaultPos () const
 
bool IsDefaultSize () const
 
Point GetOffsetPixelFrom (const vcl::Window &rWindow) const
 
Point OutputToScreenPixel (const Point &rPos) const
 
Point ScreenToOutputPixel (const Point &rPos) const
 
Point OutputToNormalizedScreenPixel (const Point &rPos) const
 
Point NormalizedScreenToOutputPixel (const Point &rPos) const
 
Point OutputToAbsoluteScreenPixel (const Point &rPos) const
 
Point AbsoluteScreenToOutputPixel (const Point &rPos) const
 
tools::Rectangle GetDesktopRectPixel () const
 
tools::Rectangle GetWindowExtentsRelative (vcl::Window *pRelativeWindow) const
 
tools::Rectangle GetClientWindowExtentsRelative () const
 
bool IsScrollable () const
 
virtual void Scroll (long nHorzScroll, long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Scroll (long nHorzScroll, long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE)
 
virtual void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void PixelInvalidate (const tools::Rectangle *pRectangle)
 
void Validate ()
 
bool HasPaintEvent () const
 
void Update ()
 
void Flush ()
 
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 ()
 
GetFocusFlags GetGetFocusFlags () const
 
void GrabFocusToDocument ()
 
void SetFakeFocus (bool bFocus)
 
bool IsCompoundControl () const
 
void CaptureMouse ()
 
void ReleaseMouse ()
 
bool IsMouseCaptured () const
 
void SetPointer (PointerStyle)
 
PointerStyle GetPointer () const
 
void EnableChildPointerOverwrite (bool bOverwrite)
 
void SetPointerPosPixel (const Point &rPos)
 
Point GetPointerPosPixel ()
 
Point GetLastPointerPosPixel ()
 
void SetLastMousePos (const Point &rPos)
 
void ShowPointer (bool bVisible)
 
void EnterWait ()
 
void LeaveWait ()
 
bool IsWait () const
 
void SetCursor (vcl::Cursor *pCursor)
 
vcl::CursorGetCursor () const
 
void SetZoom (const Fraction &rZoom)
 
const FractionGetZoom () const
 
bool IsZoom () const
 
long CalcZoom (long n) const
 
virtual void SetText (const OUString &rStr)
 
virtual OUString GetText () const
 
virtual OUString GetDisplayText () const
 
virtual const WallpaperGetDisplayBackground () const
 
void SetHelpText (const OUString &rHelpText)
 
const OUString & GetHelpText () const
 
void SetQuickHelpText (const OUString &rHelpText)
 
const OUString & GetQuickHelpText () const
 
void SetHelpId (const OString &)
 
const OString & GetHelpId () const
 
virtual OString GetScreenshotId () const
 
vcl::WindowFindWindow (const Point &rPos) const
 
sal_uInt16 GetChildCount () const
 
vcl::WindowGetChild (sal_uInt16 nChild) const
 
vcl::WindowGetWindow (GetWindowType nType) const
 
bool IsChild (const vcl::Window *pWindow) const
 
bool IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE void CollectChildren (::std::vector< vcl::Window * > &rAllChildren)
 
virtual void ShowFocus (const tools::Rectangle &rRect)
 
void HideFocus ()
 
void DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
 
void ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
 
void HideTracking ()
 
void InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags)
 
void StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE)
 
void EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE)
 
bool IsTracking () const
 
void StartAutoScroll (StartAutoScrollFlags nFlags)
 
void EndAutoScroll ()
 
bool HandleScrollCommand (const CommandEvent &rCmd, ScrollBar *pHScrl, ScrollBar *pVScrl)
 
void SaveBackground (const Point &rPos, const Size &rSize, VirtualDevice &rSaveDevice) const
 
virtual const SystemEnvDataGetSystemData () const
 
css::uno::Any GetSystemDataAny () const
 
virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface (bool bCreate=true)
 
void SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace)
 
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
 
const vcl::ILibreOfficeKitNotifierGetLOKNotifier () const
 
vcl::LOKWindowId GetLOKWindowId () const
 
VclPtr< vcl::WindowGetParentWithLOKNotifier ()
 
void ReleaseLOKNotifier ()
 
Size PaintActiveFloatingWindow (VirtualDevice &rDevice) const
 
css::uno::Reference< css::rendering::XCanvas > GetCanvas () const
 
css::uno::Reference< css::rendering::XSpriteCanvas > GetSpriteCanvas () const
 
void RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect)
 
VCLXWindowGetWindowPeer () const
 
void SetWindowPeer (css::uno::Reference< css::awt::XWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow)
 
bool IsCreatedWithToolkit () const
 
void SetCreatedWithToolkit (bool b)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::dnd::XDragSource > GetDragSource ()
 
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > GetDragGestureRecognizer ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard ()
 
void SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard)
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetPrimarySelection ()
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout)
 
void set_height_request (sal_Int32 nHeightRequest)
 
sal_Int32 get_height_request () const
 
void set_width_request (sal_Int32 nWidthRequest)
 
sal_Int32 get_width_request () const
 
Size get_preferred_size () const
 
VclAlign get_halign () const
 
void set_halign (VclAlign eAlign)
 
VclAlign get_valign () const
 
void set_valign (VclAlign eAlign)
 
bool get_hexpand () const
 
void set_hexpand (bool bExpand)
 
bool get_vexpand () const
 
void set_vexpand (bool bExpand)
 
bool get_expand () const
 
void set_expand (bool bExpand)
 
bool get_fill () const
 
void set_fill (bool bFill)
 
void set_border_width (sal_Int32 nBorderWidth)
 
sal_Int32 get_border_width () const
 
void set_margin_left (sal_Int32 nWidth)
 
sal_Int32 get_margin_left () const
 
void set_margin_right (sal_Int32 nWidth)
 
sal_Int32 get_margin_right () const
 
void set_margin_top (sal_Int32 nWidth)
 
sal_Int32 get_margin_top () const
 
void set_margin_bottom (sal_Int32 nWidth)
 
sal_Int32 get_margin_bottom () const
 
VclPackType get_pack_type () const
 
void set_pack_type (VclPackType ePackType)
 
sal_Int32 get_padding () const
 
void set_padding (sal_Int32 nPadding)
 
sal_Int32 get_grid_width () const
 
void set_grid_width (sal_Int32 nCols)
 
sal_Int32 get_grid_left_attach () const
 
void set_grid_left_attach (sal_Int32 nAttach)
 
sal_Int32 get_grid_height () const
 
void set_grid_height (sal_Int32 nRows)
 
sal_Int32 get_grid_top_attach () const
 
void set_grid_top_attach (sal_Int32 nAttach)
 
bool get_secondary () const
 
void set_secondary (bool bSecondary)
 
bool get_non_homogeneous () const
 
void set_non_homogeneous (bool bNonHomogeneous)
 
virtual bool set_property (const OString &rKey, const OUString &rValue)
 
bool set_font_attribute (const OString &rKey, const OUString &rValue)
 
void add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup)
 
void remove_from_all_size_groups ()
 
void add_mnemonic_label (FixedText *pLabel)
 
void remove_mnemonic_label (FixedText *pLabel)
 
const std::vector< VclPtr< FixedText > > & list_mnemonic_labels () const
 
void reorderWithinParent (sal_uInt16 nNewPosition)
 
void set_id (const OUString &rID)
 
const OUString & get_id () const
 
void EnableNativeWidget (bool bEnable=true)
 
bool IsNativeWidgetEnabled () const
 
void PaintToDevice (::OutputDevice *pDevice, const Point &rPos, const Size &rSize)
 
void SetParentToDefaultWindow ()
 
KeyIndicatorState GetIndicatorState () const
 
void SimulateKeyPress (sal_uInt16 nKeyCode) const
 
virtual bool IsChart () const
 
void SetHelpHdl (const Link< vcl::Window &, bool > &rLink)
 
css::uno::Reference< css::accessibility::XAccessible > GetAccessible (bool bCreate=true)
 
void SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &)
 
vcl::WindowGetAccessibleParentWindow () const
 
sal_uInt16 GetAccessibleChildWindowCount ()
 
vcl::WindowGetAccessibleChildWindow (sal_uInt16 n)
 
void SetAccessibleRole (sal_uInt16 nRole)
 
sal_uInt16 GetAccessibleRole () const
 
void SetAccessibleName (const OUString &rName)
 
OUString GetAccessibleName () const
 
void SetAccessibleDescription (const OUString &rDescr)
 
OUString GetAccessibleDescription () const
 
void SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy)
 
vcl::WindowGetAccessibleRelationLabeledBy () const
 
void SetAccessibleRelationLabelFor (vcl::Window *pLabelFor)
 
vcl::WindowGetAccessibleRelationLabelFor () const
 
void SetAccessibleRelationMemberOf (vcl::Window *pMemberOf)
 
vcl::WindowGetAccessibleRelationMemberOf () const
 
void AddExtraAccessibleRelation (const css::accessibility::AccessibleRelation &rRelation)
 
const std::vector< css::accessibility::AccessibleRelation > & GetExtraAccessibleRelations () const
 
void ClearExtraAccessibleRelations ()
 
bool IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true)
 
void SetAccessibilityEventsSuppressed (bool bSuppressed)
 
virtual vcl::WindowGetParentLabelFor (const vcl::Window *pLabel) const
 
virtual vcl::WindowGetParentLabeledBy (const vcl::Window *pLabeled) const
 
KeyEvent GetActivationKey () const
 
- Public Member Functions inherited from OutputDevice
SAL_DLLPRIVATE sal_Int32 GetDPIX () const
 
SAL_DLLPRIVATE sal_Int32 GetDPIY () const
 
SAL_DLLPRIVATE void SetDPIX (sal_Int32 nDPIX)
 
SAL_DLLPRIVATE void SetDPIY (sal_Int32 nDPIY)
 
float GetDPIScaleFactor () const
 
sal_Int32 GetDPIScalePercentage () const
 
OutDevType GetOutDevType () const
 
bool IsVirtual () const
 
bool SupportsOperation (OutDevSupportType) const
 
void SetExtOutDevData (vcl::ExtOutDevData *pExtOutDevData)
 
vcl::ExtOutDevDataGetExtOutDevData () const
 
void DrawPixel (const Point &rPt)
 
void DrawPixel (const Point &rPt, const Color &rColor)
 
Color GetPixel (const Point &rPt) const
 
void DrawRect (const tools::Rectangle &rRect)
 
void DrawRect (const tools::Rectangle &rRect, sal_uLong nHorzRount, sal_uLong nVertRound)
 
void DrawCheckered (const Point &rPos, const Size &rSize, sal_uInt32 nLen=8, Color aStart=COL_WHITE, Color aEnd=COL_BLACK)
 
void DrawGrid (const tools::Rectangle &rRect, const Size &rDist, DrawGridFlags nFlags)
 
void Invert (const tools::Rectangle &rRect, InvertFlags nFlags=InvertFlags::NONE)
 
void Invert (const tools::Polygon &rPoly, InvertFlags nFlags=InvertFlags::NONE)
 
void DrawEllipse (const tools::Rectangle &rRect)
 
void DrawArc (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawPie (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawChord (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
SystemTextLayoutData GetSysTextLayoutData (const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex, sal_Int32 nLen, const long *pDXAry) const
 
SAL_DLLPRIVATE bool ImplIsAntiparallel () const
 
SAL_DLLPRIVATE void ReMirror (Point &rPoint) const
 
SAL_DLLPRIVATE void ReMirror (tools::Rectangle &rRect) const
 
SAL_DLLPRIVATE void ReMirror (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE bool ImplIsRecordLayout () const
 
std::unique_ptr< SalLayoutImplLayout (const OUString &, sal_Int32 nIndex, sal_Int32 nLen, const Point &rLogicPos=Point(0, 0), long nLogicWidth=0, const long *pLogicDXArray=nullptr, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
SAL_DLLPRIVATE ImplLayoutArgs ImplPrepareLayoutArgs (OUString &, const sal_Int32 nIndex, const sal_Int32 nLen, DeviceCoordinate nPixelWidth, const DeviceCoordinate *pPixelDXArray, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutImplGlyphFallbackLayout (std::unique_ptr< SalLayout >, ImplLayoutArgs &) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutgetFallbackLayout (LogicalFontInstance *pLogicalFont, int nFallbackLevel, ImplLayoutArgs &rLayoutArgs) const
 
bool IsRTLEnabled () const
 
bool GetTextIsRTL (const OUString &, sal_Int32 nIndex, sal_Int32 nLen) const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside) const
 
bool DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption)
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
bool DrawEPS (const Point &rPt, const Size &rSz, const GfxLink &rGfxLink, GDIMetaFile *pSubst=nullptr)
 
SalGraphics const * GetGraphics () const
 
SalGraphicsGetGraphics ()
 
void SetConnectMetaFile (GDIMetaFile *pMtf)
 
GDIMetaFileGetConnectMetaFile () const
 
const AllSettingsGetSettings () const
 
SystemGraphicsData GetSystemGfxData () const
 
bool SupportsCairo () const
 
cairo::SurfaceSharedPtr CreateSurface (const cairo::CairoSurfaceSharedPtr &rSurface) const
 
cairo::SurfaceSharedPtr CreateSurface (int x, int y, int width, int height) const
 
cairo::SurfaceSharedPtr CreateBitmapSurface (const BitmapSystemData &rData, const Size &rSize) const
 
css::uno::Any GetNativeSurfaceHandle (cairo::SurfaceSharedPtr &rSurface, const basegfx::B2ISize &rSize) const
 
css::uno::Any GetSystemGfxDataAny () const
 
void SetRefPoint ()
 
void SetRefPoint (const Point &rRefPoint)
 
const PointGetRefPoint () const
 
bool IsRefPoint () const
 
virtual sal_uInt16 GetBitCount () const
 
Size GetOutputSizePixel () const
 
long GetOutputWidthPixel () const
 
long GetOutputHeightPixel () const
 
long GetOutOffXPixel () const
 
long GetOutOffYPixel () const
 
void SetOutOffXPixel (long nOutOffX)
 
void SetOutOffYPixel (long nOutOffY)
 
Size GetOutputSize () const
 
css::uno::Reference< css::awt::XGraphics > CreateUnoGraphics ()
 
std::vector< VCLXGraphics * > * GetUnoGraphicsList () const
 
std::vector< VCLXGraphics * > * CreateUnoGraphicsList ()
 
SAL_DLLPRIVATE sal_Int32 GetDPIX () const
 
SAL_DLLPRIVATE sal_Int32 GetDPIY () const
 
SAL_DLLPRIVATE void SetDPIX (sal_Int32 nDPIX)
 
SAL_DLLPRIVATE void SetDPIY (sal_Int32 nDPIY)
 
float GetDPIScaleFactor () const
 
sal_Int32 GetDPIScalePercentage () const
 
OutDevType GetOutDevType () const
 
bool IsVirtual () const
 
bool SupportsOperation (OutDevSupportType) const
 
void SetExtOutDevData (vcl::ExtOutDevData *pExtOutDevData)
 
vcl::ExtOutDevDataGetExtOutDevData () const
 
virtual void DrawOutDev (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize)
 
virtual void DrawOutDev (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize, const OutputDevice &rOutDev)
 
virtual void CopyArea (const Point &rDestPt, const Point &rSrcPt, const Size &rSrcSize, bool bWindowInvalidate=false)
 
void Push (PushFlags nFlags=PushFlags::ALL)
 
void Pop ()
 
sal_uInt32 GetGCStackDepth () const
 
void EnableOutput (bool bEnable=true)
 
bool IsOutputEnabled () const
 
bool IsDeviceOutputNecessary () const
 
void SetAntialiasing (AntialiasingFlags nMode)
 
AntialiasingFlags GetAntialiasing () const
 
void SetDrawMode (DrawModeFlags nDrawMode)
 
DrawModeFlags GetDrawMode () const
 
void SetLayoutMode (ComplexTextLayoutFlags nTextLayoutMode)
 
ComplexTextLayoutFlags GetLayoutMode () const
 
void SetDigitLanguage (LanguageType)
 
LanguageType GetDigitLanguage () const
 
void SetRasterOp (RasterOp eRasterOp)
 
RasterOp GetRasterOp () const
 
void SetOutDevViewType (OutDevViewType eOutDevViewType)
 
OutDevViewType GetOutDevViewType () const
 
void SetLineColor ()
 
void SetLineColor (const Color &rColor)
 
const ColorGetLineColor () const
 
bool IsLineColor () const
 
void SetFillColor ()
 
void SetFillColor (const Color &rColor)
 
const ColorGetFillColor () const
 
bool IsFillColor () const
 
void SetBackground ()
 
void SetBackground (const Wallpaper &rBackground)
 
const WallpaperGetBackground () const
 
bool IsBackground () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
vcl::Region GetClipRegion () const
 
void SetClipRegion ()
 
void SetClipRegion (const vcl::Region &rRegion)
 
bool SelectClipRegion (const vcl::Region &, SalGraphics *pGraphics=nullptr)
 
bool IsClipRegion () const
 
void MoveClipRegion (long nHorzMove, long nVertMove)
 
void IntersectClipRegion (const tools::Rectangle &rRect)
 
void IntersectClipRegion (const vcl::Region &rRegion)
 
void DrawPixel (const Point &rPt)
 
void DrawPixel (const Point &rPt, const Color &rColor)
 
Color GetPixel (const Point &rPt) const
 
void DrawRect (const tools::Rectangle &rRect)
 
void DrawRect (const tools::Rectangle &rRect, sal_uLong nHorzRount, sal_uLong nVertRound)
 
void DrawCheckered (const Point &rPos, const Size &rSize, sal_uInt32 nLen=8, Color aStart=COL_WHITE, Color aEnd=COL_BLACK)
 
void DrawGrid (const tools::Rectangle &rRect, const Size &rDist, DrawGridFlags nFlags)
 
void Invert (const tools::Rectangle &rRect, InvertFlags nFlags=InvertFlags::NONE)
 
void Invert (const tools::Polygon &rPoly, InvertFlags nFlags=InvertFlags::NONE)
 
void DrawLine (const Point &rStartPt, const Point &rEndPt)
 
void DrawLine (const Point &rStartPt, const Point &rEndPt, const LineInfo &rLineInfo)
 
void DrawPolyLine (const tools::Polygon &rPoly)
 
void DrawPolyLine (const basegfx::B2DPolygon &, double fLineWidth=0.0, basegfx::B2DLineJoin eLineJoin=basegfx::B2DLineJoin::Round, css::drawing::LineCap eLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0))
 
void DrawPolyLine (const tools::Polygon &rPoly, const LineInfo &rLineInfo)
 
bool DrawPolyLineDirect (const basegfx::B2DHomMatrix &rObjectTransform, const basegfx::B2DPolygon &rB2DPolygon, double fLineWidth=0.0, double fTransparency=0.0, basegfx::B2DLineJoin eLineJoin=basegfx::B2DLineJoin::NONE, css::drawing::LineCap eLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0), bool bBypassAACheck=false)
 
void DrawPolygon (const tools::Polygon &rPoly)
 
void DrawPolygon (const basegfx::B2DPolygon &)
 
void DrawPolyPolygon (const tools::PolyPolygon &rPolyPoly)
 
void DrawPolyPolygon (const basegfx::B2DPolyPolygon &)
 
void DrawEllipse (const tools::Rectangle &rRect)
 
void DrawArc (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawPie (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawChord (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void DrawGradient (const tools::Rectangle &rRect, const Gradient &rGradient)
 
void DrawGradient (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient)
 
void AddGradientActions (const tools::Rectangle &rRect, const Gradient &rGradient, GDIMetaFile &rMtf)
 
void DrawHatch (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch)
 
void AddHatchActions (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch, GDIMetaFile &rMtf)
 
void DrawHatch (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch, bool bMtf)
 
void DrawWallpaper (const tools::Rectangle &rRect, const Wallpaper &rWallpaper)
 
void Erase ()
 
void Erase (const tools::Rectangle &rRect)
 
void DrawText (const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr)
 
void DrawText (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::NONE, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, vcl::ITextLayout *_pTextLayout=nullptr)
 
void ImplDrawText (SalLayout &)
 
void ImplDrawTextBackground (const SalLayout &)
 
void DrawCtrlText (const Point &rPos, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, DrawTextFlags nStyle=DrawTextFlags::Mnemonic, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr)
 
void DrawTextLine (const Point &rPos, long nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bUnderlineAbove=false)
 
void ImplDrawTextLine (long nBaseX, long nX, long nY, DeviceCoordinate nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bUnderlineAbove)
 
void ImplDrawTextLines (SalLayout &, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bWordLine, bool bUnderlineAbove)
 
void DrawWaveLine (const Point &rStartPos, const Point &rEndPos)
 
bool ImplDrawRotateText (SalLayout &)
 
tools::Rectangle GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
 
bool GetTextBoundRect (tools::Rectangle &rRect, const OUString &rStr, sal_Int32 nBase=0, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
tools::Rectangle ImplGetTextBoundRect (const SalLayout &)
 
bool GetTextOutline (tools::PolyPolygon &, const OUString &rStr, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr) const
 
bool GetTextOutlines (PolyPolyVector &, const OUString &rStr, sal_Int32 nBase=0, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr) const
 
bool GetTextOutlines (basegfx::B2DPolyPolygonVector &rVector, const OUString &rStr, sal_Int32 nBase, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const long *pDXArray=nullptr) const
 
OUString GetEllipsisString (const OUString &rStr, long nMaxWidth, DrawTextFlags nStyle=DrawTextFlags::EndEllipsis) const
 
long GetCtrlTextWidth (const OUString &rStr, const SalLayoutGlyphs *pLayoutCache=nullptr) const
 
void AddTextRectActions (const tools::Rectangle &rRect, const OUString &rOrigStr, DrawTextFlags nStyle, GDIMetaFile &rMtf)
 
void SetTextColor (const Color &rColor)
 
const ColorGetTextColor () const
 
void SetTextFillColor ()
 
void SetTextFillColor (const Color &rColor)
 
Color GetTextFillColor () const
 
bool IsTextFillColor () const
 
void SetTextLineColor ()
 
void SetTextLineColor (const Color &rColor)
 
const ColorGetTextLineColor () const
 
bool IsTextLineColor () const
 
void SetOverlineColor ()
 
void SetOverlineColor (const Color &rColor)
 
const ColorGetOverlineColor () const
 
bool IsOverlineColor () const
 
void SetTextAlign (TextAlign eAlign)
 
TextAlign GetTextAlign () const
 
long GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
long GetTextHeight () const
 
float approximate_char_width () const
 
float approximate_digit_width () const
 
void DrawTextArray (const Point &rStartPt, const OUString &rStr, const long *pDXAry, sal_Int32 nIndex=0, sal_Int32 nLen=-1, SalLayoutFlags flags=SalLayoutFlags::NONE, const SalLayoutGlyphs *pLayoutCache=nullptr)
 
long GetTextArray (const OUString &rStr, long *pDXAry, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
void GetCaretPositions (const OUString &, long *pCaretXArray, sal_Int32 nIndex, sal_Int32 nLen, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
void DrawStretchText (const Point &rStartPt, sal_uLong nWidth, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1)
 
sal_Int32 GetTextBreak (const OUString &rStr, long nTextWidth, sal_Int32 nIndex, sal_Int32 nLen=-1, long nCharExtra=0, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
sal_Int32 GetTextBreak (const OUString &rStr, long nTextWidth, sal_Unicode nExtraChar, sal_Int32 &rExtraCharPos, sal_Int32 nIndex, sal_Int32 nLen, long nCharExtra, vcl::TextLayoutCache const *=nullptr) const
 
FontMetric GetDevFont (int nDevFontIndex) const
 
int GetDevFontCount () const
 
bool IsFontAvailable (const OUString &rFontName) const
 
Size GetDevFontSize (const vcl::Font &rFont, int nSizeIndex) const
 
int GetDevFontSizeCount (const vcl::Font &) const
 
bool AddTempDevFont (const OUString &rFileURL, const OUString &rFontName)
 
void RefreshFontData (const bool bNewFontLists)
 
FontMetric GetFontMetric () const
 
FontMetric GetFontMetric (const vcl::Font &rFont) const
 
bool GetFontCharMap (FontCharMapRef &rxFontCharMap) const
 
bool GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const
 
bool GetFontFeatures (std::vector< vcl::font::Feature > &rFontFeatures) const
 
SystemFontData GetSysFontData (int nFallbacklevel) const
 
SAL_DLLPRIVATE void ImplGetEmphasisMark (tools::PolyPolygon &rPolyPoly, bool &rPolyLine, tools::Rectangle &rRect1, tools::Rectangle &rRect2, long &rYOff, long &rWidth, FontEmphasisMark eEmphasis, long nHeight)
 
bool GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, MetricVector &rVector)
 
sal_Int32 HasGlyphs (const vcl::Font &rFont, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1) const
 
long GetMinKashida () const
 
sal_Int32 ValidateKashidas (const OUString &rTxt, sal_Int32 nIdx, sal_Int32 nLen, sal_Int32 nKashCount, const sal_Int32 *pKashidaPos, sal_Int32 *pKashidaPosDropped) const
 
SAL_DLLPRIVATE void ImplInitFontList () const
 
SAL_DLLPRIVATE void ImplUpdateFontData ()
 
SystemTextLayoutData GetSysTextLayoutData (const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex, sal_Int32 nLen, const long *pDXAry) const
 
SAL_DLLPRIVATE bool ImplIsAntiparallel () const
 
SAL_DLLPRIVATE void ReMirror (Point &rPoint) const
 
SAL_DLLPRIVATE void ReMirror (tools::Rectangle &rRect) const
 
SAL_DLLPRIVATE void ReMirror (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE bool ImplIsRecordLayout () const
 
std::unique_ptr< SalLayoutImplLayout (const OUString &, sal_Int32 nIndex, sal_Int32 nLen, const Point &rLogicPos=Point(0, 0), long nLogicWidth=0, const long *pLogicDXArray=nullptr, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
 
SAL_DLLPRIVATE ImplLayoutArgs ImplPrepareLayoutArgs (OUString &, const sal_Int32 nIndex, const sal_Int32 nLen, DeviceCoordinate nPixelWidth, const DeviceCoordinate *pPixelDXArray, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutImplGlyphFallbackLayout (std::unique_ptr< SalLayout >, ImplLayoutArgs &) const
 
SAL_DLLPRIVATE std::unique_ptr< SalLayoutgetFallbackLayout (LogicalFontInstance *pLogicalFont, int nFallbackLevel, ImplLayoutArgs &rLayoutArgs) const
 
bool IsRTLEnabled () const
 
bool GetTextIsRTL (const OUString &, sal_Int32 nIndex, sal_Int32 nLen) const
 
void DrawBitmap (const Point &rDestPt, const Bitmap &rBitmap)
 
void DrawBitmap (const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap)
 
void DrawBitmap (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const Bitmap &rBitmap, MetaActionType nAction=MetaActionType::BMPSCALEPART)
 
void DrawBitmapEx (const Point &rDestPt, const BitmapEx &rBitmapEx)
 
void DrawBitmapEx (const Point &rDestPt, const Size &rDestSize, const BitmapEx &rBitmapEx)
 
void DrawBitmapEx (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const BitmapEx &rBitmapEx, MetaActionType nAction=MetaActionType::BMPEXSCALEPART)
 
void DrawImage (const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
 
void DrawImage (const Point &rPos, const Size &rSize, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE)
 
virtual Bitmap GetBitmap (const Point &rSrcPt, const Size &rSize) const
 
BitmapEx GetBitmapEx (const Point &rSrcPt, const Size &rSize) const
 
void DrawTransformedBitmapEx (const basegfx::B2DHomMatrix &rTransformation, const BitmapEx &rBitmapEx)
 
bool RemoveTransparenciesFromMetaFile (const GDIMetaFile &rInMtf, GDIMetaFile &rOutMtf, long nMaxBmpDPIX, long nMaxBmpDPIY, bool bReduceTransparency, bool bTransparencyAutoMode, bool bDownsampleBitmaps, const Color &rBackground=COL_TRANSPARENT)
 
SAL_DLLPRIVATE void ImplPrintTransparent (const Bitmap &rBmp, const Bitmap &rMask, const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel)
 
SAL_DLLPRIVATE Color ImplDrawModeToColor (const Color &rColor) const
 
void DrawTransparent (const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent)
 
void DrawTransparent (const basegfx::B2DHomMatrix &rObjectTransform, const basegfx::B2DPolyPolygon &rB2DPolyPoly, double fTransparency)
 
void DrawTransparent (const GDIMetaFile &rMtf, const Point &rPos, const Size &rSize, const Gradient &rTransparenceGradient)
 
void DrawMask (const Point &rDestPt, const Bitmap &rBitmap, const Color &rMaskColor)
 
void DrawMask (const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap, const Color &rMaskColor)
 
void DrawMask (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const Bitmap &rBitmap, const Color &rMaskColor, MetaActionType nAction)
 
void EnableMapMode (bool bEnable=true)
 
bool IsMapModeEnabled () const
 
void SetMapMode ()
 
virtual void SetMapMode (const MapMode &rNewMapMode)
 
void SetRelativeMapMode (const MapMode &rNewMapMode)
 
const MapModeGetMapMode () const
 
basegfx::B2DHomMatrix GetViewTransformation () const
 
basegfx::B2DHomMatrix GetInverseViewTransformation () const
 
basegfx::B2DHomMatrix GetViewTransformation (const MapMode &rMapMode) const
 
basegfx::B2DHomMatrix GetInverseViewTransformation (const MapMode &rMapMode) const
 
void SetPixelOffset (const Size &rOffset)
 
Size GetPixelOffset () const
 
Point LogicToPixel (const Point &rLogicPt) const
 
Size LogicToPixel (const Size &rLogicSize) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect) const
 
tools::Polygon LogicToPixel (const tools::Polygon &rLogicPoly) const
 
tools::PolyPolygon LogicToPixel (const tools::PolyPolygon &rLogicPolyPoly) const
 
basegfx::B2DPolyPolygon LogicToPixel (const basegfx::B2DPolyPolygon &rLogicPolyPoly) const
 
vcl::Region LogicToPixel (const vcl::Region &rLogicRegion) const
 
Point LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const
 
Size LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const
 
tools::Polygon LogicToPixel (const tools::Polygon &rLogicPoly, const MapMode &rMapMode) const
 
basegfx::B2DPolyPolygon LogicToPixel (const basegfx::B2DPolyPolygon &rLogicPolyPoly, const MapMode &rMapMode) const
 
Point PixelToLogic (const Point &rDevicePt) const
 
Size PixelToLogic (const Size &rDeviceSize) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect) const
 
tools::Polygon PixelToLogic (const tools::Polygon &rDevicePoly) const
 
tools::PolyPolygon PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const
 
basegfx::B2DPolyPolygon PixelToLogic (const basegfx::B2DPolyPolygon &rDevicePolyPoly) const
 
vcl::Region PixelToLogic (const vcl::Region &rDeviceRegion) const
 
Point PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const
 
Size PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const
 
tools::Polygon PixelToLogic (const tools::Polygon &rDevicePoly, const MapMode &rMapMode) const
 
basegfx::B2DPolygon PixelToLogic (const basegfx::B2DPolygon &rDevicePoly, const MapMode &rMapMode) const
 
basegfx::B2DPolyPolygon PixelToLogic (const basegfx::B2DPolyPolygon &rDevicePolyPoly, const MapMode &rMapMode) const
 
Point LogicToLogic (const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
Size LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
tools::Rectangle LogicToLogic (const tools::Rectangle &rRectSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
SAL_DLLPRIVATE tools::Rectangle ImplLogicToDevicePixel (const tools::Rectangle &rLogicRect) const
 
SAL_DLLPRIVATE Point ImplLogicToDevicePixel (const Point &rLogicPt) const
 
SAL_DLLPRIVATE long ImplLogicWidthToDevicePixel (long nWidth) const
 
SAL_DLLPRIVATE DeviceCoordinate LogicWidthToDeviceCoordinate (long nWidth) const
 
SAL_DLLPRIVATE long ImplLogicXToDevicePixel (long nX) const
 
SAL_DLLPRIVATE long ImplLogicYToDevicePixel (long nY) const
 
SAL_DLLPRIVATE long ImplLogicHeightToDevicePixel (long nHeight) const
 
SAL_DLLPRIVATE long ImplDevicePixelToLogicWidth (long nWidth) const
 
SAL_DLLPRIVATE long ImplDevicePixelToLogicHeight (long nHeight) const
 
SAL_DLLPRIVATE float ImplFloatLogicHeightToDevicePixel (float fLogicHeight) const
 
SAL_DLLPRIVATE Size ImplLogicToDevicePixel (const Size &rLogicSize) const
 
SAL_DLLPRIVATE tools::Rectangle ImplDevicePixelToLogic (const tools::Rectangle &rPixelRect) const
 
SAL_DLLPRIVATE tools::Polygon ImplLogicToDevicePixel (const tools::Polygon &rLogicPoly) const
 
SAL_DLLPRIVATE tools::PolyPolygon ImplLogicToDevicePixel (const tools::PolyPolygon &rLogicPolyPoly) const
 
SAL_DLLPRIVATE LineInfo ImplLogicToDevicePixel (const LineInfo &rLineInfo) const
 
SAL_DLLPRIVATE vcl::Region ImplPixelToDevicePixel (const vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplInvalidateViewTransform ()
 
SAL_DLLPRIVATE basegfx::B2DHomMatrix ImplGetDeviceTransformation () const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside) const
 
bool DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption)
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
bool DrawEPS (const Point &rPt, const Size &rSz, const GfxLink &rGfxLink, GDIMetaFile *pSubst=nullptr)
 
- Public Member Functions inherited from VclReferenceBase
void acquire () const
 
void release () const
 
sal_Int32 getRefCount () const
 
void disposeOnce ()
 
bool isDisposed () const
 
- Public Member Functions inherited from DropTargetHelper
 DropTargetHelper (vcl::Window *pWindow)
 
 DropTargetHelper (const css::uno::Reference< css::datatransfer::dnd::XDropTarget > &rxDropTarget)
 
void dispose ()
 
virtual ~DropTargetHelper ()
 
bool IsDropFormatSupported (SotClipboardFormatId nFormat)
 
const DataFlavorExVectorGetDataFlavorExVector () const
 
- Public Member Functions inherited from DragSourceHelper
 DragSourceHelper (vcl::Window *pWindow)
 
void dispose ()
 
virtual ~DragSourceHelper ()
 

Static Public Member Functions

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

Private Member Functions

void LeaveArea (const Point &)
 
void JustifyAreaTimer ()
 
void EnterArea ()
 
void RstMBDownFlags ()
 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_LINK (TimerHandler, Timer *, void)
 
void StartDDTimer ()
 
void StopDDTimer (SwWrtShell *, const Point &)
 
 DECL_LINK (DDHandler, Timer *, void)
 
 DECL_LINK (KeyInputFlushHandler, Timer *, void)
 
 DECL_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
 
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
 
void ShowAutoTextCorrectQuickHelp (const OUString &rWord, SvxAutoCorrCfg const *pACfg, SvxAutoCorrect *pACorr, bool bFromIME=false)
 
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
 
boost::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
 

Static Private Attributes

static QuickHelpDatam_pQuickHlpData = nullptr
 
static long m_nDDStartPosX = 0
 
static long m_nDDStartPosY = 0
 

Additional Inherited Members

- Protected Member Functions inherited from vcl::Window
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
 
SAL_DLLPRIVATE Point ImplOutputToFrame (const Point &rPos)
 
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplValidate ()
 
SAL_DLLPRIVATE void ImplMoveInvalidateRegion (const tools::Rectangle &rRect, long nHorzScroll, long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, long nHorzScroll, long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE vcl::WindowImplGetBorderWindow () const
 
SAL_DLLPRIVATE void ImplInvalidate (const vcl::Region *rRegion, InvalidateFlags nFlags)
 
virtual WindowHitTest ImplHitTest (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplSetMouseTransparent (bool bTransparent)
 
SAL_DLLPRIVATE void ImplScroll (const tools::Rectangle &rRect, long nHorzScroll, long nVertScroll, ScrollFlags nFlags)
 
SAL_DLLPRIVATE bool ImplSetClipFlagChildren (bool bSysObjOnlySmaller)
 
SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE void PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE void PopPaintHelper (PaintHelper const *pHelper)
 
 Window (WindowType nType)
 
void SetCompoundControl (bool bCompound)
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
virtual bool AcquireGraphics () const override
 
virtual void ReleaseGraphics (bool bRelease=true) override
 
virtual void InitClipRegion () override
 
SAL_DLLPRIVATE void ImplAdjustNWFSizes ()
 
virtual void CopyDeviceArea (SalTwoRect &aPosAry, bool bWindowInvalidate) override
 
virtual void ClipToPaintRegion (tools::Rectangle &rDstRect) override
 
virtual bool UsePolyPolygonForComplexGradient () override
 
virtual void ApplySettings (vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationMemberOf () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabeledBy () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabelFor () const
 
virtual vcl::WindowgetAccessibleRelationLabelFor () const
 
virtual sal_uInt16 getDefaultAccessibleRole () const
 
virtual OUString getDefaultAccessibleName () const
 
virtual Size GetOptimalSize () const
 
void InvalidateSizeCache ()
 
- Protected Member Functions inherited from OutputDevice
 OutputDevice (OutDevType eOutDevType)
 
virtual ~OutputDevice () override
 
SAL_DLLPRIVATE void drawOutDevDirect (const OutputDevice *pSrcDev, SalTwoRect &rPosAry)
 
SAL_DLLPRIVATE bool is_double_buffered_window () const
 
virtual void ImplReleaseFonts ()
 
virtual long GetGradientStepCount (long nMinRect)
 
void DrawGradientWallpaper (long nX, long nY, long nWidth, long nHeight, const Wallpaper &rWallpaper)
 
SAL_DLLPRIVATE void ImplInitTextLineSize ()
 
SAL_DLLPRIVATE void ImplInitAboveTextLineSize ()
 
SAL_DLLPRIVATE const LogicalFontInstanceGetFontInstance () const
 
SAL_DLLPRIVATE long GetEmphasisAscent () const
 
SAL_DLLPRIVATE long GetEmphasisDescent () const
 
SAL_DLLPRIVATE bool InitFont () const
 
virtual void SetFontOrientation (LogicalFontInstance *const pFontInstance) const
 
virtual long GetFontExtLeading () const
 
virtual void DrawDeviceBitmap (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, BitmapEx &rBitmapEx)
 
virtual void ScaleBitmap (Bitmap &rBmp, SalTwoRect &rPosAry)
 
virtual bool DrawTransformBitmapExDirect (const basegfx::B2DHomMatrix &aFullTransform, const BitmapEx &rBitmapEx)
 
virtual bool TransformAndReduceBitmapExToTargetRange (const basegfx::B2DHomMatrix &aFullTransform, basegfx::B2DRange &aVisibleRange, double &fMaximumArea)
 
virtual void EmulateDrawTransparent (const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent)
 
void DrawInvisiblePolygon (const tools::PolyPolygon &rPolyPoly)
 
virtual void ClipAndDrawGradientMetafile (const Gradient &rGradient, const tools::PolyPolygon &rPolyPoly)
 
virtual void DrawDeviceMask (const Bitmap &rMask, const Color &rMaskColor, const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel)
 
- Protected Member Functions inherited from VclReferenceBase
 VclReferenceBase ()
 
virtual ~VclReferenceBase ()
 
- Static Protected Member Functions inherited from vcl::Window
static void FireVclEvent (VclSimpleEvent &rEvent)
 
- Static Protected Member Functions inherited from OutputDevice
static SAL_DLLPRIVATE long ImplGetTextLines (ImplMultiTextLineInfo &rLineInfo, long nWidth, const OUString &rStr, DrawTextFlags nStyle, const vcl::ITextLayout &_rLayout)
 

Detailed Description

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 ( vcl::Window pParent,
SwView rMyView 
)
SwEditWin::~SwEditWin ( )
overridevirtual

Definition at line 5045 of file edtwin.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

sal_Int8 SwEditWin::AcceptDrop ( const AcceptDropEvent rEvt)
overrideprivatevirtual

Reimplemented from DropTargetHelper.

Definition at line 324 of file edtdd.cxx.

References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Point::AdjustX(), Point::AdjustY(), tools::Rectangle::Bottom(), CleanupDropUserMarker(), ContentCheck, DND_ACTION_COPY, DND_ACTION_MOVE, DND_ACTION_NONE, DRAWOBJ, DropCleanup(), EXCHG_IN_ACTION_DEFAULT, EXCHG_IN_ACTION_LINK, EXCHG_INOUT_ACTION_NONE, FOOTER, SwCursorShell::GetContentAtPos(), DropTargetHelper::GetDataFlavorExVector(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwViewShell::GetDrawView(), GetDropDestination(), SotExchange::GetExchangeAction(), SwFEShell::GetFrameType(), OutputDevice::GetOutputSizePixel(), SwFEShell::GetSelFrameType(), SwTransferable::GetShell(), tools::Time::GetSystemTicks(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), HEADER, SdrMarkView::IsDesignMode(), SwViewOption::IsIdle(), tools::Rectangle::IsInside(), SfxObjectShell::IsReadOnly(), SwFEShell::IsSelContainsControl(), SwFEShell::IsSelObjProtected(), tools::Rectangle::Left(), m_bOldIdle, m_bOldIdleSet, m_nDropAction, m_nDropDestination, m_nDropFormat, SwModule::m_pDragDrop, m_pUserMarker, m_pUserMarkerObj, m_rView, SwViewShell::MakeVisible(), AcceptDropEvent::maPosPixel, AcceptDropEvent::mbDefault, AcceptDropEvent::mbLeaving, AcceptDropEvent::mnAction, NONE, OutputDevice::PixelToLogic(), Pos, tools::Rectangle::Right(), SwViewOption::SetIdle(), SW_MOD, tools::Rectangle::Top(), SwCursorShell::UnSetVisibleCursor(), Point::X(), and Point::Y().

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

Definition at line 174 of file edtdd.cxx.

References m_pUserMarker, and m_pUserMarkerObj.

Referenced by AcceptDrop(), and DropCleanup().

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 98 of file edtwin2.cxx.

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

Referenced by RequestHelp().

void SwEditWin::Command ( const CommandEvent rCEvt)
overridevirtual

Reimplemented from vcl::Window.

Definition at line 5160 of file edtwin.cxx.

References SfxRequest::AppendItem(), SwWrtShell::AutoCorrect(), SvxSwAutoFormatFlags::bAutoCompleteWords, SwRect::Center(), OutlinerView::Command(), SwEditShell::CreateExtTextInput(), TransferableDataHelper::CreateFromSelection(), SwEditShell::DeleteExtTextInput(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::Do(), SwPaM::End(), SwCursorShell::EndCursorMove(), EXCHG_IN_ACTION_COPY, EXCHG_INOUT_ACTION_NONE, SwView::ExecSpellPopup(), Execute, SfxDispatcher::Execute(), SwReadOnlyPopup::Execute(), ExecuteMenuCommand(), SfxDispatcher::ExecutePopup(), SwFEShell::FinishOLEObj(), FN_INSERT_STRING, g_bInputLanguageSwitched, g_bNoInterrupt, VclPtr< reference_type >::get(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), SwCursorShell::GetCharRect(), SwCursorShell::GetCharRectAt(), CommandEvent::GetCommand(), SwPaM::GetContentNode(), SwCursorShell::GetCursor(), TransferableDataHelper::GetDataFlavorExVector(), SfxViewFrame::GetDispatcher(), SwDocShell::GetDoc(), SwViewShell::GetDoc(), SwView::GetDocShell(), SwViewShell::GetDrawView(), GetDropDestination(), SwView::GetEditWin(), CommandSelectionChangeData::GetEnd(), SotExchange::GetExchangeAction(), SwDoc::GetExtTextInput(), CommandEvent::GetExtTextInputData(), SwDoc::GetIDocumentUndoRedo(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), vcl::Window::GetInputLanguage(), VCLUnoHelper::GetInterface(), SfxViewShell::GetIPClient(), SwPaM::GetMark(), SwReadOnlyPopup::GetMenu(), CommandEvent::GetModKeyData(), CommandEvent::GetMousePosPixel(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwView::GetPostItMgr(), SwEditShell::GetPrevAutoCorrWord(), SfxBindings::GetRecorder(), CommandEvent::GetSelectionChangeData(), SwViewShell::GetSfxViewShell(), CommandSelectionChangeData::GetStart(), SvxAutoCorrect::GetSwFlags(), CommandExtTextInputData::GetText(), SdrObjEditView::GetTextEditOutlinerView(), IDocumentUndoRedo::GetUndoActionCount(), SwInputChild::GetView(), GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), TransferableDataHelper::GetXTransferable(), SwCursorShell::GoPrevCursor(), SwCursorShell::GoStartSentence(), SwView::HandleWheelCommands(), SwViewShell::HasDrawView(), SwPaM::HasMark(), SwWrtShell::HasSelection(), SvxAutoCorrect::IsAutoCorrFlag(), SvxAutoCorrCfg::IsAutoTextTip(), SwCursorShell::IsCursorReadonly(), 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(), SdrObjEditView::IsTextEdit(), lcl_GetTextShellFromDispatcher(), SwContentNode::Len(), OutputDevice::LogicToPixel(), QuickHelpData::m_bIsDisplayed, m_bMBPressed, m_pApplyTempl, m_pQuickHlpData, m_pShadCursor, m_rView, SwPosition::nContent, nId, SwPosition::nNode, SwTransferable::PasteData(), OutputDevice::PixelToLogic(), vcl::Window::ReleaseMouse(), SelectMenuPosition(), SET_CURR_SHELL, vcl::Window::SetCompositionCharRect(), SwEditShell::SetExtTextInputData(), SwPaM::SetMark(), SwCursorShell::SetMark(), SetUseInputLanguage(), ShowAutoTextCorrectQuickHelp(), SwPaM::Start(), QuickHelpData::Stop(), SwView::StopShellTimer(), SwCursorShell::SttCursorMove(), SW_MOD, SwWrtShell::UNDO, Point::X(), and Point::Y().

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

Reimplemented from vcl::Window.

Definition at line 5840 of file edtwin.cxx.

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

void SwEditWin::DataChanged ( const DataChangedEvent rDCEvt)
overrideprivatevirtual
SwEditWin::DECL_LINK ( TimerHandler  ,
Timer ,
void   
)
private
SwEditWin::DECL_LINK ( DDHandler  ,
Timer ,
void   
)
private
SwEditWin::DECL_LINK ( KeyInputFlushHandler  ,
Timer ,
void   
)
private
SwEditWin::DECL_LINK ( TemplateTimerHdl  ,
Timer ,
void   
)
private
void SwEditWin::dispose ( void  )
overridevirtual
void SwEditWin::DragFinished ( )

Definition at line 149 of file edtdd.cxx.

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

Referenced by SwTransferable::DragFinished().

void SwEditWin::DropCleanup ( )
private
void SwEditWin::EnterArea ( )
inlineprivate

Definition at line 695 of file edtwin.cxx.

bool SwEditWin::EnterDrawMode ( const MouseEvent rMEvt,
const Point aDocPos 
)
private
void SwEditWin::EnterDrawTextMode ( const Point aDocPos)
sal_Int8 SwEditWin::ExecuteDrop ( const ExecuteDropEvent rEvt)
overrideprivatevirtual
void SwEditWin::FinitStaticData ( )
static

Definition at line 5807 of file edtwin.cxx.

References m_pQuickHlpData.

Referenced by FinitUI().

void SwEditWin::FlushInBuffer ( )
SwApplyTemplate* SwEditWin::GetApplyTemplate ( ) const
inline
sal_uInt16 SwEditWin::GetBezierMode ( ) const
inline

Definition at line 215 of file edtwin.hxx.

Referenced by SwBezierShell::GetState(), and SwDrawBase::MouseButtonDown().

static long SwEditWin::GetDDStartPosX ( )
inlinestatic
static long SwEditWin::GetDDStartPosY ( )
inlinestatic
SotExchangeDest SwEditWin::GetDropDestination ( const Point rPixPnt,
SdrObject **  ppObj = nullptr 
)
private
void SwEditWin::GetFocus ( )
overrideprivatevirtual
sal_uInt16 SwEditWin::GetFrameColCount ( ) const
inline

Definition at line 220 of file edtwin.hxx.

Referenced by SwDrawBase::MouseButtonUp().

SwFrameControlsManager & SwEditWin::GetFrameControlsManager ( )
SdrObjKind SwEditWin::GetSdrDrawMode ( ) const
inline
OUString SwEditWin::GetSurroundingText ( ) const
overrideprivatevirtual
Selection SwEditWin::GetSurroundingTextSelection ( ) const
overrideprivatevirtual
FactoryFunction SwEditWin::GetUITestFactory ( ) const
overridevirtual

Reimplemented from vcl::Window.

Definition at line 176 of file edtwin3.cxx.

References SwEditWinUIObject::create().

const SwView& SwEditWin::GetView ( ) const
inline
SwView& SwEditWin::GetView ( )
inline

Definition at line 241 of file edtwin.hxx.

void SwEditWin::InitStaticData ( )
static

Definition at line 5802 of file edtwin.cxx.

References m_pQuickHlpData.

Referenced by InitUI().

void SwEditWin::InsFrame ( sal_uInt16  nCols)

Insert mode for frames.

Definition at line 703 of file edtwin.cxx.

References OBJ_NONE.

bool SwEditWin::IsChainMode ( ) const
inline

Definition at line 223 of file edtwin.hxx.

Referenced by SwFrameShell::Execute(), and SwFrameShell::GetState().

bool SwEditWin::IsDrawAction ( )
inline
bool SwEditWin::IsDrawSelMode ( )

Definition at line 5132 of file edtwin.cxx.

References IsObjectSelect().

Referenced by SwDrawBase::MouseButtonUp(), and SwDrawBase::MouseMove().

bool SwEditWin::IsFrameAction ( ) const
inline

Definition at line 214 of file edtwin.hxx.

Referenced by SwWrtShell::GetSelectionType().

bool SwEditWin::IsInHeaderFooter ( const Point rDocPt,
FrameControlType rControl 
) const
private
bool SwEditWin::IsInputSequenceCheckingRequired ( const OUString &  rText,
const SwPaM rCursor 
)
static
bool SwEditWin::IsObjectSelect ( ) const
inline

Definition at line 208 of file edtwin.hxx.

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

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

Definition at line 262 of file edtwin.hxx.

Referenced by SwBaseShell::GetTextFontCtrlState().

void SwEditWin::JustifyAreaTimer ( )
private
void SwEditWin::KeyInput ( const KeyEvent rKEvt)
overridevirtual

KeyEvents.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Reimplemented from vcl::Window.

Definition at line 1342 of file edtwin.cxx.

References aBuf, Any, Application::AnyInput(), SdrMarkView::AreObjectsMarked(), SwWrtShell::AutoCorrect(), SvxSwAutoFormatFlags::bAutoCmpltAppendBlanc, SvxSwAutoFormatFlags::bAutoCmpltEndless, SvxSwAutoFormatFlags::bAutoCompleteWords, BiggerMode, SwEditShell::CalcLayout(), SwEditShell::CanSpecialInsert(), CellBottom, CellLeft, CellRight, CellTop, tools::Rectangle::Center(), CH_TXT_ATR_FORMELEMENT, SwEditShell::ChangeIndentOfAllListLevels(), numfunc::ChangeIndentOnTabAtFirstPosOfFirstListItem(), SwWrtShell::ClickToINetAttr(), ColLeft, ColRight, Application::CreateBuilder(), CRSR_SKIP_CHARS, SwCursorShell::CursorInsideInputField(), DbForm, SwCursorShell::DeleteCurrent, SwEditShell::DelNumRules(), SfxRequest::Done(), SwEditShell::DoSpecialInsert(), DrawObject, DrawObjectEditMode, SwFrame::dumpAsXml(), SwWrtShell::Edit(), End, END, SwWrtShell::EndPg(), SwWrtShell::EndSelect(), SwEditShell::EndUndo(), SwWrtShell::EnterSelFrameMode(), SwWrtShell::ExecMacro(), SwCursorShell::ExtendSelection(), FN_GOTO_NEXT_CELL, FN_GOTO_NEXT_INPUTFLD, FN_GOTO_PREV_CELL, FN_GOTO_PREV_INPUTFLD, fnSectionEnd, fnSectionStart, Frame, g_bFlushCharBuffer, SvxAutoCorrCfg::Get(), SvxMacroTableDtor::Get(), tools::SvRef< class >::get(), GetAppCharClass(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), SwViewShell::GetAttrPool(), SvxAutoCorrCfg::GetAutoCorrect(), SfxViewFrame::GetBindings(), SwCursorShell::GetChar(), KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), SwEditShell::GetCurAttr(), SwCursorShell::GetCurrentFieldmark(), SwEditShell::GetCurTextFormatColl(), SwViewShell::GetDrawView(), SwCursorShell::GetFieldmarkAfter(), SwCursorShell::GetFieldmarkBefore(), SwEditShell::GetFieldType(), SwFEShell::GetFlyFrameFormat(), SdrHdlList::GetFocusHdl(), SwFEShell::GetFrameType(), GetFrameWeld(), vcl::KeyCode::GetFullCode(), vcl::KeyCode::GetFunction(), GetGlossaryList(), SdrHdlList::GetHdl(), SdrMarkView::GetHdlList(), KeyEvent::GetKeyCode(), SdrObject::GetLogicRect(), SwFormat::GetMacro(), SvxMacroItem::GetMacroTable(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), vcl::KeyCode::GetModifier(), SwFormat::GetName(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SfxObjectShell::GetObjectShell(), SwEditShell::GetOutlineNumRule(), SwEditShell::GetPrevAutoCorrWord(), SfxObjectShell::GetProgress(), KeyEvent::GetRepeat(), SwWrtShell::GetSelectionType(), SwGlossaryList::GetShortName(), SvxAutoCorrect::GetSwFlags(), SwCursorShell::GetTableCursor(), SwEditShell::GetTableFormat(), SwModuleOptions::GetTableHMove(), SwModuleOptions::GetTableVMove(), SwCursorShell::GetTextDirection(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), GoCurrSection(), SwCursorShell::GoNextCell(), SwCursorShell::GoPrevCell(), SwWrtShell::GotoFieldmark(), SwFEShell::GotoObj(), Graphic, QuickHelpData::HasContent(), SwViewShell::HasDrawView(), SwCursorShell::HasMark(), SwCursorShell::HasReadonlySel(), SwWrtShell::HasSelection(), HEADER, SwCursorShell::HideCursor(), Init(), SwWrtShell::Insert(), SwGlossaryHdl::InsertGlossary(), SfxBindings::InvalidateAll(), comphelper::LibreOfficeKit::isActive(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SvxAutoCorrect::IsAutoCorrectChar(), SvxAutoCorrect::IsAutoCorrFlag(), SvxAutoCorrCfg::IsAutoFormatByInput(), SvxAutoCorrCfg::IsAutoTextTip(), sw::mark::ICheckboxFieldmark::IsChecked(), SwEditShell::IsCursorInParagraphMetadataField(), SwCursorShell::IsCursorReadonly(), SwCursorShell::IsEndPara(), sw::mark::IMark::IsExpanded(), SwEditShell::IsFirstOfNumRuleAtCursorPos(), 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(), SwCursorShell::IsReadOnlyAvailable(), 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(), SwWrtShell::LaunchOLEObj(), lcl_goIntoTextBox(), SwWrtShell::LeaveSelFrameMode(), SwWrtShell::Left(), QuickHelpData::m_aHelpStrings, QuickHelpData::m_bIsAutoText, 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::nCurArrPos, QuickHelpData::Next(), NextObject, nId, QuickHelpData::nLen, SwEditShell::NoNum(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), Ole, SwEditShell::OutlineUpDown(), comphelper::string::padToLength(), SwWrtShell::Pop(), Postit, QuickHelpData::Previous(), SwCursorShell::Push(), RES_TXTATR_INETFMT, SwWrtShell::Right(), RowBottom, weld::DialogController::runAsync(), SwWrtShell::SelectNextPrevHyperlink(), sw::mark::ICheckboxFieldmark::SetChecked(), SwFEShell::SetColRowWidthHeight(), SwGlossaryHdl::SetCurGroup(), SdrHdlList::SetFocusHdl(), SwInputChild::SetFormula(), SwEditShell::SetModified(), SwCursorShell::SetReadOnlyAvailable(), SwWrtShell::SplitNode(), START, SwEditShell::StartUndo(), SwWrtShell::SttPg(), SwWrtShell::SttSelect(), SW_ISPRINTABLE(), SW_MOD, SwCursorShell::SwapPam(), TableCell, SfxViewFrame::ToggleChildWindow(), SwFEShell::ToggleHeaderFooterEdit(), SwWrtShell::TryRemoveIndent(), u, SwWrtShell::UnSelectFrame(), SwCursorShell::UpdateAttr(), SwWordCountWrapper::UpdateCounts(), and USHRT_MAX.

void SwEditWin::LeaveArea ( const Point rPos)
private

Definition at line 686 of file edtwin.cxx.

void SwEditWin::LockKeyInput ( bool  bSet)
inline
void SwEditWin::LogicInvalidate ( const tools::Rectangle pRectangle)
overridevirtual
See also
Window::LogicInvalidate().

Reimplemented from vcl::Window.

Definition at line 6278 of file edtwin.cxx.

References m_rView, SfxLokHelper::notifyInvalidation(), and tools::Rectangle::toString().

void SwEditWin::LogicMouseButtonDown ( const MouseEvent rMouseEvent)
overridevirtual
void SwEditWin::LogicMouseButtonUp ( const MouseEvent rMouseEvent)
overridevirtual
void SwEditWin::LogicMouseMove ( const MouseEvent rMouseEvent)
overridevirtual
void SwEditWin::LoseFocus ( )
overrideprivatevirtual
void SwEditWin::MouseButtonDown ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from vcl::Window.

Definition at line 2736 of file edtwin.cxx.

References SwContentAtPos::aFnd, SwWrtShell::ApplyViewOptions(), bFootnote, SwWrtShell::CallSetCursor(), SwViewOption::CanHideWhitespace(), SwFEShell::Chain(), SwFEShell::Chainable(), IDocumentMarkAccess::ClearFieldActivation(), SwCursorShell::ClearGCAttr(), ClickField, COL_HORI, COL_NONE, COL_VERT, COLSEL_VERT, Content, CRSR_POSCHG, CRSR_SKIP_CHARS, SvtSecurityOptions::CtrlClickHyperlink, SwCursorShell::CursorInsideInputField(), DrawObject, SwWrtShell::Edit(), SdrViewEvent::eEvent, SwTextAttr::End(), SwWrtShell::EndSelect(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterBlockMode(), 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_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(), SwCursorShell::GetCurField(), SwEditShell::GetCurFootnote(), SwCursorShell::GetCurrentShellCursor(), SwViewShell::GetDrawView(), SwFormatField::GetField(), sw::mark::IFieldmark::GetFieldname(), SwFEShell::GetFlyFrameFormat(), SwFormat::GetFooter(), SwTextAttr::GetFormatField(), SwFormat::GetHeader(), SwViewShell::getIDocumentMarkAccess(), SwIndex::GetIndex(), SfxViewShell::GetIPClient(), SdrHdl::GetKind(), SwViewShell::GetLayout(), SwPageDesc::GetLeftFormat(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), MouseEvent::GetMode(), MouseEvent::GetModifier(), SwNodeIndex::GetNode(), SwFEShell::GetNumRuleNodeAtPos(), SwRootFrame::GetPageAtPos(), SwPageFrame::GetPageDesc(), SwPaM::GetPoint(), MouseEvent::GetPosPixel(), SwPageDesc::GetRightFormat(), SwWrtShell::GetSelectionType(), SwFEShell::GetSelFrameType(), SwViewShell::GetSfxViewShell(), SwTextAttr::GetStart(), SwField::GetTypeId(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), GrabFocus, Graphic, SwWrtShell::HasSelection(), Header, SwCursorShell::HideCursor(), InetAttr, Init(), vcl::Window::Invalidate(), SfxBindings::InvalidateAll(), comphelper::LibreOfficeKit::isActive(), SwFormatHeader::IsActive(), SwFormatFooter::IsActive(), SwWrtShell::IsAddMode(), SwRootFrame::IsBetweenPages(), SwWrtShell::IsBlockMode(), SwFEShell::IsDrawCreate(), IsDrawObjSelectable(), SwWrtShell::IsExtMode(), SwFEShell::IsFrameSelected(), SwCursorShell::IsGCAttr(), SwViewShell::IsHeaderFooterEdit(), SwViewOption::IsHideWhitespaceMode(), PopupMenu::IsInExecute(), SwContentAtPos::IsInProtectSect(), SwWrtShell::IsInSelect(), SwFEShell::IsInsideSelectedObj(), MouseEvent::IsMod1(), SwFEShell::IsNumLabel(), SfxInPlaceClient::IsObjectInPlaceActive(), SwFEShell::IsObjSelectable(), SwFEShell::IsObjSelected(), SvtSecurityOptions::IsOptionSet(), SwCursorShell::IsReadOnlyAvailable(), SwWrtShell::IsSelFrameMode(), SwFEShell::IsSelObjProtected(), MouseEvent::IsShift(), SwViewShell::IsShowHeaderFooterSeparator(), SwCursorShell::IsTableMode(), SwFEShell::IsURLGrfAtPos(), SwFEShell::IsVerticalModeAtNdAndPos(), SwViewShell::IsViewLocked(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, SwWrtShell::LaunchOLEObj(), lcl_urlOverBackground(), SwWrtShell::LeaveAddMode(), SwWrtShell::LeaveSelFrameMode(), SwWrtShell::Left(), SwViewShell::LockView(), m_nDDStartPosX, m_nDDStartPosY, SwFEShell::MakeSelVisible(), MOUSE_LEFT, MOUSE_RIGHT, SdrView::MouseButtonDown(), SwPosition::nContent, SwPosition::nNode, NONE, ODF_FORMDROPDOWN, OK, Ole, SwFrame::OnRightPage(), Parent, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SdrView::PickAnything(), SdrMarkView::PickHandle(), SwWrtShell::PushMode(), RES_TXTATR_INPUTFIELD, SwWrtShell::ResetCursorStack(), ROW_HORI, ROWSEL_HORI, ROWSEL_HORI_RTL, SEL_HORI, SEL_HORI_RTL, SwFEShell::SelectObj(), SwWrtShell::SelectTableRowCol(), SwCursorShell::SelectText(), SwFEShell::SelFlyGrabCursor(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwCursorShell::SelTableBox(), SwWrtShell::SelWrd(), SET_CURR_SHELL, SwViewOption::SetHideWhitespaceMode(), SdrHdl::SetSelected(), SwWrtShell::SetShowHeaderFooterSeparator(), SfxBindings::SetState(), Point::setX(), SwFEShell::ShouldObjectBeSelected(), SwCursorShell::ShowCursor(), SwWrtShell::SttSelect(), SW_ADD_SELECT, SW_ENTER_GROUP, SwCursorShell::TestCurrPam(), SwFEShell::ToggleHeaderFooterEdit(), TYP_AUTHORITY, TYP_DROPDOWN, TYP_INPUTFLD, TYP_POSTITFLD, TYP_SCRIPTFLD, TYP_SETINPFLD, SwWrtShell::UnSelectFrame(), SfxBindings::Update(), SwTextAttr::Which(), SwFEShell::WhichMouseTabCol(), Point::X(), and Point::Y().

Referenced by LogicMouseButtonDown(), and SetGraphicTwipPosition().

void SwEditWin::MouseButtonUp ( const MouseEvent rMEvt)
overrideprivatevirtual

Button Up.

Reimplemented from vcl::Window.

Definition at line 4254 of file edtwin.cxx.

References SwContentAtPos::aFnd, SfxRequest::AppendItem(), ApplyCharBackground(), SwFEShell::BreakDrag(), SwWrtShell::CallSetCursor(), tools::Rectangle::Center(), SwFEShell::ChgCurPageDesc(), SwWrtShell::ClickToField(), SwWrtShell::ClickToINetAttr(), SwWrtShell::ClickToINetGrf(), SwFEShell::Copy(), CRSR_POSCHG, SvtSecurityOptions::CtrlClickHyperlink, SwContentAtPos::eContentAtPos, SwWrtShell::Edit(), SdrViewEvent::eEvent, EMPTY, SwWrtShell::EndDrag(), SwEditShell::EndUndo(), SwWrtShell::EnterAddMode(), SwWrtShell::EnterSelFrameMode(), SwWrtShell::EnterStdMode(), SwWrtShell::ExecMacro(), Field, SwFEShell::FindAnchorPos(), SwFrameFormat::FindSdrObject(), FLY_ATCNT, FormControl, Ftn, g_bDDTimerStarted, g_bFrameDrag, g_bHoldSelection, g_bModePushed, g_bNoInterrupt, g_bValidCursorPos, g_eSdrMoveHdl, tools::SvRef< class >::get(), SwSmartTagMgr::Get(), SdrMarkView::GetAllMarkedRect(), SfxViewFrame::GetBindings(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), SwCursorShell::GetContentAtPos(), SwViewShell::GetDoc(), SdrMarkView::GetDragMode(), SwViewShell::GetDrawView(), sw::mark::IFieldmark::GetFieldname(), SwFEShell::GetFlyFrameFormat(), SwContact::GetFormat(), SwFEShell::GetFormatFromObj(), SdrPaintView::getHitTolLog(), SwDoc::GetIDocumentUndoRedo(), SwEditShell::GetLastUndoInfo(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), MouseEvent::GetModifier(), SwTextBoxHelper::getOtherTextBoxFormat(), MouseEvent::GetPosPixel(), SwWrtShell::GetSelectionType(), SwFEShell::GetSelFrameType(), SwViewOption::GetShdwCursorFillMode(), SwDocShell::GetStyleSheetPool(), SvxURLField::GetTargetFrame(), IDocumentUndoRedo::GetUndoActionCount(), SvxURLField::GetURL(), GetUserCall(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), SwFormatClipboard::HasContent(), SwCursorShell::HasReadonlySel(), SwWrtShell::HasSelection(), InetAttr, Init(), INS_FROM_SHADOWCRSR, SfxBindings::Invalidate(), sw::mark::IFieldmark::Invalidate(), SfxBindings::InvalidateAll(), SwViewShell::InvalidateWindows(), comphelper::LibreOfficeKit::isActive(), SwWrtShell::IsAddMode(), sw::mark::ICheckboxFieldmark::IsChecked(), SwFEShell::IsDrawCreate(), tools::Rectangle::IsEmpty(), SwFEShell::IsFrameSelected(), SwContentAtPos::IsInProtectSect(), SwWrtShell::IsInSelect(), SwRect::IsInside(), MouseEvent::IsMod1(), SwFEShell::IsObjSelected(), SvtSecurityOptions::IsOptionSet(), 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(), SdrMarkView::MarkObj(), MOUSE_LEFT, MOUSE_RIGHT, SdrView::MouseButtonUp(), NewView, nId, NONE, nPos, OBJ_NONE, ODF_FORMCHECKBOX, SwFormatClipboard::Paste(), SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SdrView::PickAnything(), SdrMarkView::PickObj(), SwWrtShell::PopMode(), SdrViewEvent::pURLField, RES_CHRATR_BACKGROUND, RES_CHRATR_COLOR, RES_FLYFRMFMT, RES_TXTATR_INPUTFIELD, SET_CURR_SHELL, SwEditShell::SetAttrItem(), sw::mark::ICheckboxFieldmark::SetChecked(), SwEditShell::SetCurNumRule(), SwFEShell::SetFrameFormat(), SdrSnapView::SetOrtho(), SwCursorShell::SetShadowCursorPos(), SwEditShell::SetTextFormatColl(), SwCursorShell::SetVisibleCursor(), SmartTag, SwEditShell::StartUndo(), Table, SdrCreateView::TakeActionRect(), SwCursorShell::TestCurrPam(), Text, tools::Rectangle::TopLeft(), UI_DRAG_AND_COPY, SwEditShell::Undo(), SdrMarkView::UnmarkAllObj(), SwCursorShell::UnSetVisibleCursor(), SwViewShell::VisArea(), SwTextAttr::Which(), Point::X(), Y, and Point::Y().

Referenced by LogicMouseButtonUp(), and SetGraphicTwipPosition().

void SwEditWin::MouseMove ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from vcl::Window.

Definition at line 3725 of file edtwin.cxx.

References SwViewShell::ActionPend(), SwContentAtPos::aFnd, SdrMarkView::AreObjectsMarked(), SwWrtShell::CallEvent(), SwWrtShell::CallSetCursor(), COL_HORI, COL_NONE, COL_VERT, COLSEL_HORI, COLSEL_VERT, CRSR_POSCHG, SwWrtShell::Drag(), EVENT_OBJECT_URLITEM, SwWrtShell::ExecMacro(), Field, SwFEShell::FindAnchorPos(), g_bDDINetAttr, g_bDDTimerStarted, g_bFrameDrag, g_bValidCursorPos, g_eSdrMoveHdl, tools::SvRef< class >::get(), SfxViewFrame::GetBindings(), SwViewOption::getBrowseMode(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), SwCursorShell::GetContentAtPos(), GetDfltMetric(), SwViewOption::GetDirectCursorColor(), SdrMarkView::GetDragMode(), SwViewShell::GetDrawView(), SwFEShell::GetFlyFrameFormat(), SwFEShell::GetFormatFromAnyObj(), SdrHdl::GetKind(), MouseEvent::GetMode(), MouseEvent::GetModifier(), SwFEShell::GetNumRuleNodeAtPos(), SwViewShell::GetOut(), MouseEvent::GetPosPixel(), SwFEShell::GetRelativePagePosition(), SwWrtShell::GetSelectionType(), SwCursorShell::GetShadowCursorPos(), SwViewOption::GetShdwCursorFillMode(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), SwViewShell::GetViewOptions(), Graphic, SwCallMouseEvent::HasEvent(), SwWrtShell::HasSelection(), SwRect::Height(), InetAttr, SfxBindings::Invalidate(), SwWrtShell::Is_FnDragEQBeginDrag(), comphelper::LibreOfficeKit::isActive(), SwWrtShell::IsAddMode(), SwWrtShell::IsBlockMode(), SdrHdl::IsCornerHdl(), SwFEShell::IsFrameSelected(), SwWrtShell::IsInSelect(), SwRect::IsInside(), IsMinMove(), SwFEShell::IsNumLabel(), SwFEShell::IsObjSelectable(), SwFEShell::IsObjSelected(), SwWrtShell::IsSelFrameMode(), SwViewOption::IsShadowCursor(), MouseEvent::IsShift(), MouseEvent::IsSynthetic(), SwCursorShell::IsTableMode(), SwFEShell::IsVerticalModeAtNdAndPos(), KEY_MOD1, KEY_MOD2, KEY_SHIFT, LEFT, m_nDDStartPosX, m_nDDStartPosY, Media, MOUSE_LEFT, SdrView::MouseMove(), nPos, Ole, SwContentAtPos::pAttr, SwContentAtPos::pField, SdrMarkView::PickHandle(), SwRect::Pos(), Postit, RIGHT, ROW_HORI, ROW_VERT, ROWSEL_HORI