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

#include <AccessibleContextBase.hxx>

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

Public Member Functions

 ScAccessibleContextBase (css::uno::Reference< css::accessibility::XAccessible > xParent, const sal_Int16 aRole)
 
virtual void Init ()
 
virtual void SAL_CALL disposing () override
 
bool isShowing ()
 
virtual bool isVisible ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 ===== SfxListener ===================================================== More...
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 ===== XInterface ===================================================== More...
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 ===== XAccessible ===================================================== More...
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &rPoint) override
 ===== XAccessibleComponent ============================================ More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) 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_Int64 SAL_CALL getAccessibleChildCount () override
 ===== XAccessibleContext ============================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nIndex) override
 Return the specified child or NULL if index is invalid. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 Return a reference to the parent. More...
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () override
 Return this objects index among the parents children. More...
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 Return this object's role. More...
 
virtual OUString SAL_CALL getAccessibleDescription () override
 Return this object's description. More...
 
virtual OUString SAL_CALL getAccessibleName () override
 Return the object's current name. More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 Return NULL to indicate that an empty relation set. More...
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 Return the set of current states. More...
 
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
 ===== XAccessibleEventBroadcaster ===================================== More...
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 ===== XAccessibleEventListener ======================================== More...
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 
virtual OUString SAL_CALL getImplementationName () override
 ===== XServiceInfo ==================================================== More...
 
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
 Returns a list of all supported services. More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 ===== XTypeProvider =================================================== More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 Returns an implementation id. More...
 
void CommitChange (const css::accessibility::AccessibleEventObject &rEvent) const
 Calls all Listener to tell they the change. More...
 
void SetName (const OUString &rName)
 Use this method to set initial Name without notification. More...
 
void SetDescription (const OUString &rDesc)
 Use this method to set initial Description without notification. More...
 
void SetParent (const css::uno::Reference< css::accessibility::XAccessible > &rParent)
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper5< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5 >
 WeakAggComponentImplHelper5 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Protected Member Functions

virtual ~ScAccessibleContextBase () override
 
virtual OUString createAccessibleDescription ()
 Return this object's description. More...
 
virtual OUString createAccessibleName ()
 Return the object's current name. More...
 
virtual tools::Rectangle GetBoundingBoxOnScreen () const
 Return the object's current bounding box relative to the desktop. More...
 
virtual tools::Rectangle GetBoundingBox () const
 Return the object's current bounding box relative to the parent object. More...
 
void CommitFocusGained () const
 Calls all FocusListener to tell they that the focus is gained. More...
 
void CommitFocusLost () const
 Calls all FocusListener to tell they that the focus is lost. More...
 
bool IsDefunc () const
 
void IsObjectValid () const
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Protected Attributes

css::uno::Reference< css::accessibility::XAccessible > mxParent
 Reference to the parent object. More...
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Private Attributes

OUString msDescription
 Description of this object. More...
 
OUString msName
 Name of this object. More...
 
sal_uInt32 mnClientId
 client id in the AccessibleEventNotifier queue More...
 
sal_Int16 maRole
 This is the role of this object. More...
 

Detailed Description

Definition at line 54 of file AccessibleContextBase.hxx.

Constructor & Destructor Documentation

◆ ScAccessibleContextBase()

ScAccessibleContextBase::ScAccessibleContextBase ( css::uno::Reference< css::accessibility::XAccessible >  xParent,
const sal_Int16  aRole 
)

Definition at line 39 of file AccessibleContextBase.cxx.

References m_aMutex, and mxParent.

◆ ~ScAccessibleContextBase()

ScAccessibleContextBase::~ScAccessibleContextBase ( )
overrideprotectedvirtual

Definition at line 50 of file AccessibleContextBase.cxx.

References dispose(), IsDefunc(), and m_refCount.

Member Function Documentation

◆ acquire()

void SAL_CALL ScAccessibleContextBase::acquire ( )
overridevirtualnoexcept

◆ addAccessibleEventListener()

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

===== XAccessibleEventBroadcaster =====================================

Add listener that is informed of future changes of name, description and so on events.

Reimplemented in ScAccessibleEditObject, and ScAccessibleSpreadsheet.

