LibreOffice Module vcl (master)  1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
vcl::Window Class Reference

#include <window.hxx>

Inheritance diagram for vcl::Window:
[legend]
Collaboration diagram for vcl::Window:
[legend]

Classes

struct  PointerState
 

Public Member Functions

 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
 if this is a proxy return the client, otherwise itself More...
 
SAL_DLLPRIVATE ImplWinDataImplGetWinData () const
 
SAL_DLLPRIVATE vcl::WindowImplGetClientWindow () const
 
SAL_DLLPRIVATE vcl::WindowImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr)
 
SAL_DLLPRIVATE vcl::WindowImplGetParent () const
 
SAL_DLLPRIVATE vcl::WindowImplFindWindow (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE bool ImplSetClipFlag (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE bool ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsFloatingWindow () const
 
SAL_DLLPRIVATE bool ImplIsPushButton () const
 
SAL_DLLPRIVATE bool ImplIsSplitter () const
 
SAL_DLLPRIVATE bool ImplIsOverlapWindow () const
 
SAL_DLLPRIVATE void ImplIsInTaskPaneList (bool mbIsInTaskList)
 
SAL_DLLPRIVATE WindowImplImplGetWindowImpl () const
 
SAL_DLLPRIVATE Point ImplFrameToOutput (const Point &rPos)
 
SAL_DLLPRIVATE void ImplGrabFocus (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplGrabFocusToDocument (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvertFocus (const tools::Rectangle &rRect)
 
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer () const
 
SAL_DLLPRIVATE void ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false)
 
SAL_DLLPRIVATE void ImplGenerateMouseMove ()
 
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE void ImplNotifyIconifiedState (bool bIconified)
 
SAL_DLLPRIVATE void ImplUpdateAll ()
 
SAL_DLLPRIVATE void ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE)
 
SAL_DLLPRIVATE void ImplMirrorFramePos (Point &pt) const
 
SAL_DLLPRIVATE void ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
 
SAL_DLLPRIVATE void ImplCallResize ()
 
SAL_DLLPRIVATE void ImplCallMove ()
 
SAL_DLLPRIVATE void CompatGetFocus ()
 
SAL_DLLPRIVATE void CompatLoseFocus ()
 
SAL_DLLPRIVATE void CompatStateChanged (StateChangedType nStateChange)
 
SAL_DLLPRIVATE void CompatDataChanged (const DataChangedEvent &rDCEvt)
 
SAL_DLLPRIVATE bool CompatPreNotify (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE bool CompatNotify (NotifyEvent &rNEvt)
 
void IncModalCount ()
 
void DecModalCount ()
 
 Window (vcl::Window *pParent, WinBits nStyle=0)
 
virtual ~Window () override
 
::OutputDevice const * GetOutDev () const
 
::OutputDeviceGetOutDev ()
 
Color GetBackgroundColor () const
 
const WallpaperGetBackground () const
 
bool IsBackground () const
 
const MapModeGetMapMode () const
 
void SetBackground ()
 
void SetBackground (const Wallpaper &rBackground)
 
virtual void 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
 Can the widget derived from this Window do the double-buffering via RenderContext properly? More...
 
void RequestDoubleBuffering (bool bRequest)
 Enable/disable double-buffering of the frame window and all its children. More...
 
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)
 Override EnableInput. More...
 
bool IsAlwaysEnableInput () const
 returns the current AlwaysEnableInput state More...
 
bool IsInModalMode () const
 A window is in modal mode if one of its children or subchildren is a running modal window (a modal dialog) More...
 
void SetActivateMode (ActivateModeFlags nMode)
 
ActivateModeFlags GetActivateMode () const
 
void ToTop (ToTopFlags nFlags=ToTopFlags::NONE)
 
void SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags)
 
void EnableAlwaysOnTop (bool bEnable=true)
 
bool IsAlwaysOnTopEnabled () const
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
 
virtual void SetPosPixel (const Point &rNewPos)
 
virtual Point GetPosPixel () const
 
virtual void SetSizePixel (const Size &rNewSize)
 
virtual Size GetSizePixel () const
 
virtual void SetPosSizePixel (const Point &rNewPos, const Size &rNewSize)
 
virtual void SetOutputSizePixel (const Size &rNewSize)
 
bool IsDefaultPos () const
 
bool IsDefaultSize () const
 
Point GetOffsetPixelFrom (const vcl::Window &rWindow) const
 
Point OutputToScreenPixel (const Point &rPos) const
 
Point ScreenToOutputPixel (const Point &rPos) const
 
Point OutputToNormalizedScreenPixel (const Point &rPos) const
 
Point NormalizedScreenToOutputPixel (const Point &rPos) const
 
Point OutputToAbsoluteScreenPixel (const Point &rPos) const
 
Point AbsoluteScreenToOutputPixel (const Point &rPos) const
 
tools::Rectangle GetDesktopRectPixel () const
 
tools::Rectangle GetWindowExtentsRelative (const vcl::Window *pRelativeWindow) const
 
bool IsScrollable () const
 
virtual void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE)
 
virtual void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void LogicInvalidate (const tools::Rectangle *pRectangle)
 Notification about some rectangle of the output device got invalidated.Used for the main document window. More...
 
virtual void PixelInvalidate (const tools::Rectangle *pRectangle)
 Notification about some rectangle of the output device got invalidated. More...
 
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)
 Set this when you need to act as if the window has focus even if it doesn't. More...
 
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)
 Similar to SetPointerPosPixel(), but sets the frame data's last mouse position instead. More...
 
void ShowPointer (bool bVisible)
 
void EnterWait ()
 
void LeaveWait ()
 
bool IsWait () const
 
void SetCursor (vcl::Cursor *pCursor)
 
vcl::CursorGetCursor () const
 
void SetZoom (const Fraction &rZoom)
 
const FractionGetZoom () const
 
bool IsZoom () const
 
tools::Long CalcZoom (tools::Long n) const
 
virtual void SetText (const OUString &rStr)
 
virtual OUString GetText () const
 
virtual OUString GetDisplayText () const
 
virtual const WallpaperGetDisplayBackground () const
 
void SetHelpText (const OUString &rHelpText)
 
const OUString & GetHelpText () const
 
void SetQuickHelpText (const OUString &rHelpText)
 
const OUString & GetQuickHelpText () const
 
void SetHelpId (const OString &)
 
const OString & GetHelpId () const
 
sal_uInt16 GetChildCount () const
 
vcl::WindowGetChild (sal_uInt16 nChild) const
 
vcl::WindowGetWindow (GetWindowType nType) const
 
bool IsChild (const vcl::Window *pWindow) const
 
bool IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE void CollectChildren (::std::vector< vcl::Window * > &rAllChildren)
 Add all children to rAllChildren recursively. More...
 
virtual void ShowFocus (const tools::Rectangle &rRect)
 
void HideFocus ()
 
void DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
 
void ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
 
void HideTracking ()
 
void InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags)
 
void StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE)
 
void EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE)
 
bool IsTracking () const
 
void StartAutoScroll (StartAutoScrollFlags nFlags)
 
void EndAutoScroll ()
 
bool HandleScrollCommand (const CommandEvent &rCmd, ScrollBar *pHScrl, ScrollBar *pVScrl)
 
virtual const SystemEnvDataGetSystemData () const
 
virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface (bool bCreate=true)
 
void SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace)
 
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
 Interface to register for dialog / window tunneling. More...
 
const vcl::ILibreOfficeKitNotifier * GetLOKNotifier () const
 
vcl::LOKWindowId GetLOKWindowId () const
 
VclPtr< vcl::WindowGetParentWithLOKNotifier ()
 Find the nearest parent with LOK Notifier; can be itself if this Window has LOK notifier set. More...
 
void ReleaseLOKNotifier ()
 Indicate that LOK is not going to use this dialog any more. More...
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 Dumps itself and potentially its children to a property tree, to be written easily to JSON. More...
 
virtual void LogicMouseButtonDown (const MouseEvent &)
 Same as MouseButtonDown(), but coordinates are in logic unit. used for LOK. More...
 
virtual void LogicMouseButtonUp (const MouseEvent &)
 Same as MouseButtonUp(), but coordinates are in logic unit. used for LOK. More...
 
virtual void LogicMouseMove (const MouseEvent &)
 Same as MouseMove(), but coordinates are in logic unit. used for LOK. More...
 
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)
 Sets a custom clipboard for the window's frame, instead of creating it on-demand using css::datatransfer::clipboard::SystemClipboard. More...
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout)
 
void set_height_request (sal_Int32 nHeightRequest)
 
sal_Int32 get_height_request () const
 
void set_width_request (sal_Int32 nWidthRequest)
 
sal_Int32 get_width_request () const
 
Size get_preferred_size () const
 
VclAlign get_halign () const
 
void set_halign (VclAlign eAlign)
 
VclAlign get_valign () const
 
void set_valign (VclAlign eAlign)
 
bool get_hexpand () const
 
void set_hexpand (bool bExpand)
 
bool get_vexpand () const
 
void set_vexpand (bool bExpand)
 
bool get_expand () const
 
void set_expand (bool bExpand)
 
bool get_fill () const
 
void set_fill (bool bFill)
 
void set_border_width (sal_Int32 nBorderWidth)
 
sal_Int32 get_border_width () const
 
void set_margin_start (sal_Int32 nWidth)
 
sal_Int32 get_margin_start () const
 
void set_margin_end (sal_Int32 nWidth)
 
sal_Int32 get_margin_end () const
 
void set_margin_top (sal_Int32 nWidth)
 
sal_Int32 get_margin_top () const
 
void set_margin_bottom (sal_Int32 nWidth)
 
sal_Int32 get_margin_bottom () const
 
VclPackType get_pack_type () const
 
void set_pack_type (VclPackType ePackType)
 
sal_Int32 get_padding () const
 
void set_padding (sal_Int32 nPadding)
 
sal_Int32 get_grid_width () const
 
void set_grid_width (sal_Int32 nCols)
 
sal_Int32 get_grid_left_attach () const
 
void set_grid_left_attach (sal_Int32 nAttach)
 
sal_Int32 get_grid_height () const
 
void set_grid_height (sal_Int32 nRows)
 
sal_Int32 get_grid_top_attach () const
 
void set_grid_top_attach (sal_Int32 nAttach)
 
bool get_secondary () const
 
void set_secondary (bool bSecondary)
 
bool get_non_homogeneous () const
 
void set_non_homogeneous (bool bNonHomogeneous)
 
virtual bool set_property (const OString &rKey, const OUString &rValue)
 
bool set_font_attribute (const OString &rKey, const OUString &rValue)
 
void add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup)
 
void remove_from_all_size_groups ()
 
void add_mnemonic_label (FixedText *pLabel)
 
void remove_mnemonic_label (FixedText *pLabel)
 
const std::vector< VclPtr< FixedText > > & list_mnemonic_labels () const
 
void reorderWithinParent (sal_uInt16 nNewPosition)
 
void set_id (const OUString &rID)
 Sets an ID. More...
 
const OUString & get_id () const
 Get the ID of the window. More...
 
void EnableNativeWidget (bool bEnable=true)
 
bool IsNativeWidgetEnabled () const
 
void PaintToDevice (::OutputDevice *pDevice, const Point &rPos)
 
KeyIndicatorState GetIndicatorState () const
 Query the states of keyboard indicators - Caps Lock, Num Lock and Scroll Lock. More...
 
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
 
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
 Width of the text. More...
 
tools::Long GetTextHeight () const
 Height where any character of the current font fits; in logic coordinates. More...
 
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
 Query the platform layer for control support. More...
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 Query the native control's actual drawing region (including adornment) More...
 
- 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 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)
 Find an existing Window based on the LOKWindowId. More...
 
static bool IsLOKWindowsEmpty ()
 check if LOK Window container is empty More...
 
static OUString GetNonMnemonicString (const OUString &rStr)
 

Protected Member Functions

virtual void dispose () override
 This is intended to be used to clear any locally held references to other Window-subclass objects. More...
 
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
 
SAL_DLLPRIVATE Point ImplOutputToFrame (const Point &rPos)
 
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplValidate ()
 
SAL_DLLPRIVATE void ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE vcl::WindowImplGetBorderWindow () const
 
SAL_DLLPRIVATE void ImplInvalidate (const vcl::Region *rRegion, InvalidateFlags nFlags)
 
virtual WindowHitTest ImplHitTest (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplSetMouseTransparent (bool bTransparent)
 
SAL_DLLPRIVATE void ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags)
 
SAL_DLLPRIVATE bool ImplSetClipFlagChildren (bool bSysObjOnlySmaller)
 
SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE void PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE void PopPaintHelper (PaintHelper const *pHelper)
 
 Window (WindowType nType)
 
void SetCompoundControl (bool bCompound)
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
virtual void ImplAdjustNWFSizes ()
 
