/** *accessibilityimplementationforthepage(SwPageFrame) *Thepageis_only_visibleinthepagepreview.Fortheregular *documentview,itdoesn'tmakesensetoaddthisadditionalelement *intothehierarchy.Forthepagepreview,however,thepageisthe *important.
*/ class SwAccessiblePage : public SwAccessibleContext
{ bool m_bIsSelected; // protected by base class mutex
bool IsSelected();
using SwAccessibleFrame::GetBounds;
protected: // Set states for getAccessibleStateSet. // This derived class additionally sets // FOCUSABLE(1) and FOCUSED(+) virtualvoid GetStates( sal_Int64& rStateSet ) override;
public: // convenience constructor to avoid typecast; // may only be called with SwPageFrame argument
SwAccessiblePage(std::shared_ptr<SwAccessibleMap> const& pInitMap, const SwFrame* pFrame);
// XAccessibleContext methods that need to be overridden