20#ifndef INCLUDED_SFX2_SOURCE_CONTROL_THUMBNAILVIEWACC_HXX
21#define INCLUDED_SFX2_SOURCE_CONTROL_THUMBNAILVIEWACC_HXX
26#include <com/sun/star/accessibility/XAccessible.hpp>
27#include <com/sun/star/accessibility/XAccessibleContext.hpp>
28#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
29#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
30#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
38 css::accessibility::XAccessible,
39 css::accessibility::XAccessibleEventBroadcaster,
40 css::accessibility::XAccessibleContext,
41 css::accessibility::XAccessibleComponent,
42 css::accessibility::XAccessibleSelection >
54 const css::uno::Any& rOldValue,
55 const css::uno::Any& rNewValue );
73 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
getAccessibleContext( )
override;
76 virtual void SAL_CALL
addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )
override;
77 virtual void SAL_CALL
removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )
override;
81 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleChild( sal_Int64 i )
override;
82 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleParent( )
override;
87 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
getAccessibleRelationSet( )
override;
89 virtual css::lang::Locale SAL_CALL
getLocale( )
override;
93 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& aPoint )
override;
94 virtual css::awt::Rectangle SAL_CALL
getBounds( )
override;
95 virtual css::awt::Point SAL_CALL
getLocation( )
override;
97 virtual css::awt::Size SAL_CALL
getSize( )
override;
98 virtual void SAL_CALL
grabFocus( )
override;
108 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getSelectedAccessibleChild( sal_Int64 nSelectedChildIndex )
override;
112 ::std::vector< css::uno::Reference<
119 virtual void disposing(std::unique_lock<std::mutex>&)
override;
148 css::accessibility::XAccessibleEventBroadcaster,
149 css::accessibility::XAccessibleContext,
150 css::accessibility::XAccessibleComponent>
154 ::std::vector< css::uno::Reference< css::accessibility::XAccessibleEventListener > >
172 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
getAccessibleContext( )
override;
175 virtual void SAL_CALL
addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )
override;
176 virtual void SAL_CALL
removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )
override;
180 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleChild( sal_Int64 i )
override;
181 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleParent( )
override;
186 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
getAccessibleRelationSet( )
override;
188 virtual css::lang::Locale SAL_CALL
getLocale( )
override;
192 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& aPoint )
override;
193 virtual css::awt::Rectangle SAL_CALL
getBounds( )
override;
194 virtual css::awt::Point SAL_CALL
getLocation( )
override;
196 virtual css::awt::Size SAL_CALL
getSize( )
override;
197 virtual void SAL_CALL
grabFocus( )
override;
void FireAccessibleEvent(short nEventId, const css::uno::Any &rOldValue, const css::uno::Any &rNewValue)
bool HasAccessibleListeners() const
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
static ThumbnailViewAcc * getImplementation(const css::uno::Reference< css::uno::XInterface > &rxData) noexcept
::std::vector< css::uno::Reference< css::accessibility::XAccessibleEventListener > > mxEventListeners
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual sal_Bool SAL_CALL isAccessibleChildSelected(sal_Int64 nChildIndex) override
virtual void disposing(std::unique_lock< std::mutex > &) override
Tell all listeners that the object is dying.
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
virtual sal_Int32 SAL_CALL getBackground() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual css::awt::Size SAL_CALL getSize() override
virtual void SAL_CALL clearAccessibleSelection() override
virtual ~ThumbnailViewAcc() override
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual OUString SAL_CALL getAccessibleName() override
virtual css::lang::Locale SAL_CALL getLocale() override
void ThrowIfDisposed()
Check whether or not the object has been disposed (or is in the state of being disposed).
virtual void SAL_CALL selectAllAccessibleChildren() override
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
ThumbnailViewItem * getItem(sal_uInt16 nIndex) const
Return the item associated with the given index.
virtual void SAL_CALL deselectAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
virtual void SAL_CALL removeAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
virtual void SAL_CALL grabFocus() override
sal_uInt16 getItemCount() const
Return the number of items.
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual css::awt::Point SAL_CALL getLocation() override
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
void GetFocus()
Called by the corresponding ValueSet when it gets the focus.
ThumbnailViewAcc(ThumbnailView *pParent)
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount() override
virtual OUString SAL_CALL getAccessibleDescription() override
void LoseFocus()
Called by the corresponding ValueSet when it loses the focus.
virtual void SAL_CALL selectAccessibleChild(sal_Int64 nChildIndex) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
virtual sal_Int32 SAL_CALL getForeground() override
ThumbnailViewItem * mpParent
virtual OUString SAL_CALL getAccessibleDescription() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
::std::vector< css::uno::Reference< css::accessibility::XAccessibleEventListener > > mxEventListeners
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual sal_Int32 SAL_CALL getForeground() override
virtual void SAL_CALL grabFocus() override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
virtual css::lang::Locale SAL_CALL getLocale() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
virtual css::awt::Size SAL_CALL getSize() override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
virtual OUString SAL_CALL getAccessibleName() override
virtual void SAL_CALL removeAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
ThumbnailViewItemAcc(ThumbnailViewItem *pParent, bool bIsTransientChildrenDisabled)
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual ~ThumbnailViewItemAcc() override
virtual sal_Int32 SAL_CALL getBackground() override
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
static ThumbnailViewItemAcc * getImplementation(const css::uno::Reference< css::uno::XInterface > &rxData) noexcept
virtual css::awt::Point SAL_CALL getLocation() override
bool mbIsTransientChildrenDisabled
Class to display thumbnails with their names below their respective icons.
comphelper::WeakComponentImplHelper< css::accessibility::XAccessible, css::accessibility::XAccessibleEventBroadcaster, css::accessibility::XAccessibleContext, css::accessibility::XAccessibleComponent, css::accessibility::XAccessibleSelection > ValueSetAccComponentBase