Definition at line 363 of file AccessibleContextBase.cxx.

References comphelper::AccessibleEventNotifier::addEventListener(), IsDefunc(), IsObjectValid(), mnClientId, and comphelper::AccessibleEventNotifier::registerClient().

Referenced by ScAccessibleEditObject::addAccessibleEventListener(), and ScAccessibleSpreadsheet::addAccessibleEventListener().

◆ CommitChange()

void ScAccessibleContextBase::CommitChange ( const css::accessibility::AccessibleEventObject &  rEvent) const

◆ CommitFocusGained()

void ScAccessibleContextBase::CommitFocusGained ( ) const
protected

Calls all FocusListener to tell they that the focus is gained.

Definition at line 469 of file AccessibleContextBase.cxx.

References aEvent, and CommitChange().

Referenced by ScAccessibleEditObject::GotFocus(), ScAccessibleSpreadsheet::GotFocus(), ScAccessibleDocument::Notify(), and ScAccessibleDocumentPagePreview::Notify().

◆ CommitFocusLost()

void ScAccessibleContextBase::CommitFocusLost ( ) const
protected

Calls all FocusListener to tell they that the focus is lost.

Definition at line 479 of file AccessibleContextBase.cxx.

References aEvent, and CommitChange().

Referenced by ScAccessibleEditObject::LostFocus(), ScAccessibleSpreadsheet::LostFocus(), ScAccessibleDocument::Notify(), and ScAccessibleDocumentPagePreview::Notify().

◆ containsPoint()

sal_Bool SAL_CALL ScAccessibleContextBase::containsPoint ( const css::awt::Point &  rPoint)
overridevirtual

◆ createAccessibleDescription()

OUString ScAccessibleContextBase::createAccessibleDescription ( )
protectedvirtual

◆ createAccessibleName()

OUString ScAccessibleContextBase::createAccessibleName ( )
protectedvirtual

◆ disposing() [1/2]

void SAL_CALL ScAccessibleContextBase::disposing ( )
overridevirtual

◆ disposing() [2/2]

virtual void SAL_CALL ScAccessibleContextBase::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ getAccessibleAtPoint()

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

◆ getAccessibleChild()

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

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL ScAccessibleContextBase::getAccessibleChildCount ( )
overridevirtual

===== XAccessibleContext ==============================================

Return the number of currently visible children.

Reimplemented in ScAccessibleCell, ScAccessibleDocument, ScAccessibleDocumentPagePreview, ScAccessibleEditObject, ScAccessiblePageHeader, ScAccessiblePageHeaderArea, ScAccessiblePreviewCell, ScAccessiblePreviewHeaderCell, ScAccessiblePreviewTable, and ScAccessibleTableBase.

Definition at line 225 of file AccessibleContextBase.cxx.

◆ getAccessibleContext()

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

◆ getAccessibleDescription()

OUString SAL_CALL ScAccessibleContextBase::getAccessibleDescription ( )
overridevirtual

Return this object's description.

Definition at line 281 of file AccessibleContextBase.cxx.

References aEvent, CommitChange(), createAccessibleDescription(), IsObjectValid(), and msDescription.

◆ getAccessibleIndexInParent()

sal_Int64 SAL_CALL ScAccessibleContextBase::getAccessibleIndexInParent ( )
overridevirtual

Return this objects index among the parents children.

Reimplemented in ScAccessibleCellBase, ScAccessiblePageHeader, ScAccessiblePreviewHeaderCell, and ScAccessiblePreviewTable.

Definition at line 245 of file AccessibleContextBase.cxx.

References i, IsObjectValid(), mxParent, and nIndex.

◆ getAccessibleName()

OUString SAL_CALL ScAccessibleContextBase::getAccessibleName ( )
overridevirtual

Return the object's current name.

Reimplemented in ScAccessibleDocument, and ScAccessibleDocumentPagePreview.

Definition at line 306 of file AccessibleContextBase.cxx.

References aEvent, CommitChange(), createAccessibleName(), IsObjectValid(), msName, and sName.

Referenced by ScAccessiblePreviewHeaderCell::CreateTextHelper().

