23#include <com/sun/star/accessibility/AccessibleRole.hpp>
24#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
36 :ImplInheritanceHelper(_pTableView->GetComponentInterface().is() ? _pTableView->GetWindowPeer() : nullptr)
37 ,m_pTableView(_pTableView)
42 return "org.openoffice.comp.dbu.JoinViewAccessibility";
46 ::osl::MutexGuard aGuard(
m_aMutex );
54 ::osl::MutexGuard aGuard(
m_aMutex );
55 sal_Int64 nChildCount = 0;
63 ::osl::MutexGuard aGuard(
m_aMutex );
65 throw IndexOutOfBoundsException();
67 sal_Int64 nTableWindowCount =
m_pTableView->GetTabWinCount();
68 if(
i < nTableWindowCount )
70 OJoinTableView::OTableWindowMap::const_iterator aIter = std::next(
m_pTableView->GetTabWinMap().begin(),
i);
71 aRet = aIter->second->GetAccessible();
74 aRet =
m_pTableView->getTableConnections()[
i - nTableWindowCount]->GetAccessible();
79 return AccessibleRole::VIEW_PORT;
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 OUString SAL_CALL getImplementationName() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
OJoinDesignViewAccess(OJoinTableView *_pTableView)
OJoinDesignViewAccess needs a valid view.
virtual sal_Int16 SAL_CALL getAccessibleRole() override
VclPtr< OJoinTableView > m_pTableView
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)