27#include <com/sun/star/accessibility/AccessibleRole.hpp>
35class SidebarWinAccessibleContext :
public VCLXAccessibleComponent
41 : VCLXAccessibleComponent( dynamic_cast<
VCLXWindow*>(rSidebarWin.CreateAccessible().
get()) )
48 void ChangeAnchor(
const SwFrame* pAnchorFrame )
50 std::scoped_lock aGuard(
maMutex);
55 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
56 getAccessibleParent()
override
58 std::scoped_lock aGuard(
maMutex);
60 css::uno::Reference< css::accessibility::XAccessible > xAccParent;
71 virtual sal_Int64 SAL_CALL getAccessibleIndexInParent()
override
73 std::scoped_lock aGuard(
maMutex);
100 : mrSidebarWin( rSidebarWin )
103 , m_bAccContextCreated( false )
117 css::uno::Reference< css::accessibility::XAccessibleContext > xAcc
121 SidebarWinAccessibleContext* pAccContext =
122 dynamic_cast<SidebarWinAccessibleContext*
>(xAcc.get());
sal_Int32 GetChildIndex(const SwFrame &rParentFrame, vcl::Window &rChild) const
css::uno::Reference< css::accessibility::XAccessible > GetContext(const SwFrame *pFrame, bool bCreate=true)
Base class of the Writer layout elements.
SwAccessibleMap * GetAccessibleMap()
css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext() override
virtual void SetWindow(const VclPtr< vcl::Window > &pWindow)
void SetAccessibleRole(sal_uInt16 nRole)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
const SwFrame * mpAnchorFrame