LibreOffice Module toolkit (master) 1
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Member Functions | Private Attributes | List of all members
VCLXWindow Class Reference

#include <vclxwindow.hxx>

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

Public Types

typedef ::std::function< void()> Callback
 

Public Member Functions

 VCLXWindow (bool bWithDefaultProps=false)
 
virtual ~VCLXWindow () override
 
virtual void SetWindow (const VclPtr< vcl::Window > &pWindow)
 
template<class derived_type >
derived_type * GetAs () const
 
template<class derived_type >
derived_type * GetAsDynamic () const
 
vcl::WindowGetWindow () const
 
void suspendVclEventListening ()
 
void resumeVclEventListening ()
 
void notifyWindowRemoved (vcl::Window const &_rWindow)
 
bool IsDisposed () const
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
void SAL_CALL dispose () override
 
void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &rxListener) override
 
void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &rxListener) override
 
void SAL_CALL setPosSize (sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags) override
 
css::awt::Rectangle SAL_CALL getPosSize () override
 
void SAL_CALL setVisible (sal_Bool Visible) override
 
void SAL_CALL setEnable (sal_Bool Enable) override
 
void SAL_CALL setFocus () override
 
void SAL_CALL addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &rrxListener) override
 
void SAL_CALL removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &rrxListener) override
 
void SAL_CALL addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &rrxListener) override
 
void SAL_CALL removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &rrxListener) override
 
void SAL_CALL addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &rrxListener) override
 
void SAL_CALL removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &rrxListener) override
 
void SAL_CALL addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &rrxListener) override
 
void SAL_CALL removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &rrxListener) override
 
void SAL_CALL addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &rrxListener) override
 
void SAL_CALL removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &rrxListener) override
 
void SAL_CALL addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &rrxListener) override
 
void SAL_CALL removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &rrxListener) override
 
css::uno::Reference< css::awt::XToolkit > SAL_CALL getToolkit () override
 
void SAL_CALL setPointer (const css::uno::Reference< css::awt::XPointer > &Pointer) override
 
void SAL_CALL setBackground (sal_Int32 Color) override
 
void SAL_CALL invalidate (sal_Int16 Flags) override
 
void SAL_CALL invalidateRect (const css::awt::Rectangle &Rect, sal_Int16 Flags) override
 
sal_Bool SAL_CALL isChild (const css::uno::Reference< css::awt::XWindowPeer > &Peer) override
 
void SAL_CALL setDesignMode (sal_Bool bOn) override
 
sal_Bool SAL_CALL isDesignMode () override
 
void SAL_CALL enableClipSiblings (sal_Bool bClip) override
 
void SAL_CALL setForeground (sal_Int32 Color) override
 
void SAL_CALL setControlFont (const css::awt::FontDescriptor &aFont) override
 
void SAL_CALL getStyles (sal_Int16 nType, css::awt::FontDescriptor &Font, sal_Int32 &ForegroundColor, sal_Int32 &BackgroundColor) override
 
void SAL_CALL setProperty (const OUString &PropertyName, const css::uno::Any &Value) override
 
css::uno::Any SAL_CALL getProperty (const OUString &PropertyName) override
 
css::awt::Size SAL_CALL getMinimumSize () override
 
css::awt::Size SAL_CALL getPreferredSize () override
 
css::awt::Size SAL_CALL calcAdjustedSize (const css::awt::Size &aNewSize) override
 
sal_Bool SAL_CALL setGraphics (const css::uno::Reference< css::awt::XGraphics > &aDevice) override
 
css::uno::Reference< css::awt::XGraphics > SAL_CALL getGraphics () override
 
css::awt::Size SAL_CALL getSize () override
 
void SAL_CALL draw (sal_Int32 nX, sal_Int32 nY) override
 
void SAL_CALL setZoom (float fZoomX, float fZoomY) override
 
css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
void SAL_CALL addDockableWindowListener (const css::uno::Reference< css::awt::XDockableWindowListener > &xListener) override
 
void SAL_CALL removeDockableWindowListener (const css::uno::Reference< css::awt::XDockableWindowListener > &xListener) override
 
void SAL_CALL enableDocking (sal_Bool bEnable) override
 
sal_Bool SAL_CALL isFloating () override
 
void SAL_CALL setFloatingMode (sal_Bool bFloating) override
 
void SAL_CALL lock () override
 
void SAL_CALL unlock () override
 
sal_Bool SAL_CALL isLocked () override
 
void SAL_CALL startPopupMode (const css::awt::Rectangle &WindowRect) override
 
