23#include <com/sun/star/accessibility/AccessibleRole.hpp>
24#include <com/sun/star/accessibility/AccessibleRelationType.hpp>
25#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
38 : ImplInheritanceHelper(_pLine->GetComponentInterface().is() ? _pLine->GetWindowPeer() : nullptr)
45 VCLXAccessibleComponent::disposing();
49 return "org.openoffice.comp.dbu.ConnectionLineAccessibility";
62 ::osl::MutexGuard aGuard(
m_aMutex );
69 const auto& rVec =
m_pLine->GetParent()->getTableConnections();
71 for (
auto const& elem : rVec)
94 ::osl::MutexGuard aGuard(
m_aMutex );
104 ::osl::MutexGuard aGuard(
m_aMutex );
110 ::osl::MutexGuard aGuard(
m_aMutex );
112 return awt::Point(aPoint.
X(),aPoint.
Y());
116 ::osl::MutexGuard aGuard(
m_aMutex );
118 return awt::Point(aPoint.
X(),aPoint.
Y());
122 ::osl::MutexGuard aGuard(
m_aMutex );
133 ::osl::MutexGuard aGuard(
m_aMutex );
135 throw IndexOutOfBoundsException();
141 m_pLine->GetDestWin()->GetAccessible() };
144 return AccessibleRelation(AccessibleRelationType::CONTROLLED_BY,
aSeq);
148 return AccessibleRelationType::CONTROLLED_BY == aRelationType;
152 if( AccessibleRelationType::CONTROLLED_BY == aRelationType )
154 return AccessibleRelation();
constexpr tools::Long Y() const
constexpr tools::Long X() const
constexpr tools::Long Height() const
constexpr tools::Long Width() const
the class OConnectionLineAccess represents the accessible object for the connection between two table...
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual css::accessibility::AccessibleRelation SAL_CALL getRelation(sal_Int32 nIndex) override
virtual sal_Bool SAL_CALL containsRelation(sal_Int16 aRelationType) override
OConnectionLineAccess(OTableConnection *_pLine)
virtual css::awt::Point SAL_CALL getLocation() override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
virtual void SAL_CALL disposing() override
this function is called upon disposing the component
virtual css::awt::Size SAL_CALL getSize() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual sal_Int32 SAL_CALL getRelationCount() override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent() override
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual css::accessibility::AccessibleRelation SAL_CALL getRelationByType(sal_Int16 aRelationType) override
virtual OUString SAL_CALL getImplementationName() override
VclPtr< const OTableConnection > m_pLine
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
virtual sal_Int16 SAL_CALL getAccessibleRole() override
virtual ~OTableConnection() override
destructor
virtual void dispose() override
void clearLineData()
loops through the vector and deletes all lines
VclPtr< OJoinTableView > m_pParent
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override
virtual void dispose() override
Sequence< sal_Int8 > aSeq