24#include <com/sun/star/accessibility/XAccessibleHyperlink.hpp>
32 public CComObjectRoot,
33 public CComCoClass<CAccHyperLink,&CLSID_AccHyperLink>,
47#pragma clang diagnostic push
48#pragma clang diagnostic ignored "-Winconsistent-missing-override"
52#pragma clang diagnostic pop
57 static HRESULT WINAPI SmartQI_(
void* pv,
58 REFIID iid,
void** ppvObject, DWORD_PTR)
60 return static_cast<CAccHyperLink*
>(pv)->SmartQI(iid,ppvObject);
63 HRESULT
SmartQI(REFIID iid,
void** ppvObject)
66 return OuterQueryInterface(iid,ppvObject);
75 STDMETHOD(nActions)(
long*
nActions)
override;
92 STDMETHOD(get_keyBinding)(
101 STDMETHOD(get_anchor)(
long index,
102 VARIANT __RPC_FAR *
anchor)
override;
105 STDMETHOD(get_anchorTarget)(
long index,
110 STDMETHOD(get_startIndex)(
long __RPC_FAR *
index)
override;
114 STDMETHOD(get_endIndex)(
long __RPC_FAR *
index)
override;
117 STDMETHOD(get_valid)(
boolean __RPC_FAR *
valid)
override;
120 STDMETHOD(put_XInterface)(hyper pXInterface)
override;
123 STDMETHOD(put_XSubInterface)(hyper pXSubInterface)
override;
127 css::uno::Reference<css::accessibility::XAccessibleHyperlink>
pRXLink;
131 return pRXLink.get();
long long BSTR __RPC_FAR *__RPC_FAR long __RPC_FAR * nBinding
CAccHyperLink implements IAccessibleHyperlink interface.
css::uno::Reference< css::accessibility::XAccessibleHyperlink > pRXLink
HRESULT SmartQI(REFIID iid, void **ppvObject)
css::accessibility::XAccessibleHyperlink * GetXInterface()
This interface gives access to actions that can be executed for accessible objects.
BSTR localizedName([in] long actionIndex)
Returns the localized name of specified action.
BSTR description([in] long actionIndex)
Returns a description of the specified action of the object.
HRESULT nActions([out, retval] long *nActions)
Returns the number of accessible actions available in this object.
long keyBinding([in] long actionIndex,[in] long nMaxBindings,[out, size_is(, nMaxBindings), length_is(, *nBindings)] BSTR keyBindings)
Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the ...
BSTR name([in] long actionIndex)
Returns the non-localized name of specified action.
This interface represents hyperlinks.
VARIANT anchor([in] long index)
Returns an object that represents the link anchor, as appropriate for the link at the specified index...
VARIANT anchorTarget([in] long index)
Returns an object representing the target of the link, as appropriate for the link at the specified i...
boolean valid
Returns whether the target object referenced by this link is still valid.