sal_Bool SAL_CALL isInPopupMode () override
 
void SAL_CALL setOutputSize (const css::awt::Size &aSize) override
 
css::awt::Size SAL_CALL getOutputSize () override
 
sal_Bool SAL_CALL isVisible () override
 
sal_Bool SAL_CALL isActive () override
 
sal_Bool SAL_CALL isEnabled () override
 
sal_Bool SAL_CALL hasFocus () override
 
css::uno::Sequence< css::beans::Property > SAL_CALL getProperties () override
 
css::beans::Property SAL_CALL getPropertyByName (const OUString &aName) override
 
sal_Bool SAL_CALL hasPropertyByName (const OUString &Name) override
 
virtual css::uno::Reference< css::awt::XStyleSettings > SAL_CALL getStyleSettings () override
 

Protected Member Functions

Size ImplCalcWindowSize (const Size &rOutSz) const
 
 DECL_DLLPRIVATE_LINK (WindowEventListener, VclWindowEvent &, void)
 
virtual void ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent)
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > CreateAccessibleContext ()
 
void SetSynthesizingVCLEvent (bool b)
 
bool IsSynthesizingVCLEvent () const
 
void SetSystemParent_Impl (const css::uno::Any &rHandle)
 helper method to set a window handle into a SystemParentData struct More...
 
::toolkit::IAccessibleFactorygetAccessibleFactory ()
 
virtual void GetPropertyIds (std::vector< sal_uInt16 > &aIds)
 
ListenerMultiplexerBase< css::awt::XVclContainerListener > & GetContainerListeners ()
 
ListenerMultiplexerBase< css::awt::XTopWindowListener > & GetTopWindowListeners ()
 
void ImplExecuteAsyncWithoutSolarLock (const Callback &i_callback)
 executes the given callback asynchronously More...
 

Static Protected Member Functions

static void PushPropertyIds (std::vector< sal_uInt16 > &aIds, int nFirstId,...)
 
static void ImplGetPropertyIds (std::vector< sal_uInt16 > &aIds, bool bWithDefaults=false)
 

Private Member Functions

UnoPropertyArrayHelperGetPropHelper ()
 

Private Attributes

std::unique_ptr< VCLXWindowImplmpImpl
 

Detailed Description

Definition at line 73 of file vclxwindow.hxx.

Member Typedef Documentation

◆ Callback

typedef ::std::function<void ()> VCLXWindow::Callback

Definition at line 106 of file vclxwindow.hxx.

Constructor & Destructor Documentation

◆ VCLXWindow()

VCLXWindow::VCLXWindow ( bool  bWithDefaultProps = false)

Definition at line 329 of file vclxwindow.cxx.

References mpImpl.

◆ ~VCLXWindow()

VCLXWindow::~VCLXWindow ( )
overridevirtual

Definition at line 334 of file vclxwindow.cxx.

References mpImpl.

Member Function Documentation

◆ addDockableWindowListener()

void SAL_CALL VCLXWindow::addDockableWindowListener ( const css::uno::Reference< css::awt::XDockableWindowListener > &  xListener)
override

Definition at line 2428 of file vclxwindow.cxx.

References mpImpl.

◆ addEventListener()

void VCLXWindow::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  rxListener)
override

Definition at line 946 of file vclxwindow.cxx.

References mpImpl.

Referenced by VCLXHatchWindow::addEventListener().

◆ addFocusListener()

void VCLXWindow::addFocusListener ( const css::uno::Reference< css::awt::XFocusListener > &  rrxListener)
override

Definition at line 1057 of file vclxwindow.cxx.

References mpImpl.

◆ addKeyListener()

void VCLXWindow::addKeyListener ( const css::uno::Reference< css::awt::XKeyListener > &  rrxListener)
override

Definition at line 1073 of file vclxwindow.cxx.

References mpImpl.

◆ addMouseListener()

void VCLXWindow::addMouseListener ( const css::uno::Reference< css::awt::XMouseListener > &  rrxListener)
override

Definition at line 1089 of file vclxwindow.cxx.

References mpImpl.

◆ addMouseMotionListener()

void VCLXWindow::addMouseMotionListener ( const css::uno::Reference< css::awt::XMouseMotionListener > &  rrxListener)
override

Definition at line 1105 of file vclxwindow.cxx.

References mpImpl.

◆ addPaintListener()

void VCLXWindow::addPaintListener ( const css::uno::Reference< css::awt::XPaintListener > &  rrxListener)
override

Definition at line 1121 of file vclxwindow.cxx.