◆ getAccessibleParent()

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

◆ getAccessibleRelationSet()

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

Return NULL to indicate that an empty relation set.

Reimplemented in ScAccessibleCell, ScAccessibleEditObject, ScAccessibleEditControlObject, ScAccessibleSpreadsheet, and ScAccessibleTableBase.

Definition at line 332 of file AccessibleContextBase.cxx.

◆ getAccessibleRole()

sal_Int16 SAL_CALL ScAccessibleContextBase::getAccessibleRole ( )
overridevirtual

Return this object's role.

Definition at line 275 of file AccessibleContextBase.cxx.

References maRole.

◆ getAccessibleStateSet()

sal_Int64 SAL_CALL ScAccessibleContextBase::getAccessibleStateSet ( )
overridevirtual

◆ getBackground()

sal_Int32 SAL_CALL ScAccessibleContextBase::getBackground ( )
overridevirtual

◆ GetBoundingBox()

tools::Rectangle ScAccessibleContextBase::GetBoundingBox ( ) const
protectedvirtual

◆ GetBoundingBoxOnScreen()

tools::Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen ( ) const
protectedvirtual

◆ getBounds()

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

Definition at line 157 of file AccessibleContextBase.cxx.

References AWTRectangle(), GetBoundingBox(), and IsObjectValid().

Referenced by isShowing().

◆ getForeground()

sal_Int32 SAL_CALL ScAccessibleContextBase::getForeground ( )
overridevirtual

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL ScAccessibleContextBase::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL ScAccessibleContextBase::getImplementationName ( )
overridevirtual

===== XServiceInfo ====================================================

Returns an identifier for the implementation of this object.

Reimplemented in ScAccessibleCell, ScAccessibleCellBase, ScAccessibleDocument, ScAccessibleDocumentPagePreview, ScAccessibleEditObject, ScAccessiblePageHeader, ScAccessiblePageHeaderArea, ScAccessiblePreviewCell, ScAccessiblePreviewHeaderCell, ScAccessiblePreviewTable, ScAccessibleSpreadsheet, and ScAccessibleTableBase.

Definition at line 418 of file AccessibleContextBase.cxx.

◆ getLocale()

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

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

Definition at line 343 of file AccessibleContextBase.cxx.

References IsObjectValid(), and mxParent.

◆ getLocation()

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

Definition at line 164 of file AccessibleContextBase.cxx.

References AWTPoint(), GetBoundingBox(), IsObjectValid(), and TopLeft.

◆ getLocationOnScreen()

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

◆ getSize()

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

Definition at line 178 of file AccessibleContextBase.cxx.

References AWTSize(), GetBoundingBox(), and IsObjectValid().

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScAccessibleContextBase::getSupportedServiceNames ( )
overridevirtual

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL ScAccessibleContextBase::getTypes ( )
overridevirtual

◆ grabFocus()

void SAL_CALL ScAccessibleContextBase::grabFocus ( )
overridevirtual

◆ Init()

void ScAccessibleContextBase::Init ( void  )
virtual

Reimplemented in ScAccessibleCell, and ScAccessibleDocument.

Definition at line 61 of file AccessibleContextBase.cxx.

References mxParent.

Referenced by ScAccessibleCell::Init().

◆ IsDefunc()

bool ScAccessibleContextBase::IsDefunc ( ) const
inlineprotected

◆ IsObjectValid()

void ScAccessibleContextBase::IsObjectValid ( ) const
protected
Exceptions
css::lang::DisposedException

Definition at line 501 of file AccessibleContextBase.cxx.

