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_Int32 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int32 nIndex) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int32 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 css::uno::Reference< css::accessibility::XAccessibleStateSet > 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 bSeleted)
 
bool IsSeletedInDoc () 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 (const char *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_Int16 nState, bool bNewState)
 
virtual void GetStates (::utl::AccessibleStateSetHelper &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

mutable::osl::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 const 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 45 of file acccontext.hxx.

Constructor & Destructor Documentation

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

Definition at line 529 of file acccontext.cxx.

References GetShell(), and InitStates().

Member Function Documentation

void SAL_CALL SwAccessibleContext::addAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  xListener)
overridevirtual
void SwAccessibleContext::ChildrenScrolled ( const SwFrame pFrame,
const SwRect rOldVisArea 
)
protected
sal_Bool SAL_CALL SwAccessibleContext::containsPoint ( const css::awt::Point &  aPoint)
overridevirtual

Reimplemented in SwAccessibleDocumentBase.

Definition at line 760 of file acccontext.cxx.

References getBoundsImpl(), and lcl_PointInRectangle().

void SwAccessibleContext::Dispose ( bool  bRecursive,
bool  bCanSkipInvisible = true 
)
virtual
void SwAccessibleContext::DisposeChild ( const sw::access::SwAccessibleChild rFrameOrObj,
bool  bRecursive,
bool  bCanSkipInvisible 
)
virtual
void SwAccessibleContext::DisposeChildren ( const SwFrame pFrame,
bool  bRecursive,
bool  bCanSkipInvisible 
)
protected
void SwAccessibleContext::DisposeShape ( const SdrObject pObj,
::accessibility::AccessibleShape pAccImpl 
)
protected
void SwAccessibleContext::FireAccessibleEvent ( css::accessibility::AccessibleEventObject &  rEvent)
void SwAccessibleContext::FireStateChangedEvent ( sal_Int16  nState,
bool  bNewState 
)
protected
void SwAccessibleContext::FireVisibleDataEvent ( )
protected
uno::Reference< XAccessible > SAL_CALL SwAccessibleContext::getAccessibleAtPoint ( const css::awt::Point &  aPoint)
overridevirtual
uno::Reference< XAccessible > SAL_CALL SwAccessibleContext::getAccessibleChild ( sal_Int32  nIndex)
overridevirtual
sal_Int32 SAL_CALL SwAccessibleContext::getAccessibleChildCount ( )
overridevirtual
uno::Reference< XAccessibleContext > SAL_CALL SwAccessibleContext::getAccessibleContext ( )
overridevirtual

Definition at line 560 of file acccontext.cxx.

sal_Int32 SAL_CALL SwAccessibleContext::getAccessibleIndexInParent ( )
overridevirtual
OUString SAL_CALL SwAccessibleContext::getAccessibleName ( )
overridevirtual
uno::Reference< XAccessible > SAL_CALL SwAccessibleContext::getAccessibleParent ( )
overridevirtual
uno::Reference< XAccessible > SwAccessibleContext::getAccessibleParentImpl ( )
protected
uno::Reference< XAccessibleRelationSet > SAL_CALL SwAccessibleContext::getAccessibleRelationSet ( )
overridevirtual

Reimplemented in SwAccessibleParagraph, SwAccessibleNoTextFrame, and SwAccessibleTextFrame.

Definition at line 683 of file acccontext.cxx.

sal_Int16 SAL_CALL SwAccessibleContext::getAccessibleRole ( )
overridevirtual

Reimplemented in SwAccessibleParagraph, and SwAccessibleGraphic.

Definition at line 672 of file acccontext.cxx.

References m_nRole.

Referenced by SwAccessibleDocument::getAccFlowTo().

uno::Reference< XAccessibleStateSet > SAL_CALL SwAccessibleContext::getAccessibleStateSet ( )
overridevirtual
vcl::Window * SwAccessibleContext::GetAdditionalAccessibleChild ( const sal_Int32  nIndex)
void SwAccessibleContext::GetAdditionalAccessibleChildren ( std::vector< vcl::Window * > *  pChildren)
sal_Int32 SAL_CALL SwAccessibleContext::getBackground ( )
overridevirtual
awt::Rectangle SAL_CALL SwAccessibleContext::getBounds ( )
overridevirtual