References mpImpl.

◆ addWindowListener()

void VCLXWindow::addWindowListener ( const css::uno::Reference< css::awt::XWindowListener > &  rrxListener)
override

Definition at line 1026 of file vclxwindow.cxx.

References vcl::Window::EnableAllResize(), GetWindow(), and mpImpl.

◆ calcAdjustedSize()

css::awt::Size VCLXWindow::calcAdjustedSize ( const css::awt::Size &  aNewSize)
override

Definition at line 2235 of file vclxwindow.cxx.

References getMinimumSize().

◆ CreateAccessibleContext()

uno::Reference< accessibility::XAccessibleContext > VCLXWindow::CreateAccessibleContext ( )
protectedvirtual

◆ DECL_DLLPRIVATE_LINK()

VCLXWindow::DECL_DLLPRIVATE_LINK ( WindowEventListener  ,
VclWindowEvent ,
void   
)
protected

◆ dispose()

void VCLXWindow::dispose ( void  )
override

◆ disposing()

void SAL_CALL VCLXWindow::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ draw()

void VCLXWindow::draw ( sal_Int32  nX,
sal_Int32  nY 
)
override

◆ enableClipSiblings()

void VCLXWindow::enableClipSiblings ( sal_Bool  bClip)
override

Definition at line 1220 of file vclxwindow.cxx.

References vcl::Window::EnableClipSiblings(), and GetWindow().

◆ enableDocking()

void SAL_CALL VCLXWindow::enableDocking ( sal_Bool  bEnable)
override

Definition at line 2445 of file vclxwindow.cxx.

References GetWindow().

◆ getAccessibleContext()

css::uno::Reference< css::accessibility::XAccessibleContext > VCLXWindow::getAccessibleContext ( )
override

Definition at line 2404 of file vclxwindow.cxx.

References CreateAccessibleContext(), GetWindow(), and mpImpl.

◆ getAccessibleFactory()

toolkit::IAccessibleFactory & VCLXWindow::getAccessibleFactory ( )
protected

◆ GetAs()

template<class derived_type >
derived_type * VCLXWindow::GetAs ( ) const
inline

Definition at line 127 of file vclxwindow.hxx.

◆ GetAsDynamic()

template<class derived_type >
derived_type * VCLXWindow::GetAsDynamic ( ) const
inline

Definition at line 129 of file vclxwindow.hxx.

◆ GetContainerListeners()

ListenerMultiplexerBase< css::awt::XVclContainerListener > & VCLXWindow::GetContainerListeners ( )
protected

Definition at line 1348 of file vclxwindow.cxx.

References mpImpl.

◆ getGraphics()

css::uno::Reference< css::awt::XGraphics > VCLXWindow::getGraphics ( )
override

Definition at line 2264 of file vclxwindow.cxx.

References mpImpl.

◆ getMinimumSize()

css::awt::Size VCLXWindow::getMinimumSize ( )
override

◆ getOutputSize()

css::awt::Size SAL_CALL VCLXWindow::getOutputSize ( )
override

Definition at line 2524 of file vclxwindow.cxx.

References AWTSize(), and GetWindow().

◆ getPosSize()

css::awt::Rectangle VCLXWindow::getPosSize ( )
override

Definition at line 978 of file vclxwindow.cxx.

References AWTRectangle(), vcl::Window::GetDockingManager(), and GetWindow().

◆ getPreferredSize()

css::awt::Size VCLXWindow::getPreferredSize ( )
override

Definition at line 2230 of file vclxwindow.cxx.

References getMinimumSize().

◆ getProperties()

css::uno::Sequence< css::beans::Property > SAL_CALL VCLXWindow::getProperties ( )
override

Definition at line 2586 of file vclxwindow.cxx.

References UnoPropertyArrayHelper::getProperties(), and GetPropHelper().

◆ getProperty()

css::uno::Any VCLXWindow::getProperty ( const OUString &  PropertyName)
override

Definition at line 1945 of file vclxwindow.cxx.

