LibreOffice Module svx (master)
1
|
#include <svxrectctaccessiblecontext.hxx>
Public Member Functions | |
SvxRectCtlAccessibleContext (SvxRectCtl *pRepresentation) | |
virtual void SAL_CALL | grabFocus () override |
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const css::awt::Point &rPoint) 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_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 css::uno::Reference< css::accessibility::XAccessibleStateSet > 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 |
void | selectChild (RectPoint ePoint) |
Selects a new child by point. More... | |
void | FireChildFocus (RectPoint eButton) |
![]() | |
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 |
Private Member Functions | |
virtual | ~SvxRectCtlAccessibleContext () override |
virtual bool | implIsSelected (sal_Int32 nAccessibleChildIndex) override |
virtual void | implSelect (sal_Int32 nAccessibleChildIndex, bool bSelect) override |
virtual css::awt::Rectangle | implGetBounds () override |
virtual void SAL_CALL | disposing () override |
void | checkChildIndex (tools::Long nIndex) |
void | selectChild (tools::Long nIndexOfChild) |
Selects a new child by index. More... | |
Private Attributes | |
OUString | msDescription |
Description of this object. More... | |
OUString | msName |
Name of this object. More... | |
SvxRectCtl * | mpRepr |
pointer to internal representation More... | |
std::vector< rtl::Reference< SvxRectCtlChildAccessibleContext > > | mvChildren |
array for all possible children More... | |
tools::Long | mnSelectedChild |
actual selected child More... | |
Additional Inherited Members | |
![]() | |
~ImplHelper1 () SAL_NOEXCEPT | |
Definition at line 48 of file svxrectctaccessiblecontext.hxx.
SvxRectCtlAccessibleContext::SvxRectCtlAccessibleContext | ( | SvxRectCtl * | pRepresentation | ) |
Definition at line 97 of file svxrectctaccessiblecontext.cxx.
References MAX_NUM_OF_CHILDREN, msDescription, msName, mvChildren, and SvxResId().
|
overrideprivatevirtual |
Definition at line 110 of file svxrectctaccessiblecontext.cxx.
|
private |
Definition at line 301 of file svxrectctaccessiblecontext.cxx.
References getAccessibleChildCount().
Referenced by getAccessibleChild(), implIsSelected(), and implSelect().
|
overrideprivatevirtual |
Definition at line 368 of file svxrectctaccessiblecontext.cxx.
References m_aMutex, mpRepr, and mvChildren.
Definition at line 307 of file svxrectctaccessiblecontext.cxx.
References Any, getAccessibleChildCount(), m_aMutex, mnSelectedChild, mvChildren, NOCHILDSELECTED, and PointToIndex().
|
overridevirtual |
Definition at line 118 of file svxrectctaccessiblecontext.cxx.
References m_aMutex, NOCHILDSELECTED, and PointToIndex().
|
overridevirtual |
Definition at line 140 of file svxrectctaccessiblecontext.cxx.
References aName, SvxRectCtl::CalculateFocusRectangle(), checkChildIndex(), IndexToPoint(), m_aMutex, mnSelectedChild, mpRepr, mvChildren, p, and SvxResId().
|
overridevirtual |
Definition at line 133 of file svxrectctaccessiblecontext.cxx.
References m_aMutex, and SvxRectCtl::NO_CHILDREN.
Referenced by checkChildIndex(), FireChildFocus(), and selectChild().
|
inlineoverridevirtual |
Definition at line 73 of file svxrectctaccessiblecontext.hxx.
|
overridevirtual |
Definition at line 188 of file svxrectctaccessiblecontext.cxx.
References m_aMutex, and msDescription.
|
overridevirtual |
Definition at line 194 of file svxrectctaccessiblecontext.cxx.
|
overridevirtual |
Definition at line 175 of file svxrectctaccessiblecontext.cxx.
References SvxRectCtl::getAccessibleParent(), m_aMutex, and mpRepr.
|
overridevirtual |
Return empty reference to indicate that the relation set is not supported.
Definition at line 203 of file svxrectctaccessiblecontext.cxx.
References SvxRectCtl::get_accessible_relation_set(), m_aMutex, and mpRepr.
|
overridevirtual |
Definition at line 183 of file svxrectctaccessiblecontext.cxx.
|
overridevirtual |
Definition at line 211 of file svxrectctaccessiblecontext.cxx.
References weld::CustomWidgetController::HasFocus(), weld::CustomWidgetController::IsVisible(), m_aMutex, and mpRepr.
|
overridevirtual |
Definition at line 254 of file svxrectctaccessiblecontext.cxx.
References StyleSettings::GetDialogColor(), Application::GetSettings(), AllSettings::GetStyleSettings(), and m_aMutex.
|
overridevirtual |
Definition at line 244 of file svxrectctaccessiblecontext.cxx.
References StyleSettings::GetLabelTextColor(), Application::GetSettings(), AllSettings::GetStyleSettings(), and m_aMutex.
|
overridevirtual |
Definition at line 235 of file svxrectctaccessiblecontext.cxx.
References weld::CustomWidgetController::GrabFocus(), m_aMutex, and mpRepr.
|
overrideprivatevirtual |
Definition at line 381 of file svxrectctaccessiblecontext.cxx.
References weld::CustomWidgetController::GetOutputSizePixel(), m_aMutex, mpRepr, Point, and Size::Width().
|
overrideprivatevirtual |
Definition at line 291 of file svxrectctaccessiblecontext.cxx.
References checkChildIndex(), m_aMutex, and mnSelectedChild.
|
overrideprivatevirtual |
Definition at line 265 of file svxrectctaccessiblecontext.cxx.
References checkChildIndex(), DBG_ASSERT, IndexToPoint(), m_aMutex, mpRepr, pData, SAL_WARN, and SvxRectCtl::SetActualRP().
Selects a new child by point.
If the child was not selected before, the state of the child will be updated. If the point is not invalid, the index will internally set to NOCHILDSELECTED
eButton | Button which belongs to the child which should be selected. |
Definition at line 362 of file svxrectctaccessiblecontext.cxx.
References PointToIndex().
|
private |
Selects a new child by index.
If the child was not selected before, the state of the child will be updated. If the index is invalid, the index will internally set to NOCHILDSELECTED
nIndexOfChild | Index of the new child which should be selected. |
Definition at line 333 of file svxrectctaccessiblecontext.cxx.
References getAccessibleChildCount(), m_aMutex, mnSelectedChild, mvChildren, NOCHILDSELECTED, and SvxRectCtlChildAccessibleContext::setStateChecked().
|
private |
actual selected child
Definition at line 131 of file svxrectctaccessiblecontext.hxx.
Referenced by FireChildFocus(), getAccessibleChild(), implIsSelected(), and selectChild().
|
private |
pointer to internal representation
Definition at line 125 of file svxrectctaccessiblecontext.hxx.
Referenced by disposing(), getAccessibleChild(), getAccessibleParent(), getAccessibleRelationSet(), getAccessibleStateSet(), grabFocus(), implGetBounds(), and implSelect().
|
private |
Description of this object.
This is not a constant because it can be set from the outside.
Definition at line 118 of file svxrectctaccessiblecontext.hxx.
Referenced by getAccessibleDescription(), and SvxRectCtlAccessibleContext().
|
private |
Name of this object.
Definition at line 122 of file svxrectctaccessiblecontext.hxx.
Referenced by getAccessibleName(), and SvxRectCtlAccessibleContext().
|
private |
array for all possible children
Definition at line 128 of file svxrectctaccessiblecontext.hxx.
Referenced by disposing(), FireChildFocus(), getAccessibleChild(), selectChild(), and SvxRectCtlAccessibleContext().