22#include <com/sun/star/accessibility/AccessibleRole.hpp>
59 bool bFocused =
false;
70 assert( rEvent.GetWindow() );
71 if ( !rEvent.GetWindow()->IsAccessibilityEventsSuppressed() || ( rEvent.GetId() == VclEventId::ObjectDying ) )
73 ProcessWindowEvent( rEvent );
80 switch ( rVclWindowEvent.
GetId() )
82 case VclEventId::WindowGetFocus:
83 case VclEventId::WindowLoseFocus:
85 SetFocused( rVclWindowEvent.
GetId() == VclEventId::WindowGetFocus );
88 case VclEventId::ObjectDying:
110 OAccessibleMenuComponent::disposing();
125 return "com.sun.star.comp.toolkit.AccessibleMenuBar";
131 return {
"com.sun.star.awt.AccessibleMenuBar" };
140 OExternalLockGuard aGuard(
this );
142 sal_Int64 nIndexInParent = -1;
155 if ( pChild == pWindow )
165 return nIndexInParent;
171 OExternalLockGuard aGuard(
this );
173 return AccessibleRole::MENU_BAR;
182 OExternalLockGuard aGuard(
this );
static const AllSettings & GetSettings()
vcl::Window * GetAccessibleChildWindow(sal_uInt16 n)
sal_uInt16 GetAccessibleChildWindowCount()
vcl::Window * GetAccessibleParentWindow() const
#define LINK(Instance, Class, Member)