LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SwAccessibleContext Class Reference

#include <acccontext.hxx>

Inheritance diagram for SwAccessibleContext:
[legend]
Collaboration diagram for SwAccessibleContext:
[legend]

Public Member Functions

void FireAccessibleEvent (css::accessibility::AccessibleEventObject &rEvent)
 
 SwAccessibleContext (std::shared_ptr< SwAccessibleMap > const &pMap, sal_Int16 nRole, const SwFrame *pFrame)
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nIndex) override
 
virtual css::uno::Sequence< css::uno::Reference< css::accessibility::XAccessible > > SAL_CALL getAccessibleChildren () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 
virtual OUString SAL_CALL getAccessibleName () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 Return the parents locale or throw exception if this object has no parent yet/anymore. More...
 
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &aPoint) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &aPoint) override
 
virtual css::awt::Rectangle SAL_CALL getBounds () override
 
virtual css::awt::Point SAL_CALL getLocation () override
 
virtual css::awt::Point SAL_CALL getLocationOnScreen () override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual void SAL_CALL grabFocus () override
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 Return whether the specified service is supported by this class. More...
 
virtual void Dispose (bool bRecursive, bool bCanSkipInvisible=true)
 
virtual void DisposeChild (const sw::access::SwAccessibleChild &rFrameOrObj, bool bRecursive, bool bCanSkipInvisible)
 
virtual void InvalidatePosOrSize (const SwRect &rFrame)
 
virtual void InvalidateChildPosOrSize (const sw::access::SwAccessibleChild &rFrameOrObj, const SwRect &rFrame)
 
void InvalidateContent ()
 
void InvalidateCursorPos ()
 
void InvalidateFocus ()
 
void InvalidateStates (AccessibleStates _nStates)
 
void InvalidateRelation (sal_uInt16 nType)
 
void InvalidateTextSelection ()
 #i27301# - text selection has changed More...
 
void InvalidateAttr ()
 #i88069# - attributes has changed More...
 
bool HasAdditionalAccessibleChildren ()
 
vcl::WindowGetAdditionalAccessibleChild (const sal_Int32 nIndex)
 #i88070# - get additional accessible child by index More...
 
void GetAdditionalAccessibleChildren (std::vector< vcl::Window * > *pChildren)
 #i88070# - get all additional accessible children More...
 
const OUString & GetName () const
 
virtual bool HasCursor ()
 
bool Select (SwPaM *pPaM, SdrObject *pObj, bool bAdd)
 
bool Select (SwPaM &rPaM)
 
bool Select (SdrObject *pObj, bool bAdd)
 
virtual bool SetSelectedState (bool bSelected)
 
bool IsSelectedInDoc () const
 
bool IsDisposed () const
 
- Public Member Functions inherited from SwAccessibleFrame
bool IsShowing (const SwAccessibleMap &rAccMap, const sw::access::SwAccessibleChild &rFrameOrObj) const
 
bool IsShowing (const SwRect &rFrame) const
 
bool IsShowing (const SwAccessibleMap &rAccMap) const
 
const SwFrameGetFrame () const
 
sal_Int32 GetChildIndex (SwAccessibleMap &rAccMap, const sw::access::SwAccessibleChild &rChild) const
 

Static Public Member Functions

static OUString GetResource (TranslateId pResId, const OUString *pArg1=nullptr, const OUString *pArg2=nullptr)
 
- Static Public Member Functions inherited from SwAccessibleFrame
static const SwFrameGetParent (const sw::access::SwAccessibleChild &rFrameOrObj, bool bInPagePreview)
 

Protected Member Functions

void SetName (const OUString &rName)
 
sal_Int16 GetRole () const
 
void SetParent (SwAccessibleContext *pParent)
 
css::uno::Reference< css::accessibility::XAccessible > GetWeakParent () const
 
bool IsDisposing () const
 
vcl::WindowGetWindow ()
 
SwAccessibleMapGetMap ()
 
const SwAccessibleMapGetMap () const
 
SwViewShellGetShell ()
 convenience method to get the SwViewShell through accessibility map More...
 
const SwViewShellGetShell () const
 
SwCursorShellGetCursorShell ()
 convenience method to get SwCursorShell through accessibility map More...
 
const SwCursorShellGetCursorShell () const
 
void ChildrenScrolled (const SwFrame *pFrame, const SwRect &rOldVisArea)
 
void Scrolled (const SwRect &rOldVisArea)
 
void ScrolledWithin (const SwRect &rOldVisArea)
 
void ScrolledIn ()
 
void ScrolledOut (const SwRect &rOldVisArea)
 
