24#include <com/sun/star/accessibility/XAccessible.hpp>
25#include <com/sun/star/accessibility/XAccessibleContext.hpp>
26#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
27#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
28#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
29#include <com/sun/star/lang/XServiceInfo.hpp>
39class AccessibleSlideSorterObject;
41typedef ::cppu::WeakComponentImplHelper<
42 css::accessibility::XAccessible,
43 css::accessibility::XAccessibleEventBroadcaster,
44 css::accessibility::XAccessibleContext,
45 css::accessibility::XAccessibleComponent,
46 css::accessibility::XAccessibleSelection,
47 css::lang::XServiceInfo
74 const css::uno::Any& rOldValue,
75 const css::uno::Any& rNewValue);
77 virtual void SAL_CALL
disposing()
override;
87 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
93 const css::uno::Reference< css::accessibility::XAccessibleEventListener >& rxListener)
override;
97 const css::uno::Reference< css::accessibility::XAccessibleEventListener >& rxListener )
override;
102 virtual sal_Int64 SAL_CALL
106 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
110 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
114 virtual sal_Int64 SAL_CALL
118 virtual sal_Int16 SAL_CALL
122 virtual OUString SAL_CALL
126 virtual OUString SAL_CALL
130 virtual css::uno::Reference<
131 css::accessibility::XAccessibleRelationSet> SAL_CALL
140 virtual css::lang::Locale SAL_CALL
150 const css::awt::Point& aPoint)
override;
154 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
156 const css::awt::Point& aPoint)
override;
160 virtual css::awt::Rectangle SAL_CALL
getBounds()
override;
165 virtual css::awt::Point SAL_CALL
getLocation()
override;
175 virtual css::awt::Size SAL_CALL
getSize()
override;
179 virtual void SAL_CALL
grabFocus()
override;
191 virtual void SAL_CALL
197 virtual void SAL_CALL
200 virtual void SAL_CALL
203 virtual sal_Int64 SAL_CALL
206 virtual css::uno::Reference<
207 css::accessibility::XAccessible > SAL_CALL
210 virtual void SAL_CALL
217 virtual OUString SAL_CALL
227 virtual css::uno::Sequence< OUString> SAL_CALL
233 ::std::unique_ptr<Implementation>
mpImpl;
constexpr OUStringLiteral sServiceName
This class makes page objects of the slide sorter accessible.
Inner implementation class of the AccessibleSlideSorterView.
This class makes the SlideSorterViewShell accessible.
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
Return the specified child or throw exception.
virtual ~AccessibleSlideSorterView() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
Return a reference to the parent.
VclPtr< vcl::Window > mpContentWindow
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
The default implementation returns an empty reference.
::sd::slidesorter::SlideSorter & mrSlideSorter
virtual css::lang::Locale SAL_CALL getLocale() override
Return the parents locale or throw exception if this object has no parent yet/anymore.
virtual sal_Bool SAL_CALL isAccessibleChildSelected(sal_Int64 nChildIndex) override
virtual void SAL_CALL deselectAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Returns a list of all supported services.
void SwitchViewActivated()
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Return NULL to indicate that an empty relation set.
void ThrowIfDisposed()
Check whether or not the object has been disposed (or is in the state of being disposed).
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
The default implementation uses the result of <member>getBounds</member> to determine whether the giv...
virtual sal_Int16 SAL_CALL getAccessibleRole() override
Return this object's role.
::std::unique_ptr< Implementation > mpImpl
virtual OUString SAL_CALL getImplementationName() override
Returns an identifier for the implementation of this object.
virtual OUString SAL_CALL getAccessibleDescription() override
Return this object's description.
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
The default implementation returns an empty position, i.e.
virtual css::awt::Point SAL_CALL getLocation() override
The default implementation uses the result of <member>getBounds</member> to determine the location.
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
Return the number of currently visible children.
virtual void SAL_CALL selectAllAccessibleChildren() override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
Return the set of current states.
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual void SAL_CALL selectAccessibleChild(sal_Int64 nChildIndex) override
virtual css::awt::Rectangle SAL_CALL getBounds() override
The default implementation returns an empty rectangle.
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
Return this objects index among the parents children.
virtual sal_Int32 SAL_CALL getForeground() override
Returns black as the default foreground color.
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
Return whether the specified service is supported by this class.
void FireAccessibleEvent(short nEventId, const css::uno::Any &rOldValue, const css::uno::Any &rNewValue)
virtual OUString SAL_CALL getAccessibleName() override
Return the object's current name.
virtual void SAL_CALL grabFocus() override
The default implementation does nothing.
AccessibleSlideSorterObject * GetAccessibleChildImplementation(sal_Int32 nIndex)
Return the implementation object of the specified child.
AccessibleSlideSorterView(::sd::slidesorter::SlideSorter &rSlideSorter, vcl::Window *pParentWindow)
virtual void SAL_CALL removeAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
virtual css::awt::Size SAL_CALL getSize() override
The default implementation uses the result of <member>getBounds</member> to determine the size.
void Destroyed()
This method acts like a dispose call.
virtual void SAL_CALL disposing() override
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rxListener) override
virtual sal_Int32 SAL_CALL getBackground() override
Returns white as the default background color.
virtual void SAL_CALL clearAccessibleSelection() override
Show previews for all the slides in a document and allow the user to insert or delete slides and modi...
::cppu::WeakComponentImplHelper< css::accessibility::XAccessible, css::accessibility::XAccessibleEventBroadcaster, css::accessibility::XAccessibleContext, css::accessibility::XAccessibleComponent, css::accessibility::XAccessibleSelection, css::lang::XServiceInfo > AccessibleSlideSorterViewBase