References BASEPROPERTY_ACCESSIBLENAME, BASEPROPERTY_ALIGN, BASEPROPERTY_AUTOMNEMONICS, BASEPROPERTY_BACKGROUNDCOLOR, BASEPROPERTY_BORDER, BASEPROPERTY_BORDERCOLOR, BASEPROPERTY_CONTEXT_WRITING_MODE, BASEPROPERTY_DISPLAYBACKGROUNDCOLOR, BASEPROPERTY_ENABLED, BASEPROPERTY_ENABLEVISIBLE, BASEPROPERTY_FILLCOLOR, BASEPROPERTY_FONTDESCRIPTOR, BASEPROPERTY_FONTEMPHASISMARK, BASEPROPERTY_FONTRELIEF, BASEPROPERTY_HELPTEXT, BASEPROPERTY_HELPURL, BASEPROPERTY_HIGHCONTRASTMODE, BASEPROPERTY_HIGHLIGHT_COLOR, BASEPROPERTY_HIGHLIGHT_TEXT_COLOR, BASEPROPERTY_LABEL, BASEPROPERTY_LINECOLOR, BASEPROPERTY_MOUSE_WHEEL_BEHAVIOUR, BASEPROPERTY_MOUSETRANSPARENT, BASEPROPERTY_MULTILINE, BASEPROPERTY_NATIVE_WIDGET_LOOK, BASEPROPERTY_PAINTTRANSPARENT, BASEPROPERTY_REFERENCE_DEVICE, BASEPROPERTY_REPEAT, BASEPROPERTY_REPEAT_DELAY, BASEPROPERTY_SYMBOL_COLOR, BASEPROPERTY_TABSTOP, BASEPROPERTY_TEXT, BASEPROPERTY_TEXTCOLOR, BASEPROPERTY_TEXTLINECOLOR, BASEPROPERTY_TITLE, BASEPROPERTY_VERTICALALIGN, BASEPROPERTY_WRITING_MODE, VCLUnoHelper::CreateFontDescriptor(), vcl::Window::GetAccessibleName(), StyleSettings::GetAutoMnemonic(), vcl::Window::GetBackgroundColor(), vcl::Window::GetBorderStyle(), MouseSettings::GetButtonRepeat(), StyleSettings::GetButtonTextColor(), vcl::Window::GetControlBackground(), vcl::Window::GetControlFont(), vcl::Window::GetControlForeground(), OutputDevice::GetFillColor(), vcl::Window::GetHelpId(), StyleSettings::GetHighContrastMode(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), OutputDevice::GetLineColor(), StyleSettings::GetMonoColor(), AllSettings::GetMouseSettings(), vcl::Window::GetOutDev(), GetPropertyId(), vcl::Window::GetQuickHelpText(), vcl::Window::GetSettings(), vcl::Window::GetStyle(), AllSettings::GetStyleSettings(), vcl::Window::GetText(), vcl::Window::GetTextLineColor(), vcl::Window::GetType(), MouseSettings::GetWheelBehavior(), GetWindow(), vcl::Window::IsEnabled(), vcl::Window::IsMouseTransparent(), vcl::Window::IsNativeWidgetEnabled(), vcl::Window::IsPaintTransparent(), mpImpl, nBorder, PROPERTY_ALIGN_CENTER, PROPERTY_ALIGN_LEFT, PROPERTY_ALIGN_RIGHT, WB_BORDER, WB_BOTTOM, WB_CENTER, WB_LEFT, WB_REPEAT, WB_RIGHT, WB_TABSTOP, WB_TOP, WB_VCENTER, and WB_WORDBREAK.

Referenced by VCLXGraphicControl::getProperty(), VCLXFixedHyperlink::getProperty(), VCLXScrollBar::getProperty(), VCLXEdit::getProperty(), VCLXListBox::getProperty(), toolkit::AnimatedImagesPeer::getProperty(), toolkit::VCLXSpinButton::getProperty(), VCLXMultiLineEdit::getProperty(), VCLXProgressBar::getProperty(), SVTXGridControl::getProperty(), and TreeControlPeer::getProperty().

◆ getPropertyByName()

css::beans::Property SAL_CALL VCLXWindow::getPropertyByName ( const OUString &  aName)
override

◆ GetPropertyIds()

void VCLXWindow::GetPropertyIds ( std::vector< sal_uInt16 > &  aIds)
protectedvirtual

Reimplemented in VCLXGraphicControl, and VCLXImageControl.

Definition at line 1343 of file vclxwindow.cxx.

References ImplGetPropertyIds(), and mpImpl.

Referenced by GetPropHelper().

◆ GetPropHelper()

UnoPropertyArrayHelper * VCLXWindow::GetPropHelper ( )
private

Definition at line 2573 of file vclxwindow.cxx.

References GetPropertyIds(), and mpImpl.

Referenced by getProperties(), getPropertyByName(), and hasPropertyByName().

◆ getSize()

css::awt::Size VCLXWindow::getSize ( )
override

◆ getStyles()

