LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
WeldEditAccessible Class Reference
Inheritance diagram for WeldEditAccessible:
[legend]
Collaboration diagram for WeldEditAccessible:
[legend]

Public Member Functions

 WeldEditAccessible (weld::CustomWidgetController *pController)
 
::accessibility::AccessibleTextHelperGetTextHelper ()
 
void Init (EditEngine *pEditEngine, EditView *pEditView)
 
EditEngineGetEditEngine ()
 
EditViewGetEditView ()
 
void ClearWin ()
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &rPoint) override
 
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
 
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
 
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rListener) override
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &rListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Attributes

weld::CustomWidgetControllerm_pController
 
EditEnginem_pEditEngine
 
EditViewm_pEditView
 
std::unique_ptr<::accessibility::AccessibleTextHelperm_xTextHelper
 

Detailed Description

Definition at line 511 of file weldeditview.cxx.

Constructor & Destructor Documentation

◆ WeldEditAccessible()

WeldEditAccessible::WeldEditAccessible ( weld::CustomWidgetController pController)
inline

Definition at line 519 of file weldeditview.cxx.

Member Function Documentation

◆ addAccessibleEventListener()

virtual void SAL_CALL WeldEditAccessible::addAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  rListener)
inlineoverridevirtual

Definition at line 816 of file weldeditview.cxx.

References m_xTextHelper.

◆ ClearWin()

void WeldEditAccessible::ClearWin ( )
inline

make TextHelper implicitly release C++ references to some core objects

make TextHelper release references (e.g. the one set by the 'SetEventSource' call)

Definition at line 540 of file weldeditview.cxx.

References m_pController, m_pEditEngine, m_pEditView, m_xTextHelper, and EditEngine::SetNotifyHdl().

◆ containsPoint()

virtual sal_Bool SAL_CALL WeldEditAccessible::containsPoint ( const css::awt::Point &  rPoint)
inlineoverridevirtual

the arguments coordinates are relative to the current window ! Thus the top left-point is (0, 0)

Definition at line 567 of file weldeditview.cxx.

References weld::CustomWidgetController::GetOutputSizePixel(), Size::Height(), m_pController, and Size::Width().

◆ getAccessibleAtPoint()

virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL WeldEditAccessible::getAccessibleAtPoint ( const css::awt::Point &  rPoint)
inlineoverridevirtual

Definition at line 580 of file weldeditview.cxx.

References m_xTextHelper.

◆ getAccessibleChild()

virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL WeldEditAccessible::getAccessibleChild ( sal_Int64  i)
inlineoverridevirtual

Definition at line 681 of file weldeditview.cxx.

References i, and m_xTextHelper.

◆ getAccessibleChildCount()

virtual sal_Int64 SAL_CALL WeldEditAccessible::getAccessibleChildCount ( )
inlineoverridevirtual

Definition at line 673 of file weldeditview.cxx.

References m_xTextHelper.

◆ getAccessibleContext()

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

Definition at line 561 of file weldeditview.cxx.

◆ getAccessibleDescription()

virtual OUString SAL_CALL WeldEditAccessible::getAccessibleDescription ( )
inlineoverridevirtual

◆ getAccessibleIndexInParent()

virtual sal_Int64 SAL_CALL WeldEditAccessible::getAccessibleIndexInParent ( )
inlineoverridevirtual

Definition at line 698 of file weldeditview.cxx.

References getAccessibleParent(), m_pController, and TOOLS_WARN_EXCEPTION.

◆ getAccessibleName()

virtual OUString SAL_CALL WeldEditAccessible::getAccessibleName ( )
inlineoverridevirtual

◆ getAccessibleParent()

virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL WeldEditAccessible::getAccessibleParent ( )
inlineoverridevirtual

◆ getAccessibleRelationSet()

virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL WeldEditAccessible::getAccessibleRelationSet ( )
inlineoverridevirtual

◆ getAccessibleRole()

virtual sal_Int16 SAL_CALL WeldEditAccessible::getAccessibleRole ( )
inlineoverridevirtual

