21#include <com/sun/star/accessibility/AccessibleStateType.hpp>
22#include <com/sun/star/accessibility/AccessibleRole.hpp>
46 rStateSet |= AccessibleStateType::FOCUSABLE;
57 rStateSet |= AccessibleStateType::FOCUSED;
67 std::scoped_lock aGuard(
m_Mutex );
80 if( bOldSelected != bNewSelected )
97 std::scoped_lock aGuard(
m_Mutex );
100 OSL_ENSURE( bSelected,
"focus object should be selected" );
109 , m_bIsSelected( false )
111 assert(pFrame !=
nullptr);
112 assert(pInitMap !=
nullptr);
115 OUString sPage = OUString::number(
126 std::scoped_lock aGuard(
m_Mutex );
147 return css::uno::Sequence<sal_Int8>();
constexpr OUStringLiteral sAccessibleServiceName
constexpr OUStringLiteral sImplementationName
void FireStateChangedEvent(sal_Int64 nState, bool bNewState)
void SetName(const OUString &rName)
virtual void GetStates(sal_Int64 &rStateSet)
vcl::Window * GetWindow()
SwAccessibleMap * GetMap()
static OUString GetResource(TranslateId pResId, const OUString *pArg1=nullptr, const OUString *pArg2=nullptr)
const SwFrame * GetFrame() const
OUString GetFormattedPageNumber() const
void SetCursorContext(const ::rtl::Reference< SwAccessibleContext > &rCursorContext)
bool IsPageSelected(const SwPageFrame *pPageFrame) const
virtual ~SwAccessiblePage() override
virtual OUString SAL_CALL getImplementationName() override
SwAccessiblePage(std::shared_ptr< SwAccessibleMap > const &pInitMap, const SwFrame *pFrame)
virtual void InvalidateFocus_() override
virtual void InvalidateCursorPos_() override
virtual bool HasCursor() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void GetStates(sal_Int64 &rStateSet) override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
Return whether the specified service is supported by this class.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Base class of the Writer layout elements.
A page of the document layout.
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)