Referenced by addAccessibleEventListener(), ScAccessibleSpreadsheet::addAccessibleEventListener(), ScAccessibleDocument::clearAccessibleSelection(), ScAccessibleSpreadsheet::clearAccessibleSelection(), containsPoint(), ScAccessibleDocument::createAccessibleName(), ScAccessibleDocument::deselectAccessibleChild(), ScAccessibleSpreadsheet::deselectAccessibleChild(), ScAccessiblePageHeader::getAccessibleAtPoint(), ScAccessiblePreviewCell::getAccessibleAtPoint(), ScAccessiblePreviewHeaderCell::getAccessibleAtPoint(), ScAccessiblePreviewTable::getAccessibleAtPoint(), ScAccessibleDocument::getAccessibleAtPoint(), ScAccessibleDocumentPagePreview::getAccessibleAtPoint(), ScAccessibleEditObject::getAccessibleAtPoint(), ScAccessiblePageHeaderArea::getAccessibleAtPoint(), ScAccessibleSpreadsheet::getAccessibleAtPoint(), ScAccessiblePreviewTable::getAccessibleCellAt(), ScAccessibleSpreadsheet::getAccessibleCellAt(), ScAccessiblePageHeader::getAccessibleChild(), ScAccessiblePreviewCell::getAccessibleChild(), ScAccessiblePreviewHeaderCell::getAccessibleChild(), ScAccessiblePreviewTable::getAccessibleChild(), ScAccessibleDocument::getAccessibleChild(), ScAccessibleDocumentPagePreview::getAccessibleChild(), ScAccessibleEditObject::getAccessibleChild(), ScAccessiblePageHeaderArea::getAccessibleChild(), ScAccessibleTableBase::getAccessibleChild(), ScAccessibleDocument::getAccessibleChildCount(), ScAccessibleDocumentPagePreview::getAccessibleChildCount(), ScAccessibleEditObject::getAccessibleChildCount(), ScAccessiblePageHeader::getAccessibleChildCount(), ScAccessiblePageHeaderArea::getAccessibleChildCount(), ScAccessiblePreviewCell::getAccessibleChildCount(), ScAccessiblePreviewHeaderCell::getAccessibleChildCount(), ScAccessiblePreviewTable::getAccessibleChildCount(), ScAccessibleTableBase::getAccessibleChildCount(), ScAccessiblePreviewTable::getAccessibleColumn(), ScAccessibleTableBase::getAccessibleColumn(), ScAccessiblePreviewTable::getAccessibleColumnCount(), ScAccessibleTableBase::getAccessibleColumnCount(), ScAccessiblePreviewTable::getAccessibleColumnExtentAt(), ScAccessibleTableBase::getAccessibleColumnExtentAt(), ScAccessibleSpreadsheet::getAccessibleColumnHeaders(), getAccessibleDescription(), ScAccessiblePreviewTable::getAccessibleIndex(), ScAccessibleTableBase::getAccessibleIndex(), ScAccessibleCellBase::getAccessibleIndexInParent(), getAccessibleIndexInParent(), getAccessibleName(), ScAccessibleCell::getAccessibleRelationSet(), ScAccessiblePreviewTable::getAccessibleRow(), ScAccessibleTableBase::getAccessibleRow(), ScAccessiblePreviewTable::getAccessibleRowCount(), ScAccessibleTableBase::getAccessibleRowCount(), ScAccessiblePreviewTable::getAccessibleRowExtentAt(), ScAccessibleTableBase::getAccessibleRowExtentAt(), ScAccessibleSpreadsheet::getAccessibleRowHeaders(), ScAccessibleCellBase::getBackground(), ScAccessibleDocument::getBackground(), ScAccessibleSpreadsheet::getBackground(), ScAccessibleCellBase::getBorderAttrs(), getBounds(), ScAccessibleCellBase::getCurrentValue(), ScAccessiblePreviewHeaderCell::getCurrentValue(), ScAccessibleCellBase::getForeground(), getLocale(), getLocation(), getLocationOnScreen(), ScAccessiblePreviewHeaderCell::getMaximumValue(), ScAccessibleCellBase::GetNote(), ScAccessibleDocument::getSelectedAccessibleChild(), ScAccessibleSpreadsheet::getSelectedAccessibleChild(), ScAccessibleDocument::getSelectedAccessibleChildCount(), ScAccessibleSpreadsheet::getSelectedAccessibleChildCount(), ScAccessibleSpreadsheet::getSelectedAccessibleColumns(), ScAccessibleSpreadsheet::getSelectedAccessibleRows(), ScAccessibleCellBase::getShadowAttrs(), getSize(), ScAccessibleDocument::GetVisibleArea(), ScAccessibleCell::grabFocus(), ScAccessibleDocument::grabFocus(), ScAccessibleDocumentPagePreview::grabFocus(), ScAccessiblePageHeader::grabFocus(), ScAccessiblePreviewCell::grabFocus(), ScAccessiblePreviewHeaderCell::grabFocus(), ScAccessiblePreviewTable::grabFocus(), ScAccessibleDocument::isAccessibleChildSelected(), ScAccessibleSpreadsheet::isAccessibleColumnSelected(), ScAccessibleSpreadsheet::isAccessibleRowSelected(), ScAccessiblePreviewTable::isAccessibleSelected(), ScAccessibleSpreadsheet::isAccessibleSelected(), isShowing(), ScAccessibleCellBase::isVisible(), ScAccessibleDocument::LogicToPixel(), ScAccessibleDocument::selectAccessibleChild(), ScAccessibleSpreadsheet::selectAccessibleChild(), ScAccessibleDocument::selectAllAccessibleChildren(), ScAccessibleSpreadsheet::selectAllAccessibleChildren(), and ScAccessibleCellBase::setCurrentValue().

