LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxRectCtlChildAccessibleContext Class Referencefinal

#include <svxrectctaccessiblecontext.hxx>

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

Public Member Functions

 SvxRectCtlChildAccessibleContext (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, OUString aName, OUString aDescription, const tools::Rectangle &rBoundingBox, tools::Long nIndexInParent)
 
virtual void SAL_CALL grabFocus () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) 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::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 
virtual OUString SAL_CALL getAccessibleDescription () override
 
virtual OUString SAL_CALL getAccessibleName () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 Return empty reference to indicate that the relation set is not supported. More...
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () 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
 
virtual css::uno::Any SAL_CALL getMinimumIncrement () override
 
virtual sal_Int32 SAL_CALL getAccessibleActionCount () override
 
virtual sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex) override
 
virtual OUString SAL_CALL getAccessibleActionDescription (sal_Int32 nIndex) override
 
virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding (sal_Int32 nIndex) override
 
void setStateChecked (bool bChecked)
 Sets the checked status. More...
 
void FireFocusEvent ()
 

Private Member Functions

virtual ~SvxRectCtlChildAccessibleContext () override
 
virtual void SAL_CALL disposing () override
 
virtual css::awt::Rectangle implGetBounds () override
 implements the calculation of the bounding rectangle More...
 

Private Attributes

OUString msDescription
 Description of this object. More...
 
OUString msName
 Name of this object. More...
 
css::uno::Reference< css::accessibility::XAccessible > mxParent
 Reference to the parent object. More...
 
tools::Rectangle maBoundingBox
 Bounding box. More...
 
tools::Long mnIndexInParent
 index of child in parent More...
 
bool mbIsChecked
 Indicates, if object is checked. More...
 

Detailed Description

Definition at line 130 of file svxrectctaccessiblecontext.hxx.

Constructor & Destructor Documentation

◆ SvxRectCtlChildAccessibleContext()

SvxRectCtlChildAccessibleContext::SvxRectCtlChildAccessibleContext ( const css::uno::Reference< css::accessibility::XAccessible > &  rxParent,
OUString  aName,
OUString  aDescription,
const tools::Rectangle rBoundingBox,
tools::Long  nIndexInParent 
)

Definition at line 397 of file svxrectctaccessiblecontext.cxx.

References aName, and mxParent.

◆ ~SvxRectCtlChildAccessibleContext()

SvxRectCtlChildAccessibleContext::~SvxRectCtlChildAccessibleContext ( )
overrideprivatevirtual

Definition at line 412 of file svxrectctaccessiblecontext.cxx.

Member Function Documentation

◆ disposing()

void SAL_CALL SvxRectCtlChildAccessibleContext::disposing ( )
overrideprivatevirtual

Definition at line 599 of file svxrectctaccessiblecontext.cxx.

References mxParent.

◆ doAccessibleAction()

sal_Bool SvxRectCtlChildAccessibleContext::doAccessibleAction ( sal_Int32  nIndex)
overridevirtual

◆ FireFocusEvent()

void SvxRectCtlChildAccessibleContext::FireFocusEvent ( )

Definition at line 631 of file svxrectctaccessiblecontext.cxx.

References Any.

◆ getAccessibleActionCount()

sal_Int32 SvxRectCtlChildAccessibleContext::getAccessibleActionCount ( )
overridevirtual

◆ getAccessibleActionDescription()

OUString SvxRectCtlChildAccessibleContext::getAccessibleActionDescription ( sal_Int32  nIndex)
overridevirtual

Definition at line 578 of file svxrectctaccessiblecontext.cxx.

References getAccessibleActionCount(), and m_aMutex.

◆ getAccessibleActionKeyBinding()

Reference< XAccessibleKeyBinding > SvxRectCtlChildAccessibleContext::getAccessibleActionKeyBinding ( sal_Int32  nIndex)
overridevirtual

Definition at line 589 of file svxrectctaccessiblecontext.cxx.

References getAccessibleActionCount(), and m_aMutex.

◆ getAccessibleAtPoint()

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

Definition at line 417 of file svxrectctaccessiblecontext.cxx.

◆ getAccessibleChild()

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

Definition at line 452 of file svxrectctaccessiblecontext.cxx.

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleChildCount ( )
overridevirtual

Definition at line 447 of file svxrectctaccessiblecontext.cxx.

◆ getAccessibleContext()

virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleContext ( )
inlineoverridevirtual

Definition at line 157 of file svxrectctaccessiblecontext.hxx.

◆ getAccessibleDescription()

OUString SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleDescription ( )
overridevirtual

Definition at line 467 of file svxrectctaccessiblecontext.cxx.

References m_aMutex, and msDescription.

◆ getAccessibleName()

OUString SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleName ( )
overridevirtual

Definition at line 473 of file svxrectctaccessiblecontext.cxx.