void InvalidateChildrenStates (const SwFrame *_pFrame, AccessibleStates _nStates)
 
void DisposeChildren (const SwFrame *pFrame, bool bRecursive, bool bCanSkipInvisible)
 
void DisposeShape (const SdrObject *pObj, ::accessibility::AccessibleShape *pAccImpl)
 
void ScrolledInShape (::accessibility::AccessibleShape *pAccImpl)
 
virtual void InvalidateContent_ (bool bVisibleDataFired)
 
virtual void InvalidateCursorPos_ ()
 
virtual void InvalidateFocus_ ()
 
void FireVisibleDataEvent ()
 
void FireStateChangedEvent (sal_Int64 nState, bool bNewState)
 
virtual void GetStates (sal_Int64 &rStateSet)
 
bool IsEditableState ()
 
css::awt::Rectangle getBoundsImpl (bool bRelative)
 Get bounding box. More...
 
void NotRegisteredAtAccessibleMap ()
 
void RemoveFrameFromAccessibleMap ()
 
void ThrowIfDisposed ()
 
virtual ~SwAccessibleContext () override
 
css::uno::Reference< css::accessibility::XAccessible > getAccessibleParentImpl ()
 
- Protected Member Functions inherited from SwAccessibleFrame
bool IsEditable (SwViewShell const *pVSh) const
 
bool IsOpaque (SwViewShell const *pVSh) const
 
bool IsInPagePreview () const
 
void ClearFrame ()
 
 SwAccessibleFrame (const SwRect &rVisArea, const SwFrame *pFrame, bool bIsPagePreview)
 
virtual ~SwAccessibleFrame ()
 
SwRect GetBounds (const SwAccessibleMap &rAccMap, const SwFrame *pFrame=nullptr)
 
const SwFrameGetParent () const
 
sal_Int32 GetChildCount (SwAccessibleMap &rAccMap) const
 
sw::access::SwAccessibleChild GetChild (SwAccessibleMap &rAccMap, sal_Int32 nPos) const
 
sw::access::SwAccessibleChild GetChildAtPixel (const Point &rPos, SwAccessibleMap &rAccMap) const
 
void GetChildren (SwAccessibleMap &rAccMap, std::list< sw::access::SwAccessibleChild > &rChildren) const
 
void SetVisArea (const SwRect &rNewVisArea)
 
const SwRectGetVisArea () const
 
OUString GetFormattedPageNumber () const
 

Protected Attributes

std::mutex m_Mutex
 
bool m_isSelectedInDoc
 

Private Member Functions

void InitStates ()
 

Private Attributes

OUString m_sName
 
css::uno::WeakReference< css::accessibility::XAccessible > m_xWeakParent
 
SwAccessibleMapm_pMap
 
std::weak_ptr< SwAccessibleMapm_wMap
 note: the m_pMap is guaranteed to be valid until we hit the dtor ~SwAccessibleContext, then m_wMap must be checked if it's still alive, after locking SolarMutex (alternatively, Dispose clears m_pMap) More...
 
sal_uInt32 m_nClientId
 
sal_Int16 m_nRole
 
bool m_isShowingState: 1
 
bool m_isEditableState: 1
 
bool m_isOpaqueState: 1
 
bool m_isDefuncState: 1
 
bool m_isDisposing: 1
 
bool m_isRegisteredAtAccessibleMap
 

Friends

class SwAccessibleSelectionHelper
 
class SwAccessibleMap
 

Additional Inherited Members

- Static Protected Member Functions inherited from SwAccessibleFrame
static sal_Int32 GetChildCount (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame *pFrame, bool bInPagePreviewr)
 
static sw::access::SwAccessibleChild GetChild (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame &rFrame, sal_Int32 &rPos, bool bInPagePreview)
 
static bool GetChildIndex (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame &rFrame, const sw::access::SwAccessibleChild &rChild, sal_Int32 &rPos, bool bInPagePreview)
 
static sw::access::SwAccessibleChild GetChildAtPixel (const SwRect &rVisArea, const SwFrame &rFrame, const Point &rPos, bool bInPagePreview, SwAccessibleMap &rAccMap)
 
static void GetChildren (SwAccessibleMap &rAccMap, const SwRect &rVisArea, const SwFrame &rFrame, std::list< sw::access::SwAccessibleChild > &rChildren, bool bInPagePreview)
 

Detailed Description

Definition at line 44 of file acccontext.hxx.

Constructor & Destructor Documentation

◆ ~SwAccessibleContext()

SwAccessibleContext::~SwAccessibleContext ( )
overrideprotectedvirtual

◆ SwAccessibleContext()

