LibreOffice Module winaccessibility (master) 1
Public Member Functions | Static Public Member Functions | List of all members
CAccComponent Class Reference

CAccComponent implements IAccessibleComponent interface. More...

#include <AccComponent.h>

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

Public Member Functions

 CAccComponent ()
 
HRESULT SmartQI (REFIID iid, void **ppvObject)
 
STDMETHOD() get_locationInParent (long *x, long *y) override
 AccComponent.cpp : Implementation of CUAccCOMApp and DLL registration. More...
 
STDMETHOD() get_foreground (IA2Color *foreground) override
 Returns the foreground color of this object. More...
 
STDMETHOD() get_background (IA2Color *background) override
 Returns the background color of this object. More...
 
- Public Member Functions inherited from CAccComponentBase
 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)
 

Static Public Member Functions

static HRESULT WINAPI SmartQI_ (void *pv, REFIID iid, void **ppvObject, DWORD_PTR)
 

Additional Inherited Members

- Protected Member Functions inherited from CAccComponentBase
css::accessibility::XAccessibleComponent * GetXInterface ()
 
- Protected Member Functions inherited from CUNOXWrapper
 ~CUNOXWrapper ()
 
- Protected Attributes inherited from CAccComponentBase
css::uno::Reference< css::accessibility::XAccessibleComponent > pRXComp
 
- Protected Attributes inherited from CUNOXWrapper
css::accessibility::XAccessible * pUNOInterface
 
- Properties inherited from IAccessibleComponent
long locationInParent ([out] long x) [get]
 Returns the location of the upper left corner of the object's bounding box relative to the immediate parent object. More...
 
IA2Color foreground [get]
 Returns the foreground color of this object. More...
 
IA2Color background [get]
 Returns the background color of this object. More...
 

Detailed Description

CAccComponent implements IAccessibleComponent interface.

Definition at line 34 of file AccComponent.h.

Constructor & Destructor Documentation

◆ CAccComponent()

CAccComponent::CAccComponent ( )
inline

Definition at line 41 of file AccComponent.h.

Member Function Documentation

◆ get_background()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponent::get_background ( IA2Color background)
override

Returns the background color of this object.

Parameters
Colorthe color of background.

Definition at line 53 of file AccComponent.cxx.

References IAccessibleComponent::background, and CAccComponentBase::get_background().

◆ get_foreground()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponent::get_foreground ( IA2Color foreground)
override

Returns the foreground color of this object.

Parameters
Colorthe color of foreground.

Definition at line 43 of file AccComponent.cxx.

References IAccessibleComponent::foreground, and CAccComponentBase::get_foreground().

◆ get_locationInParent()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponent::get_locationInParent ( long *  x,
long *  y 
)
override

AccComponent.cpp : Implementation of CUAccCOMApp and DLL registration.

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 33 of file AccComponent.cxx.

References CAccComponentBase::get_locationInParent(), x, and y.

◆ SmartQI()

HRESULT CAccComponent::SmartQI ( REFIID  iid,
void **  ppvObject 
)
inline

Definition at line 64 of file AccComponent.h.

◆ SmartQI_()

static HRESULT WINAPI CAccComponent::SmartQI_ ( void *  pv,
REFIID  iid,
void **  ppvObject,
DWORD_PTR   
)
inlinestatic

Definition at line 58 of file AccComponent.h.


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