Reimplemented in SwAccessibleDocumentBase.

Definition at line 879 of file acccontext.cxx.

References 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 829 of file acccontext.cxx.

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

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

SwCursorShell * SwAccessibleContext::GetCursorShell ( )
protected
const SwCursorShell * SwAccessibleContext::GetCursorShell ( ) const
protected

Definition at line 108 of file acccontext.cxx.

sal_Int32 SAL_CALL SwAccessibleContext::getForeground ( )
overridevirtual

Reimplemented in SwAccessibleParagraph.

Definition at line 957 of file acccontext.cxx.

References COL_BLACK().

Referenced by SwAccessibleParagraph::getForeground().

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 709 of file acccontext.cxx.

References Application::GetSettings().

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

Reimplemented in SwAccessibleDocumentBase.

Definition at line 884 of file acccontext.cxx.

References getBoundsImpl().

awt::Point SAL_CALL SwAccessibleContext::getLocationOnScreen ( )
overridevirtual
SwAccessibleMap* SwAccessibleContext::GetMap ( )
inlineprotected

Definition at line 112 of file acccontext.hxx.

References m_pMap.

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

const SwAccessibleMap* SwAccessibleContext::GetMap ( ) const
inlineprotected

Definition at line 113 of file acccontext.hxx.

References m_pMap.

const OUString& SwAccessibleContext::GetName ( ) const
inline
OUString SwAccessibleContext::GetResource ( const char *  pResId,
const OUString *  pArg1 = nullptr,
const OUString *  pArg2 = nullptr 
)
static
sal_Int16 SwAccessibleContext::GetRole ( ) const
inlineprotected
SwViewShell* SwAccessibleContext::GetShell ( )
inlineprotected
const SwViewShell* SwAccessibleContext::GetShell ( ) const
inlineprotected

Definition at line 120 of file acccontext.hxx.

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

awt::Size SAL_CALL SwAccessibleContext::getSize ( )
overridevirtual
void SwAccessibleContext::GetStates ( ::utl::AccessibleStateSetHelper rStateSet)
protectedvirtual
uno::Reference< XAccessible > SwAccessibleContext::GetWeakParent ( ) const
protected

Definition at line 75 of file acccontext.cxx.

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

vcl::Window * SwAccessibleContext::GetWindow ( )
protected
void SAL_CALL SwAccessibleContext::grabFocus ( )
overridevirtual
bool SwAccessibleContext::HasAdditionalAccessibleChildren ( )
bool SwAccessibleContext::HasCursor ( )
virtual
void SwAccessibleContext::InitStates ( )
private

Definition at line 57 of file acccontext.cxx.

Referenced by SwAccessibleContext().

void SwAccessibleContext::InvalidateAttr ( )

#i88069# - attributes has changed

Definition at line 1324 of file acccontext.cxx.

References FireAccessibleEvent().

Referenced by SwAccessibleMap::InvalidateAttr().

void SwAccessibleContext::InvalidateChildPosOrSize ( const sw::access::SwAccessibleChild rFrameOrObj,
const SwRect rFrame 
)
virtual
void SwAccessibleContext::InvalidateChildrenStates ( const SwFrame _pFrame,
AccessibleStates  _nStates 
)
protected
void SwAccessibleContext::InvalidateContent ( )

Definition at line 1243 of file acccontext.cxx.

References InvalidateContent_().

Referenced by SwAccessibleMap::InvalidateContent().

void SwAccessibleContext::InvalidateContent_ ( bool  bVisibleDataFired)
protectedvirtual

Reimplemented in SwAccessibleParagraph.

Definition at line 428 of file acccontext.cxx.

Referenced by InvalidateContent(), and InvalidatePosOrSize().

void SwAccessibleContext::InvalidateCursorPos ( )

Definition at line 1250 of file acccontext.cxx.

References InvalidateCursorPos_().

void SwAccessibleContext::InvalidateCursorPos_ ( )
protectedvirtual