SwAccessibleContext::SwAccessibleContext ( std::shared_ptr< SwAccessibleMap > const &  pMap,
sal_Int16  nRole,
const SwFrame pFrame 
)

Definition at line 536 of file acccontext.cxx.

References GetShell(), and InitStates().

Member Function Documentation

◆ addAccessibleEventListener()

void SAL_CALL SwAccessibleContext::addAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  xListener)
overridevirtual

◆ ChildrenScrolled()

void SwAccessibleContext::ChildrenScrolled ( const SwFrame pFrame,
const SwRect rOldVisArea 
)
protected

◆ containsPoint()

sal_Bool SAL_CALL SwAccessibleContext::containsPoint ( const css::awt::Point &  aPoint)
overridevirtual

Reimplemented in SwAccessibleDocumentBase.

Definition at line 809 of file acccontext.cxx.

References getBoundsImpl(), and lcl_PointInRectangle().

◆ Dispose()

void SwAccessibleContext::Dispose ( bool  bRecursive,
bool  bCanSkipInvisible = true 
)
virtual

◆ DisposeChild()

void SwAccessibleContext::DisposeChild ( const sw::access::SwAccessibleChild rFrameOrObj,
bool  bRecursive,
bool  bCanSkipInvisible 
)
virtual

◆ DisposeChildren()

void SwAccessibleContext::DisposeChildren ( const SwFrame pFrame,
bool  bRecursive,
bool  bCanSkipInvisible 
)
protected

◆ DisposeShape()

void SwAccessibleContext::DisposeShape ( const SdrObject pObj,
::accessibility::AccessibleShape pAccImpl 
)
protected

◆ FireAccessibleEvent()

void SwAccessibleContext::FireAccessibleEvent ( css::accessibility::AccessibleEventObject &  rEvent)

◆ FireStateChangedEvent()

void SwAccessibleContext::FireStateChangedEvent ( sal_Int64  nState,
bool  bNewState 
)
protected

◆ FireVisibleDataEvent()

void SwAccessibleContext::FireVisibleDataEvent ( )
protected

◆ getAccessibleAtPoint()

uno::Reference< XAccessible > SAL_CALL SwAccessibleContext::getAccessibleAtPoint ( const css::awt::Point &  aPoint)
overridevirtual

◆ getAccessibleChild()

uno::Reference< XAccessible > SAL_CALL SwAccessibleContext::getAccessibleChild ( sal_Int64  nIndex)
overridevirtual

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL SwAccessibleContext::getAccessibleChildCount ( )
overridevirtual

◆ getAccessibleChildren()

css::uno::Sequence< uno::Reference< XAccessible > > SAL_CALL SwAccessibleContext::getAccessibleChildren ( )
overridevirtual

◆ getAccessibleContext()

uno::Reference< XAccessibleContext > SAL_CALL SwAccessibleContext::getAccessibleContext ( )
overridevirtual

Definition at line 567 of file acccontext.cxx.

◆ getAccessibleIndexInParent()

sal_Int64 SAL_CALL SwAccessibleContext::getAccessibleIndexInParent ( )
overridevirtual

◆ getAccessibleName()

OUString SAL_CALL SwAccessibleContext::getAccessibleName ( )
overridevirtual

◆ getAccessibleParent()

uno::Reference< XAccessible > SAL_CALL SwAccessibleContext::getAccessibleParent ( )
overridevirtual

◆ getAccessibleParentImpl()

uno::Reference< XAccessible > SwAccessibleContext::getAccessibleParentImpl ( )
protected

◆ getAccessibleRelationSet()

uno::Reference< XAccessibleRelationSet > SAL_CALL SwAccessibleContext::getAccessibleRelationSet ( )
overridevirtual

Reimplemented in SwAccessibleNoTextFrame, SwAccessibleParagraph, and SwAccessibleTextFrame.

Definition at line 735 of file acccontext.cxx.

◆ getAccessibleRole()

sal_Int16 SAL_CALL SwAccessibleContext::getAccessibleRole ( )
overridevirtual

Reimplemented in SwAccessibleGraphic, and SwAccessibleParagraph.

Definition at line 724 of file acccontext.cxx.

References m_nRole.

◆ getAccessibleStateSet()

sal_Int64 SAL_CALL SwAccessibleContext::getAccessibleStateSet ( )
overridevirtual

Definition at line 742 of file acccontext.cxx.

References GetStates(), m_isSelectedInDoc, and ThrowIfDisposed().

◆ GetAdditionalAccessibleChild()

vcl::Window * SwAccessibleContext::GetAdditionalAccessibleChild ( const sal_Int32  nIndex)

◆ GetAdditionalAccessibleChildren()

