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

CAccImage implements IAccessibleImage interface. More...

#include <AccImage.h>

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

Public Member Functions

 CAccImage ()
 
virtual ~CAccImage ()
 
HRESULT SmartQI (REFIID iid, void **ppvObject)
 
STDMETHOD() get_description (BSTR *description) override
 Get description. More...
 
STDMETHOD() get_imagePosition (enum IA2CoordinateType coordinateType, long __RPC_FAR *x, long __RPC_FAR *y) override
 
STDMETHOD() get_imageSize (long __RPC_FAR *height, long __RPC_FAR *width) override
 
STDMETHOD() put_XInterface (hyper pXInterface) override
 Put UNO interface. 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)
 

Private Member Functions

css::accessibility::XAccessibleImage * GetXInterface ()
 

Private Attributes

css::uno::Reference< css::accessibility::XAccessibleImage > pRXImg
 

Additional Inherited Members

- Protected Member Functions inherited from CUNOXWrapper
 ~CUNOXWrapper ()
 
- Protected Attributes inherited from CUNOXWrapper
css::accessibility::XAccessible * pUNOInterface
 
- Properties inherited from IAccessibleImage
BSTR description [get]
 Returns the localized description of the image. More...
 
long imagePosition ([in] IA2CoordinateType coordinateType,[out] long x) [get]
 Returns the coordinates of the image. More...
 
long imageSize ([out] long height) [get]
 Returns the size of the image in units specified by parent's coordinate system. More...
 

Detailed Description

CAccImage implements IAccessibleImage interface.

Definition at line 31 of file AccImage.h.

Constructor & Destructor Documentation

◆ CAccImage()

CAccImage::CAccImage ( )
inline

Definition at line 38 of file AccImage.h.

◆ ~CAccImage()

virtual CAccImage::~CAccImage ( )
inlinevirtual

Definition at line 41 of file AccImage.h.

Member Function Documentation

◆ get_description()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_description ( BSTR *  description)
override

Get description.

Parameters
descriptionVariant to get description.
Returns
Result.

Definition at line 38 of file AccImage.cxx.

References IAccessibleImage::description, GetXInterface(), and pRXImg.

◆ get_imagePosition()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_imagePosition ( enum IA2CoordinateType  coordinateType,
long __RPC_FAR *  x,
long __RPC_FAR *  y 
)
override

Definition at line 62 of file AccImage.cxx.

◆ get_imageSize()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::get_imageSize ( long __RPC_FAR *  height,
long __RPC_FAR *  width 
)
override

Definition at line 70 of file AccImage.cxx.

◆ GetXInterface()

css::accessibility::XAccessibleImage * CAccImage::GetXInterface ( )
inlineprivate

Definition at line 93 of file AccImage.h.

Referenced by get_description().

◆ put_XInterface()

COM_DECLSPEC_NOTHROW STDMETHODIMP CAccImage::put_XInterface ( hyper  pXInterface)
override

Put UNO interface.

Parameters
pXInterfaceUNO interface.
Returns
Result.

Implements IUNOXWrapper.

Definition at line 82 of file AccImage.cxx.

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

◆ SmartQI()

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

Definition at line 63 of file AccImage.h.

◆ SmartQI_()

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

Definition at line 57 of file AccImage.h.

Member Data Documentation

◆ pRXImg

css::uno::Reference<css::accessibility::XAccessibleImage> CAccImage::pRXImg
private

Definition at line 91 of file AccImage.h.

Referenced by get_description(), and put_XInterface().


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