LibreOffice Module winaccessibility (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CAccComponentBase Class Reference

#include <AccComponentBase.h>

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

Public Member Functions

 CAccComponentBase ()
 
virtual ~CAccComponentBase ()
 
STDMETHOD() get_locationInParent (long *x, long *y)
 Returns the location of the upper left corner of the object's bounding box relative to the parent. More...
 
STDMETHOD() get_locationOnScreen (long *x, long *y)
 Returns the location of the upper left corner of the object's bounding box in screen. More...
 
STDMETHOD() grabFocus (boolean *success)
 Grabs the focus to this object. More...
 
STDMETHOD() get_foreground (IA2Color *foreground)
 Returns the foreground color of this object. More...
 
STDMETHOD() get_background (IA2Color *background)
 Returns the background color of this object. More...
 
STDMETHOD() put_XInterface (hyper pXInterface) override
 Override of IUNOXWrapper. More...
 
- Public Member Functions inherited from CUNOXWrapper
 CUNOXWrapper ()
 
STDMETHOD() put_XInterface (hyper pXInterface) override
 
STDMETHOD() put_XSubInterface (hyper) override
 
HRESULT put_XInterface (hyper pXInterface)
 
HRESULT put_XSubInterface (hyper pXSubInterface)
 

Protected Member Functions

css::accessibility::XAccessibleComponent * GetXInterface ()
 
- Protected Member Functions inherited from CUNOXWrapper
 ~CUNOXWrapper ()
 

Protected Attributes

css::uno::Reference< css::accessibility::XAccessibleComponent > pRXComp
 
- Protected Attributes inherited from CUNOXWrapper
css::accessibility::XAccessible * pUNOInterface
 

Detailed Description

Definition at line 28 of file AccComponentBase.h.

Constructor & Destructor Documentation

◆ CAccComponentBase()

CAccComponentBase::CAccComponentBase ( )

Definition at line 32 of file AccComponentBase.cxx.

◆ ~CAccComponentBase()

CAccComponentBase::~CAccComponentBase ( )
virtual

Definition at line 34 of file AccComponentBase.cxx.

Member Function Documentation

◆ get_background()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_background ( IA2Color background)

Returns the background color of this object.

Parameters
Colorthe color of background.

Definition at line 157 of file AccComponentBase.cxx.

References GetXInterface(), and pRXComp.

Referenced by CAccComponent::get_background().

◆ get_foreground()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_foreground ( IA2Color foreground)

Returns the foreground color of this object.

Parameters
Colorthe color of foreground.

Definition at line 129 of file AccComponentBase.cxx.

References GetXInterface(), and pRXComp.

Referenced by CAccComponent::get_foreground().

◆ get_locationInParent()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_locationInParent ( long *  x,
long *  y 
)

Returns the location of the upper left corner of the object's bounding box relative to the parent.

Parameters
Locationthe upper left corner of the object's bounding box.

Definition at line 42 of file AccComponentBase.cxx.

References GetXInterface(), pRXComp, pt, x, and y.

Referenced by CAccComponent::get_locationInParent().

◆ get_locationOnScreen()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_locationOnScreen ( long *  x,
long *  y 
)

Returns the location of the upper left corner of the object's bounding box in screen.

Parameters
Locationthe upper left corner of the object's bounding box in screen coordinates.

Definition at line 72 of file AccComponentBase.cxx.

References GetXInterface(), pRXComp, pt, x, and y.

◆ GetXInterface()

css::accessibility::XAccessibleComponent * CAccComponentBase::GetXInterface ( )
inlineprotected

◆ grabFocus()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::grabFocus ( boolean *  success)

Grabs the focus to this object.

Parameters
successthe boolean result to be returned.

Definition at line 100 of file AccComponentBase.cxx.

References GetXInterface(), pRXComp, and TRUE.

◆ put_XInterface()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::put_XInterface ( hyper  pXInterface)
override

Override of IUNOXWrapper.

Parameters
pXInterfacethe pointer of UNO interface.

Implements IUNOXWrapper.

Definition at line 185 of file AccComponentBase.cxx.

References pRXComp, CUNOXWrapper::pUNOInterface, and CUNOXWrapper::put_XInterface().

Member Data Documentation

◆ pRXComp

css::uno::Reference<css::accessibility::XAccessibleComponent> CAccComponentBase::pRXComp
protected

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