void SwAccessibleContext::GetAdditionalAccessibleChildren ( std::vector< vcl::Window * > *  pChildren)

◆ getBackground()

sal_Int32 SAL_CALL SwAccessibleContext::getBackground ( )
overridevirtual

◆ getBounds()

awt::Rectangle SAL_CALL SwAccessibleContext::getBounds ( )
overridevirtual

Reimplemented in SwAccessibleDocumentBase.

Definition at line 928 of file acccontext.cxx.

References getBoundsImpl().

◆ getBoundsImpl()

awt::Rectangle SwAccessibleContext::getBoundsImpl ( bool  bRelative)
protected

Get bounding box.

Exceptions
css::uno::RuntimeException

There are two modes.

  • relative

    Return bounding box relative to parent if parent is no root frame. Otherwise return the absolute bounding box.

  • absolute

    Return the absolute bounding box.

Parameters
bRelativetrue: Use relative mode. false: Use absolute mode.

Definition at line 878 of file acccontext.cxx.

References SwAccessibleMap::CoreToPixel(), SwAccessibleFrame::GetBounds(), SwAccessibleFrame::GetFrame(), tools::Rectangle::GetHeight(), GetMap(), SwAccessibleFrame::GetParent(), SwAccessibleMap::GetPreviewPageSize(), GetShell(), tools::Rectangle::GetWidth(), GetWindow(), Point::getX(), Point::getY(), SwRect::IsEmpty(), SwFrame::IsRootFrame(), tools::Rectangle::Left(), tools::Rectangle::Move(), SwRect::SSize(), ThrowIfDisposed(), tools::Rectangle::Top(), and TopLeft.

Referenced by containsPoint(), getBounds(), getLocation(), getLocationOnScreen(), and getSize().

◆ GetCursorShell() [1/2]

SwCursorShell * SwAccessibleContext::GetCursorShell ( )
protected

◆ GetCursorShell() [2/2]

const SwCursorShell * SwAccessibleContext::GetCursorShell ( ) const
protected

Definition at line 105 of file acccontext.cxx.

References GetMap(), and SwAccessibleMap::GetShell().

◆ getForeground()

sal_Int32 SAL_CALL SwAccessibleContext::getForeground ( )
overridevirtual

Reimplemented in SwAccessibleParagraph.

Definition at line 1006 of file acccontext.cxx.

References COL_BLACK().

Referenced by SwAccessibleParagraph::getForeground().

◆ getLocale()

lang::Locale SAL_CALL SwAccessibleContext::getLocale ( )
overridevirtual

Return the parents locale or throw exception if this object has no parent yet/anymore.

Reimplemented in SwAccessibleParagraph.

Definition at line 758 of file acccontext.cxx.

References getLocale(), and Application::GetSettings().

Referenced by getLocale().

◆ getLocation()

awt::Point SAL_CALL SwAccessibleContext::getLocation ( )
overridevirtual

Reimplemented in SwAccessibleDocumentBase.

Definition at line 933 of file acccontext.cxx.

References getBoundsImpl().

◆ getLocationOnScreen()

awt::Point SAL_CALL SwAccessibleContext::getLocationOnScreen ( )
overridevirtual

◆ GetMap() [1/2]

SwAccessibleMap * SwAccessibleContext::GetMap ( )
inlineprotected

Definition at line 112 of file acccontext.hxx.

References m_pMap.

