LibreOffice Module winaccessibility (master) 1
|
CAccRelation implements IAccessibleRelation interface. More...
#include <AccRelation.h>
Public Member Functions | |
CAccRelation () | |
virtual | ~CAccRelation () |
STDMETHOD() | get_relationType (BSTR *relationType) override |
Get relation type. More... | |
STDMETHOD() | get_localizedRelationType (BSTR *relationType) override |
STDMETHOD() | get_nTargets (long *nTargets) override |
Get targets length. More... | |
STDMETHOD() | get_target (long targetIndex, IUnknown **target) override |
Get special target. More... | |
STDMETHOD() | get_targets (long maxTargets, IUnknown **target, long *nTargets) override |
Get special targets. More... | |
STDMETHOD() | put_XSubInterface (hyper pXSubInterface) 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 BSTR | getRelationTypeBSTR (int type) |
Get relation type string by type. More... | |
Private Attributes | |
css::accessibility::AccessibleRelation | relation |
Additional Inherited Members | |
Protected Member Functions inherited from CUNOXWrapper | |
~CUNOXWrapper () | |
Protected Attributes inherited from CUNOXWrapper | |
css::accessibility::XAccessible * | pUNOInterface |
Properties inherited from IAccessibleRelation | |
BSTR | relationType [get] |
Returns the type of the relation. More... | |
BSTR | localizedRelationType [get] |
Returns a localized version of the relation type. More... | |
long | nTargets [get] |
Returns the number of targets for this relation. More... | |
IUnknown | target ([in] long targetIndex) [get] |
Returns one accessible relation target. More... | |
long | targets ([in] long maxTargets,[out, size_is(maxTargets), length_is(*nTargets)] IUnknown targets) [get] |
Returns multiple accessible relation targets. More... | |
CAccRelation implements IAccessibleRelation interface.
Definition at line 31 of file AccRelation.h.
|
inline |
Definition at line 38 of file AccRelation.h.
|
inlinevirtual |
Definition at line 41 of file AccRelation.h.
|
override |
Definition at line 58 of file AccRelation.cxx.
|
override |
Get targets length.
nTargets | Variant to get targets length. |
Definition at line 74 of file AccRelation.cxx.
References IAccessibleRelation::nTargets, and relation.
|
override |
Get relation type.
relationType | Variant to get relation type. |
Definition at line 39 of file AccRelation.cxx.
References getRelationTypeBSTR(), relation, IAccessibleRelation::relationType, and type.
|
override |
Get special target.
targetIndex | target index. |
target | Variant to get special target. |
Definition at line 96 of file AccRelation.cxx.
References CMAccessible::get_IAccessibleFromXAccessible(), nCount, relation, and IAccessibleRelation::target.
Referenced by get_targets().
|
override |
Get special targets.
maxTargets | Special targets count. |
target | Variant to get special target. |
nTargets | Variant to accept actual target length. |
Definition at line 133 of file AccRelation.cxx.
References get_target(), hr, i, nCount, IAccessibleRelation::nTargets, relation, and IAccessibleRelation::target.
|
static |
Get relation type string by type.
type | Relation type. |
Definition at line 188 of file AccRelation.cxx.
References IA2_RELATION_CONTROLLED_BY, IA2_RELATION_CONTROLLER_FOR, IA2_RELATION_DESCRIBED_BY, IA2_RELATION_FLOWS_FROM, IA2_RELATION_FLOWS_TO, IA2_RELATION_LABEL_FOR, IA2_RELATION_LABELED_BY, IA2_RELATION_MEMBER_OF, IA2_RELATION_NODE_CHILD_OF, IA2_RELATION_SUBWINDOW_OF, map, and type.
Referenced by get_relationType().
|
override |
Put UNO interface.
pXSubInterface | AccessibleRelation pointer. |
Implements IUNOXWrapper.
Definition at line 175 of file AccRelation.cxx.
References relation.
|
private |
Definition at line 88 of file AccRelation.h.
Referenced by get_nTargets(), get_relationType(), get_target(), get_targets(), and put_XSubInterface().