24#include <com/sun/star/uno/Reference.hxx>
25#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
32 public CComObjectRoot,
33 public CComCoClass<CAccRelation, &CLSID_AccRelation>,
47 DECLARE_PROTECT_FINAL_CONSTRUCT()
53#pragma clang diagnostic push
54#pragma clang diagnostic ignored "-Winconsistent-missing-override"
58#pragma clang diagnostic pop
66 STDMETHOD(get_relationType)(BSTR *
relationType)
override;
69 STDMETHOD(get_localizedRelationType)(BSTR *
relationType)
override;
72 STDMETHOD(get_nTargets)(
long *
nTargets)
override;
75 STDMETHOD(get_target)(
long targetIndex, IUnknown * *
target)
override;
78 STDMETHOD(get_targets)(
long maxTargets, IUnknown * *
target,
long *
nTargets)
override;
81 STDMETHOD(put_XSubInterface)(hyper pXSubInterface)
override;
84 static BSTR getRelationTypeBSTR(
int type);
88 css::accessibility::AccessibleRelation
relation;
CAccRelation implements IAccessibleRelation interface.
css::accessibility::AccessibleRelation relation
CUNOXWrapper implements IUNOXWrapper interface.
This interface gives access to an object's set of relations.
long nTargets
Returns the number of targets for this relation.
IUnknown target([in] long targetIndex)
Returns one accessible relation target.
BSTR relationType
Returns the type of the relation.