Referenced by ChildrenScrolled(), SwAccessibleTable::CreateNewTableData(), SwAccessibleTableColHeaders::CreateNewTableData(), SwAccessibleSelectionHelper::deselectAccessibleChild(), Dispose(), SwAccessibleCell::Dispose(), SwAccessibleDocument::Dispose(), DisposeChild(), SwAccessibleTable::DisposeChild(), DisposeChildren(), DisposeShape(), SwAccessibleParagraph::ExecuteAtViewShell(), getAccessibleAtPoint(), SwAccessibleTable::getAccessibleCellAt(), getAccessibleChild(), SwAccessibleDocumentBase::getAccessibleChild(), getAccessibleChildCount(), SwAccessibleTableColHeaders::getAccessibleChildCount(), getAccessibleChildren(), SwAccessibleTable::getAccessibleColumn(), SwAccessibleTable::getAccessibleColumnHeaders(), SwAccessibleFootnote::getAccessibleDescription(), SwAccessibleTable::getAccessibleIndex(), getAccessibleIndexInParent(), SwAccessibleNoTextFrame::GetAccessibleMap(), SwAccessibleDocumentBase::getAccessibleName(), getAccessibleParentImpl(), SwAccessibleParagraph::getAccessibleRelationSet(), SwAccessibleTable::getAccessibleRow(), GetAdditionalAccessibleChild(), GetAdditionalAccessibleChildren(), getBoundsImpl(), SwAccessibleParagraph::getCaretPosition(), SwAccessibleParagraph::getCharacterBounds(), SwAccessibleParagraph::GetCurrentTabStop(), GetCursorShell(), SwAccessibleParagraph::getDefaultAttributes(), SwAccessibleDocument::getExtendedAttributes(), SwAccessibleSelectionHelper::GetFEShell(), SwAccessibleParagraph::getIndexAtPoint(), SwAccessibleParagraph::getNumberOfLineWithCaret(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleSelectionHelper::getSelectedAccessibleChildCount(), SwAccessibleFrameBase::GetSelectedState(), GetShell(), SwAccessibleCell::GetStates(), SwAccessibleFrameBase::GetStates(), SwAccessiblePage::GetStates(), SwAccessibleParagraph::GetStates(), SwAccessibleTable::GetTableBox(), GetWindow(), HasAdditionalAccessibleChildren(), InitStates(), InvalidateChildPosOrSize(), SwAccessibleCell::InvalidateChildrenCursorPos(), InvalidateChildrenStates(), SwAccessibleCell::InvalidateCursorPos_(), SwAccessibleFrameBase::InvalidateCursorPos_(), SwAccessiblePage::InvalidateCursorPos_(), SwAccessibleParagraph::InvalidateCursorPos_(), SwAccessibleCell::InvalidateMyCursorPos(), InvalidatePosOrSize(), SwAccessibleCell::InvalidatePosOrSize(), InvalidateStates(), SwAccessibleSelectionHelper::isAccessibleChildSelected(), IsDisposed(), SwAccessibleCell::IsSelected(), SwAccessibleFrameBase::IsSelected(), SwAccessiblePage::IsSelected(), SwAccessibleTextFrame::makeRelation(), RemoveFrameFromAccessibleMap(), Scrolled(), ScrolledIn(), ScrolledOut(), ScrolledWithin(), SwAccessibleParagraph::scrollSubstringTo(), SwAccessibleSelectionHelper::selectAccessibleChild(), SwAccessibleSelectionHelper::selectAllAccessibleChildren(), SwAccessibleDocumentBase::SetVisArea(), SwAccessibleParagraph::UpdatePortionData(), SwAccessibleDocument::~SwAccessibleDocument(), and SwAccessibleMap::~SwAccessibleMap().

◆ GetMap() [2/2]

const SwAccessibleMap * SwAccessibleContext::GetMap ( ) const
inlineprotected

Definition at line 113 of file acccontext.hxx.

References m_pMap.

◆ GetName()

const OUString & SwAccessibleContext::GetName ( ) const
inline

◆ GetResource()

OUString SwAccessibleContext::GetResource ( TranslateId  pResId,
const OUString *  pArg1 = nullptr,
const OUString *  pArg2 = nullptr 
)
static

◆ GetRole()

sal_Int16 SwAccessibleContext::GetRole ( ) const
inlineprotected

◆ GetShell() [1/2]

SwViewShell * SwAccessibleContext::GetShell ( )
inlineprotected

◆ GetShell() [2/2]

const SwViewShell * SwAccessibleContext::GetShell ( ) const
inlineprotected

Definition at line 120 of file acccontext.hxx.

References GetMap(), and SwAccessibleMap::GetShell().

◆ getSize()

awt::Size SAL_CALL SwAccessibleContext::getSize ( )
overridevirtual

◆ GetStates()

void SwAccessibleContext::GetStates ( sal_Int64 &  rStateSet)
protectedvirtual

◆ GetWeakParent()

uno::Reference< XAccessible > SwAccessibleContext::GetWeakParent ( ) const
protected

Definition at line 72 of file acccontext.cxx.

References m_Mutex, and m_xWeakParent.

Referenced by Dispose(), and SwAccessibleFrameBase::InvalidateCursorPos_().

◆ GetWindow()

vcl::Window * SwAccessibleContext::GetWindow ( )
protected

◆ grabFocus()

void SAL_CALL SwAccessibleContext::grabFocus ( )
overridevirtual

◆ HasAdditionalAccessibleChildren()

bool SwAccessibleContext::HasAdditionalAccessibleChildren ( )

◆ HasCursor()

bool SwAccessibleContext::HasCursor ( )
virtual

Reimplemented in SwAccessibleCell, SwAccessibleFrameBase, SwAccessiblePage, and SwAccessibleParagraph.

Definition at line 1385 of file acccontext.cxx.

Referenced by ScrolledIn().

◆ InitStates()

void SwAccessibleContext::InitStates ( )
private

◆ InvalidateAttr()

void SwAccessibleContext::InvalidateAttr ( )

#i88069# - attributes has changed

Definition at line 1377 of file acccontext.cxx.

References aEvent, and FireAccessibleEvent().

Referenced by SwAccessibleMap::InvalidateAttr().

◆ InvalidateChildPosOrSize()

void SwAccessibleContext::InvalidateChildPosOrSize ( const sw::access::SwAccessibleChild rFrameOrObj,
const SwRect rFrame 
)
virtual

◆ InvalidateChildrenStates()

void SwAccessibleContext::InvalidateChildrenStates ( const SwFrame _pFrame,
AccessibleStates  _nStates 
)
protected

◆ InvalidateContent()

void SwAccessibleContext::InvalidateContent ( )

Definition at line 1296 of file acccontext.cxx.

References InvalidateContent_().

Referenced by SwAccessibleMap::InvalidateContent().

◆ InvalidateContent_()

void SwAccessibleContext::InvalidateContent_ ( bool  bVisibleDataFired)
protectedvirtual

Reimplemented in SwAccessibleParagraph.

Definition at line 429 of file acccontext.cxx.

Referenced by InvalidateContent(), and InvalidatePosOrSize().

◆ InvalidateCursorPos()

void SwAccessibleContext::InvalidateCursorPos ( )

Definition at line 1303 of file acccontext.cxx.

References InvalidateCursorPos_().

◆ InvalidateCursorPos_()

void SwAccessibleContext::InvalidateCursorPos_ ( )
protectedvirtual

Reimplemented in SwAccessibleCell, SwAccessibleFrameBase, SwAccessiblePage, and SwAccessibleParagraph.

Definition at line 433 of file acccontext.cxx.

Referenced by InvalidateCursorPos().

◆ InvalidateFocus()

void SwAccessibleContext::InvalidateFocus ( )

Definition at line 1310 of file acccontext.cxx.

References InvalidateFocus_().

Referenced by SwAccessibleMap::InvalidateFocus().

◆ InvalidateFocus_()

void SwAccessibleContext::InvalidateFocus_ ( )
protectedvirtual

Reimplemented in SwAccessibleFrameBase, SwAccessiblePage, SwAccessibleParagraph, and SwAccessiblePreview.

Definition at line 437 of file acccontext.cxx.

Referenced by InvalidateFocus().

◆ InvalidatePosOrSize()

void SwAccessibleContext::InvalidatePosOrSize ( const SwRect rFrame)
virtual

◆ InvalidateRelation()

void SwAccessibleContext::InvalidateRelation ( sal_uInt16  nType)

Definition at line 1359 of file acccontext.cxx.

References aEvent, FireAccessibleEvent(), and nType.

Referenced by SwAccessibleMap::InvalidateRelationSet_().

◆ InvalidateStates()

void SwAccessibleContext::InvalidateStates ( AccessibleStates  _nStates)

◆ InvalidateTextSelection()

void SwAccessibleContext::InvalidateTextSelection ( )

#i27301# - text selection has changed

Definition at line 1368 of file acccontext.cxx.

References aEvent, and FireAccessibleEvent().

Referenced by SwAccessibleMap::InvalidateParaTextSelection().

◆ IsDisposed()

bool SwAccessibleContext::IsDisposed ( ) const

Definition at line 522 of file acccontext.cxx.

References SwAccessibleFrame::GetFrame(), and GetMap().

Referenced by ThrowIfDisposed().

◆ IsDisposing()

bool SwAccessibleContext::IsDisposing ( ) const
inlineprotected

◆ IsEditableState()

bool SwAccessibleContext::IsEditableState ( )
protected

◆ IsSelectedInDoc()

bool SwAccessibleContext::IsSelectedInDoc ( ) const
inline

Definition at line 350 of file acccontext.hxx.

References m_isSelectedInDoc.

Referenced by SwAccessibleMap::InvalidateShapeInParaSelection().

◆ NotRegisteredAtAccessibleMap()

void SwAccessibleContext::NotRegisteredAtAccessibleMap ( )
inlineprotected

◆ removeAccessibleEventListener()

void SAL_CALL SwAccessibleContext::removeAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  xListener)
overridevirtual