void VCLXWindow::getStyles ( sal_Int16  nType,
css::awt::FontDescriptor &  Font,
sal_Int32 &  ForegroundColor,
sal_Int32 &  BackgroundColor 
)
override

◆ getStyleSettings()

Reference< XStyleSettings > SAL_CALL VCLXWindow::getStyleSettings ( )
overridevirtual

Definition at line 2602 of file vclxwindow.cxx.

References mpImpl.

◆ getToolkit()

css::uno::Reference< css::awt::XToolkit > VCLXWindow::getToolkit ( )
override

Definition at line 1138 of file vclxwindow.cxx.

References Application::GetVCLToolkit().

◆ GetTopWindowListeners()

ListenerMultiplexerBase< css::awt::XTopWindowListener > & VCLXWindow::GetTopWindowListeners ( )
protected

Definition at line 1353 of file vclxwindow.cxx.

References mpImpl.

◆ GetWindow()

vcl::Window * VCLXWindow::GetWindow ( ) const
inline

Definition at line 131 of file vclxwindow.hxx.

References p.

Referenced by addWindowListener(), toolkit::WindowStyleSettings::dispose(), dispose(), draw(), enableClipSiblings(), enableDocking(), getAccessibleContext(), toolkit::WindowStyleSettings::getFaceGradientColor(), toolkit::WindowStyleSettings::getHighContrastMode(), toolkit::VCLXSpinButton::getMaximum(), toolkit::VCLXSpinButton::getMinimum(), getMinimumSize(), toolkit::VCLXSpinButton::getOrientation(), getOutputSize(), getPosSize(), getProperty(), VCLXGraphicControl::getProperty(), toolkit::VCLXSpinButton::getProperty(), toolkit::WindowStyleSettings::getSeparatorColor(), getSize(), toolkit::VCLXSpinButton::getSpinIncrement(), getStyles(), toolkit::VCLXSpinButton::getValue(), VCLUnoHelper::GetWindow(), hasFocus(), StdTabController::ImplActivateControl(), ImplCalcWindowSize(), toolkit::WindowStyleSettings::ImplGetStyleColor(), toolkit::WindowStyleSettings::ImplGetStyleFont(), VCLXGraphicControl::ImplSetNewImage(), VCLXImageControl::ImplSetNewImage(), toolkit::WindowStyleSettings::ImplSetStyleColor(), toolkit::WindowStyleSettings::ImplSetStyleFont(), VCLXHatchWindow::initializeWindow(), invalidate(), invalidateRect(), isActive(), isChild(), isEnabled(), isFloating(), isLocked(), isVisible(), lock(), ProcessWindowEvent(), setBackground(), setControlFont(), setEnable(), setFloatingMode(), setFocus(), setForeground(), toolkit::WindowStyleSettings::setHighContrastMode(), toolkit::VCLXSpinButton::setMaximum(), toolkit::VCLXSpinButton::setMinimum(), toolkit::VCLXSpinButton::setOrientation(), setOutputSize(), setPointer(), setPosSize(), VCLXGraphicControl::setPosSize(), setProperty(), VCLXGraphicControl::setProperty(), toolkit::VCLXSpinButton::setProperty(), toolkit::VCLXSpinButton::setSpinIncrement(), SetSystemParent_Impl(), toolkit::VCLXSpinButton::setValue(), setVisible(), SetWindow(), setZoom(), unlock(), and toolkit::WindowStyleSettings::WindowStyleSettings().

◆ hasFocus()

sal_Bool SAL_CALL VCLXWindow::hasFocus ( )
override

Definition at line 2561 of file vclxwindow.cxx.

References GetWindow(), and vcl::Window::HasFocus().

◆ hasPropertyByName()

sal_Bool SAL_CALL VCLXWindow::hasPropertyByName ( const OUString &  Name)
override

◆ ImplCalcWindowSize()

Size VCLXWindow::ImplCalcWindowSize ( const Size rOutSz) const
protected

Definition at line 890 of file vclxwindow.cxx.

References Size::AdjustHeight(), Size::AdjustWidth(), and GetWindow().

Referenced by VCLXImageControl::getMinimumSize().

◆ ImplExecuteAsyncWithoutSolarLock()

void VCLXWindow::ImplExecuteAsyncWithoutSolarLock ( const Callback i_callback)
protected

executes the given callback asynchronously

At the moment the callback is called, the Solar Mutex is not locked. In particular, this implies that you cannot rely on |this| not being disposed. However, you can rely on |this| being still alive (i.e. having a ref count > 0).