Reimplemented in SwAccessibleParagraph, SwAccessibleCell, SwAccessiblePage, and SwAccessibleFrameBase.

Definition at line 432 of file acccontext.cxx.

Referenced by InvalidateCursorPos().

void SwAccessibleContext::InvalidateFocus ( )

Definition at line 1257 of file acccontext.cxx.

References InvalidateFocus_().

Referenced by SwAccessibleMap::InvalidateFocus().

void SwAccessibleContext::InvalidateFocus_ ( )
protectedvirtual

Reimplemented in SwAccessibleParagraph, SwAccessiblePreview, SwAccessiblePage, and SwAccessibleFrameBase.

Definition at line 436 of file acccontext.cxx.

Referenced by InvalidateFocus().

void SwAccessibleContext::InvalidatePosOrSize ( const SwRect rFrame)
virtual
void SwAccessibleContext::InvalidateRelation ( sal_uInt16  nType)

Definition at line 1306 of file acccontext.cxx.

References FireAccessibleEvent().

Referenced by SwAccessibleMap::InvalidateRelationSet_().

void SwAccessibleContext::InvalidateStates ( AccessibleStates  _nStates)
void SwAccessibleContext::InvalidateTextSelection ( )

#i27301# - text selection has changed

Definition at line 1315 of file acccontext.cxx.

References FireAccessibleEvent().

Referenced by SwAccessibleMap::InvalidateParaTextSelection().

bool SwAccessibleContext::IsDisposing ( ) const
inlineprotected

Definition at line 109 of file acccontext.hxx.

References m_isDisposing.

Referenced by SwAccessibleDocumentBase::getAccessibleChildCount().

bool SwAccessibleContext::IsEditableState ( )
protected
bool SwAccessibleContext::IsSeletedInDoc ( ) const
inline

Definition at line 349 of file acccontext.hxx.

References m_isSelectedInDoc.

Referenced by SwAccessibleMap::InvalidateShapeInParaSelection().

void SwAccessibleContext::NotRegisteredAtAccessibleMap ( )
inlineprotected
void SAL_CALL SwAccessibleContext::removeAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  xListener)
overridevirtual
void SwAccessibleContext::RemoveFrameFromAccessibleMap ( )
protected
void SwAccessibleContext::Scrolled ( const SwRect rOldVisArea)
protected

Definition at line 260 of file acccontext.cxx.

Referenced by SwAccessibleDocumentBase::SetVisArea().

void SwAccessibleContext::ScrolledIn ( )
protected

Definition at line 288 of file acccontext.cxx.

References vcl::Window::HasFocus(), and AttrSetHandleHelper::SetParent().

void SwAccessibleContext::ScrolledInShape ( ::accessibility::AccessibleShape pAccImpl)
protected
void SwAccessibleContext::ScrolledOut ( const SwRect rOldVisArea)
protected

Definition at line 323 of file acccontext.cxx.

References Dispose().

void SwAccessibleContext::ScrolledWithin ( const SwRect rOldVisArea)
protected

Definition at line 279 of file acccontext.cxx.

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

Definition at line 338 of file acccontext.hxx.

References Select().

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

Definition at line 342 of file acccontext.hxx.

References Select().

void SwAccessibleContext::SetName ( const OUString &  rName)
inlineprotected
void SwAccessibleContext::SetParent ( SwAccessibleContext pParent)
protected

Definition at line 67 of file acccontext.cxx.

bool SwAccessibleContext::SetSelectedState ( bool  bSeleted)
virtual

Reimplemented in SwAccessibleFrameBase.

Definition at line 1469 of file acccontext.cxx.

References FireStateChangedEvent(), and m_isSelectedInDoc.

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

Definition at line 520 of file acccontext.cxx.