◆ isShowing()

bool ScAccessibleContextBase::isShowing ( )

◆ isVisible()

bool ScAccessibleContextBase::isVisible ( )
virtual

◆ Notify()

void ScAccessibleContextBase::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

◆ notifyEvent()

void SAL_CALL ScAccessibleContextBase::notifyEvent ( const css::accessibility::AccessibleEventObject &  aEvent)
overridevirtual

Definition at line 412 of file AccessibleContextBase.cxx.

◆ queryInterface()

uno::Any SAL_CALL ScAccessibleContextBase::queryInterface ( css::uno::Type const &  rType)
overridevirtual

◆ release()

void SAL_CALL ScAccessibleContextBase::release ( )
overridevirtualnoexcept

◆ removeAccessibleEventListener()

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

◆ SetDescription()

void ScAccessibleContextBase::SetDescription ( const OUString &  rDesc)
inline

Use this method to set initial Description without notification.

Definition at line 246 of file AccessibleContextBase.hxx.

References msDescription.

Referenced by ScAccessibleEditObject::InitAcc().

◆ SetName()

void ScAccessibleContextBase::SetName ( const OUString &  rName)
inline

Use this method to set initial Name without notification.

Definition at line 243 of file AccessibleContextBase.hxx.

References msName.

Referenced by ScAccessibleEditObject::InitAcc().

◆ SetParent()

void ScAccessibleContextBase::SetParent ( const css::uno::Reference< css::accessibility::XAccessible > &  rParent)
inline

Definition at line 248 of file AccessibleContextBase.hxx.

References mxParent.

Referenced by ScAccessibleEditObject::InitAcc().

◆ supportsService()

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

Return whether the specified service is supported by this class.

Definition at line 423 of file AccessibleContextBase.cxx.

References sServiceName, and cppu::supportsService().

Member Data Documentation

◆ maRole

sal_Int16 ScAccessibleContextBase::maRole
private

This is the role of this object.

Definition at line 282 of file AccessibleContextBase.hxx.

Referenced by getAccessibleRole().

◆ mnClientId

sal_uInt32 ScAccessibleContextBase::mnClientId
private

client id in the AccessibleEventNotifier queue

Definition at line 278 of file AccessibleContextBase.hxx.

Referenced by addAccessibleEventListener(), CommitChange(), disposing(), and removeAccessibleEventListener().

◆ msDescription

OUString ScAccessibleContextBase::msDescription
private

Description of this object.

This is not a constant because it can be set from the outside. Furthermore, it changes according to the draw page's display mode.

Definition at line 270 of file AccessibleContextBase.hxx.

Referenced by getAccessibleDescription(), and SetDescription().

◆ msName

OUString ScAccessibleContextBase::msName
private

Name of this object.

It changes according the draw page's display mode.

Definition at line 275 of file AccessibleContextBase.hxx.

Referenced by getAccessibleName(), and SetName().

◆ mxParent

css::uno::Reference<css::accessibility::XAccessible> ScAccessibleContextBase::mxParent
protected

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