As a consequence, this can be used for doing listener notifications, using event multiplexers. Those multiplexers care for the disposed state themself, and are alive as long as |this| is alive.

Definition at line 340 of file vclxwindow.cxx.

References mpImpl.

Referenced by ProcessWindowEvent().

◆ ImplGetPropertyIds()

void VCLXWindow::ImplGetPropertyIds ( std::vector< sal_uInt16 > &  aIds,
bool  bWithDefaults = false 
)
staticprotected

◆ invalidate()

void VCLXWindow::invalidate ( sal_Int16  Flags)
override

Definition at line 1174 of file vclxwindow.cxx.

References GetWindow(), and vcl::Window::Invalidate().

◆ invalidateRect()

void VCLXWindow::invalidateRect ( const css::awt::Rectangle &  Rect,
sal_Int16  Flags 
)
override

Definition at line 1182 of file vclxwindow.cxx.

References GetWindow(), vcl::Window::Invalidate(), and VCLRectangle().

◆ isActive()

sal_Bool SAL_CALL VCLXWindow::isActive ( )
override

Definition at line 2542 of file vclxwindow.cxx.

References GetWindow(), and vcl::Window::IsActive().

◆ isChild()

sal_Bool VCLXWindow::isChild ( const css::uno::Reference< css::awt::XWindowPeer > &  Peer)
override

Definition at line 1192 of file vclxwindow.cxx.

References GetWindow(), and VCLUnoHelper::GetWindow().

◆ isDesignMode()

sal_Bool VCLXWindow::isDesignMode ( )
override

Definition at line 1214 of file vclxwindow.cxx.

References mpImpl.

Referenced by draw().

◆ IsDisposed()

bool VCLXWindow::IsDisposed ( ) const

Definition at line 2607 of file vclxwindow.cxx.

References mpImpl.

◆ isEnabled()

sal_Bool SAL_CALL VCLXWindow::isEnabled ( )
override

Definition at line 2552 of file vclxwindow.cxx.

References GetWindow(), and vcl::Window::IsEnabled().

◆ isFloating()

sal_Bool SAL_CALL VCLXWindow::isFloating ( )
override

◆ isInPopupMode()

sal_Bool SAL_CALL VCLXWindow::isInPopupMode ( )
override

Definition at line 2508 of file vclxwindow.cxx.

◆ isLocked()

sal_Bool SAL_CALL VCLXWindow::isLocked ( )
override

◆ IsSynthesizingVCLEvent()

bool VCLXWindow::IsSynthesizingVCLEvent ( ) const
protected

Definition at line 885 of file vclxwindow.cxx.

References mpImpl.

◆ isVisible()

sal_Bool SAL_CALL VCLXWindow::isVisible ( )
override

Definition at line 2533 of file vclxwindow.cxx.

References GetWindow(), and vcl::Window::IsVisible().

◆ lock()

void SAL_CALL VCLXWindow::lock ( )
override

◆ notifyWindowRemoved()

void VCLXWindow::notifyWindowRemoved ( vcl::Window const &  _rWindow)

Definition at line 384 of file vclxwindow.cxx.

References aEvent, vcl::Window::GetWindowPeer(), and mpImpl.

◆ ProcessWindowEvent()

void VCLXWindow::ProcessWindowEvent ( const VclWindowEvent rVclWindowEvent)
protectedvirtual

◆ PushPropertyIds()

void VCLXWindow::PushPropertyIds ( std::vector< sal_uInt16 > &  aIds,
int  nFirstId,
  ... 
)
staticprotected

Definition at line 1295 of file vclxwindow.cxx.

References BASEPROPERTY_NOTFOUND, and nId.

Referenced by VCLXImageControl::ImplGetPropertyIds(), and ImplGetPropertyIds().

◆ removeDockableWindowListener()

void SAL_CALL VCLXWindow::removeDockableWindowListener ( const css::uno::Reference< css::awt::XDockableWindowListener > &  xListener)
override

Definition at line 2437 of file vclxwindow.cxx.

References mpImpl.

◆ removeEventListener()

void VCLXWindow::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  rxListener)
override

Definition at line 954 of file vclxwindow.cxx.

References mpImpl.

Referenced by VCLXHatchWindow::removeEventListener().

◆ removeFocusListener()

void VCLXWindow::removeFocusListener ( const css::uno::Reference< css::awt::XFocusListener > &  rrxListener)
override

Definition at line 1065 of file vclxwindow.cxx.

References mpImpl.

◆ removeKeyListener()

void VCLXWindow::removeKeyListener ( const css::uno::Reference< css::awt::XKeyListener > &  rrxListener)
override