Referenced by SwAccessibleParagraph::addSelection(), SwAccessibleTable::clearAccessibleSelection(), SwAccessibleParagraph::clearAccessibleSelection(), SwAccessibleParagraph::copyText(), SwAccessibleParagraph::cutText(), SwAccessibleTable::deselectAccessibleChild(), SwAccessibleParagraph::deselectAccessibleChild(), SwAccessibleDocumentBase::getAccessibleAtPoint(), getAccessibleAtPoint(), SwAccessibleTable::getAccessibleCellAt(), SwAccessibleDocumentBase::getAccessibleChild(), getAccessibleChild(), getAccessibleChildCount(), SwAccessibleTableColHeaders::getAccessibleChildCount(), SwAccessibleTable::getAccessibleColumn(), SwAccessibleTable::getAccessibleColumnCount(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwAccessibleFootnote::getAccessibleDescription(), SwAccessibleHeaderFooter::getAccessibleDescription(), SwAccessibleNoTextFrame::getAccessibleDescription(), SwAccessiblePage::getAccessibleDescription(), SwAccessibleTextFrame::getAccessibleDescription(), SwAccessibleTable::getAccessibleDescription(), SwAccessibleParagraph::getAccessibleDescription(), SwAccessibleTable::getAccessibleIndex(), getAccessibleIndexInParent(), SwAccessibleNoTextFrame::getAccessibleName(), SwAccessibleTextFrame::getAccessibleName(), getAccessibleParent(), SwAccessibleTextFrame::getAccessibleRelationSet(), SwAccessibleParagraph::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(), SwAccessibleTable::getSelectedAccessibleChild(), SwAccessibleParagraph::getSelectedAccessibleChild(), SwAccessibleTable::getSelectedAccessibleChildCount(), SwAccessibleParagraph::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(), SwAccessibleParagraph::grabFocus(), grabFocus(), SwAccessibleTable::isAccessibleChildSelected(), SwAccessibleParagraph::isAccessibleChildSelected(), SwAccessibleTable::isAccessibleColumnSelected(), SwAccessibleTable::isAccessibleRowSelected(), SwAccessibleTable::isAccessibleSelected(), SwAccessibleParagraph::pasteText(), SwAccessibleParagraph::replaceText(), SwAccessibleTable::selectAccessibleChild(), SwAccessibleParagraph::selectAccessibleChild(), SwAccessibleParagraph::selectAllAccessibleChildren(), SwAccessibleParagraph::setAttributes(), SwAccessibleParagraph::setCaretPosition(), SwAccessibleCell::setCurrentValue(), and SwAccessibleParagraph::setSelection().

Friends And Related Function Documentation

friend class SwAccessibleMap
friend

Definition at line 60 of file acccontext.hxx.

friend class SwAccessibleSelectionHelper
friend

Definition at line 58 of file acccontext.hxx.

Member Data Documentation

bool SwAccessibleContext::m_isDefuncState
private

Definition at line 87 of file acccontext.hxx.

Referenced by Dispose().

bool SwAccessibleContext::m_isDisposing
private
bool SwAccessibleContext::m_isEditableState
private

Definition at line 85 of file acccontext.hxx.

Referenced by InvalidateStates().

bool SwAccessibleContext::m_isOpaqueState
private

Definition at line 86 of file acccontext.hxx.

Referenced by InvalidateStates().

bool SwAccessibleContext::m_isRegisteredAtAccessibleMap
private

Definition at line 94 of file acccontext.hxx.

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

bool SwAccessibleContext::m_isSelectedInDoc
protected
bool SwAccessibleContext::m_isShowingState
private

Definition at line 84 of file acccontext.hxx.

Referenced by InvalidatePosOrSize().

mutable ::osl::Mutex SwAccessibleContext::m_Mutex
protected
sal_uInt32 SwAccessibleContext::m_nClientId
private
sal_Int16 const SwAccessibleContext::m_nRole
private

Definition at line 81 of file acccontext.hxx.

Referenced by getAccessibleRole(), and GetRole().

SwAccessibleMap* SwAccessibleContext::m_pMap
private

Definition at line 74 of file acccontext.hxx.

Referenced by Dispose(), and GetMap().

OUString SwAccessibleContext::m_sName
private

Definition at line 67 of file acccontext.hxx.

Referenced by getAccessibleName(), and GetName().

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().

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

Definition at line 72 of file acccontext.hxx.

Referenced by getAccessibleParentImpl().


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