34#include <com/sun/star/awt/XWindow.hpp>
35#include <com/sun/star/accessibility/AccessibleRole.hpp>
36#include <osl/diagnose.h>
41using ::com::sun::star::uno::Reference;
42using ::com::sun::star::uno::Sequence;
49 m_pDrawViewWrapper( pDrawViewWrapper )
69 OSL_ENSURE( !aCID.isEmpty(),
"Empty CID" );
70 OSL_ENSURE( xEventSource.is(),
"Empty Event Source" );
71 OSL_ENSURE( xWindow.is(),
"Empty Window" );
72 if( !xEventSource.is() || aCID.isEmpty() )
88 m_pTextHelper.reset( new ::accessibility::AccessibleTextHelper(std::make_unique<SvxTextEditSource>(*pTextObj,
nullptr, *pView, *pWindow->GetOutDev())) );
120 OSL_FAIL(
"Not implemented in this helper" );
126 OSL_FAIL(
"Not implemented in this helper" );
132 OSL_FAIL(
"Not implemented in this helper" );
133 return AccessibleRole::UNKNOWN;
138 OSL_FAIL(
"Not implemented in this helper" );
144 OSL_FAIL(
"Not implemented in this helper" );
150 OSL_FAIL(
"Not implemented in this helper" );
156 OSL_FAIL(
"Not implemented in this helper" );
162 OSL_FAIL(
"Not implemented in this helper" );
163 return lang::Locale();
static vcl::Window * GetWindow(const css::uno::Reference< css::awt::XWindow > &rxWindow)
AccessibleTextHelper(DrawViewWrapper *pDrawViewWrapper)
virtual ~AccessibleTextHelper() override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
virtual OUString SAL_CALL getAccessibleName() override
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
virtual css::lang::Locale SAL_CALL getLocale() override
DrawViewWrapper * m_pDrawViewWrapper
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent() override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
std::unique_ptr<::accessibility::AccessibleTextHelper > m_pTextHelper
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
Must be called at least once for this helper class to work.
virtual ::sal_Int16 SAL_CALL getAccessibleRole() override
SdrObject * getNamedSdrObject(const OUString &rName) const
Sequence< PropertyValue > aArguments