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

#include <acccell.hxx>

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

Public Member Functions

 SwAccessibleCell (std::shared_ptr< SwAccessibleMap > const &pInitMap, const SwCellFrame *pCellFrame)
 
virtual bool HasCursor () override
 
virtual OUString SAL_CALL getAccessibleDescription () override
 Return this object's description. More...
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 Return whether the specified service is supported by this class. More...
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void Dispose (bool bRecursive, bool bCanSkipInvisible=true) override
 
virtual void InvalidatePosOrSize (const SwRect &rFrame) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
css::uno::Any SAL_CALL getExtendedAttributes () override
 
virtual css::uno::Any SAL_CALL getCurrentValue () override
 
virtual sal_Bool SAL_CALL setCurrentValue (const css::uno::Any &aNumber) override
 
virtual css::uno::Any SAL_CALL getMaximumValue () override
 
virtual css::uno::Any SAL_CALL getMinimumValue () override
 
sal_Int32 SAL_CALL getBackground () override
 
virtual void SAL_CALL selectAccessibleChild (sal_Int32 nChildIndex) override
 
virtual sal_Bool SAL_CALL isAccessibleChildSelected (sal_Int32 nChildIndex) override
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int32 nSelectedChildIndex) override
 
- Public Member Functions inherited from SwAccessibleContext
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 void DisposeChild (const sw::access::SwAccessibleChild &rFrameOrObj, bool bRecursive, bool bCanSkipInvisible)
 
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
 
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
 

Protected Member Functions

virtual void GetStates (::utl::AccessibleStateSetHelper &rStateSet) override
 
virtual void InvalidateCursorPos_ () override
 
virtual ~SwAccessibleCell () override
 
- Protected Member Functions inherited from SwAccessibleContext
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 InvalidateFocus_ ()
 
void FireVisibleDataEvent ()
 
void FireStateChangedEvent (sal_Int16 nState, bool bNewState)
 
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
 

Private Member Functions

bool IsSelected ()
 
bool InvalidateMyCursorPos ()
 
bool InvalidateChildrenCursorPos (const SwFrame *pFrame)
 
SwFrameFormatGetTableBoxFormat () const
 

Private Attributes

SwAccessibleSelectionHelper m_aSelectionHelper
 
bool m_bIsSelected
 
rtl::Reference< SwAccessibleTablem_pAccTable
 

Additional Inherited Members

- Static Public Member Functions inherited from SwAccessibleContext
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)
 
- 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)
 
- Protected Attributes inherited from SwAccessibleContext
mutable::osl::Mutex m_Mutex
 
bool m_isSelectedInDoc
 

Detailed Description

Definition at line 31 of file acccell.hxx.

Constructor & Destructor Documentation

SwAccessibleCell::~SwAccessibleCell ( )
overrideprotectedvirtual

Definition at line 230 of file acccell.cxx.

SwAccessibleCell::SwAccessibleCell ( std::shared_ptr< SwAccessibleMap > const &  pInitMap,
const SwCellFrame pCellFrame 
)

Member Function Documentation

virtual void SAL_CALL SwAccessibleCell::acquire ( )
throw (
)
inlineoverridevirtual

Definition at line 95 of file acccell.hxx.

void SwAccessibleCell::clearAccessibleSelection ( )
overridevirtual

Definition at line 438 of file acccell.cxx.

void SwAccessibleCell::deselectAccessibleChild ( sal_Int32  nSelectedChildIndex)
overridevirtual
void SwAccessibleCell::Dispose ( bool  bRecursive,
bool  bCanSkipInvisible = true 
)
overridevirtual
OUString SAL_CALL SwAccessibleCell::getAccessibleDescription ( )
overridevirtual

Return this object's description.

Definition at line 234 of file acccell.cxx.

References SwAccessibleContext::GetName().