Definition at line 737 of file weldeditview.cxx.

◆ getAccessibleStateSet()

virtual sal_Int64 SAL_CALL WeldEditAccessible::getAccessibleStateSet ( )
inlineoverridevirtual

◆ getBackground()

virtual sal_Int32 SAL_CALL WeldEditAccessible::getBackground ( )
inlineoverridevirtual

Definition at line 662 of file weldeditview.cxx.

References EditEngine::GetBackgroundColor(), m_pController, and m_pEditEngine.

◆ getBounds()

virtual css::awt::Rectangle SAL_CALL WeldEditAccessible::getBounds ( )
inlineoverridevirtual

◆ GetEditEngine()

EditEngine * WeldEditAccessible::GetEditEngine ( )
inline

Definition at line 537 of file weldeditview.cxx.

References m_pEditEngine.

◆ GetEditView()

EditView * WeldEditAccessible::GetEditView ( )
inline

Definition at line 538 of file weldeditview.cxx.

References m_pEditView.

◆ getForeground()

virtual sal_Int32 SAL_CALL WeldEditAccessible::getForeground ( )
inlineoverridevirtual

Definition at line 652 of file weldeditview.cxx.

References EditEngine::GetAutoColor(), m_pController, and m_pEditEngine.

◆ getImplementationName()

virtual OUString SAL_CALL WeldEditAccessible::getImplementationName ( )
inlineoverridevirtual

Definition at line 832 of file weldeditview.cxx.

◆ getLocale()

virtual css::lang::Locale SAL_CALL WeldEditAccessible::getLocale ( )
inlineoverridevirtual

◆ getLocation()

virtual css::awt::Point SAL_CALL WeldEditAccessible::getLocation ( )
inlineoverridevirtual

Definition at line 607 of file weldeditview.cxx.

References getBounds(), and m_pController.

◆ getLocationOnScreen()

virtual css::awt::Point SAL_CALL WeldEditAccessible::getLocationOnScreen ( )
inlineoverridevirtual

◆ getSize()

virtual css::awt::Size SAL_CALL WeldEditAccessible::getSize ( )
inlineoverridevirtual

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL WeldEditAccessible::getSupportedServiceNames ( )
inlineoverridevirtual

Definition at line 839 of file weldeditview.cxx.

◆ GetTextHelper()

::accessibility::AccessibleTextHelper * WeldEditAccessible::GetTextHelper ( )
inline

Definition at line 526 of file weldeditview.cxx.

References m_xTextHelper.

◆ grabFocus()

virtual void SAL_CALL WeldEditAccessible::grabFocus ( )
inlineoverridevirtual

Definition at line 650 of file weldeditview.cxx.

References weld::CustomWidgetController::GrabFocus(), and m_pController.

◆ Init()

void WeldEditAccessible::Init ( EditEngine pEditEngine,
EditView pEditView 
)
inline

Definition at line 528 of file weldeditview.cxx.

References m_pEditEngine, m_pEditView, and m_xTextHelper.

◆ removeAccessibleEventListener()

virtual void SAL_CALL WeldEditAccessible::removeAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  rListener)
inlineoverridevirtual

Definition at line 824 of file weldeditview.cxx.

References m_xTextHelper.

◆ supportsService()

virtual sal_Bool SAL_CALL WeldEditAccessible::supportsService ( const OUString &  rServiceName)
inlineoverridevirtual

Definition at line 834 of file weldeditview.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pController

weld::CustomWidgetController* WeldEditAccessible::m_pController
private

◆ m_pEditEngine

EditEngine* WeldEditAccessible::m_pEditEngine
private

◆ m_pEditView

EditView* WeldEditAccessible::m_pEditView
private

Definition at line 515 of file weldeditview.cxx.

Referenced by ClearWin(), GetEditView(), and Init().

◆ m_xTextHelper

std::unique_ptr<::accessibility::AccessibleTextHelper> WeldEditAccessible::m_xTextHelper
private

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