21#ifndef INCLUDED_SVX_SOURCE_INC_GRAPHCTLACCESSIBLECONTEXT_HXX
22#define INCLUDED_SVX_SOURCE_INC_GRAPHCTLACCESSIBLECONTEXT_HXX
25#include <com/sun/star/uno/Reference.hxx>
26#include <com/sun/star/accessibility/XAccessible.hpp>
27#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
28#include <com/sun/star/accessibility/XAccessibleContext.hpp>
29#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
30#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
31#include <com/sun/star/lang/XServiceInfo.hpp>
32#include <com/sun/star/lang/XServiceName.hpp>
61 css::accessibility::XAccessible,
62 css::accessibility::XAccessibleComponent,
63 css::accessibility::XAccessibleContext,
64 css::accessibility::XAccessibleEventBroadcaster,
65 css::accessibility::XAccessibleSelection,
66 css::lang::XServiceInfo,
67 css::lang::XServiceName >
84 virtual css::uno::Reference< css::accessibility::XAccessibleContext> SAL_CALL
89 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& rPoint )
override;
90 virtual css::awt::Rectangle SAL_CALL
getBounds()
override;
91 virtual css::awt::Point SAL_CALL
getLocation()
override;
93 virtual css::awt::Size SAL_CALL
getSize()
override;
94 virtual void SAL_CALL
grabFocus()
override;
102 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int64 nIndex)
override;
103 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
getAccessibleParent()
override;
108 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet> SAL_CALL
getAccessibleRelationSet()
override;
110 virtual css::lang::Locale SAL_CALL
getLocale()
override;
113 virtual void SAL_CALL
addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener>& xListener)
override;
114 virtual void SAL_CALL
removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener>& xListener)
override;
133 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getSelectedAccessibleChild( sal_Int64 nSelectedChildIndex )
override;
151 virtual void SAL_CALL
disposing() final override;
157 void CommitChange (sal_Int16 aEventId, const css::
uno::Any& rNewValue, const css::
uno::Any& rOldValue);
::cppu::WeakAggComponentImplHelper7< css::accessibility::XAccessible, css::accessibility::XAccessibleComponent, css::accessibility::XAccessibleContext, css::accessibility::XAccessibleEventBroadcaster, css::accessibility::XAccessibleSelection, css::lang::XServiceInfo, css::lang::XServiceName > SvxGraphCtrlAccessibleContext_Base
@descr This base class provides an implementation of the AccessibleContext service.
std::unique_ptr< SdrView > pView
std::unique_ptr< SdrModel > pModel
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
sal_uInt32 mnClientId
client id in the AccessibleEventNotifier queue
void setModelAndView(SdrModel *pModel, SdrView *pView)
This method is used by the graph control to tell the accessibility object about a new model and view.
void checkChildIndexOnSelection(sal_Int64 nIndexOfChild)
virtual OUString SAL_CALL getAccessibleDescription() override
::std::map< const SdrObject *, rtl::Reference<::accessibility::AccessibleShape > > ShapesMapType
map of accessible shapes
SdrObject * getSdrObject(sal_Int64 nIndex)
returns the SdrObject at index nIndex from the model of this graph
virtual tools::Rectangle GetVisibleArea() const override
Returns the area of the underlying document that is visible in the corresponding window.
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &rPoint) override
virtual void SAL_CALL disposing() final override
css::uno::Reference< css::accessibility::XAccessible > getAccessible(const SdrObject *pObj)
returns the XAccessible interface for a given SdrObject.
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
virtual void SAL_CALL grabFocus() override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
OUString msDescription
Description of this object.
virtual sal_Bool SAL_CALL isAccessibleChildSelected(sal_Int64 nChildIndex) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Int32 SAL_CALL getForeground() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual OUString SAL_CALL getAccessibleName() override
virtual css::lang::Locale SAL_CALL getLocale() override
OUString msName
Name of this object.
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &rPoint) override
virtual Point LogicToPixel(const Point &rPoint) const override
Transform the specified point from internal coordinates in 100th of mm to an absolute screen position...
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
virtual void SAL_CALL removeAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
void CommitChange(sal_Int16 aEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
sends an AccessibleEventObject to all added XAccessibleEventListeners
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
Return the XAccessibleContext.
virtual void SAL_CALL clearAccessibleSelection() override
virtual css::awt::Point SAL_CALL getLocation() override
virtual void SAL_CALL selectAllAccessibleChildren() override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Return empty reference to indicate that the relation set is not supported.
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
virtual ~SvxGraphCtrlAccessibleContext() override
on destruction, this component is disposed and all dispose listeners are called, except if this compo...
void Notify(SfxBroadcaster &aBC, const SfxHint &aHint) override
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount() override
virtual css::awt::Rectangle SAL_CALL getBounds() override
SvxGraphCtrlAccessibleContext(GraphCtrl &rRepresentation)
initialize this component and set default values
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual OUString SAL_CALL getServiceName() override
virtual void SAL_CALL deselectAccessibleChild(sal_Int64 nSelectedChildIndex) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
::accessibility::AccessibleShapeTreeInfo maTreeInfo
virtual css::awt::Size SAL_CALL getSize() override
virtual sal_Int32 SAL_CALL getBackground() override
virtual void SAL_CALL selectAccessibleChild(sal_Int64 nChildIndex) override
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override