◆ RemoveFrameFromAccessibleMap()

void SwAccessibleContext::RemoveFrameFromAccessibleMap ( )
protected

◆ Scrolled()

void SwAccessibleContext::Scrolled ( const SwRect rOldVisArea)
protected

◆ ScrolledIn()

void SwAccessibleContext::ScrolledIn ( )
protected

◆ ScrolledInShape()

void SwAccessibleContext::ScrolledInShape ( ::accessibility::AccessibleShape pAccImpl)
protected

◆ ScrolledOut()

void SwAccessibleContext::ScrolledOut ( const SwRect rOldVisArea)
protected

◆ ScrolledWithin()

void SwAccessibleContext::ScrolledWithin ( const SwRect rOldVisArea)
protected

◆ Select() [1/3]

bool SwAccessibleContext::Select ( SdrObject pObj,
bool  bAdd 
)
inline

Definition at line 343 of file acccontext.hxx.

References Select().

◆ Select() [2/3]

bool SwAccessibleContext::Select ( SwPaM rPaM)
inline

Definition at line 339 of file acccontext.hxx.

References Select().

◆ Select() [3/3]

bool SwAccessibleContext::Select ( SwPaM pPaM,
SdrObject pObj,
bool  bAdd 
)

◆ SetName()

void SwAccessibleContext::SetName ( const OUString &  rName)
inlineprotected

