LibreOffice Module winaccessibility (master) 1
|
#include <AccComponentBase.h>
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 |
Definition at line 28 of file AccComponentBase.h.
CAccComponentBase::CAccComponentBase | ( | ) |
Definition at line 32 of file AccComponentBase.cxx.
|
virtual |
Definition at line 34 of file AccComponentBase.cxx.
COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_background | ( | IA2Color * | background | ) |
Returns the background color of this object.
Color | the color of background. |
Definition at line 157 of file AccComponentBase.cxx.
References GetXInterface(), and pRXComp.
Referenced by CAccComponent::get_background().
COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::get_foreground | ( | IA2Color * | foreground | ) |
Returns the foreground color of this object.
Color | the color of foreground. |
Definition at line 129 of file AccComponentBase.cxx.
References GetXInterface(), and pRXComp.
Referenced by CAccComponent::get_foreground().
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.
Location | the 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().
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.
Location | the 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.
|
inlineprotected |
Definition at line 60 of file AccComponentBase.h.
Referenced by get_background(), get_foreground(), get_locationInParent(), get_locationOnScreen(), and grabFocus().
COM_DECLSPEC_NOTHROW STDMETHODIMP CAccComponentBase::grabFocus | ( | boolean * | success | ) |
Grabs the focus to this object.
success | the boolean result to be returned. |
Definition at line 100 of file AccComponentBase.cxx.
References GetXInterface(), pRXComp, and TRUE.
|
override |
Override of IUNOXWrapper.
pXInterface | the pointer of UNO interface. |
Implements IUNOXWrapper.
Definition at line 185 of file AccComponentBase.cxx.
References pRXComp, CUNOXWrapper::pUNOInterface, and CUNOXWrapper::put_XInterface().
|
protected |
Definition at line 58 of file AccComponentBase.h.
Referenced by get_background(), get_foreground(), get_locationInParent(), get_locationOnScreen(), grabFocus(), and put_XInterface().