sal_Int32 SAL_CALL SwAccessibleCell::getBackground ( )
overridevirtual
uno::Any SwAccessibleCell::getCurrentValue ( )
overridevirtual
css::uno::Any SAL_CALL SwAccessibleCell::getExtendedAttributes ( )
override
uno::Sequence< sal_Int8 > SAL_CALL SwAccessibleCell::getImplementationId ( )
overridevirtual

Definition at line 312 of file acccell.cxx.

OUString SAL_CALL SwAccessibleCell::getImplementationName ( )
overridevirtual

Definition at line 239 of file acccell.cxx.

References sImplementationName.

uno::Any SwAccessibleCell::getMaximumValue ( )
overridevirtual

Definition at line 354 of file acccell.cxx.

uno::Any SwAccessibleCell::getMinimumValue ( )
overridevirtual

Definition at line 359 of file acccell.cxx.

uno::Reference< XAccessible > SwAccessibleCell::getSelectedAccessibleChild ( sal_Int32  nSelectedChildIndex)
overridevirtual
sal_Int32 SwAccessibleCell::getSelectedAccessibleChildCount ( )
overridevirtual
void SwAccessibleCell::GetStates ( ::utl::AccessibleStateSetHelper rStateSet)
overrideprotectedvirtual
uno::Sequence< OUString > SAL_CALL SwAccessibleCell::getSupportedServiceNames ( )
overridevirtual

Definition at line 249 of file acccell.cxx.

References sAccessibleServiceName.

SwFrameFormat * SwAccessibleCell::GetTableBoxFormat ( ) const
private
uno::Sequence< uno::Type > SAL_CALL SwAccessibleCell::getTypes ( )
overridevirtual

Definition at line 305 of file acccell.cxx.

References cppu::OTypeCollection::getTypes().

bool SwAccessibleCell::HasCursor ( )
overridevirtual

Reimplemented from SwAccessibleContext.

Definition at line 224 of file acccell.cxx.

References m_bIsSelected, and SwAccessibleContext::m_Mutex.

bool SwAccessibleCell::InvalidateChildrenCursorPos ( const SwFrame pFrame)
private
void SwAccessibleCell::InvalidateCursorPos_ ( )
overrideprotectedvirtual
bool SwAccessibleCell::InvalidateMyCursorPos ( )
private
void SwAccessibleCell::InvalidatePosOrSize ( const SwRect rFrame)
overridevirtual
sal_Bool SwAccessibleCell::isAccessibleChildSelected ( sal_Int32  nChildIndex)
overridevirtual
bool SwAccessibleCell::IsSelected ( )
private
uno::Any SwAccessibleCell::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 276 of file acccell.cxx.

virtual void SAL_CALL SwAccessibleCell::release ( )
throw (
)
inlineoverridevirtual

Definition at line 98 of file acccell.hxx.

void SwAccessibleCell::selectAccessibleChild ( sal_Int32  nChildIndex)
overridevirtual
void SwAccessibleCell::selectAllAccessibleChildren ( )
overridevirtual
sal_Bool SwAccessibleCell::setCurrentValue ( const css::uno::Any &  aNumber)
overridevirtual
sal_Bool SAL_CALL SwAccessibleCell::supportsService ( const OUString &  sServiceName)
overridevirtual

Return whether the specified service is supported by this class.

Reimplemented from SwAccessibleContext.

Definition at line 244 of file acccell.cxx.

References cppu::supportsService().

Member Data Documentation

SwAccessibleSelectionHelper SwAccessibleCell::m_aSelectionHelper
private
bool SwAccessibleCell::m_bIsSelected
private

Definition at line 38 of file acccell.hxx.

Referenced by HasCursor(), InvalidateMyCursorPos(), and SwAccessibleCell().

rtl::Reference<SwAccessibleTable> SwAccessibleCell::m_pAccTable
private

Definition at line 45 of file acccell.hxx.

Referenced by InvalidateCursorPos_(), InvalidateMyCursorPos(), and SwAccessibleCell().


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