References m_aMutex, and msName.

◆ getAccessibleParent()

Reference< XAccessible > SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleParent ( )
overridevirtual

Definition at line 457 of file svxrectctaccessiblecontext.cxx.

References mxParent.

◆ getAccessibleRelationSet()

Reference< XAccessibleRelationSet > SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleRelationSet ( )
overridevirtual

Return empty reference to indicate that the relation set is not supported.

Definition at line 482 of file svxrectctaccessiblecontext.cxx.

References mxParent.

◆ getAccessibleRole()

sal_Int16 SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleRole ( )
overridevirtual

Definition at line 462 of file svxrectctaccessiblecontext.cxx.

◆ getAccessibleStateSet()

sal_Int64 SAL_CALL SvxRectCtlChildAccessibleContext::getAccessibleStateSet ( )
overridevirtual

Definition at line 494 of file svxrectctaccessiblecontext.cxx.

References m_aMutex, and mbIsChecked.

◆ getBackground()

sal_Int32 SvxRectCtlChildAccessibleContext::getBackground ( )
overridevirtual

◆ getCurrentValue()

Any SAL_CALL SvxRectCtlChildAccessibleContext::getCurrentValue ( )
overridevirtual

Definition at line 520 of file svxrectctaccessiblecontext.cxx.

References Any, and mbIsChecked.

◆ getForeground()

sal_Int32 SvxRectCtlChildAccessibleContext::getForeground ( )
overridevirtual

◆ getMaximumValue()

Any SAL_CALL SvxRectCtlChildAccessibleContext::getMaximumValue ( )
overridevirtual

Definition at line 532 of file svxrectctaccessiblecontext.cxx.

References Any.

◆ getMinimumIncrement()

Any SAL_CALL SvxRectCtlChildAccessibleContext::getMinimumIncrement ( )
overridevirtual

Definition at line 546 of file svxrectctaccessiblecontext.cxx.

References Any.

◆ getMinimumValue()

Any SAL_CALL SvxRectCtlChildAccessibleContext::getMinimumValue ( )
overridevirtual

Definition at line 539 of file svxrectctaccessiblecontext.cxx.

References Any.

◆ grabFocus()

void SAL_CALL SvxRectCtlChildAccessibleContext::grabFocus ( )
overridevirtual

Definition at line 422 of file svxrectctaccessiblecontext.cxx.

◆ implGetBounds()

awt::Rectangle SvxRectCtlChildAccessibleContext::implGetBounds ( )
overrideprivatevirtual

implements the calculation of the bounding rectangle

Definition at line 605 of file svxrectctaccessiblecontext.cxx.

References AWTRectangle(), and maBoundingBox.

◆ setCurrentValue()

sal_Bool SAL_CALL SvxRectCtlChildAccessibleContext::setCurrentValue ( const css::uno::Any &  aNumber)
overridevirtual

Definition at line 527 of file svxrectctaccessiblecontext.cxx.

◆ setStateChecked()

void SvxRectCtlChildAccessibleContext::setStateChecked ( bool  bChecked)

Sets the checked status.

Definition at line 611 of file svxrectctaccessiblecontext.cxx.

References Any, and mbIsChecked.

Referenced by SvxRectCtlAccessibleContext::selectChild().

Member Data Documentation

◆ maBoundingBox

tools::Rectangle SvxRectCtlChildAccessibleContext::maBoundingBox
private

Bounding box.

Definition at line 214 of file svxrectctaccessiblecontext.hxx.

Referenced by implGetBounds().

◆ mbIsChecked

bool SvxRectCtlChildAccessibleContext::mbIsChecked
private

Indicates, if object is checked.

Definition at line 220 of file svxrectctaccessiblecontext.hxx.

Referenced by getAccessibleStateSet(), getCurrentValue(), and setStateChecked().

◆ mnIndexInParent

tools::Long SvxRectCtlChildAccessibleContext::mnIndexInParent
private

index of child in parent

Definition at line 217 of file svxrectctaccessiblecontext.hxx.

Referenced by doAccessibleAction().

◆ msDescription

OUString SvxRectCtlChildAccessibleContext::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 202 of file svxrectctaccessiblecontext.hxx.

Referenced by getAccessibleDescription().

◆ msName

OUString SvxRectCtlChildAccessibleContext::msName
private

Name of this object.

It changes according the draw page's display mode.

Definition at line 207 of file svxrectctaccessiblecontext.hxx.

Referenced by getAccessibleName().

◆ mxParent

css::uno::Reference< css::accessibility::XAccessible > SvxRectCtlChildAccessibleContext::mxParent
private

Reference to the parent object.

Definition at line 211 of file svxrectctaccessiblecontext.hxx.

Referenced by disposing(), doAccessibleAction(), getAccessibleParent(), and getAccessibleRelationSet().


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