Definition at line 1081 of file vclxwindow.cxx.

References mpImpl.

◆ removeMouseListener()

void VCLXWindow::removeMouseListener ( const css::uno::Reference< css::awt::XMouseListener > &  rrxListener)
override

Definition at line 1097 of file vclxwindow.cxx.

References mpImpl.

◆ removeMouseMotionListener()

void VCLXWindow::removeMouseMotionListener ( const css::uno::Reference< css::awt::XMouseMotionListener > &  rrxListener)
override

Definition at line 1113 of file vclxwindow.cxx.

References mpImpl.

◆ removePaintListener()

void VCLXWindow::removePaintListener ( const css::uno::Reference< css::awt::XPaintListener > &  rrxListener)
override

Definition at line 1129 of file vclxwindow.cxx.

References mpImpl.

◆ removeWindowListener()

void VCLXWindow::removeWindowListener ( const css::uno::Reference< css::awt::XWindowListener > &  rrxListener)
override

Definition at line 1043 of file vclxwindow.cxx.

References mpImpl.

◆ resumeVclEventListening()

void VCLXWindow::resumeVclEventListening ( )

Definition at line 378 of file vclxwindow.cxx.

References DBG_ASSERT, and mpImpl.

◆ setBackground()

void VCLXWindow::setBackground ( sal_Int32  Color)
override

◆ setControlFont()

void VCLXWindow::setControlFont ( const css::awt::FontDescriptor &  aFont)
override

◆ setDesignMode()

void VCLXWindow::setDesignMode ( sal_Bool  bOn)
override

Definition at line 1207 of file vclxwindow.cxx.

References mpImpl.

◆ setEnable()

void VCLXWindow::setEnable ( sal_Bool  Enable)
override

Definition at line 1006 of file vclxwindow.cxx.

References GetWindow().

Referenced by setProperty().

◆ setFloatingMode()

void SAL_CALL VCLXWindow::setFloatingMode ( sal_Bool  bFloating)
override

◆ setFocus()

void VCLXWindow::setFocus ( )
override

Definition at line 1018 of file vclxwindow.cxx.

References GetWindow(), and vcl::Window::GrabFocus().

◆ setForeground()

void VCLXWindow::setForeground ( sal_Int32  Color)
override

◆ setGraphics()

sal_Bool VCLXWindow::setGraphics ( const css::uno::Reference< css::awt::XGraphics > &  aDevice)
override

Definition at line 2252 of file vclxwindow.cxx.

References VCLUnoHelper::GetOutputDevice(), and mpImpl.

◆ setOutputSize()

void SAL_CALL VCLXWindow::setOutputSize ( const css::awt::Size &  aSize)
override

Definition at line 2517 of file vclxwindow.cxx.

References GetWindow(), and VCLSize().

◆ setPointer()

void VCLXWindow::setPointer ( const css::uno::Reference< css::awt::XPointer > &  Pointer)
override

◆ setPosSize()

void VCLXWindow::setPosSize ( sal_Int32  X,
sal_Int32  Y,
sal_Int32  Width,
sal_Int32  Height,
sal_Int16  Flags 
)
override

◆ setProperty()

void VCLXWindow::setProperty ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
override

Definition at line 1395 of file vclxwindow.cxx.

