LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::AccessibleTextHelper Class Referencefinal

#include <AccessibleTextHelper.hxx>

Inheritance diagram for chart::AccessibleTextHelper:
[legend]
Collaboration diagram for chart::AccessibleTextHelper:
[legend]

Public Member Functions

 AccessibleTextHelper (DrawViewWrapper *pDrawViewWrapper)
 
virtual ~AccessibleTextHelper () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 Must be called at least once for this helper class to work. More...
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 i) override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 
virtual sal_Int64 SAL_CALL getAccessibleIndexInParent () 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
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 
virtual css::lang::Locale SAL_CALL getLocale () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Attributes

std::unique_ptr<::accessibility::AccessibleTextHelperm_pTextHelper
 
DrawViewWrapperm_pDrawViewWrapper
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 45 of file AccessibleTextHelper.hxx.

Constructor & Destructor Documentation

◆ AccessibleTextHelper()

chart::AccessibleTextHelper::AccessibleTextHelper ( DrawViewWrapper pDrawViewWrapper)
explicit

Definition at line 47 of file AccessibleTextHelper.cxx.

◆ ~AccessibleTextHelper()

chart::AccessibleTextHelper::~AccessibleTextHelper ( )
overridevirtual

Definition at line 52 of file AccessibleTextHelper.cxx.

Member Function Documentation

◆ getAccessibleChild()

Reference< XAccessible > SAL_CALL chart::AccessibleTextHelper::getAccessibleChild ( sal_Int64  i)
overridevirtual

Definition at line 108 of file AccessibleTextHelper.cxx.

References i, and m_pTextHelper.

◆ getAccessibleChildCount()

sal_Int64 SAL_CALL chart::AccessibleTextHelper::getAccessibleChildCount ( )
overridevirtual

Definition at line 98 of file AccessibleTextHelper.cxx.

References m_pTextHelper.

◆ getAccessibleDescription()

OUString SAL_CALL chart::AccessibleTextHelper::getAccessibleDescription ( )
overridevirtual

Definition at line 136 of file AccessibleTextHelper.cxx.

◆ getAccessibleIndexInParent()

sal_Int64 SAL_CALL chart::AccessibleTextHelper::getAccessibleIndexInParent ( )
overridevirtual

Definition at line 124 of file AccessibleTextHelper.cxx.

◆ getAccessibleName()

OUString SAL_CALL chart::AccessibleTextHelper::getAccessibleName ( )
overridevirtual

Definition at line 142 of file AccessibleTextHelper.cxx.

◆ getAccessibleParent()

Reference< XAccessible > SAL_CALL chart::AccessibleTextHelper::getAccessibleParent ( )
overridevirtual

Definition at line 118 of file AccessibleTextHelper.cxx.

◆ getAccessibleRelationSet()

Reference< XAccessibleRelationSet > SAL_CALL chart::AccessibleTextHelper::getAccessibleRelationSet ( )
overridevirtual

Definition at line 148 of file AccessibleTextHelper.cxx.

◆ getAccessibleRole()

sal_Int16 SAL_CALL chart::AccessibleTextHelper::getAccessibleRole ( )
override

Definition at line 130 of file AccessibleTextHelper.cxx.

◆ getAccessibleStateSet()

sal_Int64 SAL_CALL chart::AccessibleTextHelper::getAccessibleStateSet ( )
overridevirtual

Definition at line 154 of file AccessibleTextHelper.cxx.

◆ getLocale()

lang::Locale SAL_CALL chart::AccessibleTextHelper::getLocale ( )
overridevirtual

Definition at line 160 of file AccessibleTextHelper.cxx.

◆ initialize()

void SAL_CALL chart::AccessibleTextHelper::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

Must be called at least once for this helper class to work.

mandatory parameter 0: type string. This is the CID that is used to find the corresponding drawing object that contains the text that should be handled by this helper class. 1 mandatory parameter 1: type XAccessible. Is used as EventSource for the accessibility::AccessibleTextHelper (svx)

mandatory parameter 2: type awt::XWindow. The Window that shows the text currently.

Definition at line 57 of file AccessibleTextHelper.cxx.

References aArguments, chart::DrawViewWrapper::getNamedSdrObject(), VCLUnoHelper::GetWindow(), m_pDrawViewWrapper, and m_pTextHelper.

Member Data Documentation

◆ m_pDrawViewWrapper

DrawViewWrapper* chart::AccessibleTextHelper::m_pDrawViewWrapper
private

Definition at line 83 of file AccessibleTextHelper.hxx.

Referenced by initialize().

◆ m_pTextHelper

std::unique_ptr<::accessibility::AccessibleTextHelper> chart::AccessibleTextHelper::m_pTextHelper
private

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