26#include <com/sun/star/uno/Reference.hxx>
27#include <com/sun/star/lang/XServiceInfo.hpp>
28#include <com/sun/star/accessibility/XAccessible.hpp>
29#include <com/sun/star/accessibility/XAccessibleContext.hpp>
30#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
31#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
39 typedef ::cppu::WeakImplHelper< css::accessibility::XAccessible,
40 css::accessibility::XAccessibleContext,
41 css::accessibility::XAccessibleComponent,
42 css::accessibility::XAccessibleEventBroadcaster,
57 virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
getAccessibleContext( )
override;
61 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleChild( sal_Int64 i )
override;
62 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleParent()
override;
67 virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
getAccessibleRelationSet()
override;
69 virtual css::lang::Locale SAL_CALL
getLocale()
override;
72 virtual void SAL_CALL
addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )
override;
73 virtual void SAL_CALL
removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener >& xListener )
override;
77 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint(
const css::awt::Point& aPoint )
override;
78 virtual css::awt::Rectangle SAL_CALL
getBounds( )
override;
79 virtual css::awt::Point SAL_CALL
getLocation( )
override;
81 virtual css::awt::Size SAL_CALL
getSize( )
override;
82 virtual void SAL_CALL
grabFocus( )
override;
143 void FireEvent(
const sal_Int16 nEventId,
const css::uno::Any& rNewValue,
const css::uno::Any& rOldValue = css::uno::Any() )
const;
150 void SetState(
const sal_Int64 nStateId );
193 css::uno::Reference< css::accessibility::XAccessible >
mxParent;
Wrapper class for unified EditEngine/Outliner access.
Contains an EditEngine or an Outliner and unifies access to them.
Encapsulates the document view for the purpose of unified EditEngine/Outliner access.
This class implements the image bullets for the EditEngine/Outliner UAA.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
void SetEEOffset(const Point &rOffset)
Set the edit engine offset.
css::uno::Reference< css::accessibility::XAccessible > mxParent
The shape we're the accessible for (unguarded)
sal_Int32 GetParagraphIndex() const
Query the current paragraph number (0 - nParas-1)
SvxEditSource & GetEditSource() const
void SetIndexInParent(sal_Int32 nIndex)
Set the current index in the accessibility parent.
virtual ~AccessibleImageBullet() override
virtual OUString SAL_CALL getAccessibleName() override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
AccessibleImageBullet & operator=(const AccessibleImageBullet &)=delete
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
sal_Int32 mnParagraphIndex
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
virtual css::awt::Point SAL_CALL getLocation() override
void FireEvent(const sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue=css::uno::Any()) const
Calls all Listener objects to tell them the change. Don't hold locks when calling this!
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual OUString SAL_CALL getImplementationName() override
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
SvxTextForwarder & GetTextForwarder() const
Query the SvxTextForwarder for EditEngine access.
int mnNotifierClientId
Our listeners (guarded by maMutex)
void SetEditSource(SvxEditSource *pEditSource)
Set the EditEngine offset.
void SetState(const sal_Int64 nStateId)
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual OUString SAL_CALL getAccessibleDescription() override
AccessibleImageBullet(const AccessibleImageBullet &)=delete
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
void SetParagraphIndex(sal_Int32 nIndex)
Set the current paragraph number.
void UnSetState(const sal_Int64 nStateId)
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual sal_Int32 SAL_CALL getBackground() override
virtual css::lang::Locale SAL_CALL getLocale() override
virtual void SAL_CALL grabFocus() override
void Dispose()
Dispose this object.
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
SvxViewForwarder & GetViewForwarder() const
Query the SvxViewForwarder for EditEngine access.
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
virtual sal_Int32 SAL_CALL getForeground() override
AccessibleImageBullet(css::uno::Reference< css::accessibility::XAccessible > xParent)
Create accessible object for given parent.
virtual css::awt::Size SAL_CALL getSize() override
int getNotifierClientId() const
SvxEditSource * mpEditSource
sal_Int32 mnIndexInParent
css::awt::Rectangle implGetBounds()
::cppu::WeakImplHelper< css::accessibility::XAccessible, css::accessibility::XAccessibleContext, css::accessibility::XAccessibleComponent, css::accessibility::XAccessibleEventBroadcaster, css::lang::XServiceInfo > AccessibleImageBulletInterfaceBase