References aURL, BASEPROPERTY_ACCESSIBLENAME, BASEPROPERTY_ALIGN, BASEPROPERTY_AUTOMNEMONICS, BASEPROPERTY_BACKGROUNDCOLOR, BASEPROPERTY_BORDER, BASEPROPERTY_BORDERCOLOR, BASEPROPERTY_CONTEXT_WRITING_MODE, BASEPROPERTY_ENABLED, BASEPROPERTY_ENABLEVISIBLE, BASEPROPERTY_FILLCOLOR, BASEPROPERTY_FONTDESCRIPTOR, BASEPROPERTY_FONTEMPHASISMARK, BASEPROPERTY_FONTRELIEF, BASEPROPERTY_HELPTEXT, BASEPROPERTY_HELPURL, BASEPROPERTY_HIGHLIGHT_COLOR, BASEPROPERTY_HIGHLIGHT_TEXT_COLOR, BASEPROPERTY_LABEL, BASEPROPERTY_LINECOLOR, BASEPROPERTY_MOUSE_WHEEL_BEHAVIOUR, BASEPROPERTY_MOUSETRANSPARENT, BASEPROPERTY_MULTILINE, BASEPROPERTY_NATIVE_WIDGET_LOOK, BASEPROPERTY_ORIENTATION, BASEPROPERTY_PAINTTRANSPARENT, BASEPROPERTY_PLUGINPARENT, BASEPROPERTY_REFERENCE_DEVICE, BASEPROPERTY_REPEAT, BASEPROPERTY_REPEAT_DELAY, BASEPROPERTY_SYMBOL_COLOR, BASEPROPERTY_TABSTOP, BASEPROPERTY_TEXT, BASEPROPERTY_TEXTCOLOR, BASEPROPERTY_TEXTLINECOLOR, BASEPROPERTY_TITLE, BASEPROPERTY_VERTICALALIGN, BASEPROPERTY_WRITING_MODE, VCLUnoHelper::CreateFont(), VclPtr< class reference_type >::get(), StyleSettings::GetAutoMnemonic(), StyleSettings::GetButtonTextColor(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), StyleSettings::GetMonoColor(), AllSettings::GetMouseSettings(), VCLUnoHelper::GetOutputDevice(), GetPropertyId(), INetURLObject::GetProtocol(), Application::GetSettings(), AllSettings::GetStyleSettings(), INetURLObject::GetURLPath(), GetWindow(), mpImpl, n, nBorder, PROPERTY_ALIGN_CENTER, PROPERTY_ALIGN_LEFT, StyleSettings::SetAutoMnemonic(), MouseSettings::SetButtonRepeat(), StyleSettings::SetButtonTextColor(), toolkit::setColorSettings(), vcl::Font::SetEmphasisMark(), setEnable(), StyleSettings::SetHighlightColor(), StyleSettings::SetHighlightTextColor(), StyleSettings::SetMonoColor(), AllSettings::SetMouseSettings(), Control::SetReferenceDevice(), vcl::Font::SetRelief(), AllSettings::SetStyleSettings(), SetSystemParent_Impl(), MouseSettings::SetWheelBehavior(), Value, WB_BORDER, WB_BOTTOM, WB_CENTER, WB_HORZ, WB_LEFT, WB_NOTABSTOP, WB_REPEAT, WB_RIGHT, WB_TABSTOP, WB_TOP, WB_VCENTER, WB_VERT, and WB_WORDBREAK.

Referenced by VCLXGraphicControl::setProperty(), VCLXFixedHyperlink::setProperty(), VCLXScrollBar::setProperty(), VCLXEdit::setProperty(), VCLXListBox::setProperty(), toolkit::AnimatedImagesPeer::setProperty(), VCLXContainer::setProperty(), toolkit::VCLXSpinButton::setProperty(), VCLXTabPageContainer::setProperty(), VCLXMultiLineEdit::setProperty(), VCLXProgressBar::setProperty(), VCLXFileControl::setProperty(), SVTXGridControl::setProperty(), and TreeControlPeer::setProperty().

◆ SetSynthesizingVCLEvent()

void VCLXWindow::SetSynthesizingVCLEvent ( bool  b)
protected

Definition at line 880 of file vclxwindow.cxx.

References mpImpl.

◆ SetSystemParent_Impl()

void VCLXWindow::SetSystemParent_Impl ( const css::uno::Any &  rHandle)
protected

helper method to set a window handle into a SystemParentData struct

Definition at line 36 of file vclxwindow1.cxx.

References SystemParentData::aWindow, SystemParentData::bXEmbedSupport, VclPtr< class reference_type >::get(), GetWindow(), nHandle, and SystemParentData::nSize.

Referenced by setProperty().

◆ setVisible()

void VCLXWindow::setVisible ( sal_Bool  Visible)
override

Definition at line 994 of file vclxwindow.cxx.

References bVisible, GetWindow(), and mpImpl.

◆ SetWindow()

void VCLXWindow::SetWindow ( const VclPtr< vcl::Window > &  pWindow)
virtual

◆ setZoom()

void VCLXWindow::setZoom ( float  fZoomX,
float  fZoomY 
)
override

◆ startPopupMode()

void SAL_CALL VCLXWindow::startPopupMode ( const css::awt::Rectangle &  WindowRect)
override

Definition at line 2503 of file vclxwindow.cxx.

◆ suspendVclEventListening()

void VCLXWindow::suspendVclEventListening ( )

Definition at line 373 of file vclxwindow.cxx.

References mpImpl.

◆ unlock()

void SAL_CALL VCLXWindow::unlock ( )
override

Member Data Documentation

◆ mpImpl

std::unique_ptr<VCLXWindowImpl> VCLXWindow::mpImpl
private

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