virtual void ApplySettings (vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE float approximate_char_width () const
 
- Protected Member Functions inherited from VclReferenceBase
 VclReferenceBase ()
 
virtual ~VclReferenceBase ()
 

Private Member Functions

SAL_DLLPRIVATE void ImplSetFrameParent (const vcl::Window *pParent)
 
SAL_DLLPRIVATE void ImplInsertWindow (vcl::Window *pParent)
 
SAL_DLLPRIVATE void ImplRemoveWindow (bool bRemoveFrameData)
 
SAL_DLLPRIVATE SalGraphicsImplGetFrameGraphics () const
 
SAL_DLLPRIVATE vcl::WindowImplGetFirstOverlapWindow ()
 
SAL_DLLPRIVATE const vcl::WindowImplGetFirstOverlapWindow () const
 
SAL_DLLPRIVATE bool ImplIsRealParentPath (const vcl::Window *pWindow) const
 
SAL_DLLPRIVATE bool ImplTestMousePointerSet ()
 
SAL_DLLPRIVATE void ImplResetReallyVisible ()
 
SAL_DLLPRIVATE void ImplSetReallyVisible ()
 
SAL_DLLPRIVATE void ImplCallInitShow ()
 
SAL_DLLPRIVATE void ImplInitResolutionSettings ()
 
SAL_DLLPRIVATE void ImplPointToLogic (vcl::RenderContext const &rRenderContext, vcl::Font &rFont) const
 
SAL_DLLPRIVATE void ImplLogicToPoint (vcl::RenderContext const &rRenderContext, vcl::Font &rFont) const
 
SAL_DLLPRIVATE bool ImplSysObjClip (const vcl::Region *pOldRegion)
 
SAL_DLLPRIVATE void ImplUpdateSysObjChildrenClip ()
 
SAL_DLLPRIVATE void ImplUpdateSysObjOverlapsClip ()
 
SAL_DLLPRIVATE void ImplUpdateSysObjClip ()
 
SAL_DLLPRIVATE void ImplIntersectWindowClipRegion (vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplIntersectWindowRegion (vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplExcludeWindowRegion (vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplExcludeOverlapWindows (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplExcludeOverlapWindows2 (vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplClipBoundaries (vcl::Region &rRegion, bool bThis, bool bOverlaps)
 
SAL_DLLPRIVATE bool ImplClipChildren (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplClipAllChildren (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplClipSiblings (vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplInitWinClipRegion ()
 
SAL_DLLPRIVATE void ImplInitWinChildClipRegion ()
 
SAL_DLLPRIVATE vcl::RegionImplGetWinChildClipRegion ()
 
SAL_DLLPRIVATE void ImplIntersectAndUnionOverlapWindows (const vcl::Region &rInterRegion, vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplIntersectAndUnionOverlapWindows2 (const vcl::Region &rInterRegion, vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplCalcOverlapRegionOverlaps (const vcl::Region &rInterRegion, vcl::Region &rRegion) const
 
SAL_DLLPRIVATE void ImplCalcOverlapRegion (const tools::Rectangle &rSourceRect, vcl::Region &rRegion, bool bChildren, bool bSiblings)
 
SAL_DLLPRIVATE void ImplCallPaint (const vcl::Region *pRegion, ImplPaintFlags nPaintFlags)
 Invoke the actual painting. More...
 
SAL_DLLPRIVATE void ImplCallOverlapPaint ()
 
SAL_DLLPRIVATE void ImplUpdateWindowPtr (vcl::Window *pWindow)
 
SAL_DLLPRIVATE void ImplUpdateWindowPtr ()
 
SAL_DLLPRIVATE void ImplUpdateOverlapWindowPtr (bool bNewFrame)
 
SAL_DLLPRIVATE bool ImplUpdatePos ()
 
SAL_DLLPRIVATE void ImplUpdateSysObjPos ()
 
SAL_DLLPRIVATE void ImplUpdateGlobalSettings (AllSettings &rSettings, bool bCallHdl=true) const
 
SAL_DLLPRIVATE void ImplToBottomChild ()
 
SAL_DLLPRIVATE void ImplCalcToTop (ImplCalcToTopData *pPrevData)
 
SAL_DLLPRIVATE void ImplToTop (ToTopFlags nFlags)
 
SAL_DLLPRIVATE void ImplStartToTop (ToTopFlags nFlags)
 
SAL_DLLPRIVATE void ImplFocusToTop (ToTopFlags nFlags, bool bReallyVisible)
 
SAL_DLLPRIVATE void ImplShowAllOverlaps ()
 
SAL_DLLPRIVATE void ImplHideAllOverlaps ()
 
SAL_DLLPRIVATE bool ImplDlgCtrl (const KeyEvent &rKEvt, bool bKeyInput)
 
SAL_DLLPRIVATE bool ImplHasDlgCtrl () const
 
SAL_DLLPRIVATE void ImplDlgCtrlNextWindow ()
 
SAL_DLLPRIVATE void ImplDlgCtrlFocusChanged (vcl::Window *pWindow, bool bGetFocus)
 
SAL_DLLPRIVATE vcl::WindowImplFindDlgCtrlWindow (vcl::Window *pWindow)
 
SAL_DLLPRIVATE void ImplCallActivateListeners (vcl::Window *)
 
SAL_DLLPRIVATE void ImplCallDeactivateListeners (vcl::Window *)
 
SAL_DLLPRIVATE tools::Rectangle ImplOutputToUnmirroredAbsoluteScreenPixel (const tools::Rectangle &rRect) const
 
SAL_DLLPRIVATE tools::Rectangle ImplUnmirroredAbsoluteScreenToOutputPixel (const tools::Rectangle &rRect) const
 
SAL_DLLPRIVATE tools::Long ImplGetUnmirroredOutOffX ()
 
SAL_DLLPRIVATE::std::vector< VclPtr< vcl::Window > > & ImplGetOwnerDrawList ()
 
SAL_DLLPRIVATE vcl::WindowImplGetTopmostFrameWindow ()
 
SAL_DLLPRIVATE tools::Rectangle ImplGetWindowExtentsRelative (const vcl::Window *pRelativeWindow) const
 
SAL_DLLPRIVATE bool ImplStopDnd ()
 
SAL_DLLPRIVATE void ImplStartDnd ()
 
virtual void ImplPaintToDevice (::OutputDevice *pTargetOutDev, const Point &rPos)
 
Size get_ungrouped_preferred_size () const
 
SAL_DLLPRIVATE void ImplEnableRTL (bool bEnable)
 

Static Private Member Functions

static SAL_DLLPRIVATE void ImplCallFocusChangeActivate (vcl::Window *pNewOverlapWindow, vcl::Window *pOldOverlapWindow)
 
static SAL_DLLPRIVATE void ImplNewInputContext ()
 
static SAL_DLLPRIVATE void ImplHandleScroll (ScrollBar *pHScrl, double nX, ScrollBar *pVScrl, double nY)
 

Private Attributes

std::unique_ptr< WindowImplmpWindowImpl
 

Friends

class ::vcl::Cursor
 
class ::vcl::WindowOutputDevice
 
class ::OutputDevice
 
class ::Application
 
class ::SystemWindow
 
class ::WorkWindow
 
class ::Dialog
 
class ::Edit
 
class ::MessBox
 
class ::MessageDialog
 
class ::DockingWindow
 
class ::FloatingWindow
 
class ::GroupBox
 
class ::PushButton
 
class ::RadioButton
 
class ::SalInstanceWidget
 
class ::SystemChildWindow
 
class ::ImplBorderWindow
 
class ::PaintHelper
 
class ::LifecycleTest
 
class ::VclEventListeners
 
class ::ImplDockingWindowWrapper
 
class ::ImplPopupFloatWin
 
class ::MenuFloatingWindow
 
class ::svt::PopupWindowControllerImpl
 
const char * ImplDbgCheckWindow (const void *pObj)
 

Accessibility

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
 
void SetAccessibleRelationMemberOf (vcl::Window *pMemberOf)
 
vcl::WindowGetAccessibleRelationMemberOf () const
 
bool IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true)
 
void SetAccessibilityEventsSuppressed (bool bSuppressed)
 
KeyEvent GetActivationKey () 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 ()
 clear OptimalSize cache More...
 
SAL_DLLPRIVATE bool ImplIsAccessibleCandidate () const
 
SAL_DLLPRIVATE bool ImplIsAccessibleNativeFrame () const
 

Detailed Description

Definition at line 441 of file window.hxx.

Constructor & Destructor Documentation

vcl::Window::Window ( WindowType  nType)
explicitprotected
vcl::Window::Window ( vcl::Window pParent,
WinBits  nStyle = 0 
)
explicit

Definition at line 99 of file window.cxx.

References AllSettings::GetLayoutRTL(), ImplInit(), mpWindowImpl, and WINDOW.

vcl::Window::~Window ( )
overridevirtual

Definition at line 554 of file window.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

Point vcl::Window::AbsoluteScreenToOutputPixel ( const Point &  rPos) const
void vcl::Window::Activate ( )
virtual
void vcl::Window::add_mnemonic_label ( FixedText pLabel)

Definition at line 1965 of file window2.cxx.

References FixedText::set_mnemonic_widget(), and v.

Referenced by FixedText::set_mnemonic_widget().

void vcl::Window::add_to_size_group ( const std::shared_ptr< VclSizeGroup > &  xGroup)

Definition at line 1942 of file window2.cxx.

References WindowImpl::m_xSizeGroup, WindowImpl::mpBorderWindow, mpWindowImpl, and NONE.

void vcl::Window::AddChildEventListener ( const Link< VclWindowEvent &, void > &  rEventListener)

Definition at line 318 of file event.cxx.

References mpWindowImpl.

Referenced by SalInstanceWidget::ensure_mouse_listener(), and TabControl::ImplInit().

void vcl::Window::AddEventListener ( const Link< VclWindowEvent &, void > &  rEventListener)
void vcl::Window::AlwaysEnableInput ( bool  bAlways,
bool  bChild = true 
)

Override EnableInput.

This can be necessary due to other people using EnableInput for whole window hierarchies.

Parameters
bAlwayssets always enabled flag
bChildif true children are recursively set to AlwaysEnableInput

Definition at line 2598 of file window.cxx.

References AlwaysEnableInput(), AlwaysInputEnabled, AlwaysInputNone, EnableInput(), and mpWindowImpl.

Referenced by AlwaysEnableInput().

void vcl::Window::ApplyControlBackground ( vcl::RenderContext rRenderContext,
const Color rDefaultColor 
)
void vcl::Window::ApplyControlFont ( vcl::RenderContext rRenderContext,
const vcl::Font rDefaultFont 
)
void vcl::Window::ApplyControlForeground ( vcl::RenderContext rRenderContext,
const Color rDefaultColor 
)
void vcl::Window::ApplySettings ( vcl::RenderContext rRenderContext)
protectedvirtual
float vcl::Window::approximate_char_width ( ) const
protected
float vcl::Window::approximate_digit_width ( ) const
Size vcl::Window::CalcOutputSize ( const Size rWinSz) const
tools::Long vcl::Window::CalcTitleWidth ( ) const
Size vcl::Window::CalcWindowSize ( const Size rOutSz) const
tools::Long vcl::Window::CalcZoom ( tools::Long  n) const
void vcl::Window::CallEventListeners ( VclEventId  nEvent,
void pData = nullptr 
)
protected

Definition at line 218 of file event.cxx.

References aEvent, GetComponentInterface(), GetParent(), Application::ImplCallEventListeners(), VclReferenceBase::isDisposed(), and mpWindowImpl.

Referenced by ToolBox::Activate(), Control::CallEventListeners(), StatusBar::Clear(), ToolBox::Clear(), ToolBox::Click(), Dialog::Close(), SystemWindow::Close(), DockingWindow::Close(), Command(), ToolBox::CopyItem(), ToolBox::Deactivate(), dispose(), ImplDockingWindowWrapper::Docking(), ToolBox::DoubleClick(), Enable(), ToolBox::EnableItem(), ImplDockingWindowWrapper::EndDocking(), StatusBar::HideItem(), ToolBox::Highlight(), IMPL_LINK_NOARG(), ImplCallActivateListeners(), ImplCallDeactivateListeners(), ImplCallMove(), ImplCallResize(), ToolBox::ImplChangeHighlight(), StatusBar::ImplDrawItem(), ToolBox::ImplInvalidate(), ImplNotifyKeyMouseCommandEventListeners(), ImplSetReallyVisible(), ToolBox::InsertBreak(), StatusBar::InsertItem(), ToolBox::InsertItem(), ToolBox::InsertSeparator(), ToolBox::InsertSpace(), ToolBox::InsertWindow(), ToolBox::MouseMove(), Paint(), PreNotify(), ImplDockingWindowWrapper::PrepareToggleFloatingMode(), StatusBar::RemoveItem(), ToolBox::RemoveItem(), ToolBox::Select(), StatusBar::SetAccessibleName(), SetAccessibleName(), ToolBox::SetItemState(), ToolBox::SetItemText(), ToolBox::SetItemWindow(), SystemWindow::SetMenuBar(), SetText(), Show(), StatusBar::ShowItem(), ImplDockingWindowWrapper::StartDocking(), ImplDockingWindowWrapper::ToggleFloatingMode(), and UpdateSettings().

void vcl::Window::CaptureMouse ( )
void vcl::Window::CollectChildren ( ::std::vector< vcl::Window * > &  rAllChildren)

Add all children to rAllChildren recursively.

Definition at line 2151 of file window.cxx.

References CollectChildren(), and mpWindowImpl.

Referenced by DebugEventInjector::ChooseWindow(), and CollectChildren().

void vcl::Window::Command ( const CommandEvent rCEvt)
virtual
void vcl::Window::CompatDataChanged ( const DataChangedEvent rDCEvt)

Definition at line 3889 of file window.cxx.

References DataChanged(), and mpWindowImpl.

Referenced by EnableNativeWidget(), and NotifyAllChildren().

void vcl::Window::CompatGetFocus ( )

Definition at line 3865 of file window.cxx.

References GetFocus(), and mpWindowImpl.

Referenced by ImplDlgCtrl(), and ImplGrabFocus().

void vcl::Window::CompatLoseFocus ( )

Definition at line 3873 of file window.cxx.

References LoseFocus(), and mpWindowImpl.

Referenced by IMPL_LINK_NOARG(), ImplDlgCtrl(), and ImplGrabFocus().

bool vcl::Window::CompatNotify ( NotifyEvent rNEvt)

Definition at line 3905 of file window.cxx.

References EventNotify(), and mpWindowImpl.

Referenced by Command(), GetFocus(), KeyInput(), KeyUp(), and LoseFocus().

bool vcl::Window::CompatPreNotify ( NotifyEvent rNEvt)

Definition at line 3897 of file window.cxx.

References mpWindowImpl, and PreNotify().

Referenced by ImplCallPreNotify().

void vcl::Window::CompatStateChanged ( StateChangedType  nStateChange)
css::uno::Reference< css::accessibility::XAccessible > vcl::Window::CreateAccessible ( )
virtual
void vcl::Window::DataChanged ( const DataChangedEvent rDCEvt)
virtual
void vcl::Window::Deactivate ( )
virtual

Reimplemented in ToolBox, and ImplBorderWindow.

Definition at line 1829 of file window.cxx.

Referenced by IMPL_LINK_NOARG(), ImplCallFocusChangeActivate(), and SetActivateMode().

vcl::Window::DECL_DLLPRIVATE_LINK ( ImplHandlePaintHdl  ,
Timer ,
void   
)
vcl::Window::DECL_DLLPRIVATE_LINK ( ImplGenerateMouseMoveHdl  ,
void ,
void   
)
vcl::Window::DECL_DLLPRIVATE_LINK ( ImplTrackTimerHdl  ,
Timer ,
void   
)
vcl::Window::DECL_DLLPRIVATE_LINK ( ImplAsyncFocusHdl  ,
void ,
void   
)
vcl::Window::DECL_DLLPRIVATE_LINK ( ImplHandleResizeTimerHdl  ,
Timer ,
void   
)
void vcl::Window::DecModalCount ( )

Definition at line 3599 of file window.cxx.

References GetParent(), and mpWindowImpl.

Referenced by MenuFloatingWindow::End(), and Dialog::ImplSetModalInputMode().

bool vcl::Window::DeleteSurroundingText ( const Selection rSelection)
virtual
void vcl::Window::Disable ( bool  bChild = true)
inline

Definition at line 891 of file window.hxx.

References Enable.

void vcl::Window::dispose ( void  )
overrideprotectedvirtual

This is intended to be used to clear any locally held references to other Window-subclass objects.

Reimplemented from VclReferenceBase.

Reimplemented in ImplCFieldFloatWin, ImplListBoxFloatingWindow, DateField, RadioButton, ImplListBox, VclPaned, SvTreeListBox, ToolBox, ImplListBoxWindow, ResizableDockingWindow, MetricBox, DropdownDockingWindow, MetricField, SvtIconChoiceCtrl, Calendar, DockingWindow, Control, SystemWindow, Edit, ListBox, ImplBorderWindow, SplitWindow, FloatingWindow, vcl::RoadmapWizard, StatusBar, SvHeaderTabListBox, MenuBarWindow, Dialog, VclMultiLineEdit, TabControl, ScrollBar, MenuFloatingWindow, CalendarField, Button, ImplWheelWindow, WorkWindow, Splitter, MenuButton, SvTabListBox, ComboBox, FixedText, HelpTextWindow, VerticalTabControl, TextWindow, MessageDialog, TabPage, NotebookbarPopup, SystemChildWindow, PriorityMergedHBox, DropdownBox, SpinField, NotebookBar, FormattedField, ManagedMenuButton, and InterimItemWindow.

Definition at line 137 of file window.cxx.

References Application::Abort(), CallEventListeners(), SalInstance::DestroyFrame(), VclReferenceBase::dispose(), VclPtr< reference_type >::disposeAndClear(), EndExtTextInput(), EndTracking(), Exception, VclPtr< reference_type >::get(), GetAccessibleParentWindow(), GetOutDev(), GetParent(), GetStyle(), SystemWindow::GetTaskPaneList(), GetText(), UnoWrapperBase::GetUnoWrapper(), GrabFocus(), Hide(), if(), ImplDestroyHelpWindow(), OutputDevice::ImplDisposeCanvas(), ImplGetDockingManager(), ImplGetFirstOverlapWindow(), ImplGetOwnerDrawList(), ImplGetSVData(), ImplGetSVHelpData(), ImplIsAccessibleCandidate(), ImplIsAccessibleNativeFrame(), SystemWindow::ImplIsInTaskPaneList(), ImplIsOverlapWindow(), ImplIsRealParentPath(), ImplRemoveWindow(), IsEnabled(), IsInModalMode(), IsInputEnabled(), IsMouseCaptured(), IsSystemWindow(), list_mnemonic_labels(), ImplSVData::maFrameData, ImplWinData::maTopWindowChildren, ImplSVFrameData::mpActiveApplicationFrame, ImplSVData::mpDefInst, ImplSVWinData::mpExtTextInputWin, ImplSVFrameData::mpFirstFrame, ImplSVWinData::mpFocusWin, ImplSVWinData::mpLastDeacWin, ImplSVWinData::mpLastWheelWindow, ImplSVWinData::mpTrackWin, ImplSVData::mpWinData, mpWindowImpl, ObjectDying, p, OutputDevice::ReleaseGraphics(), ReleaseMouse(), remove_from_all_size_groups(), remove_mnemonic_label(), Application::RemoveMouseAndKeyEvents(), Application::RemoveUserEvent(), TaskPaneList::RemoveWindow(), DockingManager::RemoveWindow(), SAL_WARN, SAL_WARN_IF, WB_OWNERDRAWDECORATION, WindowChildDestroyed, and UnoWrapperBase::WindowDestroyed().

Referenced by DropdownBox::dispose(), PriorityMergedHBox::dispose(), TabPage::dispose(), VerticalTabControl::dispose(), ImplBorderWindow::dispose(), and VclPaned::dispose().

void vcl::Window::Draw ( ::OutputDevice pDev,
const Point &  rPos,
SystemTextColorFlags  nFlags 
)
virtual

Definition at line 1819 of file window.cxx.

void vcl::Window::DrawSelectionBackground ( const tools::Rectangle rRect,
sal_uInt16  highlight,
bool  bChecked,
bool  bDrawBorder 
)
void vcl::Window::DumpAsPropertyTree ( tools::JsonWriter rJsonWriter)
virtual
void vcl::Window::Enable ( bool  bEnable = true,
bool  bChild = true 
)
void vcl::Window::EnableAllResize ( )

Definition at line 1011 of file window2.cxx.

void vcl::Window::EnableAlwaysOnTop ( bool  bEnable = true)

Definition at line 594 of file stacking.cxx.

References ToTop.

void vcl::Window::EnableChildPointerOverwrite ( bool  bOverwrite)

Definition at line 514 of file mouse.cxx.

References ImplGetMousePointer(), ImplTestMousePointerSet(), and mpWindowImpl.

void vcl::Window::EnableChildTransparentMode ( bool  bEnable = true)
void vcl::Window::EnableClipSiblings ( bool  bClipSiblings = true)

Definition at line 158 of file window/clipping.cxx.

References mpWindowImpl.

void vcl::Window::EnableDocking ( bool  bEnable = true)
void vcl::Window::EnableInput ( bool  bEnable = true,
bool  bChild = true 
)
void vcl::Window::EnableInput ( bool  bEnable,
const vcl::Window pExcludeWindow 
)
void vcl::Window::EnableMapMode ( bool  bEnable = true)
void vcl::Window::EnableNativeWidget ( bool  bEnable = true)
void vcl::Window::EnablePaint ( bool  bEnable)

Definition at line 1157 of file window2.cxx.

void vcl::Window::EnableRTL ( bool  bEnable = true)
virtual

Reimplemented in Control.

Definition at line 216 of file window3.cxx.

References OutputDevice::EnableRTL(), and GetOutDev().

Referenced by SalInstanceWidget::set_direction(), and TextView::TextView().

void vcl::Window::EndAutoScroll ( )
void vcl::Window::EndExtTextInput ( )
void vcl::Window::EndSaveFocus ( const VclPtr< vcl::Window > &  xFocusWin)
static

Definition at line 356 of file window2.cxx.

References GrabFocus(), and VclReferenceBase::isDisposed().

void vcl::Window::EndTracking ( TrackingEventFlags  nFlags = TrackingEventFlags::NONE)
void vcl::Window::EnterWait ( )
void vcl::Window::Erase ( vcl::RenderContext rRenderContext)
bool vcl::Window::EventNotify ( NotifyEvent rNEvt)
virtual

Reimplemented in DateField, ImplListBox, ToolBox, MetricBox, MetricField, DockingWindow, Control, SystemWindow, vcl::RoadmapWizard, FloatingWindow, Dialog, TabControl, VclMultiLineEdit, SpinField, ComboBox, and FormattedField.

Definition at line 104 of file event.cxx.

References First, MouseEvent::GetClicks(), vcl::KeyCode::GetCode(), StyleSettings::GetDockingFloatsSupported(), DockingManager::GetDockingWindowWrapper(), ImplDockingWindowWrapper::GetDragArea(), GETFOCUS, KeyEvent::GetKeyCode(), NotifyEvent::GetKeyEvent(), vcl::KeyCode::GetModifier(), NotifyEvent::GetMouseEvent(), MouseEvent::GetPosPixel(), GetStyle(), NotifyEvent::GetType(), NotifyEvent::GetWindow(), GrabFocusOnly, ImplControlFocus(), ImplDlgCtrl(), ImplDlgCtrlFocusChanged(), ImplDockingWindowWrapper::ImplEnableStartDocking(), ImplGetDlgWindow(), ImplGetDockingManager(), ImplIsOverlapWindow(), ImplDockingWindowWrapper::ImplStartDocking(), ImplDockingWindowWrapper::ImplStartDockingEnabled(), VclReferenceBase::isDisposed(), ImplDockingWindowWrapper::IsDocking(), ImplDockingWindowWrapper::IsFloatingMode(), tools::Rectangle::IsInside(), MouseEvent::IsLeft(), ImplDockingWindowWrapper::IsLocked(), vcl::KeyCode::IsMod1(), MouseEvent::IsMod1(), vcl::KeyCode::IsShift(), KEY_F10, KEYINPUT, KEYUP, LOSEFOCUS, MOUSEBUTTONDOWN, MOUSEMOVE, mpWindowImpl, OutputToScreenPixel(), Point, ScreenToOutputPixel(), ImplDockingWindowWrapper::SetFloatingMode(), ToTop(), WantFocus, WB_DIALOGCONTROL, WB_NODIALOGCONTROL, and WB_TABSTOP.

Referenced by InterimItemWindow::ChildKeyInput(), CompatNotify(), Control::EventNotify(), InterimItemWindow::GetFocus(), MouseButtonDown(), MouseButtonUp(), and MouseMove().

void vcl::Window::ExpandPaintClipRegion ( const vcl::Region rRegion)
VclPtr< Window > vcl::Window::FindLOKWindow ( vcl::LOKWindowId  nWindowId)
static

Find an existing Window based on the LOKWindowId.

Definition at line 3192 of file window.cxx.

References end.

sal_Int32 vcl::Window::get_border_width ( ) const
bool vcl::Window::get_expand ( ) const
bool vcl::Window::get_fill ( ) const

Definition at line 1770 of file window2.cxx.

References WindowImpl::mbFill, WindowImpl::mpBorderWindow, and mpWindowImpl.

Referenced by VclBox::setAllocation().

sal_Int32 vcl::Window::get_grid_height ( ) const

Definition at line 1806 of file window2.cxx.

References WindowImpl::mnGridHeight, WindowImpl::mpBorderWindow, and mpWindowImpl.

sal_Int32 vcl::Window::get_grid_left_attach ( ) const
sal_Int32 vcl::Window::get_grid_top_attach ( ) const
sal_Int32 vcl::Window::get_grid_width ( ) const

Definition at line 1782 of file window2.cxx.

References WindowImpl::mnGridWidth, WindowImpl::mpBorderWindow, and mpWindowImpl.

VclAlign vcl::Window::get_halign ( ) const
sal_Int32 vcl::Window::get_height_request ( ) const
bool vcl::Window::get_hexpand ( ) const
const OUString & vcl::Window::get_id ( ) const
sal_Int32 vcl::Window::get_margin_bottom ( ) const
sal_Int32 vcl::Window::get_margin_end ( ) const
sal_Int32 vcl::Window::get_margin_start ( ) const
sal_Int32 vcl::Window::get_margin_top ( ) const
bool vcl::Window::get_non_homogeneous ( ) const
VclPackType vcl::Window::get_pack_type ( ) const
sal_Int32 vcl::Window::get_padding ( ) const

Definition at line 1758 of file window2.cxx.

References WindowImpl::mnPadding, WindowImpl::mpBorderWindow, and mpWindowImpl.

Referenced by VclBox::setAllocation().

Size vcl::Window::get_preferred_size ( ) const
bool vcl::Window::get_secondary ( ) const
Size vcl::Window::get_ungrouped_preferred_size ( ) const
private
VclAlign vcl::Window::get_valign ( ) const
bool vcl::Window::get_vexpand ( ) const
sal_Int32 vcl::Window::get_width_request ( ) const
css::uno::Reference< css::accessibility::XAccessible > vcl::Window::GetAccessible ( bool  bCreate = true)
vcl::Window * vcl::Window::GetAccessibleChildWindow ( sal_uInt16  n)
sal_uInt16 vcl::Window::GetAccessibleChildWindowCount ( )
OUString vcl::Window::GetAccessibleDescription ( ) const
OUString vcl::Window::GetAccessibleName ( ) const
vcl::Window * vcl::Window::GetAccessibleParentWindow ( ) const
vcl::Window * vcl::Window::GetAccessibleRelationLabeledBy ( ) const
vcl::Window * vcl::Window::GetAccessibleRelationLabelFor ( ) const
vcl::Window * vcl::Window::getAccessibleRelationLabelFor ( ) const
protectedvirtual

Reimplemented in FixedText.

Definition at line 511 of file accessibility.cxx.

References mpWindowImpl.

Referenced by FixedText::getAccessibleRelationLabelFor(), and GetAccessibleRelationLabelFor().

vcl::Window * vcl::Window::GetAccessibleRelationMemberOf ( ) const
sal_uInt16 vcl::Window::GetAccessibleRole ( ) const

Definition at line 349 of file accessibility.cxx.

References getDefaultAccessibleRole(), and mpWindowImpl.

ActivateModeFlags vcl::Window::GetActivateMode ( ) const
KeyEvent vcl::Window::GetActivationKey ( ) const
const Wallpaper & vcl::Window::GetBackground ( ) const
Color vcl::Window::GetBackgroundColor ( ) const
void vcl::Window::GetBorder ( sal_Int32 &  rLeftBorder,
sal_Int32 &  rTopBorder,
sal_Int32 &  rRightBorder,
sal_Int32 &  rBottomBorder 
) const
WindowBorderStyle vcl::Window::GetBorderStyle ( ) const

Definition at line 2024 of file window.cxx.

References mpWindowImpl, and NONE.

Referenced by PopupMenu::ImplExecute().

vcl::Window * vcl::Window::GetChild ( sal_uInt16  nChild) const
sal_uInt16 vcl::Window::GetChildCount ( ) const
Reference< XClipboard > vcl::Window::GetClipboard ( )
Reference< css::awt::XWindowPeer > vcl::Window::GetComponentInterface ( bool  bCreate = true)
virtual
const Color & vcl::Window::GetControlBackground ( ) const
vcl::Font vcl::Window::GetControlFont ( ) const
const Color & vcl::Window::GetControlForeground ( ) const
vcl::Cursor * vcl::Window::GetCursor ( ) const
tools::Long vcl::Window::GetCursorExtTextInputWidth ( ) const

Definition at line 2130 of file window.cxx.

References ImplGetWinData(), and ImplWinData::mnCursorExtWidth.

Referenced by ImplHandleExtTextInputPos().

const tools::Rectangle * vcl::Window::GetCursorRect ( ) const

Definition at line 2123 of file window.cxx.

References ImplGetWinData(), and ImplWinData::mpCursorRect.

Referenced by ImplHandleExtTextInputPos().

OUString vcl::Window::getDefaultAccessibleName ( ) const
protectedvirtual
sal_uInt16 vcl::Window::getDefaultAccessibleRole ( ) const
protectedvirtual
tools::Rectangle vcl::Window::GetDesktopRectPixel ( ) const
DialogControlFlags vcl::Window::GetDialogControlFlags ( ) const

Definition at line 1051 of file window2.cxx.

Referenced by FloatingWindow::dispose(), ImplDlgCtrl(), and ImplGrabFocus().

const Wallpaper & vcl::Window::GetDisplayBackground ( ) const
virtual
OUString vcl::Window::GetDisplayText ( ) const
virtual

Reimplemented in ToolBox, and Control.

Definition at line 3051 of file window.cxx.

References GetText().

Referenced by WindowUIObject::get_state().

DockingManager * vcl::Window::GetDockingManager ( )
static
float vcl::Window::GetDPIScaleFactor ( ) const
Reference< css::datatransfer::dnd::XDragGestureRecognizer > vcl::Window::GetDragGestureRecognizer ( )
Reference< css::datatransfer::dnd::XDragSource > vcl::Window::GetDragSource ( )
tools::Long vcl::Window::GetDrawPixel ( ::OutputDevice const *  pDev,
tools::Long  nPixels 
) const
vcl::Font vcl::Window::GetDrawPixelFont ( ::OutputDevice const *  pDev) const
Reference< css::datatransfer::dnd::XDropTarget > vcl::Window::GetDropTarget ( )
WindowExtendedStyle vcl::Window::GetExtendedStyle ( ) const

Definition at line 957 of file window2.cxx.

References NONE.

void vcl::Window::GetFocus ( )
virtual
VclPtr< vcl::Window > vcl::Window::GetFocusedWindow ( ) const

Definition at line 2981 of file window.cxx.

References mpWindowImpl.

const Font & vcl::Window::GetFont ( ) const
weld::Window * vcl::Window::GetFrameWeld ( ) const
vcl::Window * vcl::Window::GetFrameWindow ( ) const

Definition at line 848 of file window2.cxx.

References SalFrame::GetWindow().

Referenced by SalFrame::GetFrameWeld(), and weld::GetPopupParent().

GetFocusFlags vcl::Window::GetGetFocusFlags ( ) const

Definition at line 1182 of file window2.cxx.

Referenced by ToolBox::EventNotify(), and Edit::GetFocus().

const OString & vcl::Window::GetHelpId ( ) const
const OUString & vcl::Window::GetHelpText ( ) const
KeyIndicatorState vcl::Window::GetIndicatorState ( ) const

Query the states of keyboard indicators - Caps Lock, Num Lock and Scroll Lock.

Use the following mask to retrieve the state of each indicator:

KeyIndicatorState::CAPS_LOCK
KeyIndicatorState::NUM_LOCK
KeyIndicatorState::SCROLL_LOCK

Definition at line 1785 of file window.cxx.

References mpWindowImpl.

const InputContext & vcl::Window::GetInputContext ( ) const

Definition at line 1056 of file window2.cxx.

Referenced by ImplHandleExtTextInputPos(), and ImplNewInputContext().

LanguageType vcl::Window::GetInputLanguage ( ) const

Definition at line 3659 of file window.cxx.

References mpWindowImpl.

Point vcl::Window::GetLastPointerPosPixel ( )
Window * vcl::Window::getLegacyNonLayoutAccessibleRelationLabeledBy ( ) const
protected
Window * vcl::Window::getLegacyNonLayoutAccessibleRelationLabelFor ( ) const
protected
Window * vcl::Window::getLegacyNonLayoutAccessibleRelationMemberOf ( ) const
protected
const vcl::ILibreOfficeKitNotifier * vcl::Window::GetLOKNotifier ( ) const
vcl::LOKWindowId vcl::Window::GetLOKWindowId ( ) const
const MapMode & vcl::Window::GetMapMode ( ) const
bool vcl::Window::GetNativeControlRegion ( ControlType  nType,
ControlPart  nPart,
const tools::Rectangle rControlRegion,
ControlState  nState,
const ImplControlValue aValue,
tools::Rectangle rNativeBoundingRegion,
tools::Rectangle rNativeContentRegion 
) const
static OUString vcl::Window::GetNonMnemonicString ( const OUString &  rStr)
inlinestatic

Definition at line 1561 of file window.hxx.

References OutputDevice::GetNonMnemonicString().

Referenced by OutputDevice::GetNonMnemonicString().

Point vcl::Window::GetOffsetPixelFrom ( const vcl::Window rWindow) const

Definition at line 1152 of file window2.cxx.

References GetOutOffXPixel(), GetOutOffYPixel(), and Point.

Size vcl::Window::GetOptimalSize ( ) const
protectedvirtual
OutputDevice const * vcl::Window::GetOutDev ( ) const

Definition at line 565 of file window.cxx.

References mpWindowImpl.

Referenced by MenuFloatingWindow::ApplySettings(), SvTreeListBox::ApplySettings(), approximate_char_width(), approximate_digit_width(), CalcTitleWidth(), SvImpLBox::Clear(), Edit::Command(), SystemWindow::createScreenshot(), MenuFloatingWindow::DataChanged(), FixedText::DataChanged(), MenuBarWindow::DataChanged(), FixedLine::DataChanged(), ListBox::DataChanged(), FixedBitmap::DataChanged(), Edit::DataChanged(), FixedImage::DataChanged(), ImplListBoxWindow::DataChanged(), dispose(), PaintHelper::DoPaint(), DrawSelectionBackground(), DecorationView::DrawSeparator(), ImplSmallBorderWindowView::DrawWindow(), EnableMapMode(), EnableNativeWidget(), Control::EnableRTL(), EnableRTL(), MenuFloatingWindow::EnableScrollMenu(), Erase(), ExpandPaintClipRegion(), FixedText::FillLayoutData(), ImplListBoxWindow::FillLayoutData(), ImplWin::FillLayoutData(), DNDEventDispatcher::findTopLevelWindow(), SalInstanceComboBoxWithEdit::get_entry_font(), SalInstanceEntryTreeView::get_entry_font(), SalInstanceWidget::get_font(), SalInstanceDrawingArea::get_ref_device(), GetBackground(), GetBackgroundColor(), Application::GetDefaultDevice(), GetDPIScaleFactor(), GetFont(), SvHeaderTabListBox::GetGlyphBoundRects(), GetLastPointerPosPixel(), GetMapMode(), GetNativeControlRegion(), GetOutOffXPixel(), GetOutOffYPixel(), GetOutputRectPixel(), GetOutputSizePixel(), GetOverlineColor(), GetPaintRegion(), GetPointerPosPixel(), GetPointerState(), vcl::PaintBufferGuard::GetRenderContext(), GetSettings(), GetSizePixel(), GetTextAlign(), GetTextColor(), GetTextFillColor(), GetTextHeight(), GetTextLineColor(), GetTextRect(), GetTextWidth(), GetWindowClipRegionPixel(), SalInstanceComboBoxWithEdit::HandleEventListener(), HelpTextWindow::HelpTextWindow(), CheckBox::ImplAdjustNWFSizes(), RadioButton::ImplAdjustNWFSizes(), ToolBox::ImplCalcItem(), ImplCalcOverlapRegion(), Menu::ImplCalcSize(), ImplCallPaint(), ImplChangeTipTimeout(), OutputDevice::ImplClearAllFontData(), FloatingWindow::ImplConvertToAbsPos(), FloatingWindow::ImplConvertToRelPos(), ImplCursorInvert(), ScrollBar::ImplDoMouseAction(), ScrollBar::ImplDragThumb(), FixedLine::ImplDraw(), ImplWin::ImplDraw(), ToolBox::ImplDrawBackground(), ToolBox::ImplDrawItem(), ImplExcludeWindowRegion(), Menu::ImplFillLayoutData(), ScrollBar::ImplFindPartRect(), StatusBar::ImplFormat(), Edit::ImplGetCharPos(), ToolBox::ImplGetDragWidth(), TabControl::ImplGetItemSize(), ImplGetUnmirroredOutOffX(), ImplHandleExtTextInputPos(), ImplHandleKey(), ToolBox::ImplHandleMouseButtonUp(), ImplHandleMouseEvent(), ImplHandleResize(), ImplHandleSalQueryCharPosition(), ImplHitTest(), FixedText::ImplInit(), SpinField::ImplInit(), StatusBar::ImplInit(), FixedLine::ImplInit(), Edit::ImplInit(), FixedBitmap::ImplInit(), FixedImage::ImplInit(), ImplInit(), ImplInitResolutionSettings(), StatusBar::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), Calendar::ImplInitSettings(), ToolBox::ImplInitSettings(), HeaderBar::ImplInitSettings(), MenuBarWindow::ImplInitStyleSettings(), ImplBorderWindowView::ImplInitTitle(), VirtualDevice::ImplInitVirDev(), ImplInitWinClipRegion(), ImplIntersectWindowRegion(), ImplInvalidate(), ScrollBar::ImplInvert(), HeaderBar::ImplInvertDrag(), Splitter::ImplKbdTracking(), ImplListBoxWindow::ImplListBoxWindow(), ImplNewInputContext(), Edit::ImplPaintBorder(), ImplPaintToDevice(), ImplPosSizeWindow(), Edit::ImplRepaint(), Splitter::ImplRestoreSplitter(), ImplScroll(), ImplSetClipFlag(), ImplSetClipFlagChildren(), ImplSetReallyVisible(), Edit::ImplShowCursor(), Edit::ImplShowDDCursor(), TabControl::ImplShowFocus(), Splitter::ImplSplitterActive(), Splitter::ImplStartKbdSplitting(), ImplSysObjClip(), ImplUpdateAll(), ImplListBoxWindow::ImplUpdateEntryMetrics(), OutputDevice::ImplUpdateFontDataForAllFrames(), ImplUpdatePos(), ImplUpdateSysObjPos(), SvTreeListBox::InitSettings(), SvTreeListBox::InitTreeView(), ImplBorderWindow::InitView(), SvLBoxString::InitViewData(), SvLBoxButton::InitViewData(), SvImpLBox::Invalidate(), Invalidate(), IsBackground(), IsMapModeEnabled(), IsNativeControlSupported(), IsOverlineColor(), IsRTLEnabled(), IsTextFillColor(), IsTextLineColor(), MenuBarWindow::LayoutChanged(), LogicInvalidate(), LogicToLogic(), LogicToPixel(), MenuFloatingWindow::MenuFloatingWindow(), ScrollBar::MouseButtonDown(), NormalizedScreenToOutputPixel(), OutputToNormalizedScreenPixel(), OutputToScreenPixel(), vcl::PaintBufferGuard::PaintBufferGuard(), SvImpLBox::PaintDDCursor(), PaintImmediately(), PixelToLogic(), PopPaintHelper(), SpinField::PreNotify(), ScrollBar::PreNotify(), PushPaintHelper(), SvImpLBox::RecalcFocusRect(), RecordLayoutData(), SpinField::Resize(), MenuFloatingWindow::Resize(), ImplBorderWindow::Resize(), ScreenToOutputPixel(), Scroll(), SvxIconChoiceCtrl_Impl::SelectRect(), SalInstanceComboBoxWithEdit::set_entry_font(), SalInstanceEntryTreeView::set_entry_font(), SalInstanceEntry::set_font(), SalInstanceTextView::set_monospace(), SetBackground(), ImplBorderWindow::SetCloseButton(), ImplBorderWindow::SetDockButton(), SetFont(), HelpTextWindow::SetHelpText(), ImplBorderWindow::SetHideButton(), ToolBox::SetItemDown(), StatusBar::SetItemText(), ToolBox::SetItemText(), SetMapMode(), ImplBorderWindow::SetMenuButton(), SetOverlineColor(), SetPointerPosPixel(), SvtIconChoiceCtrl::SetPointFont(), setPosSizePixel(), vcl::WindowOutputDevice::SetSettings(), Application::SetSettings(), SetSettings(), SetTextAlign(), SetTextColor(), SetTextFillColor(), SetTextLineColor(), SvImpLBox::ShowCursor(), PushButton::ShowFocus(), CheckBox::ShowFocus(), RadioButton::ShowFocus(), ImplWin::ShowFocus(), WorkWindow::ShowFullScreenMode(), Splitter::Splitter(), ImplListBoxFloatingWindow::StartFloat(), MenuFloatingWindow::StateChanged(), FixedText::StateChanged(), MenuBarWindow::StateChanged(), FixedLine::StateChanged(), FixedBitmap::StateChanged(), Edit::StateChanged(), FixedImage::StateChanged(), ImplListBoxWindow::StateChanged(), SvtIconChoiceCtrl::SvtIconChoiceCtrl(), TextView::TextView(), ScrollBar::Tracking(), NotebookBar::UpdateBackground(), ImplBorderWindow::UpdateView(), Validate(), and vcl::PaintBufferGuard::~PaintBufferGuard().

OutputDevice * vcl::Window::GetOutDev ( )

Definition at line 570 of file window.cxx.

References mpWindowImpl.

tools::Long vcl::Window::GetOutOffXPixel ( ) const
tools::Long vcl::Window::GetOutOffYPixel ( ) const
tools::Rectangle vcl::Window::GetOutputRectPixel ( ) const
Size vcl::Window::GetOutputSizePixel ( ) const

Definition at line 89 of file window3.cxx.

References GetOutDev(), and OutputDevice::GetOutputSizePixel().

Referenced by vcl::BufferDevice::BufferDevice(), SvxIconChoiceCtrl_Impl::Clear(), TextWindow::Command(), Edit::Command(), SystemWindow::createScreenshot(), ImplBorderWindow::DataChanged(), vcl::BufferDevice::Dispose(), ImplListBoxWindow::DrawEntry(), ImplWin::DrawEntry(), SpinField::EndDropDown(), Erase(), SpinField::EventNotify(), DrawingAreaUIObject::execute(), FixedText::FillLayoutData(), ImplListBoxWindow::GetDisplayLineCount(), ListBox::GetIndexForPoint(), Edit::GetMaxVisChars(), ImpVclMEdit::GetMaxVisColumnsAndLines(), ComboBox::GetMaxVisColumnsAndLines(), ListBox::GetMaxVisColumnsAndLines(), ComboBox::getMaxWidthScrollBarAndDownButton(), MenuBar::GetMenuBarHeight(), IcnGridMap_Impl::GetMinMapSize(), OutputDevice::GetOutputRectPixel(), OutputDevice::GetOutputSize(), DockingWindow::GetOutputSizePixel(), TabControl::GetPageId(), MenuBarWindow::HighlightItem(), ImpVclMEdit::ImpInitScrollBars(), Edit::ImplAlign(), Slider::ImplCalc(), ScrollBar::ImplCalc(), SpinField::ImplCalcButtonAreas(), MenuFloatingWindow::ImplCalcClipRegion(), ImplListBoxWindow::ImplCalcMetrics(), ImplCallCommand(), TabControl::ImplChangeTabPage(), ImplListBox::ImplCheckScrollBars(), Edit::ImplClearBackground(), MenuBarWindow::ImplCreatePopup(), MenuFloatingWindow::ImplCursorUpDown(), ScrollBar::ImplDoMouseAction(), ImplListBoxWindow::ImplDoPaint(), Slider::ImplDraw(), FixedLine::ImplDraw(), Calendar::ImplDraw(), CheckBox::ImplDrawCheckBox(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), RadioButton::ImplDrawRadioButton(), MenuFloatingWindow::ImplDrawScroller(), Menu::ImplFillLayoutData(), ScrollBar::ImplFindPartRect(), Calendar::ImplFormat(), MenuFloatingWindow::ImplGetItemRect(), MenuBarWindow::ImplGetItemRect(), TabControl::ImplGetTabRect(), Edit::ImplGetTextYPosition(), ImplHandleResize(), MenuFloatingWindow::ImplHighlightItem(), PushButton::ImplHitTestPushButton(), ImplListBox::ImplInitScrollBars(), Slider::ImplIsPageDown(), Slider::ImplIsPageUp(), ImplMouseAutoPos(), SystemWindow::ImplMoveToScreen(), ImplListBoxWindow::ImplPaint(), Edit::ImplPaintBorder(), ImplPaintToDevice(), vcl::RoadmapWizard::ImplPosCtrls(), vcl::RoadmapWizard::ImplPosTabPage(), Edit::ImplRepaint(), ImplListBox::ImplResizeControls(), MenuFloatingWindow::ImplScroll(), Button::ImplSetFocusRect(), Edit::ImplShowCursor(), ImplDockingWindowWrapper::ImplStartDocking(), SplitWindow::ImplStartSplit(), ImplTestMousePointerSet(), ImplUpdateAll(), ImplWheelWindow::ImplWheelWindow(), ImpVclMEdit::ImpUpdateScrollBarVis(), SvxIconChoiceCtrl_Impl::InitScrollBarBox(), ImplBorderWindow::InitView(), ImplBorderWindow::InvalidateBorder(), SpinField::MouseButtonDown(), ScrollBar::MouseButtonDown(), ImplStdBorderWindowView::MouseButtonDown(), MenuFloatingWindow::MouseButtonUp(), ImplListBoxWindow::MouseMove(), ImpVclMEdit::Notify(), HelpTextWindow::Paint(), TabPage::Paint(), FixedText::Paint(), MenuFloatingWindow::Paint(), MenuBarWindow::Paint(), FixedBitmap::Paint(), FixedImage::Paint(), ImplListBoxWindow::Paint(), PaintImmediately(), PushButton::PreNotify(), MenuFloatingWindow::RenderHighlightItem(), TabPage::ResetScrollBars(), SvxIconChoiceCtrl_Impl::ResetVirtSize(), IconView::Resize(), PriorityMergedHBox::Resize(), SpinField::Resize(), PriorityHBox::Resize(), ComboBox::Resize(), ImpVclMEdit::Resize(), TabControl::Resize(), StatusBar::Resize(), MenuBarWindow::Resize(), ListBox::Resize(), ImplBorderWindow::Resize(), ImplListBoxWindow::Resize(), HeaderBar::Resize(), SvxIconChoiceCtrl_Impl::Resize(), ImplWin::Resize(), ImplListBoxWindow::ScrollHorz(), ImplBorderWindow::SetBorderStyle(), ImplBorderWindow::SetCloseButton(), ImplBorderWindow::SetDockButton(), ImplBorderWindow::SetHideButton(), ImplBorderWindow::SetMenuButton(), TabPage::SetPosPixel(), TabControl::SetPosPixel(), VclContainer::SetPosSizePixel(), ImplListBoxFloatingWindow::setPosSizePixel(), FloatingWindow::SetTitleType(), Show(), PushButton::ShowFocus(), ImplListBoxFloatingWindow::StartFloat(), ImplDockingWindowWrapper::Tracking(), ImplListBoxWindow::Tracking(), and ImplStdBorderWindowView::Tracking().

const Color & vcl::Window::GetOverlineColor ( ) const
vcl::Region vcl::Window::GetPaintRegion ( ) const
vcl::Window * vcl::Window::GetParent ( ) const

Definition at line 1091 of file window2.cxx.

Referenced by FixedText::ApplySettings(), FixedLine::ApplySettings(), FixedBitmap::ApplySettings(), FixedImage::ApplySettings(), ImplListBoxFloatingWindow::CalcFloatSize(), ToolBox::CalcMinimumWindowSizePixel(), DecoToolBox::calcMinSize(), CallEventListeners(), InterimItemWindow::ChildKeyInput(), VclContainer::Command(), DecModalCount(), VclFrame::designate_label(), TabControl::dispose(), dispose(), MenuFloatingWindow::doShutdown(), MenuFloatingWindow::End(), ImplDockingWindowWrapper::EndDocking(), DockingWindow::EndDocking(), MenuButton::ExecuteMenu(), SvTreeListBox::FillEntryPath(), GenerateAutoMnemonicsOnHierarchy(), SalInstanceDrawingArea::get_accessible_parent(), WindowUIObject::get_state(), GetAccessibleParentWindow(), GetAccessibleRelationLabeledBy(), GetAccessibleRelationLabelFor(), GetAccessibleRelationMemberOf(), DockingWindow::GetFloatingPos(), InterimItemWindow::GetFocus(), Edit::GetFocus(), ImplWin::GetFocus(), PriorityMergedHBox::GetHiddenCount(), getLegacyNonLayoutAccessibleRelationMemberOf(), getNonLayoutParent(), GetParentDialog(), GetParentWithLOKNotifier(), GetSystemWindow(), VclBuilder::handleChild(), MenuBarWindow::HandleKeyEvent(), vcl::HasParentDockingWindow(), SalInstanceWindow::help(), SalInstanceWidget::help_hierarchy_foreach(), IMPL_LINK_NOARG(), Edit::ImplAlign(), ImplCallMove(), TabControl::ImplChangeTabPage(), Edit::ImplClearBackground(), ImplWin::ImplDraw(), PushButton::ImplDrawPushButton(), PopupMenu::ImplExecute(), ImplFindAccelWindow(), Splitter::ImplFindSibling(), Edit::ImplGetExtraXOffset(), ImplGetKeyInputWindow(), vcl::ImplGetLastSystemWindow(), Edit::ImplGetNativeControlType(), ImplGrabFocusToDocument(), ImplHandleKey(), ImplHandleLoseFocus(), TabPage::ImplInit(), TabPage::ImplInitSettings(), Slider::ImplInitSettings(), TabControl::ImplInitSettings(), CheckBox::ImplInitSettings(), RadioButton::ImplInitSettings(), ImplIsRealParentPath(), Splitter::ImplKbdTracking(), SystemWindow::ImplMoveToScreen(), ToolBox::ImplOpenItem(), Edit::ImplPaintBorder(), ImplSetHelpWindowPos(), Dialog::ImplSetModalInputMode(), Edit::ImplSetSelection(), ImplShowHelpWindow(), ImplDockingWindowWrapper::ImplStartDocking(), Dialog::ImplStartExecute(), SplitWindow::ImplStartSplit(), Slider::ImplUpdateRects(), Edit::ImplUseNativeBorder(), IncModalCount(), ImplSmallBorderWindowView::Init(), SplitWindow::InsertItem(), isEnabledInLayout(), isVisibleInLayout(), ToolBox::KeyInput(), MenuBarWindow::LayoutChanged(), UITestLogger::logKeyInput(), Edit::LoseFocus(), ImplWin::LoseFocus(), Edit::Modify(), ToolBox::MouseButtonDown(), ImplWheelWindow::MouseButtonUp(), ToolBox::MouseMove(), nextLogicalChildOfParent(), SvTreeListBox::NotifyMoving(), VclBuilder::sortIntoBestTabTraversalOrder::operator()(), TabPage::Paint(), PaintToDevice(), PushButton::PreNotify(), SystemWindow::PreNotify(), ImplListBoxFloatingWindow::PreNotify(), ImplWin::PreNotify(), VclBuilder::prepareWidgetOwnScrolling(), prevLogicalChildOfParent(), IconView::Resize(), PriorityMergedHBox::Resize(), PriorityHBox::Resize(), SalInstanceWindow::set_centered_on_parent(), Splitter::SetDragRectPixel(), Dialog::SetModalInputMode(), SetPointer(), ImplListBoxFloatingWindow::setPosSizePixel(), setPosSizePixel(), PriorityHBox::SetSizeFromParent(), BubbleWindow::Show(), Show(), CalendarField::ShowDropDown(), ImplWin::ShowFocus(), MenuFloatingWindow::Start(), ImplListBoxFloatingWindow::StartFloat(), FloatingWindow::StartPopupMode(), Edit::StateChanged(), Splitter::Tracking(), and SalInstanceWidget::weld_parent().

ParentClipMode vcl::Window::GetParentClipMode ( ) const

Definition at line 83 of file window/clipping.cxx.

References mpWindowImpl.

Referenced by ImplClipChildren(), and ImplPaintToDevice().

Dialog * vcl::Window::GetParentDialog ( ) const

Definition at line 976 of file window2.cxx.

References GetParent(), and IsDialog().

Referenced by PaintImmediately(), and VclBuilder::set_response().

VclPtr< vcl::Window > vcl::Window::GetParentWithLOKNotifier ( )

Find the nearest parent with LOK Notifier; can be itself if this Window has LOK notifier set.

Definition at line 3248 of file window.cxx.

References GetLOKNotifier(), and GetParent().

Referenced by PopupMenu::ImplExecute(), Dialog::ImplLOKNotifier(), vcl::Cursor::LOKNotify(), FloatingWindow::PixelInvalidate(), PixelInvalidate(), SetPointer(), and FloatingWindow::StateChanged().

PointerStyle vcl::Window::GetPointer ( ) const

Definition at line 1241 of file window2.cxx.

Referenced by ImplGetMousePointer(), and SetPointer().

Point vcl::Window::GetPointerPosPixel ( )
Window::PointerState vcl::Window::GetPointerState ( )
vcl::Font vcl::Window::GetPointFont ( vcl::RenderContext const &  rRenderContext) const
Point vcl::Window::GetPosPixel ( ) const
virtual
WinBits vcl::Window::GetPrevStyle ( ) const
const OUString & vcl::Window::GetQuickHelpText ( ) const
const AllSettings & vcl::Window::GetSettings ( ) const

Definition at line 129 of file window3.cxx.

References GetOutDev(), and OutputDevice::GetSettings().

Referenced by ComboBox::AdaptDropDownLineCountToMaximum(), ListBox::AdaptDropDownLineCountToMaximum(), NotebookbarPopup::ApplyBackground(), Dialog::ApplySettings(), MenuFloatingWindow::ApplySettings(), HeaderBar::ApplySettings(), BubbleWindow::BubbleWindow(), ComboBox::CalcBlockSize(), ListBox::CalcBlockSize(), ImplListBoxFloatingWindow::CalcFloatSize(), ListBox::CalcMinimumSize(), SpinField::CalcMinimumSizeForText(), SpinField::CalcSize(), ListBox::CalcSubEditSize(), CalcTitleWidth(), MenuFloatingWindow::ChangeHighlightItem(), vcl::HyperLabel::DataChanged(), ComboBox::DataChanged(), ListBox::DataChanged(), SystemWindow::DoInitialLayout(), DockingWindow::DoInitialLayout(), SpinField::Draw(), TabPage::Draw(), ComboBox::Draw(), ScrollBar::Draw(), ListBox::Draw(), PushButton::Draw(), Edit::Draw(), HeaderBar::Draw(), DrawSelectionBackground(), MenuFloatingWindow::EnableScrollMenu(), ComboBox::EventNotify(), SpinField::EventNotify(), ImplEntryList::FindMatchingEntry(), ScrollBar::GetFocus(), Edit::GetFocus(), FormatterBase::GetLanguageTag(), FormatterBase::GetLocale(), ComboBox::getMaxWidthScrollBarAndDownButton(), ScrollBar::GetOptimalSize(), SvTreeListBox::GetOptimalSize(), HelpTextWindow::HelpTextWindow(), ScrollBar::ImplCalc(), ToolBox::ImplCalcBreaks(), Menu::ImplCalcSize(), ImplChangeTipTimeout(), MenuFloatingWindow::ImplCursorUpDown(), Edit::ImplDelete(), vcl::Cursor::ImplDoShow(), CheckBox::ImplDrawCheckBoxState(), PushButton::ImplDrawPushButtonContent(), CheckBox::ImplGetCheckImageSize(), RadioButton::ImplGetRadioImageSize(), PushButton::ImplGetTextStyle(), ImplHandleExtTextInputPos(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), ImplHandleMouseEvent(), Splitter::ImplInit(), ScrollBar::ImplInit(), ScrollBarBox::ImplInit(), ImplInit(), Splitter::ImplInitHorVer(), Dialog::ImplInitSettings(), FloatingWindow::ImplInitSettings(), SplitWindow::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), DockingWindow::ImplInitSettings(), Calendar::ImplInitSettings(), ToolBox::ImplInitSettings(), HeaderBar::ImplInitSettings(), ScrollBar::ImplInitStyle(), MenuBarWindow::ImplInitStyleSettings(), ImplIsMnemonicCtrl(), ImplListBoxWindow::ImplListBoxWindow(), ImplMouseAutoPos(), ImplListBox::ImplResizeControls(), TabControl::ImplShowFocus(), Splitter::ImplSplitterActive(), DockingWindow::ImplStartDocking(), SplitWindow::ImplStartSplit(), ImplWin::ImplWin(), SvxIconChoiceCtrl_Impl::InitSettings(), SvTreeListBox::InitSettings(), vcl::Cursor::LOKNotify(), MenuFloatingWindow::MenuFloatingWindow(), ScrollBar::MouseButtonDown(), Edit::MouseButtonDown(), TextView::MouseButtonUp(), Edit::MouseButtonUp(), NotebookbarPopup::NotebookbarPopup(), BubbleWindow::Paint(), vcl::PaintBufferGuard::PaintBufferGuard(), ListBox::PreNotify(), ImpVclMEdit::Resize(), ImplBorderWindow::Resize(), ListBox::Resize(), Dialog::set_action_area(), SalInstanceWidget::set_highlight_background(), SalInstanceLabel::set_label_type(), SalInstanceWidget::set_stack_background(), SalInstanceWidget::set_title_background(), SvTreeListBox::SetAlternatingRowColors(), SvtIconChoiceCtrl::SetBackground(), SvLBoxButtonData::SetDefaultImages(), MessageDialog::SetMessagesWidths(), Dialog::settingOptimalLayoutSize(), TabPage::StateChanged(), TextWindow::TextWindow(), NotebookBar::UpdateBackground(), NotebookBar::UpdateDefaultSettings(), and NotebookBar::UpdatePersonaSettings().

Size vcl::Window::GetSizePixel ( ) const
virtual

Reimplemented in DockingWindow.

Definition at line 2392 of file window.cxx.

References GetOutDev(), VclReferenceBase::isDisposed(), mpWindowImpl, and SAL_WARN.

Referenced by SvxIconChoiceCtrl_Impl::AdjustScrollBars(), vcl::RoadmapWizard::CalcAndSetSize(), ImpVclMEdit::CalcBlockSize(), ImplListBoxFloatingWindow::CalcFloatSize(), ImpVclMEdit::CalcMinimumSize(), MenuBarWindow::CanGetFocus(), SvxIconChoiceCtrl_Impl::CheckHorScrollBar(), SvxIconChoiceCtrl_Impl::CheckVerScrollBar(), SalInstanceDialog::collapse(), StatusBar::DataChanged(), SalInstanceWidget::DoRecursivePaint(), InterimItemWindow::Draw(), SpinField::Draw(), TabPage::Draw(), ComboBox::Draw(), FixedText::Draw(), Dialog::Draw(), ListBox::Draw(), FixedBitmap::Draw(), PushButton::Draw(), VclMultiLineEdit::Draw(), Edit::Draw(), FixedImage::Draw(), HeaderBar::Draw(), CheckBox::Draw(), SalInstanceWidget::draw(), RadioButton::Draw(), VclDrawingArea::DumpAsPropertyTree(), VclEventBox::EventBoxHelper::EventBoxHelper(), MenuButton::ExecuteMenu(), SalInstanceWindow::get_size(), WindowUIObject::get_state(), ImplBorderWindow::GetBorder(), ImplListBoxWindow::GetBoundingRectangle(), vcl::WindowOutputDevice::GetDeviceInfo(), vcl::HyperLabel::GetFocus(), CheckBox::GetFocus(), ImplListBoxWindow::GetLastVisibleEntry(), getLegacyBestSizeForChildren(), ToolBox::GetOptimalSize(), ImplToolItem::GetSize(), ImplDockingWindowWrapper::GetSizePixel(), DockingWindow::GetSizePixel(), VclScrolledWindow::getVisibleChildSize(), SystemWindow::GetWindowStateData(), SalInstanceWidget::HandleEventListener(), OptionalBox::HideContent(), DropdownBox::HideContent(), IMPL_LINK_NOARG(), CheckBox::ImplAdjustNWFSizes(), RadioButton::ImplAdjustNWFSizes(), FloatingWindow::ImplCalcPos(), vcl::RoadmapWizard::ImplCalcSize(), TabControl::ImplChangeTabPage(), ImplListBox::ImplCheckScrollBars(), MenuBarWindow::ImplCreatePopup(), ImplWin::ImplDraw(), PopupMenu::ImplExecute(), FloatingWindow::ImplFloatHitTest(), CheckBox::ImplGetCheckImageSize(), RadioButton::ImplGetRadioImageSize(), ImplGetWindowExtentsRelative(), ImplHandlePaint(), vcl::RoadmapWizard::ImplPosCtrls(), TabControl::ImplPosCurTabPage(), vcl::RoadmapWizard::ImplPosTabPage(), ImplDockingWindowWrapper::ImplPreparePopupMode(), PushButton::ImplSetDefButton(), ImplSetHelpWindowPos(), Dialog::ImplStartExecute(), ImplListBoxWindow::ImplUpdateEntryMetrics(), SvxIconChoiceCtrl_Impl::InitSettings(), MenuFloatingWindow::InvalidateItem(), ImplListBoxWindow::IsVisible(), InterimItemWindow::Layout(), CheckBox::LoseFocus(), VclBuilder::makeObject(), BubbleWindow::Paint(), MenuBarWindow::Paint(), SvLBoxString::Paint(), SvTreeListBox::Paint(), FloatingWindow::PixelInvalidate(), PixelInvalidate(), SvTreeListBox::PosOverBody(), RequestHelp(), TabPage::ResetScrollBars(), PriorityMergedHBox::Resize(), NotebookBar::Resize(), BubbleWindow::Resize(), PriorityHBox::Resize(), ImpVclMEdit::Resize(), ImplBorderWindow::Resize(), Dialog::Resize(), ToolBox::Resize(), vcl::RoadmapWizard::RoadmapWizard(), SalInstanceWindow::set_centered_on_parent(), VclVPaned::set_position(), VclHPaned::set_position(), TabControl::setAllocation(), VclVPaned::setAllocation(), VclHPaned::setAllocation(), SetBorderStyle(), ImplListBoxFloatingWindow::setPosSizePixel(), PriorityHBox::SetSizeFromParent(), VclContainer::SetSizePixel(), TabControl::SetTabPage(), ImplListBoxWindow::SetTopEntry(), BubbleWindow::Show(), CalendarField::ShowDropDown(), CheckBox::ShowFocus(), RadioButton::ShowFocus(), ImplWin::ShowFocus(), ImplListBoxFloatingWindow::StartFloat(), Dialog::StateChanged(), FloatingWindow::StateChanged(), SvImpLBox::SvImpLBox(), SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl(), ImplStdBorderWindowView::Tracking(), NotebookBar::UpdateBackground(), and ImplBorderWindow::UpdateView().

WinBits vcl::Window::GetStyle ( ) const

Definition at line 947 of file window2.cxx.

Referenced by IconViewImpl::AdjustScrollBars(), SvImpLBox::AdjustScrollBars(), StatusBar::ApplySettings(), Edit::ApplySettings(), PushButton::CalcMinimumSize(), ListBox::CalcMinimumSize(), CheckBox::CalcMinimumSize(), RadioButton::CalcMinimumSize(), SpinField::CalcMinimumSizeForText(), FixedText::CalcMinimumTextSize(), SpinField::CalcSize(), Slider::CalcWindowSizePixel(), OKButton::Click(), CancelButton::Click(), Dialog::Close(), SystemWindow::Close(), MessageDialog::create_message_area(), ImplBorderWindow::DataChanged(), dispose(), SpinField::Draw(), ComboBox::Draw(), FixedText::Draw(), Dialog::Draw(), ListBox::Draw(), FixedBitmap::Draw(), VclMultiLineEdit::Draw(), Edit::Draw(), FixedImage::Draw(), ImplWin::DrawEntry(), ImplSmallBorderWindowView::DrawWindow(), FixedLine::DumpAsPropertyTree(), ListBox::EnableMultiSelection(), SpinField::EventNotify(), Dialog::EventNotify(), FloatingWindow::EventNotify(), ToolBox::EventNotify(), EventNotify(), ButtonUIObject::execute(), vcl::RoadmapWizard::Finish(), GenerateAutoMnemonicsOnHierarchy(), SalInstanceWidget::get_has_default(), SalInstanceWindow::get_resizable(), getDefaultAccessibleRole(), Edit::GetFocus(), getLegacyNonLayoutAccessibleRelationLabelFor(), ScrollBar::GetOptimalSize(), SvTreeListBox::GetOptimalSize(), RadioButton::GetRadioButtonGroup(), ImplToolItem::GetSize(), FixedText::getTextDimensions(), Dialog::GrabFocusToFirstControl(), IconView::IconView(), Slider::ImplCalc(), ScrollBar::ImplCalc(), SpinField::ImplCalcButtonAreas(), TabControl::ImplChangeTabPage(), Edit::ImplClearBackground(), ImplClipChildren(), ImplDlgCtrl(), ImplDlgCtrlNextWindow(), vcl::ImplDlgCtrlUpdateDefButton(), ScrollBar::ImplDoMouseAction(), ScrollBar::ImplDragThumb(), FixedText::ImplDraw(), Slider::ImplDraw(), ScrollBar::ImplDraw(), FixedLine::ImplDraw(), FixedBitmap::ImplDraw(), FixedImage::ImplDraw(), CheckBox::ImplDraw(), RadioButton::ImplDraw(), ImplWin::ImplDraw(), Button::ImplDrawAlignedImage(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), PushButton::ImplDrawPushButtonContent(), PushButton::ImplDrawPushButtonFrame(), StatusBar::ImplDrawText(), ImplFindAccelWindow(), ScrollBar::ImplFindPartRect(), StatusBar::ImplFormat(), ImplGetDlgWindow(), Edit::ImplGetExtraXOffset(), vcl::ImplGetLabeledBy(), ImplGetLabelFor(), Edit::ImplGetNativeControlType(), ImplGetSubChildWindow(), PushButton::ImplGetTextStyle(), Edit::ImplGetTextYPosition(), ImplGetTopParentOfTabHierarchy(), ImplGrabFocus(), ImplHandleMouseEvent(), ImplHandleMove(), ImplHandleResize(), ImplHasDlgCtrl(), ImplHasIndirectTabParent(), ImplBorderWindowView::ImplHitTest(), TabPage::ImplInit(), vcl::HyperLabel::implInit(), ImplInit(), PushButton::ImplInitSettings(), SvTreeListBox::ImplInitStyle(), ImageButton::ImplInitStyle(), ImplBorderWindowView::ImplInitTitle(), ImplInitWinClipRegion(), ImplInvalidate(), ImplIsMnemonicCtrl(), Slider::ImplIsPageDown(), Slider::ImplIsPageUp(), Edit::ImplPaintBorder(), TabControl::ImplPosCurTabPage(), Edit::ImplRepaint(), SalInstanceContainer::implResetDefault(), ImplScroll(), ImplSetClipFlag(), Slider::ImplUpdateRects(), ScrollBar::ImplUpdateRects(), Edit::ImplUseNativeBorder(), ImplValidate(), ImplSmallBorderWindowView::Init(), ImplStdBorderWindowView::Init(), ImpVclMEdit::InitFromStyle(), SvTreeListBox::InitTreeView(), ImplListBoxWindow::InsertEntry(), PushButton::KeyInput(), ToolBox::KeyInput(), PushButton::KeyUp(), Edit::LoseFocus(), SalInstanceTreeView::make_sorted(), SalInstanceEntryTreeView::make_sorted(), SalInstanceTreeView::make_unsorted(), MenuButton::MouseButtonDown(), Slider::MouseButtonDown(), ScrollBar::MouseButtonDown(), PushButton::MouseButtonDown(), NotebookBar::NotebookBar(), ImpVclMEdit::Notify(), SpinField::Paint(), TabControl::Paint(), StatusBar::Paint(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), PushButton::PreNotify(), VclBuilder::prepareWidgetOwnScrolling(), SpinField::Resize(), ImpVclMEdit::Resize(), ListBox::Resize(), SalInstanceWidget::set_background(), SalInstanceWidget::set_can_focus(), SalInstanceButton::set_label_wrap(), FixedText::set_property(), Button::set_property(), PushButton::set_property(), FixedImage::set_property(), ComboBox::set_property(), Edit::set_property(), ListBox::set_property(), SvTreeListBox::set_property(), RadioButton::set_property(), SetBorderStyle(), ImplBorderWindow::SetCloseButton(), setPosSizePixel(), VclMultiLineEdit::SetReadOnly(), SvTreeListBox::SetTabs(), ImpVclMEdit::SetText(), StatusBar::SetText(), Show(), SvImpLBox::ShowVerSBar(), FloatingWindow::StartPopupMode(), SpinField::StateChanged(), ComboBox::StateChanged(), FixedText::StateChanged(), Slider::StateChanged(), VclMultiLineEdit::StateChanged(), CalendarField::StateChanged(), ScrollBar::StateChanged(), Dialog::StateChanged(), FixedLine::StateChanged(), ListBox::StateChanged(), FixedBitmap::StateChanged(), PushButton::StateChanged(), Edit::StateChanged(), FixedImage::StateChanged(), DockingWindow::StateChanged(), CheckBox::StateChanged(), RadioButton::StateChanged(), TabControl::TabControl(), TextWindow::TextWindow(), Slider::Tracking(), PushButton::Tracking(), ImplStdBorderWindowView::Tracking(), CheckBox::Tracking(), RadioButton::Tracking(), and VerticalTabControl::VerticalTabControl().

OUString vcl::Window::GetSurroundingText ( ) const
virtual

Reimplemented in VclDrawingArea, and Edit.

Definition at line 3760 of file window.cxx.

Referenced by VclDrawingArea::GetSurroundingText(), and ImplHandleSurroundingTextRequest().

Selection vcl::Window::GetSurroundingTextSelection ( ) const
virtual

Reimplemented in VclDrawingArea, and Edit.

Definition at line 3765 of file window.cxx.

Referenced by VclDrawingArea::GetSurroundingTextSelection(), and ImplHandleSurroundingTextRequest().

const SystemEnvData * vcl::Window::GetSystemData ( ) const
virtual

Reimplemented in SystemChildWindow.

Definition at line 3837 of file window.cxx.

References mpWindowImpl.

Referenced by SalInstanceWindow::get_system_data(), and GetDragSource().

SystemWindow * vcl::Window::GetSystemWindow ( ) const
OUString vcl::Window::GetText ( ) const
virtual
TextAlign vcl::Window::GetTextAlign ( ) const
const Color & vcl::Window::GetTextColor ( ) const
Color vcl::Window::GetTextFillColor ( ) const
tools::Long vcl::Window::GetTextHeight ( ) const

Height where any character of the current font fits; in logic coordinates.

See also GetTextBoundRect() for more explanation + code examples.

Definition at line 65 of file window3.cxx.

References GetOutDev(), and OutputDevice::GetTextHeight().

Referenced by SvTreeListBox::AdjustEntryHeight(), ImpVclMEdit::CalcBlockSize(), PushButton::CalcMinimumSize(), RadioButton::CalcMinimumSize(), Edit::CalcMinimumSizeForText(), FixedText::CalcMinimumTextSize(), Edit::CalcSize(), StatusBar::CalcWindowSizePixel(), Calendar::CalcWindowSizePixel(), HeaderBar::CalcWindowSizePixel(), Edit::Command(), MessageDialog::create_message_area(), StatusBar::DataChanged(), SalInstanceWidget::get_pixel_size(), SalInstanceWidget::get_text_height(), StatusBar::GetItemTextPos(), ImpVclMEdit::GetMaxVisColumnsAndLines(), SvxIconChoiceCtrl_Impl::GetMinGrid(), ImpVclMEdit::ImpInitScrollBars(), ToolBox::ImplCalcItem(), ImplListBoxWindow::ImplCalcMetrics(), StatusBar::ImplCalcProgressRect(), Menu::ImplCalcSize(), FixedLine::ImplDraw(), Calendar::ImplDrawDate(), TabControl::ImplDrawItem(), ToolBox::ImplDrawItem(), StatusBar::ImplDrawText(), Calendar::ImplFormat(), MenuFloatingWindow::ImplGetItemRect(), TabControl::ImplGetItemSize(), Edit::ImplGetTextYPosition(), MenuFloatingWindow::ImplHighlightItem(), ListBox::ImplInit(), ImplInitAppFontData(), ImplBorderWindowView::ImplInitTitle(), Edit::ImplRepaint(), Edit::ImplShowCursor(), Edit::ImplShowDDCursor(), TabControl::ImplShowFocus(), SvLBoxString::InitViewData(), StatusBar::InsertItem(), MenuFloatingWindow::MouseButtonUp(), MenuFloatingWindow::RenderHighlightItem(), StatusBar::Resize(), SvxIconChoiceCtrl_Impl::SetDefaultTextSize(), HelpTextWindow::SetHelpText(), and StatusBar::SetItemText().

const Color & vcl::Window::GetTextLineColor ( ) const
tools::Rectangle vcl::Window::GetTextRect ( const tools::Rectangle rRect,
const OUString &  rStr,
DrawTextFlags  nStyle = DrawTextFlags::WordBreak,
TextRectInfo pInfo = nullptr,
const vcl::ITextLayout _pTextLayout = nullptr 
) const
tools::Long vcl::Window::GetTextWidth ( const OUString &  rStr,
sal_Int32  nIndex = 0,
sal_Int32  nLen = -1,
vcl::text::TextLayoutCache const *  pCache = nullptr,
SalLayoutGlyphs const *const  pLayoutCache = nullptr 
) const
WindowType vcl::Window::GetType ( ) const

Definition at line 968 of file window2.cxx.

Referenced by Dialog::Activate(), Dialog::add_button(), NotebookbarPopup::ApplyBackground(), VclBuilder::applyPackingProperty(), ImplSmallBorderWindowView::DrawWindow(), DumpAsPropertyTree(), Dialog::EndDialog(), SystemWindow::EventNotify(), GenerateAutoMnemonicsOnHierarchy(), SalInstanceBuilder::get_current_page_help_id(), WindowUIObject::get_state(), GetAccessibleChildWindow(), GetAccessibleChildWindowCount(), GetAccessibleDescription(), GetAccessibleParentWindow(), getDefaultAccessibleName(), getDefaultAccessibleRole(), getLegacyNonLayoutAccessibleRelationLabeledBy(), getLegacyNonLayoutAccessibleRelationLabelFor(), getLegacyNonLayoutAccessibleRelationMemberOf(), RadioButton::GetRadioButtonGroup(), SystemWindow::GetTaskPaneList(), VclBuilder::handleChild(), VclBuilder::handleTabChild(), NotebookbarPopup::hideSeparators(), ImplActivateFloatingWindows(), ImplCallFocusChangeActivate(), ImplControlFocus(), ImplDbgCheckWindow(), ImplDlgCtrl(), PushButton::ImplDrawPushButton(), ImplDrawSpinButton(), ImplFindAccelWindow(), ImplGetCancelButton(), ImplGetCurTabWindow(), ImplGetDlgWindow(), vcl::ImplGetLabeledBy(), ImplGetLabelFor(), Edit::ImplGetNativeControlType(), ImplGetOKButton(), ImplGetSubChildWindow(), ImplGetTopDockingAreaHeight(), ImplGetWindowExtentsRelative(), ImplHandleShowDialog(), TabPage::ImplInit(), ImplInit(), PushButton::ImplInitStyle(), CheckBox::ImplInitStyle(), RadioButton::ImplInitStyle(), ImplIsFixedControl(), ImplIsMnemonicCtrl(), ImplDockingWindowWrapper::ImplPreparePopupMode(), SalInstanceContainer::implResetDefault(), Edit::ImplSetSelection(), Dialog::ImplStartExecute(), TopLevelWindowLocker::incBusy(), ImplSmallBorderWindowView::Init(), VclBuilder::insertObject(), isContainerWindow(), IsScrollable(), VclBuilder::makeObject(), nextLogicalChildOfParent(), TabPage::Paint(), PushButton::PreNotify(), SystemWindow::PreNotify(), VclBuilder::prepareWidgetOwnScrolling(), prevLogicalChildOfParent(), NotebookbarPopup::RemoveBackground(), SetActivateMode(), ContextVBox::SetContext(), Dialog::StartExecuteAsync(), and SalInstanceBuilder::weld_notebook().

FactoryFunction vcl::Window::GetUITestFactory ( ) const
virtual
vcl::Window * vcl::Window::GetWindow ( GetWindowType  nType) const

Definition at line 1035 of file stacking.cxx.

References Border, Client, FirstChild, FirstOverlap, FirstTopWindowChild, Frame, LastChild, Next, NextTopWindowSibling, Overlap, Parent, ParentOverlap, Prev, and RealParent.

Referenced by VclVPaned::arrange(), VclHPaned::arrange(), assembleGrid(), ComboBox::Impl::calcComboBoxDropDownComponentBounds(), VclButtonBox::calculatePrimarySecondaryRequisitions(), PriorityMergedHBox::calculateRequisition(), PriorityHBox::calculateRequisition(), VclBox::calculateRequisition(), VclVPaned::calculateRequisition(), VclHPaned::calculateRequisition(), VclEventBox::calculateRequisition(), SalInstanceWindow::clear_child_help(), SalInstanceDialog::collapse(), SalInstanceBuilder::create_screenshot_window(), SalInstanceWidget::DoRecursivePaint(), ImplSmallBorderWindowView::DrawWindow(), ImplStdBorderWindowView::DrawWindow(), ToolBox::ExecuteCustomMenu(), firstLogicalChildOfParent(), GenerateAutoMnemonicsOnHierarchy(), VclExpander::get_child(), VclEventBox::get_child(), SalInstanceBuilder::get_current_page_help_id(), Dialog::get_default_response(), Dialog::get_widget_for_response(), getActionArea(), getActionAreaButtonList(), ImplWin::GetFocus(), getLegacyBestSizeForChildren(), ComboBox::getMaxWidthScrollBarAndDownButton(), InterimItemWindow::GetOptimalSize(), NotebookBar::GetOptimalSize(), TabPage::GetOptimalSize(), SystemWindow::GetOptimalSize(), DockingWindow::GetOptimalSize(), RadioButton::GetRadioButtonGroup(), VclBuilder::handleChild(), MenuBarWindow::HandleKeyEvent(), VclBuilder::handleTabChild(), SalInstanceWindow::help(), IMPL_LINK(), IMPL_LINK_NOARG(), ImplAdjustNWFSizes(), SpinField::ImplCalcButtonAreas(), ImplWin::ImplDraw(), PopupMenu::ImplExecute(), Splitter::ImplFindSibling(), FloatingWindow::ImplFloatHitTest(), ImplGetCancelButton(), ImplGetCurTabWindow(), ImplGetDefaultButton(), ImplGetKeyInputWindow(), Edit::ImplGetNativeControlType(), ImplGetOKButton(), ImplGetTopDockingAreaHeight(), ImplGrabFocusToDocument(), ImplHandleShowDialog(), ToolBox::ImplHasExternalMenubutton(), Edit::ImplInvalidateOutermostBorder(), ImplIsMnemonicCtrl(), Edit::ImplPaintBorder(), ImplDockingWindowWrapper::ImplPreparePopupMode(), SalInstanceContainer::implResetDefault(), ImplTaskPaneListGrabFocus(), TopLevelWindowLocker::incBusy(), ImplSmallBorderWindowView::Init(), InterimItemWindow::InvalidateChildSizeCache(), ResizableDockingWindow::InvalidateChildSizeCache(), isLayoutEnabled(), ToolBox::KeyInput(), lastLogicalChildOfParent(), InterimItemWindow::Layout(), ImplWin::LoseFocus(), nextLogicalChildOfParent(), SalInstanceWindow::override_child_help(), PushButton::PreNotify(), ImplWin::PreNotify(), prevLogicalChildOfParent(), NotebookBar::Resize(), SpinField::Resize(), ComboBox::Resize(), ListBox::Resize(), Dialog::set_default_response(), VclBox::setAllocation(), VclButtonBox::setAllocation(), VclVPaned::setAllocation(), VclHPaned::setAllocation(), VclEventBox::setAllocation(), ImplDockingWindowWrapper::SetFloatingMode(), SystemWindow::setOptimalLayoutSize(), TabPage::SetPosPixel(), DockingWindow::setPosSizeOnContainee(), NotebookBar::setPosSizePixel(), TabPage::SetPosSizePixel(), TabPage::SetSizePixel(), sort_native_button_order(), ListBox::StateChanged(), PushButton::StateChanged(), CheckBox::StateChanged(), RadioButton::StateChanged(), and ToolBox::ToggleFloatingMode().

vcl::Region vcl::Window::GetWindowClipRegionPixel ( ) const
tools::Rectangle vcl::Window::GetWindowExtentsRelative ( const vcl::Window pRelativeWindow) const
VCLXWindow * vcl::Window::GetWindowPeer ( ) const

Definition at line 1246 of file window2.cxx.

const Fraction & vcl::Window::GetZoom ( ) const
void vcl::Window::GrabFocus ( )
void vcl::Window::GrabFocusToDocument ( )
bool vcl::Window::HandleScrollCommand ( const CommandEvent rCmd,
ScrollBar pHScrl,
ScrollBar pVScrl 
)
bool vcl::Window::HasActiveChildFrame ( ) const
bool vcl::Window::HasChildPathFocus ( bool  bSystemWindow = false) const
bool vcl::Window::HasFocus ( ) const

Definition at line 2971 of file window.cxx.

References ImplGetSVData().

Referenced by SvImpLBox::Clear(), ImplWin::DrawEntry(), ImplSmallBorderWindowView::DrawWindow(), Enable(), SvImpLBox::EntryRemoved(), SvHeaderTabListBox::FillAccessibleStateSet(), GetFocus(), Dialog::GrabFocusToFirstControl(), SalInstanceWidget::has_focus(), SalInstanceExpander::has_focus(), ToolBox::ImplActivateItem(), ImplListBoxWindow::ImplDoPaint(), Slider::ImplDraw(), CheckBox::ImplDraw(), ImplWin::ImplDraw(), CheckBox::ImplDrawCheckBox(), CheckBox::ImplDrawCheckBoxState(), DisclosureButton::ImplDrawCheckBoxState(), Calendar::ImplDrawDate(), TabControl::ImplDrawItem(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButton(), RadioButton::ImplDrawRadioButton(), RadioButton::ImplDrawRadioButtonState(), Calendar::ImplEndTracking(), Calendar::ImplMouseSelect(), Edit::ImplRepaint(), ToolBox::ImplShowFocus(), SvImpLBox::InvalidateEntry(), ToolBox::KeyInput(), UITestLogger::logAction(), SpinField::MouseButtonDown(), ScrollBar::MouseButtonDown(), Edit::MouseButtonDown(), SvxIconChoiceCtrl_Impl::MouseButtonDown(), ToolBox::MouseMove(), TabPage::Paint(), TabControl::Paint(), SvTreeListBox::Paint(), IconView::PaintEntry(), SvxIconChoiceCtrl_Impl::PaintEntry(), SvTreeListBox::PaintEntry1(), SvImpLBox::RecalcFocusRect(), ImplListBoxWindow::ScrollHorz(), ImplListBoxWindow::SelectEntries(), ListBox::SelectEntriesPos(), ListBox::SelectEntryPos(), SetInputContext(), ImplListBoxWindow::SetTopEntry(), SvxIconChoiceCtrl_Impl::ShowCursor(), SvImpLBox::ShowCursor(), Dialog::StateChanged(), IconViewImpl::UpdateAll(), and SvImpLBox::UpdateAll().

bool vcl::Window::HasPaintEvent ( ) const
void vcl::Window::Hide ( )
inline
void vcl::Window::HideFocus ( )
void vcl::Window::HideTracking ( )
void vcl::Window::ImplAdjustNWFSizes ( )
protectedvirtual

Reimplemented in RadioButton, and CheckBox.

Definition at line 28 of file window3.cxx.

References FirstChild, GetWindow(), and Next.

Referenced by SystemWindow::createScreenshot(), Dialog::ImplStartExecute(), and TabPage::StateChanged().

void vcl::Window::ImplCalcOverlapRegion ( const tools::Rectangle rSourceRect,
vcl::Region rRegion,
bool  bChildren,
bool  bSiblings 
)
private
void vcl::Window::ImplCalcOverlapRegionOverlaps ( const vcl::Region rInterRegion,
vcl::Region rRegion 
) const
private
void vcl::Window::ImplCalcSymbolRect ( tools::Rectangle rRect)
static
void vcl::Window::ImplCalcToTop ( ImplCalcToTopData pPrevData)
private
void vcl::Window::ImplCallActivateListeners ( vcl::Window pOld)
private
void vcl::Window::ImplCallDeactivateListeners ( vcl::Window pNew)
private
void vcl::Window::ImplCallFocusChangeActivate ( vcl::Window pNewOverlapWindow,
vcl::Window pOldOverlapWindow 
)
staticprivate
void vcl::Window::ImplCallInitShow ( )
private

Definition at line 487 of file event.cxx.

References CompatStateChanged(), ImplCallInitShow(), InitShow, and mpWindowImpl.

Referenced by ImplCallInitShow(), ImplSetReallyVisible(), and Show().

void vcl::Window::ImplCallMouseMove ( sal_uInt16  nMouseCode,
bool  bModChanged = false 
)
void vcl::Window::ImplCallMove ( )
void vcl::Window::ImplCallOverlapPaint ( )
private

Definition at line 624 of file paint.cxx.

References ImplCallOverlapPaint(), ImplCallPaint(), mpWindowImpl, Paint, and PaintChildren.

Referenced by ImplCallOverlapPaint(), and ImplUpdateAll().

void vcl::Window::ImplCallPaint ( const vcl::Region pRegion,
ImplPaintFlags  nPaintFlags 
)
private

Invoke the actual painting.

This function is kind of recursive - it may be called from the PaintHelper destructor; and on the other hand it creates PaintHelper that (when destructed) calls other ImplCallPaint()'s.

Definition at line 579 of file paint.cxx.

References aHelper, CheckRtl, PaintHelper::DoPaint(), Erase, GetOutDev(), Invalidate(), mpWindowImpl, NoChildren, NoClipChildren, NoErase, NONE, NoTransparent, Paint, Paint(), PaintAll, PaintAllChildren, PaintChildren, PostPaint(), and PrePaint().

Referenced by ImplCallOverlapPaint(), PaintImmediately(), and PaintHelper::~PaintHelper().

void vcl::Window::ImplCallResize ( )
void vcl::Window::ImplClipAllChildren ( vcl::Region rRegion) const
private

Definition at line 223 of file window/clipping.cxx.

References ImplExcludeWindowRegion(), and mpWindowImpl.

Referenced by ImplInvalidate(), and ImplScroll().

void vcl::Window::ImplClipBoundaries ( vcl::Region rRegion,
bool  bThis,
bool  bOverlaps 
)
private
bool vcl::Window::ImplClipChildren ( vcl::Region rRegion) const
private
void vcl::Window::ImplClipSiblings ( vcl::Region rRegion) const
private

Definition at line 234 of file window/clipping.cxx.

References ImplExcludeWindowRegion(), ImplGetParent(), and mpWindowImpl.

Referenced by ImplInitWinClipRegion().

void vcl::Window::ImplControlFocus ( GetFocusFlags  nFlags = GetFocusFlags::NONE)
bool vcl::Window::ImplDlgCtrl ( const KeyEvent rKEvt,
bool  bKeyInput 
)
private
void vcl::Window::ImplDlgCtrlFocusChanged ( vcl::Window pWindow,
bool  bGetFocus 
)
private

Definition at line 1088 of file dlgctrl.cxx.

References vcl::ImplDlgCtrlUpdateDefButton(), and mpWindowImpl.

Referenced by EventNotify().

void vcl::Window::ImplDlgCtrlNextWindow ( )
private
void vcl::Window::ImplEnableRTL ( bool  bEnable)
private

Definition at line 33 of file globalization.cxx.

References CompatStateChanged(), Mirroring, and mpWindowImpl.

Referenced by vcl::WindowOutputDevice::EnableRTL().

void vcl::Window::ImplExcludeOverlapWindows ( vcl::Region rRegion) const
private
void vcl::Window::ImplExcludeOverlapWindows2 ( vcl::Region rRegion)
private
void vcl::Window::ImplExcludeWindowRegion ( vcl::Region rRegion)
private
vcl::Window * vcl::Window::ImplFindDlgCtrlWindow ( vcl::Window pWindow)
private
vcl::Window * vcl::Window::ImplFindWindow ( const Point &  rFramePos)
void vcl::Window::ImplFocusToTop ( ToTopFlags  nFlags,
bool  bReallyVisible 
)
private
Point vcl::Window::ImplFrameToOutput ( const Point &  rPos)
void vcl::Window::ImplGenerateMouseMove ( )
vcl::Window * vcl::Window::ImplGetBorderWindow ( ) const
protected
vcl::Window * vcl::Window::ImplGetClientWindow ( ) const
vcl::Window * vcl::Window::ImplGetDlgWindow ( sal_uInt16  n,
GetDlgWindowType  nType,
sal_uInt16  nStart = 0,
sal_uInt16  nEnd = 0xFFFF,
sal_uInt16 *  pIndex = nullptr 
)
vcl::Window * vcl::Window::ImplGetFirstOverlapWindow ( )
private
const vcl::Window * vcl::Window::ImplGetFirstOverlapWindow ( ) const
private

Definition at line 882 of file window2.cxx.

SalFrame * vcl::Window::ImplGetFrame ( ) const
ImplFrameData * vcl::Window::ImplGetFrameData ( )

Definition at line 832 of file window2.cxx.

Referenced by ImplHandleMouseEvent(), ImplSysChildProc(), and MenuBarWindow::PopupClosed().

SalGraphics * vcl::Window::ImplGetFrameGraphics ( ) const
private

Definition at line 1276 of file window.cxx.

References OutputDevice::AcquireGraphics(), and mpWindowImpl.

Referenced by ImplPosSizeWindow(), and ImplScroll().

vcl::Window * vcl::Window::ImplGetFrameWindow ( ) const
PointerStyle vcl::Window::ImplGetMousePointer ( ) const
std::vector< VclPtr< vcl::Window > > & vcl::Window::ImplGetOwnerDrawList ( )
private

Definition at line 807 of file window2.cxx.

Referenced by dispose(), and ImplInit().

vcl::Window * vcl::Window::ImplGetParent ( ) const
vcl::Window * vcl::Window::ImplGetTopmostFrameWindow ( )
private

Definition at line 50 of file stacking.cxx.

References ImplGetParent(), and mpWindowImpl.

tools::Long vcl::Window::ImplGetUnmirroredOutOffX ( )
private
Region & vcl::Window::ImplGetWinChildClipRegion ( )
private
ImplWinData * vcl::Window::ImplGetWinData ( ) const
vcl::Window * vcl::Window::ImplGetWindow ( ) const
tools::Rectangle vcl::Window::ImplGetWindowExtentsRelative ( const vcl::Window pRelativeWindow) const
private
SAL_DLLPRIVATE WindowImpl* vcl::Window::ImplGetWindowImpl ( ) const
inline
void vcl::Window::ImplGrabFocus ( GetFocusFlags  nFlags)
void vcl::Window::ImplGrabFocusToDocument ( GetFocusFlags  nFlags)
void vcl::Window::ImplHandleScroll ( ScrollBar pHScrl,
double  nX,
ScrollBar pVScrl,
double  nY 
)
staticprivate

Definition at line 785 of file window2.cxx.

References vcl::lcl_HandleScrollHelper().

bool vcl::Window::ImplHasDlgCtrl ( ) const
private
void vcl::Window::ImplHideAllOverlaps ( )
private

Definition at line 403 of file stacking.cxx.

References IsVisible(), mpWindowImpl, and Show().

Referenced by Show().

WindowHitTest vcl::Window::ImplHitTest ( const Point &  rFramePos)
protectedvirtual
void vcl::Window::ImplInit ( vcl::Window pParent,
WinBits  nStyle,
SystemParentData pSystemParentData 
)
protected

Definition at line 935 of file window.cxx.

References OutputDevice::AcquireGraphics(), CLOSEABLE, vcl::CountDPIScaleFactor(), SalInstance::CreateChildFrame(), SalInstance::CreateFrame(), DEFAULT, DIALOG, FLOAT, Frame, StyleSettings::GetAppFont(), ImplBorderWindow::GetBorder(), StyleSettings::GetButtonTextColor(), OutputDevice::GetDefaultFont(), StyleSettings::GetFaceColor(), AllSettings::GetLayoutRTL(), GetOutDev(), GetSettings(), GetStyle(), GetType(), StyleSettings::GetWindowColor(), StyleSettings::GetWindowTextColor(), ImplGetOwnerDrawList(), ImplGetSVData(), ImplGetWinData(), ImplInitAppFontData(), ImplInsertWindow(), ImplIsOverlapWindow(), ImplPointToLogic(), ImplUpdateGlobalSettings(), ImplUpdatePos(), ImplWindowFrameProc(), INTRO, utl::ConfigManager::IsFuzzing(), IsTopWindow(), LANGUAGE_ENGLISH_US, ImplSVData::maAppData, ImplSVData::maGDIData, ImplWinData::maTopWindowChildren, ImplSVAppData::mbSettingsInit, ImplSVGDIData::mnAppFontX, MOVEABLE, ImplSVData::mpDefInst, mpWindowImpl, ImplSVAppData::mxSettings, NONE, NOSHADOW, OWNERDRAWDECORATION, PLUG, RequestDoubleBuffering(), SAL_WARN_IF, SetBackground(), SalFrame::SetCallback(), SetTextColor(), SIZEABLE, SYSTEMCHILD, TOOLTIP, TOOLWINDOW, void(), WB_3DLOOK, WB_APP, WB_BORDER, WB_CLOSEABLE, WB_DEFAULTWIN, WB_DIALOGCONTROL, WB_INTROWIN, WB_MOVEABLE, WB_NODIALOGCONTROL, WB_NOSHADOW, WB_OWNERDRAWDECORATION, WB_SIZEABLE, WB_SYSTEMCHILDWINDOW, WB_SYSTEMFLOATWIN, and WB_TOOLTIPWIN.

Referenced by Dialog::AddBorderWindow(), Control::Control(), FixedText::ImplInit(), Slider::ImplInit(), ScrollBar::ImplInit(), TabControl::ImplInit(), FixedLine::ImplInit(), ListBox::ImplInit(), Edit::ImplInit(), FixedBitmap::ImplInit(), FixedImage::ImplInit(), PushButton::ImplInit(), CheckBox::ImplInit(), RadioButton::ImplInit(), Dialog::ImplInitDialog(), FloatingWindow::ImplInitFloating(), VclContainer::VclContainer(), and Window().

void vcl::Window::ImplInitAppFontData ( vcl::Window const *  pWindow)
static
void vcl::Window::ImplInitResolutionSettings ( )
private
void vcl::Window::ImplInitWinChildClipRegion ( )
private

Definition at line 270 of file window/clipping.cxx.

References ImplClipChildren(), and mpWindowImpl.

Referenced by ImplGetWinChildClipRegion().

void vcl::Window::ImplInitWinClipRegion ( )
private
void vcl::Window::ImplInsertWindow ( vcl::Window pParent)
private

Definition at line 58 of file stacking.cxx.

References if(), ImplGetParent(), ImplIsOverlapWindow(), and mpWindowImpl.

Referenced by ImplInit().

void vcl::Window::ImplIntersectAndUnionOverlapWindows ( const vcl::Region rInterRegion,
vcl::Region rRegion 
) const
private
void vcl::Window::ImplIntersectAndUnionOverlapWindows2 ( const vcl::Region rInterRegion,
vcl::Region rRegion 
)
private
void vcl::Window::ImplIntersectWindowClipRegion ( vcl::Region rRegion)
private

Definition at line 494 of file window/clipping.cxx.

References ImplInitWinClipRegion(), vcl::Region::Intersect(), and mpWindowImpl.

Referenced by ImplClipBoundaries().

void vcl::Window::ImplIntersectWindowRegion ( vcl::Region rRegion)
private
void vcl::Window::ImplInvalidate ( const vcl::Region rRegion,
InvalidateFlags  nFlags 
)
protected
void vcl::Window::ImplInvalidateFrameRegion ( const vcl::Region pRegion,
InvalidateFlags  nFlags 
)
void vcl::Window::ImplInvalidateOverlapFrameRegion ( const vcl::Region rRegion)
void vcl::Window::ImplInvalidateParentFrameRegion ( vcl::Region rRegion)
protected
void vcl::Window::ImplInvertFocus ( const tools::Rectangle rRect)

Definition at line 175 of file mouse.cxx.

References InvertTracking(), vcl::Small, and TrackWindow.

Referenced by ImplScroll(), and PopPaintHelper().

bool vcl::Window::ImplIsAccessibleCandidate ( ) const
private

Definition at line 93 of file accessibility.cxx.

References mpWindowImpl, WB_MOVEABLE, and WB_SIZEABLE.

Referenced by dispose(), GetAccessibleParentWindow(), and ImplSetReallyVisible().

bool vcl::Window::ImplIsAccessibleNativeFrame ( ) const
private
bool vcl::Window::ImplIsChild ( const vcl::Window pWindow,
bool  bSystemWindow = false 
) const
bool vcl::Window::ImplIsFloatingWindow ( ) const
void vcl::Window::ImplIsInTaskPaneList ( bool  mbIsInTaskList)

Definition at line 3614 of file window.cxx.

References mpWindowImpl.

Referenced by TaskPaneList::AddWindow(), and TaskPaneList::RemoveWindow().

bool vcl::Window::ImplIsOverlapWindow ( ) const
bool vcl::Window::ImplIsPushButton ( ) const

Definition at line 915 of file window2.cxx.

Referenced by vcl::ImplDlgCtrlUpdateDefButton(), and ImplGetDefaultButton().

bool vcl::Window::ImplIsRealParentPath ( const vcl::Window pWindow) const
private

Definition at line 669 of file stacking.cxx.

References GetParent().

Referenced by dispose(), and SystemWindow::SetWindowStateData().

bool vcl::Window::ImplIsSplitter ( ) const

Definition at line 910 of file window2.cxx.

Referenced by Splitter::ImplFindSibling().

bool vcl::Window::ImplIsWindowOrChild ( const vcl::Window pWindow,
bool  bSystemWindow = false 
) const
void vcl::Window::ImplLogicToPoint ( vcl::RenderContext const &  rRenderContext,
vcl::Font rFont 
) const
private
void vcl::Window::ImplMirrorFramePos ( Point &  pt) const

Definition at line 3574 of file window.cxx.

References mpWindowImpl.

Referenced by DNDEventDispatcher::findTopLevelWindow().

void vcl::Window::ImplMoveAllInvalidateRegions ( const tools::Rectangle rRect,
tools::Long  nHorzScroll,
tools::Long  nVertScroll,
bool  bChildren 
)
protected
void vcl::Window::ImplMoveInvalidateRegion ( const tools::Rectangle rRect,
tools::Long  nHorzScroll,
tools::Long  nVertScroll,
bool  bChildren 
)
protected
void vcl::Window::ImplNewInputContext ( )
staticprivate
void vcl::Window::ImplNotifyIconifiedState ( bool  bIconified)

Definition at line 3619 of file window.cxx.

References mpWindowImpl, WindowMinimize, and WindowNormalize.

Referenced by ImplHandleResize().

void vcl::Window::ImplNotifyKeyMouseCommandEventListeners ( NotifyEvent rNEvt)
Point vcl::Window::ImplOutputToFrame ( const Point &  rPos)
protected

Definition at line 931 of file