◆ SetParent()

void SwAccessibleContext::SetParent ( SwAccessibleContext pParent)
protected

Definition at line 64 of file acccontext.cxx.

References m_Mutex, and m_xWeakParent.

Referenced by ScrolledIn().

◆ SetSelectedState()

bool SwAccessibleContext::SetSelectedState ( bool  bSelected)
virtual

Reimplemented in SwAccessibleFrameBase.

Definition at line 1518 of file acccontext.cxx.

References FireStateChangedEvent(), and m_isSelectedInDoc.

◆ supportsService()

sal_Bool SAL_CALL SwAccessibleContext::supportsService ( const OUString &  sServiceName)
overridevirtual

◆ ThrowIfDisposed()

void SwAccessibleContext::ThrowIfDisposed ( )
protected

Definition at line 527 of file acccontext.cxx.

References IsDisposed().

Referenced by SwAccessibleParagraph::addSelection(), SwAccessibleParagraph::clearAccessibleSelection(), SwAccessibleTable::clearAccessibleSelection(), SwAccessibleParagraph::copyText(), SwAccessibleParagraph::cutText(), SwAccessibleParagraph::deselectAccessibleChild(), SwAccessibleTable::deselectAccessibleChild(), getAccessibleAtPoint(), SwAccessibleDocumentBase::getAccessibleAtPoint(), SwAccessibleTable::getAccessibleCellAt(), getAccessibleChild(), SwAccessibleDocumentBase::getAccessibleChild(), getAccessibleChildCount(), SwAccessibleTableColHeaders::getAccessibleChildCount(), getAccessibleChildren(), SwAccessibleTable::getAccessibleColumn(), SwAccessibleTable::getAccessibleColumnCount(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwAccessibleFootnote::getAccessibleDescription(), SwAccessibleHeaderFooter::getAccessibleDescription(), SwAccessibleNoTextFrame::getAccessibleDescription(), SwAccessiblePage::getAccessibleDescription(), SwAccessibleParagraph::getAccessibleDescription(), SwAccessibleTable::getAccessibleDescription(), SwAccessibleTextFrame::getAccessibleDescription(), SwAccessibleTable::getAccessibleIndex(), getAccessibleIndexInParent(), SwAccessibleNoTextFrame::getAccessibleName(), SwAccessibleTextFrame::getAccessibleName(), getAccessibleParent(), SwAccessibleParagraph::getAccessibleRelationSet(), SwAccessibleTextFrame::getAccessibleRelationSet(), SwAccessibleTable::getAccessibleRow(), SwAccessibleTable::getAccessibleRowCount(), SwAccessibleTable::getAccessibleRowExtentAt(), getAccessibleStateSet(), getBoundsImpl(), SwAccessibleParagraph::getCaretPosition(), SwAccessibleParagraph::getCharacter(), SwAccessibleParagraph::getCharacterAttributes(), SwAccessibleParagraph::getCharacterBounds(), SwAccessibleParagraph::getCharacterCount(), SwAccessibleParagraph::GetCurrentTabStop(), SwAccessibleCell::getCurrentValue(), SwAccessibleParagraph::getDefaultAttributes(), SwAccessibleNoTextFrame::getHyperLink(), SwAccessibleParagraph::getHyperLink(), SwAccessibleNoTextFrame::getHyperLinkCount(), SwAccessibleParagraph::getHyperLinkCount(), SwAccessibleParagraph::getHyperLinkIndex(), SwAccessibleParagraph::getIndexAtPoint(), SwAccessibleParagraph::getRunAttributes(), SwAccessibleParagraph::getSelectedAccessibleChild(), SwAccessibleTable::getSelectedAccessibleChild(), SwAccessibleParagraph::getSelectedAccessibleChildCount(), SwAccessibleTable::getSelectedAccessibleChildCount(), SwAccessibleTable::getSelectedAccessibleColumns(), SwAccessibleTable::getSelectedAccessibleRows(), SwAccessibleParagraph::getSelectedText(), SwAccessibleParagraph::getSelectionEnd(), SwAccessibleParagraph::getSelectionStart(), SwAccessibleParagraph::getSeletedPositionEnd(), SwAccessibleParagraph::getSeletedPositionStart(), SwAccessibleParagraph::getText(), SwAccessibleParagraph::getTextAtIndex(), SwAccessibleParagraph::getTextBeforeIndex(), SwAccessibleParagraph::getTextBehindIndex(), SwAccessibleParagraph::getTextRange(), grabFocus(), SwAccessibleParagraph::grabFocus(), SwAccessibleParagraph::isAccessibleChildSelected(), SwAccessibleTable::isAccessibleChildSelected(), SwAccessibleTable::isAccessibleColumnSelected(), SwAccessibleTable::isAccessibleRowSelected(), SwAccessibleTable::isAccessibleSelected(), SwAccessibleParagraph::pasteText(), SwAccessibleParagraph::replaceText(), SwAccessibleParagraph::scrollSubstringTo(), SwAccessibleParagraph::selectAccessibleChild(), SwAccessibleTable::selectAccessibleChild(), SwAccessibleParagraph::selectAllAccessibleChildren(), SwAccessibleParagraph::setAttributes(), SwAccessibleParagraph::setCaretPosition(), SwAccessibleCell::setCurrentValue(), and SwAccessibleParagraph::setSelection().

Friends And Related Function Documentation

◆ SwAccessibleMap

friend class SwAccessibleMap
friend

Definition at line 60 of file acccontext.hxx.

◆ SwAccessibleSelectionHelper

friend class SwAccessibleSelectionHelper
friend

Definition at line 58 of file acccontext.hxx.

Member Data Documentation

◆ m_isDefuncState

bool SwAccessibleContext::m_isDefuncState
private

Definition at line 87 of file acccontext.hxx.

Referenced by Dispose(), GetStates(), and InitStates().

◆ m_isDisposing

bool SwAccessibleContext::m_isDisposing
private

◆ m_isEditableState

bool SwAccessibleContext::m_isEditableState
private

Definition at line 85 of file acccontext.hxx.

Referenced by GetStates(), InitStates(), InvalidateStates(), and IsEditableState().

◆ m_isOpaqueState

bool SwAccessibleContext::m_isOpaqueState
private

Definition at line 86 of file acccontext.hxx.

Referenced by GetStates(), InitStates(), and InvalidateStates().

◆ m_isRegisteredAtAccessibleMap

bool SwAccessibleContext::m_isRegisteredAtAccessibleMap
private

◆ m_isSelectedInDoc

bool SwAccessibleContext::m_isSelectedInDoc
protected

◆ m_isShowingState

bool SwAccessibleContext::m_isShowingState
private

Definition at line 84 of file acccontext.hxx.

Referenced by GetStates(), InitStates(), InvalidatePosOrSize(), and Scrolled().

◆ m_Mutex

std::mutex SwAccessibleContext::m_Mutex
mutableprotected

◆ m_nClientId

sal_uInt32 SwAccessibleContext::m_nClientId
private

◆ m_nRole

sal_Int16 SwAccessibleContext::m_nRole
private

Definition at line 81 of file acccontext.hxx.

Referenced by getAccessibleRole(), and GetRole().

◆ m_pMap

SwAccessibleMap* SwAccessibleContext::m_pMap
private

Definition at line 74 of file acccontext.hxx.

Referenced by Dispose(), and GetMap().

◆ m_sName

OUString SwAccessibleContext::m_sName
private

Definition at line 67 of file acccontext.hxx.

Referenced by getAccessibleName(), GetName(), and SetName().

◆ m_wMap

std::weak_ptr<SwAccessibleMap> SwAccessibleContext::m_wMap
private

note: the m_pMap is guaranteed to be valid until we hit the dtor ~SwAccessibleContext, then m_wMap must be checked if it's still alive, after locking SolarMutex (alternatively, Dispose clears m_pMap)

Definition at line 78 of file acccontext.hxx.

Referenced by Dispose(), and ~SwAccessibleContext().

◆ m_xWeakParent

css::uno::WeakReference< css::accessibility::XAccessible > SwAccessibleContext::m_xWeakParent
private

Definition at line 72 of file acccontext.hxx.

Referenced by getAccessibleParentImpl(), GetWeakParent(), and SetParent().


The documentation for this class was generated from the following files: